misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
[glibc.git] / ChangeLog
blob0071571bceb3a26f4a606fba0ae060cc51988ea7
1 2014-02-25  Florian Weimer  <fweimer@redhat.com>
3         [BZ #15347]
4         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6 2014-02-25  Will Newton  <will.newton@linaro.org>
8         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9         (__longjmp): Restore sp and lr before restoring callee
10         saved registers.  Add longjmp and longjmp_target
11         SystemTap probe point.
12         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14         Define to zero to match jmpbuf layout.
15         * sysdeps/arm/setjmp.S: Include stap-probe.h.
16         (__sigsetjmp): Save sp and lr before saving callee
17         saved registers.  Add setjmp SystemTap probe point.
19 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23 2014-02-24  Andreas Schwab  <schwab@suse.de>
25         [BZ #15804]
26         * elf/pldd.c (wait_for_ptrace_stop): New function.
27         (main): Call it after attaching.
29 2014-02-22  Roland McGrath  <roland@hack.frob.com>
31         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
32         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
33         Versions files is now verboten.
34         * hurd/Versions (libc: GLIBC_2.0):
35         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
36         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
38         * mach/Versions: Likewise.
40         * csu/Versions: Remove unused %include.
41         * resolv/Versions: Likewise.
43 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
45         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
46         ($(objpfx)check-local-headers.out): Likewise.
47         ($(objpfx)begin-end-check.out): Likewise.
48         * Makerules (check-abi-%.out): Likewise.
49         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
50         ($(objpfx)test2.cat): Likewise.
51         ($(objpfx)de/libc.cat): Likewise.
52         ($(objpfx)test-gencat.out): Likewise.
53         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
54         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
55         ($(objpfx)noload-mem): Likewise.
56         ($(objpfx)tst-pathopt.out): Likewise.
57         ($(objpfx)tst-rtld-load-self.out): Likewise.
58         ($(objpfx)tst-array1-cmp.out): Likewise.
59         ($(objpfx)tst-array1-static-cmp.out): Likewise.
60         ($(objpfx)tst-array2-cmp.out): Likewise.
61         ($(objpfx)tst-array3-cmp.out): Likewise.
62         ($(objpfx)tst-array4-cmp.out): Likewise.
63         ($(objpfx)tst-array5-cmp.out): Likewise.
64         ($(objpfx)tst-array5-static-cmp.out): Likewise.
65         ($(objpfx)check-textrel.out): Likewise.
66         ($(objpfx)check-execstack.out): Likewise.
67         ($(objpfx)check-localplt.out): Likewise.
68         ($(objpfx)order2-cmp.out): Likewise.
69         ($(objpfx)tst-leaks1-mem): Likewise.
70         ($(objpfx)tst-leaks1-static-mem): Likewise.
71         ($(objpfx)tst-initorder-cmp.out): Likewise.
72         ($(objpfx)tst-initorder2-cmp.out): Likewise.
73         ($(objpfx)tst-unused-dep.out): Likewise.
74         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
75         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
76         * iconv/Makefile (test-iconvconfig): Likewise.
77         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
78         ($(objpfx)iconv-test.out): Likewise.
79         ($(objpfx)tst-tables.out): Likewise.
80         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
81         ($(objpfx)tst-gettext.out): Likewise.
82         ($(objpfx)tst-translit.out): Likewise.
83         ($(objpfx)tst-gettext2.out): Likewise.
84         ($(objpfx)tst-gettext4.out): Likewise.
85         ($(objpfx)tst-gettext6.out): Likewise.
86         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
87         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
88         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
89         ($(objpfx)tst-fopenloc-mem.out): Likewise.
90         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
91         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
92         * posix/Makefile ($(objpfx)globtest.out): Likewise.
93         ($(objpfx)wordexp-tst.out): Likewise.
94         ($(objpfx)annexc.out): Likewise.
95         ($(objpfx)tst-fnmatch-mem): Likewise.
96         ($(objpfx)bug-regex2-mem): Likewise.
97         ($(objpfx)bug-regex14-mem): Likewise.
98         ($(objpfx)bug-regex21-mem): Likewise.
99         ($(objpfx)bug-regex31-mem): Likewise.
100         ($(objpfx)tst-vfork3-mem): Likewise.
101         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
102         ($(objpfx)tst-pcre-mem): Likewise.
103         ($(objpfx)tst-boost-mem): Likewise.
104         ($(objpfx)tst-getconf.out): Likewise.
105         ($(objpfx)bug-ga2-mem): Likewise.
106         ($(objpfx)bug-glob2-mem): Likewise.
107         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
108         ($(objpfx)mtrace-tst-leaks2): Likewise.
109         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
110         ($(objpfx)tst-printf.out): Likewise.
111         ($(objpfx)tst-setvbuf1.out): Likewise.
112         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
113         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
114         ($(objpfx)tst-fmtmsg.out): Likewise.
115         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
116         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
118         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
119         * bits/sigaction.h [__USE_MISC]: Likewise.
120         * bits/waitstatus.h: Update #endif comments.
121         * ctype/ctype.h: Likewise.
122         * dirent/dirent.h: Likewise.
123         [__USE_MISC]: Remove redundant conditionals.
124         * grp/grp.h: Update #endif comments.
125         [__USE_GNU]: Remove redundant conditionals.
126         [__USE_MISC]: Likewise.
127         * inet/netinet/in.h [__USE_GNU]: Likewise.
128         * io/sys/stat.h [__USE_MISC]: Likewise.
129         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
130         * libio/bits/stdio.h: Update #endif comments.
131         [__USE_MISC]: Remove redundant conditionals.
132         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
133         * libio/stdio.h: Update #endif comments.
134         [__USE_MISC]: Remove redundant conditionals.
135         * math/bits/math-finite.h [__USE_MISC]: Likewise.
136         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
137         * math/math.h: Update #else and #endif comments.
138         [__USE_MISC]: Remove redundant conditionals.
139         * misc/sys/uio.h: Update #endif comments.
140         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
141         * posix/glob.h [__USE_MISC]: Likewise.
142         * posix/sys/types.h: Update #endif comments.
143         [__USE_MISC]: Remove redundant conditionals.
144         * posix/sys/wait.h: Update #endif comments.
145         [__USE_MISC]: Remove redundant conditionals.
146         * posix/unistd.h: Update #endif comments.
147         [__USE_MISC]: Remove redundant conditionals.
148         * pwd/pwd.h [__USE_GNU]: Likewise.
149         [__USE_MISC]: Likewise.
150         * resolv/netdb.h [__USE_GNU]: Likewise.
151         * signal/signal.h: Update #endif comments.
152         [__USE_MISC]: Remove redundant conditionals.
153         * stdlib/stdlib.h: Update #else and #endif comments.
154         [__USE_MISC]: Remove redundant conditionals.
155         [__USE_GNU]: Likewise.
156         * string/bits/string2.h [__USE_MISC]: Likewise.
157         * string/string.h: Update #endif comments.
158         [__USE_MISC]: Remove redundant conditionals.
159         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
160         Likewise.
161         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
162         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
163         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
164         Likewise.
165         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
166         Likewise.
167         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
168         comments.
169         [__USE_MISC]: Remove redundant conditionals.
170         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
171         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
172         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
173         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
174         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
175         Likewise.
176         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
177         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
178         Likewise.
179         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
180         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
181         Likewise.
182         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
183         Likewise.
184         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
185         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
186         Likewise.
187         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
188         Likewise.
189         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
190         * sysdeps/x86/bits/string.h: Update #endif comments.
191         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
192         conditionals.
193         * time/sys/time.h: Update #endif comments.
194         * time/time.h: Likewise.
195         [__USE_MISC]: Remove redundant conditionals.
197 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
199         [BZ #16600]
200         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
202 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
204         * Versions.def (librt): Add GLIBC_2.17.
206 2014-02-21  Adam Conrad  <adconrad@0c3.net>
208         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
209         synonym for _SYS_AUXV_H to allow direct inclusion.
210         * sysdeps/sparc/bits/hwcap.h: Likewise.
211         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
212         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
213         * sysdeps/sparc/sysdep.h: Likewise.
215 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
217         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
219 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
221         * benchtests/bench-strrchr.c: Print length instead of position.
223 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
225         [BZ #16611]
226         * sysdeps/unix/sysv/linux/kernel-features.h
227         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
228         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
229         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
230         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
231         Likewise.
232         [__i386__ || __powerpc__ || __sh__ || __sparc__]
233         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
234         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
235         (__ASSUME_SENDMMSG): Define instead of using previous
236         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
237         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
238         (__ASSUME_SENDMMSG_SYSCALL): Define.
239         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
240         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
241         Likewise.
242         * sysdeps/unix/sysv/linux/arm/kernel-features.h
243         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
244         Likewise.
245         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
246         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
247         Likewise.
248         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
249         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
250         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
251         [__ASSUME_SENDMMSG]: Change conditionals to
252         [__ASSUME_SENDMMSG_SOCKETCALL].
253         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
254         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
255         Define.
256         * sysdeps/unix/sysv/linux/mips/kernel-features.h
257         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
258         Likewise.
259         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
260         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
261         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
262         [!__ASSUME_SENDMMSG]: Change conditional to
263         [!__ASSUME_SENDMMSG_SOCKETCALL].
264         * sysdeps/unix/sysv/linux/tile/kernel-features.h
265         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
266         Define.
268         [BZ #16610]
269         * sysdeps/unix/sysv/linux/kernel-features.h
270         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
271         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
272         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
273         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
274         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
275         [__i386__ || __sparc__]
276         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
277         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
278         (__ASSUME_RECVMMSG): Define instead of using previous
279         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
280         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
281         (__ASSUME_RECVMMSG_SYSCALL): Define.
282         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
283         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
284         Likewise.
285         * sysdeps/unix/sysv/linux/arm/kernel-features.h
286         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
287         Likewise.
288         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
289         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
290         Likewise.
291         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
292         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
293         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
294         [__ASSUME_RECVMMSG]: Change condition to
295         [__ASSUME_RECVMMSG_SOCKETCALL].
296         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
297         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
298         Define.
299         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
300         * sysdeps/unix/sysv/linux/mips/kernel-features.h
301         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
302         Likewise.
303         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
304         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
305         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
306         [!__ASSUME_RECVMMSG]: Change condition to
307         [!__ASSUME_RECVMMSG_SOCKETCALL].
308         * sysdeps/unix/sysv/linux/tile/kernel-features.h
309         (__ASSUME_RECVMMSG_SYSCALL): Define.
311         [BZ #16609]
312         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
313         __powerpc__ || __s390__ || __sh__ || __sparc__]
314         (__ASSUME_SOCKETCALL): Define.
315         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
316         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
317         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
318         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
319         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
320         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
321         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
322         (__ASSUME_ACCEPT4): Define instead of using previous
323         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
324         __powerpc__ || __sparc__ || __s390__)] condition.
325         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
326         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
327         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
328         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
329         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
330         [!__ASSUME_ACCEPT4]: Change condition to
331         [!__ASSUME_ACCEPT4_SOCKETCALL].
332         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
333         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
334         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
335         * sysdeps/unix/sysv/linux/arm/kernel-features.h
336         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
337         __ASSUME_ACCEPT4_SYSCALL.
338         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
339         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
340         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
341         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
342         __ASSUME_ACCEPT4_SYSCALL.
343         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
344         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
345         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
346         [__ASSUME_ACCEPT4]: Change condition to
347         [__ASSUME_ACCEPT4_SOCKETCALL].
348         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
349         (__ASSUME_SOCKETCALL): Define.
350         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
351         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
352         (__ASSUME_SOCKETCALL): Define.
353         (__ASSUME_ACCEPT4): Remove.
354         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
355         Define.
356         * sysdeps/unix/sysv/linux/mips/kernel-features.h
357         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
358         Likewise.
359         * sysdeps/unix/sysv/linux/tile/kernel-features.h
360         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
362         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
363         macro.
364         (HWCAP_ARM_LPAE): Likewise.
365         (HWCAP_ARM_EVTSTRM): Likewise.
366         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
367         Add vpfd32, lpae and evtstrm.
368         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
369         Increase to 22.
371 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
373         * math/auto-libm-test-in: Add tests of clog10.
374         * math/auto-libm-test-out: Regenerated.
375         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
376         * sysdeps/i386/fpu/libm-test-ulps: Update.
377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
379 2014-02-18  Andreas Schwab  <schwab@suse.de>
381         [BZ #16574]
382         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
383         Store non-zero if the second buffer was newly allocated.
384         (send_dg): Likewise.
385         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
386         to send_vc and send_dg.
387         (res_nsend): Pass NULL for ansp2_malloced.
388         * resolv/res_query.c (__libc_res_nquery): Add parameter
389         answerp2_malloced and pass it down to __libc_res_nsend.
390         (res_nquery): Pass additional NULL to __libc_res_nquery.
391         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
392         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
393         second answer buffer if answerp2_malloced was set.
394         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
395         (__libc_res_nquerydomain): Add parameter
396         answerp2_malloced and pass it down to __libc_res_nquery.
397         (res_nquerydomain): Pass additional NULL to
398         __libc_res_nquerydomain.
399         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
400         additional NULL to __libc_res_nsend and __libc_res_nquery.
401         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
402         additional NULL to __libc_res_nsearch.
403         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
404         parameter of __libc_res_nsearch to check for separately allocated
405         second buffer.
406         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
407         __libc_res_nquery.
408         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
409         additional NULL to __libc_res_nquery.
410         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
411         __libc_res_nsearch.
412         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
413         * include/resolv.h: Update prototypes of __libc_res_nquery,
414         __libc_res_nsearch, __libc_res_nsend.
416 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
418         * math/auto-libm-test-in: Add tests of fma.
419         * math/auto-libm-test-out: Regenerated.
420         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
421         (fma_towardzero_test_data): Likewise.
422         (fma_downward_test_data): Likewise.
423         (fma_upward_test_data): Likewise.
424         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
425         mpc_mode.
426         (rounding_modes): Add values for new field.
427         (func_calc_method): Add value mpfr_fff_f.
428         (func_calc_desc): Add mpfr_fff_f union field.
429         (test_function): Add field exact_args.
430         (FUNC): Add macro argument EXACT_ARGS.
431         (FUNC_mpfr_f_f): Update call to FUNC.
432         (FUNC_mpfr_f_f): Likewise.
433         (FUNC_mpfr_ff_f): Likewise.
434         (FUNC_mpfr_if_f): Likewise.
435         (FUNC_mpc_c_f): Likewise.
436         (FUNC_mpc_c_c): Likewise.
437         (test_functions): Add fma.  Update calls to FUNC.
438         (handle_input_arg): Add argument exact_args.
439         (add_test): Update call to handle_input_arg.
440         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
441         (output_for_one_input_case): Update call to calc_generic_results.
442         Recalculate exact zero results in each rounding mode.
444         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
445         non-negative before setting low bit.
446         * math/auto-libm-test-in: Mark one asin test possibly having
447         spurious underflow.
448         * math/auto-libm-test-out: Regenerated.
449         * sysdeps/i386/fpu/libm-test-ulps: Update.
450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
452 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
454         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
455         * sysdeps/unix/sysv/linux/microblaze: Move directory from
456           ports/sysdeps/unix/sysv/linux/microblaze.
457         * README: Add missing listing for microblaze*-*-linux-gnu.
459 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
461         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
462         * sysdeps/unix/sysv/linux/ia64: Move directory from
463         ports/sysdeps/unix/sysv/linux/ia64.
464         * README: Update listing for ia64-*-linux-gnu.
466 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
467             Joseph Myers  <joseph@codesourcery.com>
469         * Makeconfig (test-name): New variable.
470         (evaluate-test): Likewise.
471         * Makerules (do-test-clean): Remove .test-result files.
472         (common-mostlyclean): Likewise.
473         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
474         * scripts/evaluate-test.sh: New file.
476 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
478         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
479         separate $(objpfx)tst-fopenloc-cmp.out and
480         $(objpfx)tst-fopenloc-mem.out targets.
481         (tests): Update dependencies.
482         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
483         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
484         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
485         (tst-rxspencer-no-utf8-ARGS): New variable.
486         (tst-rxspencer-no-utf8-ENV): Likewise.
487         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
488         instead of $(objpfx)tst-rxspencer-mem.
489         ($(objpfx)tst-rxspencer-mem): Change target to
490         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
491         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
492         * posix/tst-rxspencer-no-utf8.c: New file.
494         * elf/Makefile ($(objpfx)order.out): Remove rule.
495         [$(run-built-tests) = yes] (tests): Depend on
496         $(objpfx)order-cmp.out.
497         ($(objpfx)order-cmp.out): New rule.
498         [$(run-built-tests) = yes] (tests): Depend on
499         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
500         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
501         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
502         $(objpfx)tst-array5-static-cmp.out.
503         ($(objpfx)tst-array1.out): Remove rule.
504         ($(objpfx)tst-array1-cmp.out): New rule.
505         ($(objpfx)tst-array1-static.out): Remove rule.
506         ($(objpfx)tst-array1-static-cmp.out): New rule.
507         ($(objpfx)tst-array2.out): Remove rule.
508         ($(objpfx)tst-array2-cmp.out): New rule.
509         ($(objpfx)tst-array3.out): Remove rule.
510         ($(objpfx)tst-array3-cmp.out): New rule.
511         ($(objpfx)tst-array4.out): Remove rule.
512         ($(objpfx)tst-array4-cmp.out): New rule.
513         ($(objpfx)tst-array5.out): Remove rule.
514         ($(objpfx)tst-array5-cmp.out): New rule.
515         ($(objpfx)tst-array5-static.out): Remove rule.
516         ($(objpfx)tst-array5-static-cmp.out): New rule.
517         [$(run-built-tests) = yes] (tests): Depend on
518         $(objpfx)order2-cmp.out.
519         ($(objpfx)order2.out): Remove rule.
520         ($(objpfx)order2-cmp.out): New rule.
521         ($(objpfx)tst-initorder.out): Remove rule.
522         [$(run-built-tests) = yes] (tests): Depend on
523         $(objpfx)tst-initorder-cmp.out.
524         ($(objpfx)tst-initorder-cmp.out): New rule.
525         ($(objpfx)tst-initorder2.out): Remove rule.
526         [$(run-built-tests) = yes] (tests): Depend on
527         $(objpfx)tst-initorder2-cmp.out.
528         ($(objpfx)tst-initorder2-cmp.out): New rule.
529         [$(run-built-tests) = yes] (tests): Depend on
530         $(objpfx)tst-unused-dep-cmp.out.
531         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
532         ($(objpfx)tst-unused-dep-cmp.out): New rule.
533         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
534         on $(objpfx)tst-setvbuf1-cmp.out.
535         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
536         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
537         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
538         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
539         ($(objpfx)tst-svc.out): Remove rule.
540         ($(objpfx)tst-svc-cmp.out): New rule.
542 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
544         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
545         * ctype/ctype.h [__USE_MISC]: Likewise.
546         * dirent/dirent.h [__USE_MISC]: Likewise.
547         * grp/grp.h [__USE_MISC]: Likewise.
548         * io/fcntl.h [__USE_MISC]: Likewise.
549         * io/sys/stat.h [__USE_MISC]: Likewise.
550         * libio/stdio.h [__USE_MISC]: Likewise.
551         * posix/unistd.h [__USE_MISC]: Likewise.
552         * pwd/pwd.h [__USE_MISC]: Likewise.
553         * stdlib.h [__USE_MISC]: Likewise.
554         * string/bits/string2.h [__USE_MISC]: Likewise.
555         * string/string.h [__USE_MISC]: Likewise.
556         * time/time.h [__USE_MISC]: Likewise.
558 2014-02-13  Andreas Schwab  <schwab@suse.de>
560         [BZ #16574]
561         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
562         second answer buffer if it was separately allocated.
564 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
566         * sysdeps/mips/math-tests.h: Include <features.h>.
567         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
568         (ROUNDING_TESTS_long_double): Do not define.
569         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
570         (EXCEPTION_TESTS_long_double): Likewise.
571         * sysdeps/mips/mips64/libm-test-ulps: Update.
573         * include/features.h (__USE_BSD): Remove macro definitions.
574         (__USE_SVID): Likewise.
575         (_BSD_SOURCE): Likewise.
576         (_SVID_SOURCE): Likewise.
577         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
578         from definition of _DEFAULT_SOURCE.
579         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
580         [_DEFAULT_SOURCE].
581         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
582         * bits/mman.h [__USE_BSD]: Likewise.
583         * bits/termios.h [__USE_BSD]: Likewise.
584         * bits/waitstatus.h [__USE_BSD]: Likewise.
585         * ctype/ctype.h [__USE_SVID]: Likewise.
586         * dirent/dirent.h [__USE_BSD]: Likewise.
587         * grp/grp.h [__USE_SVID]: Likewise.
588         [__USE_BSD]: Likewise.
589         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
590         * io/fcntl.h [__USE_BSD]: Likewise.
591         * io/ftw.h [__USE_BSD]: Likewise.
592         * io/sys/stat.h [__USE_BSD]: Likewise.
593         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
594         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
595         * libio/stdio.h [__USE_SVID]: Likewise.
596         [__USE_BSD]: Likewise.
597         * math/math.h [__USE_SVID]: Likewise.
598         [__USE_BSD]: Likewise.
599         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
600         * misc/bits/syslog.h [__USE_BSD]: Likewise.
601         * misc/search.h [__USE_SVID]: Likewise.
602         * misc/sys/mman.h [__USE_BSD]: Likewise.
603         * misc/sys/syslog.h [__USE_BSD]: Likewise.
604         * misc/sys/uio.h [__USE_BSD]: Likewise.
605         * posix/bits/unistd.h [__USE_BSD]: Likewise.
606         * posix/glob.h [__USE_BSD]: Likewise.
607         * posix/regex.h [__USE_BSD]: Likewise.
608         * posix/sys/types.h [__USE_BSD]: Likewise.
609         [__USE_SVID]: Likewise.
610         * posix/sys/utsname.h [__USE_SVID]: Likewise.
611         * posix/sys/wait.h [__USE_BSD]: Likewise.
612         [__USE_SVID]: Likewise.
613         * posix/unistd.h [__USE_BSD]: Likewise.
614         [__USE_SVID]: Likewise.
615         * pwd/pwd.h [__USE_SVID]: Likewise.
616         * resolv/netdb.h [__USE_BSD]: Likewise.
617         * setjmp/setjmp.h [__USE_BSD]: Likewise.
618         * signal/signal.h [__USE_BSD]: Likewise.
619         [__USE_SVID]: Likewise.
620         * socket/sys/socket.h [__USE_BSD]: Likewise.
621         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
622         * stdlib/stdlib.h [__USE_BSD]: Likewise.
623         [__USE_SVID]: Likewise.
624         * string/bits/string2.h [__USE_BSD]: Likewise.
625         [__USE_SVID]: Likewise.
626         * string/bits/string3.h [__USE_BSD]: Likewise.
627         * string/endian.h [__USE_BSD]: Likewise.
628         * string/string.h [__USE_SVID]: Likewise.
629         [__USE_BSD]: Likewise.
630         * string/strings.h [__USE_BSD]: Likewise.
631         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
632         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
633         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
634         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
635         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
636         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
637         Likewise.
638         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
639         Likewise.
640         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
641         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
642         Likewise.
643         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
644         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
645         Likewise.
646         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
647         Likewise.
648         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
649         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
650         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
651         Likewise.
652         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
653         Likewise.
654         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
655         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
656         * termios/termios.h [__USE_BSD]: Likewise.
657         * time/sys/time.h [__USE_BSD]: Likewise.
658         * time/time.h [__USE_BSD]: Likewise.
659         [__USE_SVID]: Likewise.
661         * Makefile (subdir_targets): Remove subdir_lint.out.
663         * stdio-common/Makefile (do-tst-unbputc): Remove target.
664         (do-tst-printf): Likewise.
665         (tests): Depend directly on $(objpfx)tst-unbputc.out and
666         $(objpfx)tst-printf.out.
668         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
670         * Makerules (check-abi-%): Change target to
671         $(objpfx)check-abi-%.out.
672         (check-abi target): Update dependencies.
673         (check-abi-pattern variable): Redirect output of diff to $@.
674         (check-abi variable): Likewise.
675         * elf/Makefile (check-abi): Update dependencies.
677         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
678         unused.
679         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
680         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
681         subnormal range.
682         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
683         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
684         value has largest subnormal exponent.
685         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
686         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
687         * sysdeps/aarch64/soft-fp/sfp-machine.h
688         (_FP_TININESS_AFTER_ROUNDING): New macro.
689         * sysdeps/alpha/soft-fp/sfp-machine.h
690         (_FP_TININESS_AFTER_ROUNDING): Likewise.
691         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
692         Likewise.
693         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
694         (_FP_TININESS_AFTER_ROUNDING): Likewise.
695         * sysdeps/mips/soft-fp/sfp-machine.h
696         (_FP_TININESS_AFTER_ROUNDING): Likewise.
697         * sysdeps/powerpc/soft-fp/sfp-machine.h
698         (_FP_TININESS_AFTER_ROUNDING): Likewise.
699         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
700         Likewise.
701         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
702         (_FP_TININESS_AFTER_ROUNDING): Likewise.
703         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
704         (_FP_TININESS_AFTER_ROUNDING): Likewise.
705         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
706         Likewise.
708 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
710         [BZ #16545]
711         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
712         model 1.
714 2014-02-12  Richard Henderson  <rth@redhat.com>
716         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
717         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
718         * sysdeps/unix/sysv/linux/alpha: Move directory from
719         ports/sysdeps/unix/sysv/linux/alpha.
720         * README: Update listing for alpha-*-linux-gnu.
722 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
724         * include/features.h: Update comment documenting feature test
725         macros.
726         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
727         _DEFAULT_SOURCE.
728         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
729         (_SVID_SOURCE): Likewise.
730         (_DEFAULT_SOURCE): Update description of default features.
731         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
732         with _GNU_SOURCE.
733         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
734         (S_ISVTX): Likewise.
735         * manual/math.texi (Mathematical Constants): Likewise.
736         * manual/signal.texi (Interrupted Primitives): Likewise.
737         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
738         * math/test-matherr.c (_SVID_SOURCE): Do not define.
739         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
740         Don't refer to _SVID_SOURCE in warning text.
742         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
744         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
745         already defined.
746         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
747         * sysdeps/mips/dl-lookup.c: Remove.
748         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
750 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
752         [BZ #16447]
753         * math/auto-libm-test-in: Add testcase for expl.
754         * math/auto-libm-test-out: Regenerate.
755         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
756         calculation of unsafe.
757         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
759 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
761         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
762         * sysdeps/unix/sysv/linux/aarch64: Move directory from
763         ports/sysdeps/unix/sysv/linux/aarch64.
764         * README: Update listing for aarch64*-*-linux-gnu.
766 2014-02-11  Will Newton  <will.newton@linaro.org>
768         * manual/probes.texi (Mathematical Function Probes): Use
769         "triggered" instead of "hit".
771 2014-02-11  Will Newton  <will.newton@linaro.org>
773         * manual/probes.texi (Internal Probes): Add documentation
774         of setjmp, longjmp and longjmp_target probes.
776 2014-02-11  Will Newton  <will.newton@linaro.org>
778         * include/stap-probe.h: Add comment about probe argument
779         format.
781 2014-02-11  Will Newton  <will.newton@linaro.org>
783         * malloc/mtrace.c (attribute_hidden): Remove unused macro
784         definition.  (tr_where, tr_freehook, tr_mallochook,
785         tr_reallochook, tr_memalignhook): Use ANSI protoype.
787 2014-02-11  David S. Miller  <davem@davemloft.net>
789         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
790         processing int_tests.
792 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
794         * sysdeps/mips: Move directory from ports/sysdeps/mips.
795         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
796         * sysdeps/unix/sysv/linux/mips: Move directory from
797         ports/sysdeps/unix/sysv/linux/mips.
798         * README: Update listing for mips-*-linux-gnu and
799         mips64-*-linux-gnu.
801 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
803         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
804         * sysdeps/unix/sysv/linux/m68k: Move directory from
805         ports/sysdeps/unix/sysv/linux/m68k.
806         * README: Update listing for m68k-*-linux-gnu.
808 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
810         * sysdeps/tile: Move directory from ports/sysdeps/tile.
811         * sysdeps/unix/sysv/linux/generic: Move directory from
812         ports/sysdeps/unix/sysv/linux/generic.
813         * sysdeps/unix/sysv/linux/tile: Move directory from
814         ports/sysdeps/unix/sysv/linux/tile.
815         * README: Update listing for tile*-*-linux-gnu.
817 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
819         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
820         * benchtests/bench-memmem.c (simple_memmem): Likewise.
821         * catgets/open_catalog.c (__open_catalog): Likewise.
822         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
823         * debug/confstr_chk.c: Likewise.
824         * debug/fread_chk.c (__fread_chk): Likewise.
825         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
826         * debug/getgroups_chk.c: Likewise.
827         * debug/mbsnrtowcs_chk.c: Likewise.
828         * debug/mbsrtowcs_chk.c: Likewise.
829         * debug/mbstowcs_chk.c: Likewise.
830         * debug/memcpy_chk.c: Likewise.
831         * debug/memmove_chk.c: Likewise.
832         * debug/mempcpy_chk.c: Likewise.
833         * debug/memset_chk.c: Likewise.
834         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
835         * debug/strcat_chk.c (__strcat_chk): Likewise.
836         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
837         * debug/strncat_chk.c (__strncat_chk): Likewise.
838         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
839         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
840         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
841         * debug/wcpncpy_chk.c: Likewise.
842         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
843         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
844         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
845         * debug/wcsncpy_chk.c: Likewise.
846         * debug/wcsnrtombs_chk.c: Likewise.
847         * debug/wcsrtombs_chk.c: Likewise.
848         * debug/wcstombs_chk.c: Likewise.
849         * debug/wmemcpy_chk.c: Likewise.
850         * debug/wmemmove_chk.c: Likewise.
851         * debug/wmempcpy_chk.c: Likewise.
852         * debug/wmemset_chk.c: Likewise.
853         * dirent/scandirat.c (SCANDIRAT): Likewise.
854         * dlfcn/dladdr1.c (dladdr1): Likewise.
855         * dlfcn/dladdr.c (dladdr): Likewise.
856         * dlfcn/dlclose.c (dlclose_doit): Likewise.
857         * dlfcn/dlerror.c (__dlerror): Likewise.
858         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
859         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
860         * dlfcn/dlopen.c (dlopen_doit): Likewise.
861         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
862         * dlfcn/dlsym.c (dlsym_doit): Likewise.
863         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
864         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
865         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
866         Likewise.
867         * elf/dl-conflict.c: Likewise.
868         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
869         * elf/dl-dst.h: Likewise.
870         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
871         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
872         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
873         * elf/dl-init.c (call_init, _dl_init): Likewise.
874         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
875         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
876         _dl_map_object_from_fd, open_verify, open_path,
877         _dl_map_object): Likewise.
878         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
879         Likewise.
880         * elf/dl-minimal.c (__libc_memalign): Likewise.
881         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
882         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
883         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
884         * elf/dl-sym.c (do_sym): Likewise.
885         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
886         _dl_tls_get_addr_soft): Likewise.
887         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
888         * elf/dl-writev.h (_dl_writev): Likewise.
889         * elf/ldconfig.c (search_dir): Likewise.
890         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
891         dl_main): Likewise.
892         * elf/setup-vdso.h (setup_vdso): Likewise.
893         * grp/compat-initgroups.c (compat_call): Likewise.
894         * grp/fgetgrent.c (fgetgrent): Likewise.
895         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
896         * grp/putgrent.c (putgrent): Likewise.
897         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
898         Likewise.
899         * hurd/hurdinit.c: Likewise.
900         * iconvdata/8bit-gap.c (struct): Likewise.
901         * iconvdata/ansi_x3.110.c : Likewise.
902         * iconvdata/big5.c : Likewise.
903         * iconvdata/big5hkscs.c : Likewise.
904         * iconvdata/cp1255.c: Likewise.
905         * iconvdata/cp1258.c : Likewise.
906         * iconvdata/cp932.c : Likewise.
907         * iconvdata/euc-cn.c: Likewise.
908         * iconvdata/euc-jisx0213.c : Likewise.
909         * iconvdata/euc-jp.c: Likewise.
910         * iconvdata/euc-jp-ms.c : Likewise.
911         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
912         * iconvdata/gb18030.c : Likewise.
913         * iconvdata/gbbig5.c (const): Likewise.
914         * iconvdata/gbgbk.c: Likewise.
915         * iconvdata/gbk.c : Likewise.
916         * iconvdata/ibm1364.c : Likewise.
917         * iconvdata/ibm930.c : Likewise.
918         * iconvdata/ibm932.c: Likewise.
919         * iconvdata/ibm933.c : Likewise.
920         * iconvdata/ibm935.c : Likewise.
921         * iconvdata/ibm937.c : Likewise.
922         * iconvdata/ibm939.c : Likewise.
923         * iconvdata/ibm943.c: Likewise.
924         * iconvdata/iso_11548-1.c: Likewise.
925         * iconvdata/iso-2022-cn.c : Likewise.
926         * iconvdata/iso-2022-cn-ext.c : Likewise.
927         * iconvdata/iso-2022-jp-3.c: Likewise.
928         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
929         * iconvdata/iso-2022-kr.c : Likewise.
930         * iconvdata/iso646.c (gconv_end): Likewise.
931         * iconvdata/iso_6937-2.c : Likewise.
932         * iconvdata/iso_6937.c : Likewise.
933         * iconvdata/iso8859-1.c: Likewise.
934         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
935         * iconvdata/shift_jisx0213.c : Likewise.
936         * iconvdata/sjis.c : Likewise.
937         * iconvdata/t.61.c : Likewise.
938         * iconvdata/tcvn5712-1.c : Likewise.
939         * iconvdata/tscii.c: Likewise.
940         * iconvdata/uhc.c : Likewise.
941         * iconvdata/unicode.c (gconv_end): Likewise.
942         * iconvdata/utf-16.c (gconv_end): Likewise.
943         * iconvdata/utf-32.c (gconv_end): Likewise.
944         * iconvdata/utf-7.c (base64): Likewise.
945         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
946         * iconv/gconv_close.c (__gconv_close): Likewise.
947         * iconv/gconv_open.c (__gconv_open): Likewise.
948         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
949         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
950         internal_ucs4le_loop_single, ucs4le_internal_loop,
951         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
952         * iconv/iconv.c (iconv): Likewise.
953         * iconv/iconv_close.c: Likewise.
954         * iconv/loop.c (SINGLE): Likewise.
955         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
956         * include/atomic.h: Likewise.
957         * inet/inet6_option.c (option_alloc): Likewise.
958         * intl/bindtextdom.c (set_binding_values): Likewise.
959         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
960         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
961         * intl/localealias.c (read_alias_file): Likewise.
962         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
963         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
964         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
965         * libio/fmemopen.c (fmemopen): Likewise.
966         * libio/iofgets.c (_IO_fgets): Likewise.
967         * libio/iofgets_u.c (fgets_unlocked): Likewise.
968         * libio/iofgetws.c (fgetws): Likewise.
969         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
970         * libio/iogetdelim.c (_IO_getdelim): Likewise.
971         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
972         adjust_wide_data, _IO_wfile_seekoff): Likewise.
973         * locale/findlocale.c (_nl_find_locale): Likewise.
974         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
975         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
976         Likewise.
977         * locale/setlocale.c (setlocale): Likewise.
978         * login/programs/pt_chown.c (main): Likewise.
979         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
980         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
981         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
982         mmap, mmap64, mremap, munmap): Likewise.
983         * math/e_exp2l.c: Likewise.
984         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
985         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
986         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
987         * math/s_catan.c (__catan): Likewise.
988         * math/s_catanf.c (__catanf): Likewise.
989         * math/s_catanh.c (__catanh): Likewise.
990         * math/s_catanhf.c (__catanhf): Likewise.
991         * math/s_catanhl.c (__catanhl): Likewise.
992         * math/s_catanl.c (__catanl): Likewise.
993         * math/s_ccosh.c (__ccosh): Likewise.
994         * math/s_ccoshf.c (__ccoshf): Likewise.
995         * math/s_ccoshl.c (__ccoshl): Likewise.
996         * math/s_cexp.c (__cexp): Likewise.
997         * math/s_cexpf.c (__cexpf): Likewise.
998         * math/s_cexpl.c (__cexpl): Likewise.
999         * math/s_clog10.c (__clog10): Likewise.
1000         * math/s_clog10f.c (__clog10f): Likewise.
1001         * math/s_clog10l.c (__clog10l): Likewise.
1002         * math/s_clog.c (__clog): Likewise.
1003         * math/s_clogf.c (__clogf): Likewise.
1004         * math/s_clogl.c (__clogl): Likewise.
1005         * math/s_csin.c (__csin): Likewise.
1006         * math/s_csinf.c (__csinf): Likewise.
1007         * math/s_csinh.c (__csinh): Likewise.
1008         * math/s_csinhf.c (__csinhf): Likewise.
1009         * math/s_csinhl.c (__csinhl): Likewise.
1010         * math/s_csinl.c (__csinl): Likewise.
1011         * math/s_csqrt.c (__csqrt): Likewise.
1012         * math/s_csqrtf.c (__csqrtf): Likewise.
1013         * math/s_csqrtl.c (__csqrtl): Likewise.
1014         * math/s_ctan.c (__ctan): Likewise.
1015         * math/s_ctanf.c (__ctanf): Likewise.
1016         * math/s_ctanh.c (__ctanh): Likewise.
1017         * math/s_ctanhf.c (__ctanhf): Likewise.
1018         * math/s_ctanhl.c (__ctanhl): Likewise.
1019         * math/s_ctanl.c (__ctanl): Likewise.
1020         * math/w_pow.c: Likewise.
1021         * math/w_powf.c: Likewise.
1022         * math/w_powl.c: Likewise.
1023         * math/w_scalb.c (sysv_scalb): Likewise.
1024         * math/w_scalbf.c (sysv_scalbf): Likewise.
1025         * math/w_scalbl.c (sysv_scalbl): Likewise.
1026         * misc/error.c (error_tail): Likewise.
1027         * misc/pselect.c (__pselect): Likewise.
1028         * nis/nis_callback.c (__nis_create_callback): Likewise.
1029         * nis/nis_call.c (__nisfind_server): Likewise.
1030         * nis/nis_creategroup.c (nis_creategroup): Likewise.
1031         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
1032         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1033         * nis/nis_getservlist.c (nis_getservlist): Likewise.
1034         * nis/nis_lookup.c (nis_lookup): Likewise.
1035         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
1036         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1037         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1038         * nis/nis_xdr.c (xdr_endpoint): Likewise.
1039         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1040         internal_getgrgid_r): Likewise.
1041         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1042         Likewise.
1043         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1044         internal_getpwuid_r): Likewise.
1045         * nis/nss_compat/compat-spwd.c (getspent_next_file,
1046         internal_getspnam_r): Likewise.
1047         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1048         _nss_nis_getaliasbyname_r): Likewise.
1049         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1050         _nss_nis_getntohost_r): Likewise.
1051         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1052         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1053         Likewise.
1054         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1055         internal_nis_gethostent_r, internal_gethostbyname2_r,
1056         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1057         _nss_nis_gethostbyname4_r): Likewise.
1058         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1059         initgroups_netid): Likewise.
1060         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1061         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1062         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1063         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1064         _nss_nis_getprotobynumber_r): Likewise.
1065         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1066         _nss_nis_getsecretkey): Likewise.
1067         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1068         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1069         Likewise.
1070         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1071         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1072         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1073         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1074         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1075         _nss_nis_getspnam_r): Likewise.
1076         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1077         Likewise.
1078         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1079         _nss_nisplus_getntohost_r): Likewise.
1080         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1081         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1082         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1083         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1084         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1085         Likewise.
1086         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1087         _nss_nisplus_getnetbyaddr_r): Likewise.
1088         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1089         _nss_nisplus_getprotobynumber_r): Likewise.
1090         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1091         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1092         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1093         Likewise.
1094         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1095         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1096         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1097         _nss_nisplus_getspnam_r): Likewise.
1098         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1099         * nscd/aicache.c (addhstaiX): Likewise.
1100         * nscd/cache.c (cache_search, prune_cache): Likewise.
1101         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1102         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1103         * nscd/grpcache.c (addgrbyX): Likewise.
1104         * nscd/hstcache.c (addhstbyX): Likewise.
1105         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1106         * nscd/mem.c (gc, mempool_alloc): Likewise.
1107         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1108         Likewise.
1109         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1110         Likewise.
1111         * nscd/nscd_getai.c (__nscd_getai): Likewise.
1112         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1113         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1114         Likewise.
1115         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1116         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1117         * nscd/nscd_helper.c (__readvall, open_socket,
1118         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1119         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1120         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1121         * nscd/pwdcache.c (addpwbyX): Likewise.
1122         * nscd/selinux.c (preserve_capabilities): Likewise.
1123         * nscd/servicescache.c (addservbyX): Likewise.
1124         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1125         * posix/fnmatch.c (fnmatch): Likewise.
1126         * posix/getopt.c (_getopt_internal_r): Likewise.
1127         * posix/glob.c (glob, glob_in_dir): Likewise.
1128         * posix/wordexp.c (exec_comm_child): Likewise.
1129         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1130         gaih_getanswer_slice): Likewise.
1131         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1132         * resolv/res_init.c: Likewise.
1133         * resolv/res_mkquery.c (res_nmkquery): Likewise.
1134         * resolv/res_query.c (__libc_res_nquery): Likewise.
1135         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1136         Likewise.
1137         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1138         * stdio-common/perror.c (perror): Likewise.
1139         * stdio-common/printf_fp.c (___printf_fp): Likewise.
1140         * stdio-common/tmpnam.c (tmpnam): Likewise.
1141         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1142         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1143         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1144         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1145         * stdlib/putenv.c (putenv): Likewise.
1146         * stdlib/setenv.c (__add_to_environ): Likewise.
1147         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1148         * stdlib/strtol_l.c (INTERNAL): Likewise.
1149         * string/memmem.c (memmem): Likewise.
1150         * string/strerror.c (strerror): Likewise.
1151         * string/strnlen.c (__strnlen): Likewise.
1152         * string/test-memmem.c (simple_memmem): Likewise.
1153         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1154         * sunrpc/pm_getport.c (__get_socket): Likewise.
1155         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1156         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1157         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1158         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1159         Likewise.
1160         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1161         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1162         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1163         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1164         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1165         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1166         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1167         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1168         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1169         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1170         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1171         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1172         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1173         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1174         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1175         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1176         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1177         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1178         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1179         Likewise.
1180         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1181         Likewise.
1182         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1183         Likewise.
1184         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1185         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1186         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1187         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1188         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1189         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1190         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1191         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1192         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1193         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1194         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1195         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1196         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1197         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1198         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1199         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1200         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1201         Likewise.
1202         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1203         Likewise.
1204         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1205         Likewise.
1206         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1207         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1208         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1209         Likewise.
1210         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1211         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1212         * sysdeps/posix/opendir.c (__opendirat): Likewise.
1213         * sysdeps/posix/sleep.c: Likewise.
1214         * sysdeps/posix/tempname.c: Likewise.
1215         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1216         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1217         Likewise.
1218         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1219         elf_machine_rela): Likewise.
1220         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1221         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1222         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1223         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1224         Likewise.
1225         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1226         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1227         elf_machine_rela, elf_machine_lazy_rel): Likewise.
1228         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1229         elf_machine_rela, elf_machine_lazy_rel): Likewise.
1230         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1231         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1232         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1233         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1234         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1235         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1236         elf_machine_lazy_rel): Likewise.
1237         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1238         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1239         elf_machine_lazy_rel): Likewise.
1240         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1241         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1242         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1243         * sysdeps/unix/grantpt.c (grantpt): Likewise.
1244         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1245         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1246         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1247         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1248         Likewise.
1249         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1250         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1251         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1252         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1253         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1254         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1255         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1256         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1257         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1258         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1259         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1260         Likewise.
1261         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1262         (__posix_fallocate64_l64): Likewise.
1263         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1264         (posix_fallocate): Likewise.
1265         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1266         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1267         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1268         getifaddrs_internal): Likewise.
1269         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1270         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1271         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1272         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1273         * sysdeps/unix/sysv/linux/posix_fallocate64.c
1274         (__posix_fallocate64_l64): Likewise.
1275         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1276         Likewise.
1277         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1278         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1279         Likewise.
1280         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1281         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1282         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1283         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1284         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1285         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1286         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1287         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1288         Likewise.
1289         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1290         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1291         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1292         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1293         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1294         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1295         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1296         Likewise.
1297         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1298         (posix_fallocate): Likewise.
1299         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1300         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1301         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1302         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1303         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1304         Likewise.
1305         * time/asctime.c (asctime_internal): Likewise.
1306         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1307         * time/tzset.c (__tzset_parse_tz): Likewise.
1308         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1309         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1310         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1311         * wcsmbs/wcsmbsload.h: Likewise.
1313 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
1315         [BZ #15894]
1316         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1318 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
1320         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1321         arena_get2): Remove THREAD_STATS conditionals.
1322         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1323         __malloc_stats, int): Likewise.
1325 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1327         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1328         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
1330 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1332         * manual/setjmp.texi: Fix typos/grammar errors.
1334 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1336         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1337         Only return early when n is <= 0.  Delete unused return statement.
1339 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1341         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1342         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1343         * debug/tst-longjmp_chk3.c: New file.
1345 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1347         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1348         (test_main): Replace code with set_fortify_handler call.
1349         * debug/test-strcpy_chk.c: Likewise.
1350         * debug/tst-chk1.c: Likewise.
1351         * debug/tst-longjmp_chk.c: Likewise.
1352         * test-skeleton.c: Include fcntl.h & paths.h
1353         (set_fortify_handler): Define.
1355 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1357         * debug/tst-longjmp_chk.c: Add header comment and include
1358         ../test-skeleton.c.
1359         (do_test): Mark static.
1360         (TEST_FUNCTION): Define.
1362 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1364         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1365         (IP_PMTUDISC_INTERFACE): Likewise.
1366         (IP_MULTICAST_IF): Likewise.
1367         (IP_MULTICAST_TTL): Likewise.
1368         (IP_MULTICAST_LOOP): Likewise.
1369         (IP_ADD_MEMBERSHIP): Likewise.
1370         (IP_DROP_MEMBERSHIP): Likewise.
1371         (IP_UNBLOCK_SOURCE): Likewise.
1372         (IP_BLOCK_SOURCE): Likewise.
1373         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1374         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1375         (IP_MSFILTER): Likewise.
1376         (MCAST_JOIN_GROUP): Likewise.
1377         (MCAST_BLOCK_SOURCE): Likewise.
1378         (MCAST_UNBLOCK_SOURCE): Likewise.
1379         (MCAST_LEAVE_GROUP): Likewise.
1380         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1381         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1382         (MCAST_MSFILTER): Likewise.
1383         (IP_MULTICAST_ALL): Likewise.
1384         (IP_UNICAST_IF): Likewise.
1386 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1388         * timezone/Makefile: Delete $(have-ksh) check.
1389         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1390         * timezone/tzselect.ksh: Add +x mode bits.
1392 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1394         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1395         (ANON_INODE_FS_MAGIC): Likewise.
1396         (BDEVFS_MAGIC): Likewise.
1397         (BINFMTFS_MAGIC): Likewise.
1398         (BTRFS_TEST_MAGIC): Likewise.
1399         (CRAMFS_MAGIC_WEND): Likewise.
1400         (DEBUGFS_MAGIC): Likewise.
1401         (ECRYPTFS_SUPER_MAGIC): Likewise.
1402         (EXT3_SUPER_MAGIC): Likewise.
1403         (EXT4_SUPER_MAGIC): Likewise.
1404         (FUTEXFS_SUPER_MAGIC): Likewise.
1405         (HOSTFS_SUPER_MAGIC): Likewise.
1406         (HUGETLBFS_MAGIC): Likewise.
1407         (MINIX3_SUPER_MAGIC): Likewise.
1408         (MTD_INODE_FS_MAGIC): Likewise.
1409         (NILFS_SUPER_MAGIC): Likewise.
1410         (OPENPROM_SUPER_MAGIC): Likewise.
1411         (PIPEFS_MAGIC): Likewise.
1412         (PSTOREFS_MAGIC): Likewise.
1413         (QNX6_SUPER_MAGIC): Likewise.
1414         (RAMFS_MAGIC): Likewise.
1415         (REISERFS_SUPER_MAGIC_STRING): Likewise.
1416         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1417         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1418         (SECURITYFS_MAGIC): Likewise.
1419         (SELINUX_MAGIC): Likewise.
1420         (SMACK_MAGIC): Likewise.
1421         (SOCKFS_MAGIC): Likewise.
1422         (SQUASHFS_MAGIC): Likewise.
1423         (STACK_END_MAGIC): Likewise.
1424         (TMPFS_MAGIC): Likewise.
1425         (USBDEVICE_SUPER_MAGIC): Likewise.
1426         (V9FS_MAGIC): Likewise.
1427         (XENFS_SUPER_MAGIC): Likewise.
1428         (CRAMFS_MAGIC): Fix typo in comment.
1429         (EXT2_SUPER_MAGIC): Update comment.
1430         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1432 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
1434         * sysdeps/arm: Move directory from ports/sysdeps/arm.
1435         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1436         * sysdeps/unix/sysv/linux/arm: Move directory from
1437         ports/sysdeps/unix/sysv/linux/arm.
1438         * README: Update listing for arm-*-linux-gnueabi.
1440         * README: Remove mention of am33.
1442 2014-02-07  Roland McGrath  <roland@hack.frob.com>
1444         * bits/sigset.h (__sigemptyset): Use a statement expression rather
1445         than the comma operator, to avoid "rhs of comma has no effect"
1446         compiler warnings.
1447         (__sigfillset, __sigandset, __sigorset): Likewise.
1448         * include/signal.h (__sigemptyset): Likewise.
1449         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1451 2014-02-07  Allan McRae  <allan@archlinux.org>
1453         * version.h (RELEASE): Set to "development".
1454         (VERSION): Set to "2.19.90"
1455         * NEWS: Add 2.20 section.
1457 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
1459         [BZ #16529]
1460         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1462 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1464         * manual/contrib.texi: Update entry for Carlos O'Donell,
1465         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1467 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
1469         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1471         * sysdeps/unix/sysv/linux/kernel-features.h
1472         [__LINUX_KERNEL_VERSION >= 0x020621]
1473         (__ASSUME_PROC_PID_TASK_COMM): Define.
1475 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1477         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1478         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
1479         Leonard and Allan McRae.
1481 2014-02-04  David S. Miller  <davem@davemloft.net>
1483         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1484         32-bit.
1486 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1489         file
1490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1491         New file
1492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1493         file.
1494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1495         file.
1496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1497         New file.
1498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1499         file.
1500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1501         file.
1502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1503         New file.
1504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1505         New file.
1506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1507         New file.
1508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1509         New file.
1510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1511         New file.
1512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1513         New file.
1515 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1517         * nptl/shlib-versions: Change powerpc*le start to 2.17.
1518         * shlib-versions: Likewise.
1520 2014-02-04  Roland McGrath  <roland@hack.frob.com>
1521             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1523         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1524         (abilist-pattern): New variable, set to %-le.abilist.
1526         * Makerules (abilist-pattern): New variable.
1527         (vpath): Use $(abilist-pattern) in place of %.abilist.
1528         (check-abi-% pattern rule): Likewise.
1529         (check-abi, update-abi): Likewise.
1531 2014-02-04  Eric Wong  <normalperson@yhbt.net>
1533         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1535 2014-02-04  Eric Wong  <normalperson@yhbt.net>
1537         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1539 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
1541         * manual/startup.texi: Add next, previous, and top entries for
1542         the `Program Arguments' and `Environment Variables' nodes.
1544 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
1546         * manual/macros.texi: Add comments before MTASC-safety macros.
1548         * manual/users.texi: Document MTASC-safety properties.
1550         * manual/threads.texi (pthread_key_create, pthread_key_delete,
1551         pthread_getspecific, pthread_setspecific): Format with
1552         @deftypefun, and add @safety note.
1553         * manual/signal.texi: Move comments that analyze the above
1554         functions to their home place.
1556 2014-02-03  Allan McRae  <allan@archlinux.org>
1558         * po/sl.po: Update Slovenian translation from translation project.
1560 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
1562         * manual/time.texi (timegm): Add missing blank after @c.
1563         Reported by Joseph Myers <joseph@codesourcery.com>.
1565 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
1567         * manual/check-safety.sh: New.
1568         * manual/Makefile ($(objpfx)stamp-summary): Run it.
1570         * manual/terminal.texi: Document MTASC-safety properties.
1572         * manual/filesys.texi: Document MTASC-safety properties.
1574         * manual/errno.texi: Document MTASC-safety properties.
1576         * manual/intro.texi: Document safety identifiers and
1577         conditionals.
1579         * manual/string.texi (wcstok): Fix prototype.
1580         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1582         * manual/time.texi: Document MTASC-safety properties.
1584         * manual/string.texi: Document MTASC-safety properties.
1586         * manual/threads.texi: Document MTASC-safety properties.
1588         * manual/stdio.texi: Document MTASC-safety properties.
1590         * manual/syslog.texi: Document MTASC-safety properties.
1592         * manual/sysinfo.texi: Document MTASC-safety properties.
1594         * manual/startup.texi: Document MTASC-safety properties.
1596         * manual/socket.texi: Document MTASC-safety properties.
1598         * manual/signal.texi: Document MTASC-safety properties.
1600 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
1602         * manual/setjmp.texi: Document MTASC-safety properties.
1604         * manual/search.texi: Document MTASC-safety properties.
1606         * manual/resource.texi: Document MTASC-safety properties.
1608         * manual/process.texi: Document MTASC-safety properties.
1610         * manual/platform.texi: Document MTASC-safety properties.
1612         * manual/pipe.texi: Document MTASC-safety properties.
1614         * manual/pattern.texi: Document MTASC-safety properties.
1616         * manual/message.texi: Document MTASC-safety properties.
1618         [BZ #12751]
1619         * manual/memory.texi: Document MTASC-safety properties.
1621         * manual/math.texi: Document MTASC-safety properties.
1623         * manual/locale.texi: Document MTASC-safety properties.
1625         * manual/llio.texi: Document MTASC-safety properties.
1627         * manual/libdl.texi: New.
1629         * manual/lang.texi: Document MTASC-safety properties.
1631         * manual/job.texi: Document MTASC-safety properties.
1633         * manual/getopt.texi: Document MTASC-safety properties.
1635         * manual/ctype.texi: Document MTASC-safety properties.
1637 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
1639         [BZ #16046]
1640         * csu/libc-tls.c (static_map): Remove variable.
1641         (__libc_setup_tls): Use main executable's link map for TLS data.
1642         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1643         casing for LM_ID_BASE and GL(dl_nns).
1644         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1645         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
1646         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1647         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1648         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1649         member.
1650         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1651         l_phnum members.
1653 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
1655         * manual/debug.texi: Document MTASC-safety properties.
1657 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
1659         [BZ #16510]
1660         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1661         of __x86_64__ when disabling x87 inline functions.
1663 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
1665         * manual/charset.texi: Document MTASC-safety properties.
1667         * manual/crypt.texi: Document MTASC-safety properties.
1669         * manual/conf.texi: Document MTASC-safety properties.
1671         * manual/arith.texi: Document MTASC-safety properties.
1673         * manual/argp.texi: Document MTASC-safety properties.
1675         * manual/macros.texi: Introduce macros to document multi
1676         thread, asynchronous signal and asynchronous cancellation
1677         safety properties.
1678         * manual/intro.texi: Introduce the properties themselves.
1680 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1682         * sysdeps/sh/sh4/Makefile: New file.
1684 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
1686         * math/gen-libm-test.pl ($srcdir): New variable.
1687         ($auto_input): Use it.
1689 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1691         [BZ #16506]
1692         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1693         access beyond array bounds when parsing netgroups file.
1695         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1696         the old buffer before realloc.
1698 2014-01-27  Allan McRae  <allan@archlinux.org>
1700         * po/fr.po: Update French translation from translation project.
1702 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1704         * sysdeps/sh/libm-test-ulps: Regenerate.
1706 2014-01-24  David S. Miller  <davem@davemloft.net>
1708         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1710 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1712         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1713         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1715 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1717         [BZ #16474]
1718         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1719         string pointers after reallocation.
1721 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1723         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1724         __SH4A__ instead of __SH_FPU_ANY__.
1726 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1728         * sysdeps/sh/fpu_control.h: New file.
1729         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1730         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1731         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1732         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1733         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1734         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1735         * sysdeps/sh/sys/ucontext.h: Remove.
1736         * sysdeps/sh/sys: Remove directory.
1738 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1740         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1741         s390/sys/ucontext.h.
1742         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1743         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1745 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
1747         [BZ #15605]
1748         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1750 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1752         [BZ#16431]
1753         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1754         Adjust the vDSO correctly for internal calls.
1755         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1757 2014-01-20  Allan McRae  <allan@archlinux.org>
1759         * po/ca.po: Update Catalan translation from translation project.
1761 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
1763         * sysdeps/s390/sotruss-lib.c: New file.
1765 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1767         [BZ#16430]
1768         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1769         (__GI___gettimeofday): Alias for a different internal symbol to avoid
1770         local calls issues by not having a PLT stub required for IFUNC calls.
1771         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1773 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
1775         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1776         * math/test-fpucw-static.c: Likewise.
1778 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1780         [BZ #16453]
1781         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1783 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1785         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1786         implementation for powerpc.
1788 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
1790         [BZ #14782]
1791         * sysdeps/posix/system.c (__libc_system): Do not enable
1792         asynchronous cancellation.
1794 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1796         [BZ #16427]
1797         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1798         handling only for numbers special also in the IEEE case.
1800 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1802         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1804 2014-01-11  Allan McRae  <allan@archlinux.org>
1806         * po/bg.po: Update Bulgarian translation from translation project.
1808         * po/de.po: Update German translation from translation project.
1810 2014-01-10  Roland McGrath  <roland@hack.frob.com>
1812         * sysdeps/generic/gcc-compat.h: New file.
1814 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1816         * benchtests/asin-inputs: Correct slow inputs.
1817         * benchtests/acos-inputs: Likewise.
1819 2014-01-10  Allan McRae  <allan@archlinux.org>
1821         * po:sv.po: Update Swedish translation from translation project.
1823         * po/vi.po: Update Vietnamese translation from translation project.
1825         * po/eo.po: Update Esperanto translation from translation project.
1827         * po/cs.po: Update Czech translation from translation project.
1829         * po/nl.po: Update Dutch translation from translation project.
1831         * po/pl.po: Update Polish translation from translation project.
1833         * po/ru.po: Update Russian translation from translation project.
1835         * po/uk.po: Update Ukrainian translation from translation project.
1837 2014-01-08  Brooks Moses  <bmoses@google.com>
1839         * elf/dl-load.c: Fix comment typo.
1841 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
1843         * po/header.pot: Rename to...
1844         * po/pot.header: ... this.
1845         * po/Makefile: Use pot.header.
1847 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
1848             Maxim Kuvyrkov  <maxim@kugelworks.com>
1850         [BZ #16394]
1851         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1852         SRC and DEST against LEN.
1854 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1856         [BZ #16414]
1857         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1858         implementation.
1859         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1861 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1865 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
1867         [BZ #16408]
1868         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1869         for large positive arguments.
1871 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
1873         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1875         * math/auto-libm-test-in: Mark various tests with
1876         xfail-rounding:ldbl-128ibm.
1877         * math/auto-libm-test-out: Regenerated.
1879         [BZ #16407]
1880         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1881         Increase overflow threshold.
1883 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
1885         [BZ #14286]
1886         * stdio-common/vfprintf.c: Check for integer overflow.
1888 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1890         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1891         the first argument and return value of __tls_get_addr_internal.
1893 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1895         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1896         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1898 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1900         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1901         * sysdeps/s390/rtld-global-offsets.sym: New file.
1902         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1903         GLIBC_2.19 symbol.
1904         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1905         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1906         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1907         ... this.
1908         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1909         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1910         ... this.
1911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1912         Regenerate.
1913         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1914         Regenerate.
1915         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1916         halfs of GPRs for high_gprs contexts.
1917         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1918         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
1919         field.
1920         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1921         uc_flags field.
1922         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1923         64 bit versions:
1924         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1925         for high GPRs (uc_high_gprs) and for future extensions
1926         (__reserved).
1927         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1928         for future extensions (__reserved).
1929         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1930         64 bit versions:
1931         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1932         SC_HIGHGPRS offset definition.
1933         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1934         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1936 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1938         * Versions.def: Add GLIBC_2.19 for libpthread.
1939         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1940         siglongjmp for libpthread with GLIBC_2.19 symver.
1941         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1942         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1943         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1944         * sysdeps/s390/__longjmp.c: New file.
1945         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1946         * sysdeps/s390/longjmp.c: New file.
1947         * sysdeps/s390/setjmp.S: New file.
1948         * sysdeps/s390/sigjmp.S: New file.
1949         * sysdeps/s390/v1-longjmp.c: New file.
1950         * sysdeps/s390/v1-setjmp.h: New file.
1951         * sysdeps/s390/v1-sigjmp.c: New file.
1952         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1953         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1954         GLIBC_2.19 version.
1955         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1956         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1957         versioned symbols for ____longjmp_chk.
1958         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1959         Likewise.
1960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1961         Regenerate.
1962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1963         Regenerate.
1964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1965         Regenerate.
1966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1967         Regenerate.
1968         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1969         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1970         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1971         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1972         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1973         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1974         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1975         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1976         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1977         * sysdeps/s390/rtld-__longjmp.c: New file.
1978         * sysdeps/s390/rtld-setjmp.S: New file.
1980 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
1982         [BZ #16400]
1983         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1984         Return -__logl (x) for small positive arguments without evaluating
1985         a polynomial.
1987 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
1989         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1990         Rename to ...
1991         (__ptrace_peeksiginfo_args): ... this.
1992         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1993         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1994         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1996 2014-01-06  Allan McRae  <allan@archlinux.org>
1998         * inet/netinet/in.h: Fix typo in comment.
2000 2014-01-05  Andreas Jaeger  <aj@suse.de>
2002         * sysdeps/i386/fpu/libm-test-ulps: Update.
2004 2014-01-05  Allan McRae  <allan@archlinux.org>
2006         * po/libc.pot: Regenerated.
2008         * malloc/memusagestat.c: Fix gettext call formatting.
2010 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
2012         * nscd/nscd.c: Improve usage() output.
2014 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
2016         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
2017         * sysdeps/unix/sysv/linux/configure: Regenerated.
2018         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
2019         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
2021 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
2023         [BZ #16390]
2024         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2025         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
2027 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2029         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
2030         extra tokens at end of #undef directive.
2031         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
2032         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
2033         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2035 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
2037         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2039         * math/auto-libm-test-in: Mark various tests with
2040         xfail-rounding:ldbl-128ibm.
2041         * math/auto-libm-test-out: Regenerated.
2043 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
2045         [BZ #16386]
2046         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2047         numbers with subnormal high part when calculating exponent.
2049         [BZ #16385]
2050         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2051         fabs.
2053         [BZ #16384]
2054         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2055         M_LN2l.
2056         (__ieee754_acoshl): Use __log1pl not __log1p.
2058 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
2060         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2061         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2062         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2063         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2064         Convert to GNU style.
2065         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2066         mem2mem_check, mem2chunk_check, top_check, realloc_check,
2067         memalign_check, __malloc_set_state): Likewise.
2068         * malloc/mallocbug.c (main): Likewise.
2069         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2070         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2071         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2072         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2073         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2074         * malloc/malloc.h: Likewise.
2075         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2076         memalignhook, reallochook, mabort): Likewise.
2077         * malloc/mcheck.h: Likewise.
2078         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2079         mmap64, mremap, munmap, dest): Likewise.
2080         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2081         * malloc/morecore.c (__default_morecore): Likewise.
2082         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2083         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2084         _obstack_allocated_p, obstack_free, _obstack_memory_used,
2085         print_and_abort): Likewise.
2086         * malloc/obstack.h: Likewise.
2087         * malloc/set-freeres.c (__libc_freeres): Likewise.
2088         * malloc/tst-mallocstate.c (main): Likewise.
2089         * malloc/tst-mtrace.c (main): Likewise.
2090         * malloc/tst-realloc.c (do_test): Likewise.
2092 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2094         [BZ #16366]
2095         * nscd/netgroupcache.c (do_notfound): New function.
2096         (addgetnetgrentX): Use it.
2098         [BZ # 16365]
2099         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2100         NSS_STATUS_NOTFOUND.
2102 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
2104         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2107 2014-01-01  Allan McRae  <allan@archlinux.org>
2109         * scripts/update-copyrights: Update configure input file suffix.
2111         * NEWS: Update copyright year.
2112         * catgets/gencat.c: Likewise.
2113         * csu/version.c: Likewise.
2114         * debug/catchsegv.sh: Likewise.
2115         * debug/pcprofiledump.c: Likewise.
2116         * debug/xtrace.sh: Likewise.
2117         * elf/ldconfig.c: Likewise.
2118         * elf/ldd.bash.in: Likewise.
2119         * elf/pldd.c: Likewise.
2120         * elf/sotruss.ksh: Likewise.
2121         * elf/sprof.c: Likewise.
2122         * iconv/iconv_prog.c: Likewise.
2123         * iconv/iconvconfig.c: Likewise.
2124         * locale/programs/locale.c: Likewise.
2125         * locale/programs/localedef.c: Likewise.
2126         * login/programs/pt_chown.c: Likewise.
2127         * malloc/memusage.sh: Likewise.
2128         * malloc/memusagestat.c: Likewise.
2129         * malloc/mtrace.pl: Likewise.
2130         * manual/libc.texinfo: Likewise.
2131         * nscd/nscd.c: Likewise.
2132         * nss/getent.c: Likewise.
2133         * nss/makedb.c: Likewise.
2134         * posix/getconf.c: Likewise.
2135         * scripts/test-installation.pl: Likewise.
2137         * All files with FSF copyright notices: Update copyright dates
2138         using scripts/update-copyrights.
2139         * intl/plural.c: Regenerated.
2140         * locale/programs/charmap-kw.h: Likewise.
2141         * locale/programs/locfile-kw.h: Likewise.
2143 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
2145         * sysdeps/unix/sysv/linux/configure: Regenerated.
2146         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2147         the linux/fanotify.h header.
2148         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2149         HAVE_LINUX_FANOTIFY_H is defined.
2151 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
2153         * benchtests/cos-inputs: New inputs.
2154         * benchtests/sin-inputs: Likewise.
2156         * benchtests/atan-inputs: New inputs. Fix name of multiple
2157         precision fallback inputs.
2159         * benchtests/atanh-inputs: New inputs.
2160         * benchtests/tanh-inputs: Likewise.
2162         * benchtests/acosh-inputs: New inputs.
2163         * benchtests/asinh-inputs: Likewise.
2165         * benchtests/cosh-inputs: New inputs.
2166         * benchtests/sinh-inputs: Likewise.
2168         * benchtests/acos-inputs: Add more inputs.
2169         * benchtests/asin-inputs: Likewise.
2171 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
2173         [BZ #16375]
2174         * manual/arith.texi: Fix spelling.
2175         * manual/charset.texi: Likewise.
2176         * manual/errno.texi: Likewise.
2177         * manual/filesys.texi: Likewise.
2178         * manual/lang.texi: Likewise.
2179         * manual/llio.texi: Likewise.
2180         * manual/locale.texi: Likewise.
2181         * manual/message.texi: Likewise.
2182         * manual/resource.texi: Likewise.
2183         * manual/search.texi: Likewise.
2184         * manual/setjmp.texi: Likewise.
2185         * manual/stdio.texi: Likewise.
2186         * manual/string.texi: Likewise.
2187         * manual/sysinfo.texi: Likewise.
2188         * manual/time.texi: Likewise.
2190 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
2192         * po/sl.po: New file.
2194 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
2196         * .gitignore: Add core/.gdbinit/.gdb_history.
2198 2013-12-27  Allan McRae  <allan@archlinux.org>
2200         [BZ #16369]
2201         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2202         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2204 2013-12-24  Brooks Moses  <bmoses@google.com>
2206         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2207         all compilers that claim C++98 compliance, not just GCC.
2208         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2209         Likewise.
2211 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
2213         * NEWS: Restore accidentally deleted bug-fix entries.
2215 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
2216             Ondřej Bílka  <neleai@seznam.cz>
2218         [BZ #15073]
2219         * malloc/malloc.c (_int_free): Perform sanity check only if we
2220         have_lock.
2222 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
2224         [BZ #12986]
2225         * manual/stdio.texi (String Input Conversions): Clarify that character
2226         classes are not supported.
2228 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2232 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
2234         [BZ #16337]
2235         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2236         Calculate results for small negative arguments directly rather
2237         than using reflection formula with special underflow handling.
2239         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2240         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2241         sysdeps/unix/bsd/bsd4.4/syscalls.list.
2242         (fchflags): Likewise.
2243         (revoke): Likewise.
2244         (setlogin): Likewise.
2245         (sigaltstack): Likewise.
2246         (wait4): Likewise.
2247         (sigblock): Remove.
2248         (sigsetmask): Likewise.
2249         (wait3): Likewise.
2250         (waitpid): Likewise.
2251         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2252         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2253         file.
2254         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2255         * sysdeps/unix/bsd/Makefile: ... here.
2256         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2257         * sysdeps/unix/bsd/Versions: ... here.
2258         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2259         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2260         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2261         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2262         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2263         * sysdeps/unix/bsd/sigblock.c: ... here.
2264         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2265         * sysdeps/unix/bsd/sigsetmask.c: ... here.
2266         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2267         * sysdeps/unix/bsd/sigvec.c: ... here.
2268         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2269         * sysdeps/unix/bsd/tcdrain.c: ... here.
2270         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2271         * sysdeps/unix/bsd/tcgetattr.c: ... here.
2272         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2273         * sysdeps/unix/bsd/tcsetattr.c: ... here.
2274         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2275         * sysdeps/unix/bsd/wait.c: ... here.
2276         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2277         * sysdeps/unix/bsd/wait3.c: ... here.
2278         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2279         * sysdeps/unix/bsd/waitpid.c: ... here.
2281 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
2283         [BZ #16356]
2284         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2285         round-to-nearest for [!USE_AS_EXPM1L].
2286         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2287         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
2288         more tests of exp and exp10.  Expect some exp10 tests to miss
2289         exceptions or fail in directed rounding modes.
2290         * math/auto-libm-test-out: Regenerated.
2291         * math/libm-test.inc (exp10_tonearest_test_data): New array.
2292         (exp10_test_tonearest): New function.
2293         (exp10_towardzero_test_data): New array.
2294         (exp10_test_towardzero): New function.
2295         (exp10_downward_test_data): New array.
2296         (exp10_test_downward): New function.
2297         (exp10_upward_test_data): New array.
2298         (exp10_test_upward): New function.
2299         (main): Call the new functions.
2300         * sysdeps/i386/fpu/libm-test-ulps: Update.
2301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2303 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
2305         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2306         asinh, atan, atan2, atanh, cbrt, cos and cosh.
2307         * math/auto-libm-test-out: Regenerated.
2308         * math/libm-test.inc (acosh_test_data): Add more tests.
2309         (atanh_test_data): Likewise.
2310         (ceil_test_data): Likewise.
2311         (copysign_test_data): Likewise.
2312         * sysdeps/i386/fpu/libm-test-ulps: Update.
2313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2315         * timezone/checktab.awk: Update from tzcode 2013i.
2316         * timezone/private.h: Likewise.
2317         * timezone/scheck.c: Likewise.
2318         * timezone/tzfile.h: Likewise.
2319         * timezone/tzselect.ksh: Likewise.
2320         * timezone/zdump.c: Likewise.
2321         * timezone/zic.c: Likewise.
2323         * math/auto-libm-test-in: Add tests of cpow.
2324         * math/auto-libm-test-out: Regenerated.
2325         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2326         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2327         mpc_cc_c.
2328         (func_calc_desc): Add mpc_cc_c union field.
2329         (test_functions): Add cpow.
2330         (special_fill_2pi): New function.
2331         (special_real_inputs): Add 2pi.
2332         (calc_generic_results): Handle mpc_cc_c.
2333         * sysdeps/i386/fpu/libm-test-ulps: Update.
2334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2336         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2337         csqrt, ctan and ctanh.
2338         * math/auto-libm-test-out: Regenerated.
2339         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2340         (TEST_COND_x86): Likewise.
2341         (ccos_test_data): Use AUTO_TESTS_c_c.
2342         (ccosh_test_data): Likewise.
2343         (cexp_test_data): Likewise.
2344         (clog_test_data): Likewise.
2345         (csqrt_test_data): Likewise.
2346         (ctan_test_data): Likewise.
2347         (ctan_tonearest_test_data): Likewise.
2348         (ctan_towardzero_test_data): Likewise.
2349         (ctan_downward_test_data): Likewise.
2350         (ctan_upward_test_data): Likewise.
2351         (ctanh_test_data): Likewise.
2352         (ctanh_tonearest_test_data): Likewise.
2353         (ctanh_towardzero_test_data): Likewise.
2354         (ctanh_downward_test_data): Likewise.
2355         (ctanh_upward_test_data): Likewise.
2356         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2357         mpc_c_c.
2358         (func_calc_desc): Add mpc_c_c union field.
2359         (FUNC_mpc_c_c): New macro.
2360         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2361         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2362         ctanh.
2363         (special_fill_min_subnorm_p120): New function.
2364         (special_real_inputs): Add min_subnorm_p120.
2365         (calc_generic_results): Handle mpc_c_c.
2366         * sysdeps/i386/fpu/libm-test-ulps: Update.
2367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2369 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2371         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2372         do_sin_slow): New functions.
2373         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2374         cslow2, csloww1, csloww2): Use the new functions.
2376         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2377         Use M to change sign of result instead of X.  Assume X is
2378         positive.
2379         (csloww1): Likewise.
2380         (__sin): Adjust.
2381         (__cos): Adjust.
2383         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2384         arguments A and DA.
2385         (__sin): Adjust.
2386         (__cos): Likewise.
2388         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2389         (__cos): Likewise.
2390         (sloww1): Don't adjust sign of DX.
2391         (csloww1): Likewise.
2392         (sloww2): Use X directly and don't adjust sign of DX.
2393         (csloww2): Likewise.
2395 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
2397         * math/auto-libm-test-in: Add tests of cabs and carg.
2398         * math/auto-libm-test-out: Regenerated.
2399         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2400         (carg_test_data): Likewise.
2401         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2402         mpc_c_f.
2403         (func_calc_desc): Add mpc_c_f union field.
2404         (test_functions): Add cabs and carg.
2405         (calc_generic_results): Handle mpc_c_f.
2407         * sysdeps/powerpc/powerpc32/libgcc-compat.S
2408         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2409         as a macro and a compat symbol.
2410         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2411         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2412         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2413         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2414         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2415         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2416         not use .hidden.
2417         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2418         Likewise.
2419         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2420         Likewise.
2421         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2422         Likewise.
2423         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2424         Likewise.
2425         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2426         Likewise.
2427         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2428         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2429         from GLIBC_2.3.2.
2431 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2435 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
2437         * manual/texinfo.tex: Update to version 2013-11-26.10 with
2438         trailing whitespace removed.
2439         * scripts/config.guess: Update to version 2013-11-29.
2440         * scripts/config.sub: Update to version 2013-10-01.
2442         * math/auto-libm-test-in: Add tests of sincos.
2443         * math/auto-libm-test-out: Regenerated.
2444         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2445         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2446         mpfr_f_11.
2447         (func_calc_desc): Add mpfr_f_11 union field.
2448         (test_functions): Add sincos.
2449         (calc_generic_results): Handle mpfr_f_11.
2450         * sysdeps/i386/fpu/libm-test-ulps: Update.
2451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2453 2013-12-19  Andreas Schwab  <schwab@suse.de>
2455         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2456         CALL_MCOUNT.
2457         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2458         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2459         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2461 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
2463         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2464         * sysdeps/i386/fpu/libm-test-ulps: Update.
2465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2467         [BZ #16293]
2468         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2469         round-to-nearest mode when using frndint.
2470         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2471         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2472         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2473         Likewise.
2474         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
2475         sinh test to fail.
2476         * math/auto-libm-test-out: Regenerated.
2477         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2478         (TEST_COND_x86): Likewise.
2479         (expm1_tonearest_test_data): New array.
2480         (expm1_test_tonearest): New function.
2481         (expm1_towardzero_test_data): New array.
2482         (expm1_test_towardzero): New function.
2483         (expm1_downward_test_data): New array.
2484         (expm1_test_downward): New function.
2485         (expm1_upward_test_data): New array.
2486         (expm1_test_upward): New function.
2487         (main): Run the new test functions.
2488         * sysdeps/i386/fpu/libm-test-ulps: Update.
2489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2491         * include/features.h: Update comment documenting feature test
2492         macros.  Mention _DEFAULT_SOURCE in comment.
2493         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2494         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2495         _BSD_SOURCE and _SVID_SOURCE.
2496         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2497         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2498         !_SVID_SOURCE]: Likewise.
2499         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2500         (__USE_POSIX_IMPLICITLY): Define.
2501         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2502         (_POSIX_SOURCE): Undefine and redefine.
2503         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2504         (_POSIX_C_SOURCE): Likewise.
2505         * manual/creature.texi (_DEFAULT_SOURCE): Document.
2506         (Feature Test Macros): Update documentation of default features.
2508 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2510         * benchtests/Makefile: Add bench-strtok.
2511         * benchtests/bench-strtok.c: New file: strtok benchtest.
2513 2013-12-19  Allan McRae  <allan@archlinux.org>
2515         * manual/install.texi: Suppress menu for plain text output.
2516         * INSTALL: Regenerated.
2518 2013-12-18  Brooks Moses  <bmoses@google.com>
2520         [BZ #15846]
2521         * misc/getauxval.c: Include errno.h.
2522         (__getauxval): Set errno to ENOENT if the requested type is not
2523         found.
2524         * misc/sys/auxv.h (getauxval): Document that it may set errno;
2525         don't declare with __attribute_const__.
2526         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2527         * manual/startup.texi: Document that getauxval sets errno.
2529 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
2531         * math/auto-libm-test-in: Add tests of jn and yn.
2532         * math/auto-libm-test-out: Regenerated.
2533         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2534         (yn_test_data): Likewise.
2535         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2536         mpfr_if_f.
2537         (func_calc_desc): Add mpfr_if_f union field.
2538         (FUNC_mpfr_if_f): New macro.
2539         (test_functions): Add jn and yn.
2540         (calc_generic_results): Assert type of second input for
2541         mpfr_ff_f.  Handle mpfr_if_f.
2542         (output_for_one_input_case): Disable all checking for arguments
2543         fitting floating-point types in case of an integer argument.
2544         * sysdeps/i386/fpu/libm-test-ulps: Update.
2545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2548         Don't expect fegetround reference in libm.so.
2550 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2552         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2553         $(config-cflags-nofma).
2555 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
2557         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2558         * math/auto-libm-test-out: Regenerated.
2560         [BZ #16338]
2561         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2562         to determine exponent and adjust argument to have exponent of -1.
2563         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2564         log2.
2565         * math/auto-libm-test-out: Regenerated.
2566         * sysdeps/i386/fpu/libm-test-ulps: Update.
2567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2569 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
2571         * manual/probes.texi: Remove cases when per-thread arenas are
2572         disabled.
2574 2013-12-18  Andreas Schwab  <schwab@suse.de>
2576         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2577         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2578         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2579         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2580         * sysdeps/i386/i686/multiarch/Makefile: Update.
2581         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2583 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
2585         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2586         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2588 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
2590         [BZ #15968]
2591         Support TZ transition times < 00:00:00.
2592         This is needed for version-3 tz-format files; it supports time
2593         stamps past 2037 for America/Godthab (the only entry in the tz
2594         database for which this change is relevant).
2595         * manual/time.texi (TZ Variable): Document transition times
2596         from -167:59:59 through -00:00:01.
2597         * time/tzset.c (tz_rule): Time of day is now signed.
2598         (__tzset_parse_tz): Parse negative time of day.
2600         Document TZ transition times >= 25:00:00.
2601         * manual/time.texi (TZ Variable): Document transition times from
2602         25:00:00 through 167:59:59.  These are already supported, and this
2603         support will help with version-3 tz-format files.
2605         * manual/time.texi (TZ Variable): Modernize North America example
2606         to reflect current (i.e., 2007-and-later) daylight saving rules.
2608         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2610 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
2612         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2613         * sysdeps/unix/bsd/bits/stat.h: Likewise.
2614         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2615         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2616         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2617         * sysdeps/unix/bsd/bsdstat.h: Likewise.
2618         * sysdeps/unix/bsd/clock.c: Likewise.
2619         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2620         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2621         * sysdeps/unix/bsd/init-posix.c: Likewise.
2622         * sysdeps/unix/bsd/poll.c: Likewise.
2623         * sysdeps/unix/bsd/ptsname.c: Likewise.
2624         * sysdeps/unix/bsd/seekdir.c: Likewise.
2625         * sysdeps/unix/bsd/setegid.c: Likewise.
2626         * sysdeps/unix/bsd/seteuid.c: Likewise.
2627         * sysdeps/unix/bsd/setgid.c: Likewise.
2628         * sysdeps/unix/bsd/setrgid.c: Likewise.
2629         * sysdeps/unix/bsd/setruid.c: Likewise.
2630         * sysdeps/unix/bsd/setsid.c: Likewise.
2631         * sysdeps/unix/bsd/setuid.c: Likewise.
2632         * sysdeps/unix/bsd/sigaction.c: Likewise.
2633         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2634         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2635         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2636         * sysdeps/unix/bsd/telldir.c: Likewise.
2637         * sysdeps/unix/bsd/times.c: Likewise.
2638         * sysdeps/unix/bsd/usleep.c: Likewise.
2640         * misc/Makefile (install-lib): Remove libbsd-compat.a.
2641         ($(objpfx)libbsd-compat.a): Remove rule.
2643         * include/features.h (__FAVOR_BSD): Do not define.
2644         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2645         features conflicting with POSIX.
2646         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2647         (_BSD_SOURCE): Remove description of not being a subset of other
2648         feature test macros.
2649         * manual/job.texi (getpgrp): Do not document BSD version.
2650         (getpgid): Do not document by reference to BSD getpgrp.
2651         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2652         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2653         * signal/signal.h [__FAVOR_BSD]: Likewise.
2654         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2655         instead of making contents conditional on [__FAVOR_BSD].
2656         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2658 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2662 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
2664         [BZ #16314]
2665         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2666         values below 2**-450, not 2**-500.
2667         * math/auto-libm-test-in: Don't allow spurious underflow from
2668         hypot.
2669         * math/auto-libm-test-out: Regenerated.
2671         [BZ #16316]
2672         [BZ #16330]
2673         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2674         values of ha and hb and sort them after adjusting subnormal
2675         arguments.
2676         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2677         Likewise.
2678         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2679         values of ea and eb and sort them after adjusting subnormal
2680         arguments.
2681         * math/auto-libm-test-in: Do not expect some hypot tests of
2682         subnormals to fail.  Add more hypot tests.
2683         * math/auto-libm-test-out: Regenerated.
2685 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2687         [BZ #13304]
2688         * sysdeps/sh/s_fma.c: New file.
2689         * sysdeps/sh/s_fmaf.c: New file.
2690         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
2691         version.
2692         * sysdeps/sh/Implies: Add sh/soft-fp.
2694 2013-12-16  Roland McGrath  <roland@hack.frob.com>
2696         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
2697         level of indirection to members `objname', `errstring', `malloced'.
2698         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2699         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
2700         it as the __longjmp argument (just pass 1 instead).
2701         (_dl_catch_error): Initialize C with argument pointers and address of
2702         volatile local ERRCODE rather than copying values out of C at return.
2704 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
2706         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2707         * math/auto-libm-test-out: Regenerated.
2708         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2709         (hypot_test_data): Likewise.
2710         (pow_test_data): Likewise.
2711         (pow_tonearest_test_data): Likewise.
2712         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2713         mpfr_ff_f.
2714         (func_calc_desc): Add mpfr_ff_f union field.
2715         (FUNC_mpfr_ff_f): New macro.
2716         (test_functions): Add atan2, hypot and pow.
2717         (special_fill_min): New function.
2718         (special_fill_minus_min): Likewise.
2719         (special_fill_min_subnorm): Likewise.
2720         (special_fill_minus_min_subnorm): Likewise.
2721         (special_real_inputs): Add min, -min, min_subnorm and
2722         -min_subnorm.
2723         (calc_generic_results): Handle mpfr_ff_f.
2724         * sysdeps/i386/fpu/libm-test-ulps: Update.
2725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2727 2013-12-16  Will Newton  <will.newton@linaro.org>
2729         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2730         (Aligned Memory Blocks): Add documentation for aligned_alloc
2731         and suggest it as an alternative to posix_memalign.
2732         (Hooks for Malloc): Document __memalign_hook is also called
2733         for aligned_alloc.  (Summary of Malloc): Add summary for
2734         aligned alloc.  Document __memalign_hook is also called
2735         for aligned_alloc.
2737 2013-12-16  Will Newton  <will.newton@linaro.org>
2739         * manual/memory.texi (Malloc Examples): Clarify default
2740         alignment documentation.  Suggest posix_memalign rather
2741         than memalign or valloc.
2742         (Aligned Memory Blocks): Remove suggestion to use memalign
2743         or valloc.  Remove obsolete comment about BSD.
2744         Document memalign errno values and mark the function obsolete.
2745         Document posix_memalign returned error codes.  Mark valloc
2746         as obsolete.  (Hooks for Malloc): __memalign_hook is also
2747         called for posix_memalign and valloc.
2748         (Summary of Malloc): Add posix_memalign to function summary.
2749         __memalign_hook is also called for posix_memalign and valloc.
2751 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2753         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2754         TAYLOR_SIN.
2755         (__sin): Adjust.
2756         (__cos): Likewise.
2757         (sloww): Use mynumber union.  Expand ternary operator into
2758         if-else statements.
2759         (cslow): use mynumber union.
2761 2013-12-16  Allan McRae  <allan@archlinux.org>
2763         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2764         * configure: Regenerated.
2766         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2768         [BZ #14120]
2769         * configure.ac: Added --enable-maintainer-mode. Check for
2770         autoconf when enabled.
2771         * configure: Regenerated.
2773         * nscd/nscd.service: New file.
2774         * nscd/nscd.tmpfiles: New file.
2776 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
2778         [BZ #12100]
2779         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2780         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2781         * sysdeps/x86_64/multiarch/strstr.c: ... here.
2782         (strstr): Add __strstr_sse2_unaligned ifunc.
2783         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2784         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2785         (strcasestr): Remove __strcasestr_sse42 ifunc.
2786         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2787         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2788         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2790 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2792         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2793         * sysdeps/sh/bits/fenv.h: ... here.
2794         * sysdeps/sh/sh4/fpu/bits: Remove directory.
2796 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2798         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2800 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2802         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2803         hypotf multiarch implementations.
2804         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2805         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2806         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2807         multiarch hypot for PPC64.
2808         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2809         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2810         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2811         multiarch hypotf for PPC64.
2813 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2815         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2816         modff multiarch implementations.
2817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2820         multiarch modf for PPC64.
2821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2824         multiarch modff for PPC64.
2826 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2828         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2829         and logl multiarch implementations.
2830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2833         multiarch logb for PPC64.
2834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2837         multiarch logb for PPC64.
2838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2841         multiarch logb for PPC64.
2843 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2845         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2846         isinff multiarch implementation.
2847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2848         file.
2849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2851         multiarch isinf for PPC64.
2852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2853         file.
2854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2855         multiarch isinff for PPC64.
2857 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2859         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2860         finitef multiarch implementation.
2861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2862         file.
2863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2865         multiarch finite for PPC64.
2866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2867         file.
2868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2869         multiarch finitef for PPC64.
2871 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2873         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2874         lrint multiarch implementation.
2875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2876         file.
2877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2879         multiarch llrint for PPC64.
2880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2881         multiarch lrint for PPC64.
2883 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2885         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2886         copysignf multiarch implementation.
2887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2888         file.
2889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2890         file.
2891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2892         multiarch copysign for PPC64.
2893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2894         multiarch copysignf for PPC64.
2896 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2898         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2899         multiarch implementation.
2900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2901         file.
2902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2903         file.
2904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2905         file.
2906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2907         file.
2908         multiarch llround for PPC64.
2909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2910         multiarch trunc for PPC64.
2911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2912         multiarch truncf for PPC64.
2914 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2916         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2917         multiarch implementation.
2918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2919         file.
2920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2921         file.
2922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2923         file.
2924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2925         file.
2926         multiarch llround for PPC64.
2927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2928         multiarch round for PPC64.
2929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2930         multiarch roundf for PPC64.
2932 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2935         multiarch implementation.
2936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2937         file.
2938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2939         file.
2940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2941         file.
2942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2943         file.
2944         multiarch llround for PPC64.
2945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2946         multiarch floor for PPC64.
2947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2948         multiarch floorf for PPC64.
2950 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2952         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2953         multiarch implementation.
2954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2955         file.
2956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2957         file.
2958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2959         file.
2960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2961         file.
2962         multiarch llround for PPC64.
2963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2964         multiarch ceil for PPC64.
2965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2966         multiarch ceilf for PPC64.
2968 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2970         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2971         multiarch implementation.
2972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2973         file.
2974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2975         file.
2976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2977         file.
2978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2979         multiarch llround for PPC64.
2980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2981         multiarch lround for PPC64.
2983 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2985         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2986         multiarch implementation.
2987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2990         file.
2991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2994         multiarch isnan for PPC64.
2995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2996         multiarch isnanf for PPC64.
2998 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3000         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
3001         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
3002         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
3003         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
3004         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
3005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
3007 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3009         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
3010         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3011         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3012         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3014 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
3017         multiarch implementations.
3018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3019         (__libc_ifunc_impl_list): Likewise.
3020         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3021         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
3022         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
3023         multiarch stpcpy for PPC64.
3025 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3027         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
3028         multiarch implementations.
3029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3030         (__libc_ifunc_impl_list): Likewise.
3031         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
3032         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
3033         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
3034         multiarch strcpy for PPC64.
3036 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3038         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3039         redefine function name.
3040         (_wordcopy_fwd_dest_aligned): Likewise.
3041         (_wordcopy_bwd_aligned): Likewise.
3042         (_wordcopy_bwd_dest_aligned): Likewise.
3043         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3044         multiarch implementations.
3045         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3046         (__libc_ifunc_impl_list): Likewise.
3047         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3048         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3049         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3050         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3051         multiarch wcscpy for PPC64.
3053 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3055         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3056         multiarch implementations.
3057         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3058         (__libc_ifunc_impl_list): Likewise.
3059         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3060         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3061         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3062         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3063         multiarch wcscpy for PPC64.
3065 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3067         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3068         multiarch implementations.
3069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3070         (__libc_ifunc_impl_list): Likewise.
3071         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3072         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3073         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3074         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3075         multiarch wcsrchr for PPC64.
3077 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3080         multiarch implementations.
3081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3082         (__libc_ifunc_impl_list): Likewise.
3083         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3084         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3085         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3086         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3087         multiarch wcschr for PPC64.
3089 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3092         multiarch implementations.
3093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3094         (__libc_ifunc_impl_list): Likewise.
3095         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3096         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3097         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3098         multiarch strchrnul for PPC64.
3100 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3103         implementations.
3104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3105         (__libc_ifunc_impl_list): Likewise.
3106         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3107         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3108         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3109         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3110         strchr for PPC64.
3112 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3115         implementations.
3116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3117         (__libc_ifunc_impl_list): Likewise.
3118         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3119         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3120         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3121         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3122         strncmp for PPC64.
3124 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3126         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3127         multiarch implementations.
3128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3129         (__libc_ifunc_impl_list): Likewise.
3130         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3131         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3132         strncasecmp for PPC64.
3133         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3134         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3135         multiarch strncasecmp_l for PPC64.
3137 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3139         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3140         multiarch implementations.
3141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3142         (__libc_ifunc_impl_list): Likewise.
3143         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3144         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3145         multiarch strcasecmp for PPC64.
3146         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3147         file.
3148         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3149         multiarch strcasecmp_l for PPC64.
3151 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3153         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3154         implementations.
3155         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3156         (__libc_ifunc_impl_list): Likewise.
3157         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3158         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3159         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3160         strnlen for PPC64.
3162 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3165         implementations.
3166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3167         (__libc_ifunc_impl_list): Likewise.
3168         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3169         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3170         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3171         strlen for PPC64.
3173 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3175         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3176         implementations.
3177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3178         (__libc_ifunc_impl_list): Likewise.
3179         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3180         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3181         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3182         rawmemrchr for PPC64.
3184 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3187         implementation.
3188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3189         (__libc_ifunc_impl_list): Likewise.
3190         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3191         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3192         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3193         memrchr for PPC64.
3195 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3197         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3198         implementation.
3199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3200         (__libc_ifunc_impl_list): Likewise.
3201         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3202         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3203         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3204         memchr for PPC64.
3206 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3209         implementation.
3210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3211         (__libc_ifunc_impl_list): Likewise.
3212         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3213         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3214         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3215         mempcpy for PPC64.
3217 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3219         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3220         avoid cretion of __bzero symbol.
3221         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3222         Likewise.
3223         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3224         Likewise.
3225         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3226         Likewise.
3227         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3228         multiarch implementations.
3229         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3230         (__libc_ifunc_impl_list): Likewise.
3231         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3232         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3233         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3234         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3235         bzero for PPC32.
3236         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3237         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3238         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3239         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3240         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3241         memset for PPC64.
3242         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3244 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3246         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3248         implementations.
3249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3250         (__libc_ifunc_impl_list): Likewise.
3251         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3252         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3253         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3254         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3255         memcmp for PPC64.
3257 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3259         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3260         multiarch for POWER/PPC64.
3261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3262         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3263         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3264         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3265         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3266         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3267         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3268         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3269         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3270         memcpy for PPC64.
3272 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3274         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3275         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3276         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3277         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3278         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3279         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3280         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3281         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3282         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3283         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3284         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3285         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3286         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3287         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3288         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3297 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3299         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3301 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3303         * benchtests/Makefile (bench): Add exp2 and log2.
3304         (LDLIBS-bench-exp2): Add -lm.
3305         (LDLIBS-bench-log2): Likewise.
3306         * benchtests/exp2-inputs: New inputs file.
3307         * benchtests/log2-inputs: New inputs file.
3308         * benchtests/log-inputs: Add new inputs.
3309         * benchtests/tan-inputs: Likewise.
3311 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3313         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3314         definition...
3315         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3316         csloww1, csloww2): ... from here.
3318         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3319         instead of structures.
3320         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3321         (POLYNOMIAL): Likewise.
3322         (TAYLOR_SLOW): Likewise.
3323         (__sin): Likewise.
3324         (__cos): Likewise.
3325         (slow1): Likewise.
3326         (slow2): Likewise.
3327         (sloww): Likewise.
3328         (sloww1); Likewise.
3329         (sloww2): Likewise.
3330         (bsloww1): Likewise.
3331         (bsloww2): Likewise.
3332         (cslow2): Likewise.
3333         (csloww): Likewise.
3334         (csloww1): Likewise.
3335         (csloww2): Likewise.
3337 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
3339         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3340         (__malloc_assert, __libc_realloc, __libc_calloc,
3341         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3342         memcpy and memset.
3343         * malloc/hooks.c (realloc_check): Likewise.
3345 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
3347         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3348         * malloc/arena.c: Remove PER_THREAD conditional.
3349         [!PER_THREAD]: Remove code.
3350         (ptmalloc_unlock_all2): Likewise.
3351         (ptmalloc_init): Likewise.
3352         (_int_new_arena): Likewise.
3353         (arena_get2): Likewise.
3354         * malloc/hooks.c (__malloc_get_state): Likewise.
3355         (__malloc_set_state): Likewise.
3356         * malloc/malloc.c: Likewise.
3357         (struct malloc_state): Likewise.
3358         (struct malloc_par): Likewise.
3359         (__libc_realloc): Likewise.
3360         (__libc_mallopt): Likewise.
3362 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3364         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3366 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
3368         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3369         macro to a function.  Check for zero perturb_byte.
3370         (_int_malloc, _int_free): Remove zero perturb_byte checks.
3372 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
3374         * malloc/malloc.c: (force_reg): Remove.
3375         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3376         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3377         force_reg by atomic_forced_read.
3378         * malloc/arena.c (ptmalloc_init): Likewise.
3379         * malloc/hooks.c (top_check): Likewise.
3381 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3385 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
3387         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3389 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
3391         * math/auto-libm-test-in: Add tests of lgamma.
3392         * math/auto-libm-test-out: Regenerated.
3393         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3394         (M_LOG_2_SQRT_PIl): Likewise.
3395         (lgamma_test_data): Use AUTO_TESTS_f_f1.
3396         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3397         mpfr_f_f1.
3398         (func_calc_desc): Add mpfr_f_f1 union field.
3399         (ARGS1): New macro.
3400         (ARGS2): Likewise.
3401         (ARGS3): Likewise.
3402         (ARGS4): Likewise.
3403         (RET1): Likewise.
3404         (RET2): Likewise.
3405         (CALC): Likewise.
3406         (FUNC): Likewise.
3407         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3408         (test_functions): Add lgamma.
3409         (calc_generic_results): Handle mpfr_f_f1.
3410         * sysdeps/i386/fpu/libm-test-ulps: Update.
3411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3413 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3415         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3416         __mpn_add_n for PowerPC64/POWER7.
3417         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3418         __mpn_sub_n for PowerPC64/POWER7.
3420 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3422         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3423         __mpn_addmul_1 for PowerPC64.
3424         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3425         __mpn_submul_1 for PowerPC64.
3426         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3427         for PowerPC64.
3428         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3429         for PowerPC64.
3431 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
3433         [BZ #15089]
3434         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3436 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3438         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3440 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3442         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3443         add multiarch folders.
3444         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3445         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3446         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3447         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3448         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3449         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3450         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3451         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3452         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3453         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3454         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3462 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3465         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3467         New file.
3468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3469         New file.
3470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3471         multiarch __ieee754_hypot for PowerPC32.
3472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3473         New file.
3474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3475         New file.
3476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3477         multiarch __ieee754_hypotf for PowerPC32.
3479 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3481         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3482         long_double_symbol only if __logbl is defined.
3483         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3484         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3485         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3486         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3487         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3488         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3489         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3490         path for implementation.
3491         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3492         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3494         logb, and logbl multiarch implementations for PowerPC32.
3495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3496         file.
3497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3498         file.
3499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3500         multiarch logb for PowerPC32.
3501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3502         file.
3503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3504         file.
3505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3506         multiarch logbf for PowerPC32.
3507         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3509         file.
3510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3511         multiarch logbl implementation for PowerPC32.
3513 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3516         and modff multiarch implementations.
3517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3518         New file.
3519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3520         New file.
3521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3522         multiarch modf for PowerPC32.
3523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3524         New file.
3525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3526         New file.
3527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3528         multiarch modff for PowerPC32.
3530 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3533         and lrintf multiarch implementations.
3534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3535         New file.
3536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3537         New file.
3538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3539         multiarch lrint for PowerPC32.
3540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3541         file: multiarch lrintf for PowerPC32.
3543 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3546         and lroundf multiarch implementations.
3547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3548         New file.
3549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3550         New file.
3551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3552         New file.
3553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3554         multiarch lround for PowerPC32.
3555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3556         file: multiarch lroundf for PowerPC32.
3558 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3561         copysign and copysignf multiarch implementations.
3562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3563         New file.
3564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3565         New file.
3566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3567         file: multiarch copysign for PowerPC32.
3568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3569         file: multiarch copysignf for PowerPC32.
3571 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3574         and truncf multiarch implementations.
3575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3576         New file.
3577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3578         file.
3579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3580         multiarch trunc for PowerPC32.
3581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3582         New file.
3583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3584         New file.
3585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3586         multiarch truncf for PowerPC32.
3588 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3591         and roundf multiarch implementations.
3592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3593         New file.
3594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3595         file.
3596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3597         multiarch round for PowerPC32.
3598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3599         New file.
3600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3601         New file.
3602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3603         multiarch roundf for PowerPC32.
3605 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3608         and floorf multiarch implementations.
3609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3610         New file.
3611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3612         file.
3613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3614         multiarch floor for PowerPC32.
3615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3616         New file.
3617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3618         New file.
3619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3620         multiarch floorf for PowerPC32.
3622 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3625         and ceilf multiarch implementations.
3626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3627         New file.
3628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3629         file.
3630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3631         multiarch ceil for PowerPC32.
3632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3633         New file.
3634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3635         file.
3636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3637         multiarch ceilf for PowerPC32.
3639 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3641         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3642         is defined.
3643         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3644         FINITEF is defined.
3645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3646         and finitef multiarch implementations.
3647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3648         New file.
3649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3650         file.
3651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3652         multiarch finite for PowerPC32.
3653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3654         New file.
3655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3656         file: multiarch finitef for PowerPC32.
3658 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3661         and isinff multiarch implementations.
3662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3663         file.
3664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3665         file.
3666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3667         multiarch isinf for PowerPC32.
3668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3669         New file.
3670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3671         multiarch isinff for PowerPC32.
3673 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3675         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3676         alias when __isnan is defined.
3677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3678         and isnanf multiarch implementations.
3679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3680         file.
3681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3682         file.
3683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3684         file.
3685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3686         file.
3687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3688         multiarch isnan for PowerPC32.
3689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3690         New file.
3691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3692         New file.
3693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3694         multiarch isnanf for PowerPC32.
3696 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3699         and sqrtf multiarch implementations.
3700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3701         file.
3702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3703         file.
3704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3705         multiarch sqrt for PowerPC32.
3706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3707         file.
3708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3709         file.
3710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3711         multiarch sqrtf for PowerPC32.
3713 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3716         and llroundf multiarch implementations.
3717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3718         New file.
3719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3720         New file.
3721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3722         New file.
3723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3724         file: multiarch llround for PowerPC32.
3725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3726         file: multiarch llroundf for PowerPC32.
3728 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3731         multiarch PowerPC32 fpu implementations.
3732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3733         New file.
3734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3735         New file.
3736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3737         multiarch llrint for PowerPC32.
3738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3739         New file.
3740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3741         New file.
3742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3743         file.
3745 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3749 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3751         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3752         file.
3753         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3754         file.
3755         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3756         file.
3757         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3758         multiarch wordcopy for PPC32.
3759         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3760         wordcopy objects.
3761         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3762         (__libc_ifunc_impl_list): Likewise.
3763         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3764         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3765         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3766         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3767         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3768         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3770 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3772         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3773         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3774         file.
3775         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3776         file.
3777         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3778         file.
3779         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3780         multiarch wcscpy for PPC32.
3781         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3782         multiarch objects.
3783         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3784         (__libc_ifunc_impl_list): Likewise.
3785         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3786         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3787         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3788         sysdeps/powerpc/power6/wcscpy.c.
3790 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3792         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3793         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3794         file.
3795         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3796         file.
3797         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3798         file.
3799         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3800         multiarch wcsrchr for PPC32.
3801         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3802         multiarch objects.
3803         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3804         (__libc_ifunc_impl_list): Likewise.
3805         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3806         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3807         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3808         sysdeps/powerpc/power6/wcsrchr.c.
3810 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3812         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3813         file.
3814         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3815         file.
3816         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3817         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3818         multiarch wcschr for PPc32.
3819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3820         multiarch objects.
3821         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3822         (__libc_ifunc_impl_list): Likewise.
3823         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3824         * sysdeps/powerpc/power6/wcschr.c: ... to here.
3825         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3826         sysdeps/powerpc/power6/wcschr.c.
3828 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3830         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3831         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3832         file.
3833         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3834         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3835         file: multiarch strchr for PPC32.
3836         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3837         multiarch objects.
3838         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3839         (__libc_ifunc_impl_list): Likewise.
3841 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3843         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3844         name.
3845         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3846         file.
3847         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3848         file.
3849         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3850         multiarch strchrnul for PPC32.
3851         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3852         multiarch objects.
3853         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3854         (__libc_ifunc_impl_list): Likewise.
3856 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3858         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3859         file.
3860         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3861         multiarch strncasecmp for PPC32.
3862         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3863         file.
3864         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3865         multiarch strncasecmp_l for PPC32.
3866         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3867         strncasecmp multiarch objects.
3868         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3869         (__libc_ifunc_impl_list): Likewise.
3871 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3873         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3874         file.
3875         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3876         multiarch strncasecmp for PPC32.
3877         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3878         New file.
3879         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3880         multiarch strcasecmp_l for PPC32.
3881         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3882         multiarch objects.
3883         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3884         (__libc_ifunc_impl_list): Likewise.
3886 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3888         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3889         file.
3890         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3891         file.
3892         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3893         multiarch strncmp for PPC32.
3894         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3895         multiarch objects.
3896         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3897         (__libc_ifunc_impl_list): Likewise.
3899 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3901         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3902         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3903         file.
3904         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3905         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3906         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3907         multiarch objects.
3908         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3909         (__libc_ifunc_impl_list): Likewise.
3911 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3913         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3914         file.
3915         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3916         file.
3917         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3918         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3919         multiarch objects.
3920         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3921         (__libc_ifunc_impl_list): Likewise.
3923 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3925         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3926         file.
3927         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3928         file.
3929         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3930         multiarch rawmemchr for PPC32.
3931         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3932         multiarch objects.
3933         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3934         (__libc_ifunc_impl_list): Likewise.
3936 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3938         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3939         file.
3940         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3941         file.
3942         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3943         file: memrchr multiarch for PPC32.
3944         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3945         multiarch objects.
3946         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3947         (__libc_ifunc_impl_list): Likewise.
3949 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3951         * string/memchr.c (__memchr): Using macro to redefine symbol name.
3952         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3953         file.
3954         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3955         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3956         multiarch memchr for PPC32.
3957         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3958         multiarch objects.
3959         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3960         (__libc_ifunc_impl_list): Likewise.
3962 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3964         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3965         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3966         file.
3967         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3968         file.
3969         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3970         file: multiarch mempcpy for PPC32.
3971         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3972         multiarch objects.
3973         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3974         (__libc_ifunc_impl_list): Likewise.
3976 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3978         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3979         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3980         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3981         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3982         multiarch bzero for PPC32.
3983         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3984         file.
3985         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3986         file.
3987         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3988         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3989         file: multiarch memset for PPC32.
3990         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3991         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3992         memset multiarch objects.
3993         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3994         (__libc_ifunc_impl_list): Likewise.
3996 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3998         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3999         file.
4000         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
4001         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
4002         memcmp for PPC32.
4003         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
4004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
4005         multiarch objects.
4006         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4007         (__libc_ifunc_impl_list): Likewise.
4009 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4011         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
4012         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
4013         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
4014         file.
4015         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
4016         file.
4017         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
4018         file.
4019         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
4020         multiarch memcpy for PPC32.
4021         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
4022         multiarch objects.
4023         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4024         (__libc_ifunc_impl_list): Likewise.
4026 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4028         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
4029         support multiarch for POWER/PPC32.
4030         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4031         Likewise.
4032         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
4034         Implies file to make multiarch folder appers before the fpu and
4035         default folder for power4 configuration.
4037 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4039         * scripts/bench.pl: Append volatile keyword to type.
4041 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4043         * sysdeps/sh/sotruss-lib.c: New file.
4044         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4046 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4050 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
4052         [BZ #6810]
4053         * math/w_tgamma.c: Include <errno.h>.
4054         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
4055         * math/w_tgammaf.c: Include <errno.h>.
4056         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
4057         * math/w_tgammal.c: Include <errno.h>.
4058         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
4059         * math/auto-libm-test-in: Do not allow missing errno on tgamma
4060         underflow.  Add more tgamma tests.
4061         * math/auto-libm-test-out: Regenerated.
4062         * sysdeps/i386/fpu/libm-test-ulps: Update.
4063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4065         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4066         sin, sinh, tan, tanh, tgamma, y0 and y1.
4067         * math/auto-libm-test-out: Regenerated.
4068         * math/libm-test.inc (TEST_COND_x86_64): New macro.
4069         (TEST_COND_x86): Likewise.
4070         (M_E2l): Remove macro.
4071         (M_E3l): Likewise.
4072         (M_2_SQRT_PIl): Likewise.
4073         (M_SQRT_PIl): Likewise.
4074         (M_1_DIV_El): Likewise.
4075         (log_test_data): Use AUTO_TESTS_f_f.
4076         (log10_test_data): Likewise.
4077         (log1p_test_data): Likewise.
4078         (log2_test_data): Likewise.
4079         (sin_test_data): Likewise.
4080         (sin_tonearest_test_data): Likewise.
4081         (sin_towardzero_test_data): Likewise.
4082         (sin_downward_test_data): Likewise.
4083         (sin_upward_test_data): Likewise.
4084         (sinh_test_data): Likewise.
4085         (sinh_tonearest_test_data): Likewise.
4086         (sinh_towardzero_test_data): Likewise.
4087         (sinh_downward_test_data): Likewise.
4088         (sinh_upward_test_data): Likewise.
4089         (tan_test_data): Likewise.
4090         (tan_tonearest_test_data): Likewise.
4091         (tan_towardzero_test_data): Likewise.
4092         (tan_downward_test_data): Likewise.
4093         (tan_upward_test_data): Likewise.
4094         (tanh_test_data): Likewise.
4095         (tgamma_test_data): Likewise.
4096         (y0_test_data): Likewise.
4097         (y1_test_data): Likewise.
4098         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4099         (special_real_inputs): Add pi/4.
4100         * sysdeps/i386/fpu/libm-test-ulps: Update.
4101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4103 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4105         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4106         "longjmp_target" static probes.
4107         (__longjmp): Rename to __longjmp_symbol.
4108         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4109         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4110         on which longjmp to generate.
4111         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4112         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4113         probe.
4114         (__sigsetjmp): Rename to __sigsetjmp_symbol.
4115         (__sigjmp_save): Rename to __sigjmp_save_symbol.
4116         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4117         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4118         and __sigjmp_save_symbol based on which sigsetjmp to generated.
4119         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4121         __longjmp_symbol based on which __longjmp to generate.
4122         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4123         probe.
4124         (setjmp): Rename to setjmp_symbol.
4125         (__sigsetjmp): Rename to __sigsetjmp_symbol.
4126         (_setjmp): Rename to _setjmp_symbol.
4127         (__sigsetjmp): Rename to __sigsetjmp_symbol.
4128         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4129         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4130         which setjmp to generate.
4131         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4132         "longjmp_target" static probes.
4134 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4136         * benchtests/README: Add note about output arguments.
4137         * benchtests/bench-sincos.c: Remove file.
4138         * benchtests/sincos-inputs: New file.
4139         * scripts/bench.pl: Identify output arguments and define
4140         static variables for them.
4142         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4144         [BZ #15941]
4145         * Makefile (INSTALL): Add install-plain.texi as the primary
4146         dependency.
4147         * manual/install-plain.texi: New file.
4148         * manual/install.texi: Include node directive only for
4149         non-plaintext output.
4151 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
4153         * stdlib/longlong.h: Update from GCC.
4155         [BZ #6807]
4156         [BZ #15901]
4157         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4158         * math/w_j0f.c (y0f): Likewise.
4159         * math/w_j0l.c (__y0l): Likewise.
4160         * math/w_j1.c (y1): Likewise.
4161         * math/w_j1f.c (y1f): Likewise.
4162         * math/w_j1l.c (__y1l): Likewise
4163         * math/w_jn.c (yn): Likewise.
4164         * math/w_jnf.c (ynf): Likewise.
4165         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4166         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
4167         value for Bessel function domain errors outside _SVID_ mode.
4168         Adjust sign of return value for yn (negative integer, 0).
4169         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4170         by zero in return for negative x and set sign appropriately for
4171         negative n.
4172         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4173         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4174         * math/libm-test.inc (y0_test_data): Add more tests and adjust
4175         expectations in error cases.
4176         (y1_test_data): Likewise.
4177         (yn_test_data): Likewise.
4178         * sysdeps/i386/fpu/libm-test-ulps: Update.
4179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4181 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4183         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4184         "64" to "64-v1".  Add "64-v2".
4185         (abi-64-options): Rename to ...
4186         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
4187         (abi-64-condition): Rename to ...
4188         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
4189         (abi-64-ld-soname): Rename to ...
4190         (abi-64-v1-ld-soname): ... this.
4191         (abi-64-v2-options): Define.
4192         (abi-64-v2-condition): Likewise.
4193         (abi-64-v2-ld-soname): Likewise.
4194         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4195         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4200 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4201             Alan Modra  <amodra@gmail.com>
4203         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4204         New versions for use with the ELFv2 ABI.
4205         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4206         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4207         declaration.
4208         (struct La_ppc64v2_retval): Likewise.
4209         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4210         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4211         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4212         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4213         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4214         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4215         Do not save or restore CR.
4216         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4217         (_dl_profile_resolve): Do no save or restore CR.  Support extended
4218         return values for ELFv2 ABI.  Fix location of FPR return registers.
4219         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4220         updated values for _CALL_ELF == 2.
4221         (La_regs, La_retval, int_retval): Likewise.
4223 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4225         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4226         (FRAME_MIN_SIZE_PARM): Likewise.
4227         (FRAME_BACKCHAIN): Likewise.
4228         (FRAME_CR_SAVE): Likewise.
4229         (FRAME_LR_SAVE): Likewise.
4230         (FRAME_TOC_SAVE): Likewise.
4231         (FRAME_PARM_SAVE): Likewise.
4232         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4233         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4234         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4235         (call_mcount_parm_offset): New macro.
4236         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4237         (PROF): Use symbolic stack frame offsets.
4238         (TAIL_CALL_SYSCALL_ERROR): Likewise.
4239         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4240         Redefine in terms of FRAME_MIN_SIZE.
4241         (_dl_runtime_resolve): Use symbolic stack frame offsets.
4242         (_dl_profile_resolve): Likewise.  Update comment.
4243         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4244         symbols stack frame offsets.
4245         (__sigsetjmp): Likewise.
4246         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4247         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4248         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4249         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4252         (FRAME_BACKCHAIN): Remove.
4253         (FRAME_CR_SAVE): Likewise.
4254         (FRAME_LR_SAVE): Likewise.
4255         (FRAME_COMPILER_DW): Likewise.
4256         (FRAME_LINKER_DW): Likewise.
4257         (FRAME_TOC_SAVE): Likewise.
4258         (FRAME_PARM_SAVE): Likewise.
4259         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4260         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4261         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4263         (CHECK_SP): Use symbolic stack frame offsets.
4264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4265         zone" instead of caller's parameter save area for temp storage.
4266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4267         Likewise.  Also, use symbolic stack frame offsets.
4268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4269         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4270         our own stack frame instead of the caller's.
4271         (__socket): Use symbolic stack frame offsets.
4273 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4274             Alan Modra  <amodra@gmail.com>
4276         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4277         Define.
4278         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4279         PPC64_LOCAL_ENTRY_OFFSET): Define.
4280         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4281         New function.
4282         (elf_machine_fixup_plt): Call it.
4283         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
4284         reloc arguments.
4285         (elf_machine_rela): Update call to elf_machine_plt_conflict.
4286         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4287         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
4288         r2 before calling target.
4290 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4291             Alan Modra  <amodra@gmail.com>
4293         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4294         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4295         versions of macros to support ELFv2 ABI.
4296         (LOCALENTRY): New macro.
4297         (ENTRY, EALIGN): Use it.
4298         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4299         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4300         fall through into ENTRY entry point.
4301         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4302         Only define if _CALL_ELF != 2.
4304         (elf_machine_matches_host): Verify ABI version matches.
4305         (RTLD_START): Use LOCALENTRY.
4306         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4307         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4308         (PLT_ENTRY_WORDS): New macro.
4309         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4310         (elf_machine_runtime_setup): Support ELFv2 ABI.
4311         (elf_machine_fixup_plt): Likewise.
4312         (elf_machine_plt_conflict): Likewise.
4313         (resolve_ifunc): Likewise.
4314         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4315         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4316         Likewise.
4317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4318         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4320         (makecontext): Support ELFv2 ABI.
4321         * elf/elf.h (EF_PPC64_ABI): Define.
4323 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4325         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4326         New assembler macro.
4327         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4328         [ASSEMBLER] (ENTRY): ... but instead here ...
4329         [ASSEMBLER] (EALIGN): ... and here.
4330         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4331         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4332         [!ASSEMBLER] (ENTRY_2): Use it.
4333         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4334         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
4335         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4336         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4337         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4339         Use PPC64_LOAD_FUNCPTR.
4341 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4343         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4345 2013-12-04  Alan Modra  <amodra@gmail.com>
4347         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4348         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4349         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4350         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4352         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4353         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4354         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4355         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4356         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4357         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4359 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4362         (__makecontext): Fix incorrect CFI when backtracing out of
4363         context created via makecontext.
4364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4365         (__setcontext): Fix incorrect CFI during switch to new context.
4366         (__novec_setcontext): Likewise.
4368 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
4370         [BZ #4772]
4371         * time/strptime_l.c (__strptime_internal): Allow modifiers
4372         in strptime.
4373         * time/tst-strptime.c (day_tests): Add testcase.
4376 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4378         * scripts/bench.pl: Skip over blank lines.
4380 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4382         [BZ #926]
4383         * manual/time.texi (Calendar Time): Clarify what timezone functions
4384         use.
4386 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4390 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
4392         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4393         implementation.
4394         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4395         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4396         * debug/memset_chk.c (__memset_chk): Likewise.
4397         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4398         * debug/strncpy_chk.c: Likewise.
4400 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
4402         [BZ #15268]
4403         [BZ #15425]
4404         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4405         (__ieee754_exp): For possibly underflowing results, check size of
4406         result and force underflow exception if required.
4407         * math/auto-libm-test-in: Add more tests of exp.
4408         * math/auto-libm-test-out: Regenerated.
4409         * sysdeps/i386/fpu/libm-test-ulps: Update.
4410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4412         [BZ #16283]
4413         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4414         * math/w_exp2f.c (__exp2f): Likewise.
4415         * math/w_exp2l.c (__exp2l): Likewise.
4416         * math/auto-libm-test-in: Do not allow missing errno on exp2
4417         underflow.
4418         * math/auto-libm-test-out: Regenerated.
4420 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
4422         [BZ #16274]
4423         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4424         handle filename validation.
4425         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4426         (do_open): Delete.
4428 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
4430         [BZ #6786]
4431         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4432         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4433         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4434         <float.h>.
4435         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4436         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4437         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4438         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4439         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4440         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4441         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4442         * math/auto-libm-test-in: Don't allow missing errno from erfc.
4443         Add more erfc tests.
4444         * math/auto-libm-test-out: Regenerated.
4445         * sysdeps/i386/fpu/libm-test-ulps: Update.
4446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4448         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4449         exp2, expm1, j0 and j1.
4450         * math/auto-libm-test-out: Regenerated.
4451         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4452         (erfc_test_data): Likewise.
4453         (exp_test_data): Likewise.
4454         (exp_tonearest_test_data): Likewise.
4455         (exp_towardzero_test_data): Likewise.
4456         (exp_downward_test_data): Likewise.
4457         (exp_upward_test_data): Likewise.
4458         (exp10_test_data): Likewise.
4459         (exp2_test_data): Likewise.
4460         (expm1_test_data): Likewise.
4461         (j0_test_data): Likewise.
4462         (j1_test_data): Likewise.
4463         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4464         (input_flag_type): Add flag_xfail_rounding.
4465         (input_flags): Add xfail-rounding.
4466         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4467         (output_for_one_input_case): Handle flag_xfail_rounding.
4468         * sysdeps/i386/fpu/libm-test-ulps: Update.
4469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4471 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
4473         [BZ #16289]
4474         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4475         division by 0.
4477 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4479         [BZ #16195]
4480         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4481         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4482         (STAP_PROBE0): New macro.
4483         (STAP_PROBE1): Likewise.
4484         (STAP_PROBE2): Likewise.
4485         (STAP_PROBE3): Likewise.
4486         (STAP_PROBE4): Likewise.
4488 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
4490         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4492 2013-12-02  Steve Ellcey  <sellcey@mips.com>
4494         * benchtests/Makefile (bench): Add sqrt.
4495         (LDLIBS-bench-sqrt): New.
4496         * benchtests/sqrt-input: New.
4498 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
4500         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4501         (GAIH_EAI): Likewise.
4502         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4503         (gaih_inet): Likewise.
4504         (getaddrinfo): Don't use GAIH_EAI.
4506         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4507         (struct gaih): Remove definition.
4509 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4511         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4512         Use HERRNOP directly.
4514 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4518 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
4520         * math/gen-auto-libm-tests.c (test_functions): Add more
4521         single-argument functions.
4522         (special_fill_pi_2): New function.
4523         (special_fill_minus_pi_2): Likewise.
4524         (special_fill_pi_6): Likewise.
4525         (special_fill_minus_pi_6): Likewise.
4526         (special_fill_pi_3): Likewise.
4527         (special_fill_2pi_3): Likewise.
4528         (special_fill_e): Likewise.
4529         (special_fill_1_e): Likewise.
4530         (special_fill_e_minus_1): Likewise.
4531         (special_real_inputs): Add more special inputs.
4532         (output_for_one_input_case): Do not require ERANGE on underflow to
4533         zero if round-to-nearest result does not underflow to zero, unless
4534         exact results required.
4535         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4536         atan, atanh, cbrt, cos and cosh.
4537         * math/auto-libm-test-out: Regenerated.
4538         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4539         (acos_tonearest_test_data): Likewise.
4540         (acos_towardzero_test_data): Likewise.
4541         (acos_downward_test_data): Likewise.
4542         (acos_upward_test_data): Likewise.
4543         (acosh_test_data): Likewise.
4544         (asin_test_data): Likewise.
4545         (asin_tonearest_test_data): Likewise.
4546         (asin_towardzero_test_data): Likewise.
4547         (asin_upward_test_data): Likewise.
4548         (asinh_test_data): Likewise.
4549         (atan_test_data): Likewise.
4550         (atanh_test_data): Likewise.
4551         (cbrt_test_data): Likewise.
4552         (cos_test_data): Likewise.
4553         (cos_tonearest_test_data): Likewise.
4554         (cos_towardzero_test_data): Likewise.
4555         (cos_downward_test_data): Likewise.
4556         (cos_upward_test_data): Likewise.
4557         (cosh_test_data): Likewise.
4558         (cosh_tonearest_test_data): Likewise.
4559         (cosh_towardzero_test_data): Likewise.
4560         (cosh_downward_test_data): Likewise.
4561         (cosh_upward_test_data): Likewise.
4562         * sysdeps/i386/fpu/libm-test-ulps: Update.
4563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4565 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
4567         [BZ #6787]
4568         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4569         * math/w_exp10f.c (__exp10f): Likewise.
4570         * math/w_exp10l.c (__exp10l): Likewise.
4571         * math/libm-test.inc (exp10_test_data): Add more tests and expect
4572         errno settings in existing tests.
4574         [BZ #14032]
4575         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4576         precision control set to double precision.
4577         * sysdeps/i386/fpu/w_sqrt.c: New file.
4578         * math/auto-libm-test-in: Add more tests.
4579         * math/auto-libm-test-out: Update.
4581         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4582         (sqrt_test_tonearest): New function.
4583         (sqrt_towardzero_test_data): New variable.
4584         (sqrt_test_towardzero): New function.
4585         (sqrt_downward_test_data): New variable.
4586         (sqrt_test_downward): New function.
4587         (sqrt_upward_test_data): New variable.
4588         (sqrt_test_upward): New function.
4589         (main): Call the new functions.
4591         * math/gen-auto-libm-tests.c: New file.
4592         * math/auto-libm-test-in: Likewise.
4593         * math/auto-libm-test-out: New generated file.
4594         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4595         variables.
4596         (%beautify): Add generated representations of zero.
4597         (top level): Set $auto_input and call parse_auto_input.
4598         (beautify): Remove trailing "f" from hex float constants.
4599         (parse_args): Handle XFAIL_TEST.
4600         (convert_condition): New function.
4601         (or_value): Likewise.
4602         (or_cond_value): Likewise.
4603         (generate_testfile): Handle AUTO_TESTS_* lines.
4604         (parse_auto_input): New function.
4605         * math/libm-test.inc (XFAIL_TEST): New macro.
4606         (ERRNO_UNCHANGED): Update value.
4607         (ERRNO_EDOM): Likewise.
4608         (ERRNO_ERANGE): Likewise.
4609         (IGNORE_RESULT): Likewise.
4610         (TEST_COND_flt_32): New macro.
4611         (TEST_COND_dbl_64): Likewise.
4612         (TEST_COND_ldbl_96_intel): Likewise.
4613         (TEST_COND_ldbl_96_m68k): Likewise.
4614         (TEST_COND_ldbl_128): Likewise.
4615         (TEST_COND_ldbl_128ibm): Likewise.
4616         (TEST_COND_long32): Likewise.
4617         (TEST_COND_long64): Likewise.
4618         (TEST_COND_before_rounding): Likewise.
4619         (TEST_COND_after_rounding): Likewise.
4620         (enable_test): Handle XFAIL_TEST flag.
4621         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4622         with finite results.
4623         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4624         auto-libm-test-out.
4626 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4627             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4629         [BZ #16214]
4630         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4631         __tls_get_addr_internal instead of __tls_get_offset in order to
4632         avoid GOT pointer dependency.  Make rtld export
4633         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4634         __tls_get_addr since we are a __tls_get_offset platform.
4635         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4636         GOT pointer being set up before.
4637         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4639 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
4641         * manual/math.texi (Errors in Math Functions): Document accuracy
4642         goals.
4644         [BZ #15004]
4645         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4646         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4647         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4648         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4649         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4650         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4651         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4652         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4653         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4654         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4655         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4656         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4657         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4658         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4659         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4660         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4662         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4663         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4664         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4665         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4666         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4667         Likewise.
4668         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4669         Likewise.
4670         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4671         Likewise.
4672         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4673         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4674         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4675         atomic-feupdateenv and flt-rounds.
4676         * sysdeps/powerpc/nofpu/Versions (libc): Add
4677         __atomic_feholdexcept, __atomic_feclearexcept,
4678         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4679         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4680         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4681         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4682         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4683         here.
4684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4685         Update.
4687         * manual/arith.texi (FP Exceptions): Document that exceptions may
4688         not be raised when matherr is used.
4689         (Math Error Reporting): Document overflow in directed rounding
4690         modes.  Document that errno may not be set when finite values are
4691         returned on overflow.  Document intent to set errno on underflow
4692         only for underflow to zero.
4694         [BZ #16271]
4695         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4696         round-to-nearest then adjust result for other rounding modes.
4697         * include/fenv.h (fegetround): Use libm_hidden_proto.
4698         * math/fegetround.c (fegetround): Use libm_hidden_def.
4699         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4700         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4701         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4702         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4703         Likewise.
4704         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4705         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4706         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4707         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4709 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4711         [BZ #16077]
4712         * nss/Versions (libnss_files): Add
4713         _nss_files_gethostbyname3_r.
4714         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4715         New function.
4716         (HOST_DB_LOOKUP): Remove macro.
4717         (_nss_files_gethostbyname_r): Implement function without the
4718         HOST_DB_LOOKUP macro.
4719         (_nss_files_gethostbyname2_r): Likewise.
4721 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
4723         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4725 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
4727         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4728         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4729         warning.
4731 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4733         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4734         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4735         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4736         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4737         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4738         __fe_nomask_env_priv and attribute_hidden.
4739         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4740         (libc_feupdateenv_test_ppc): Likewise.
4741         (libc_feresetround_ppc): Likewise.
4742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4743         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4744         compat_symbol macro.
4745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4746         (__fe_nomask_env): Likewise.
4747         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4749 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4751         * string/Makefile: Remove ifunc tests.
4752         * string/test-string.h: Define TEST_IFUNC.
4753         * string/test-bcopy-ifunc.c: Remove.
4754         * string/test-bzero-ifunc.c: Likewise.
4755         * string/test-memccpy-ifunc.c: Likewise.
4756         * string/test-memchr-ifunc.c: Likewise.
4757         * string/test-memcmp-ifunc.c: Likewise.
4758         * string/test-memcpy-ifunc.c: Likewise.
4759         * string/test-memmem-ifunc.c: Likewise.
4760         * string/test-memmove-ifunc.c: Likewise.
4761         * string/test-mempcpy-ifunc.c: Likewise.
4762         * string/test-memrchr-ifunc.c: Likewise.
4763         * string/test-memset-ifunc.c: Likewise.
4764         * string/test-rawmemchr-ifunc.c: Likewise.
4765         * string/test-stpcpy-ifunc.c: Likewise.
4766         * string/test-stpncpy-ifunc.c: Likewise.
4767         * string/test-strcasecmp-ifunc.c: Likewise.
4768         * string/test-strcasestr-ifunc.c: Likewise.
4769         * string/test-strcat-ifunc.c: Likewise.
4770         * string/test-strchr-ifunc.c: Likewise.
4771         * string/test-strchrnul-ifunc.c: Likewise.
4772         * string/test-strcmp-ifunc.c: Likewise.
4773         * string/test-strcpy-ifunc.c: Likewise.
4774         * string/test-strcspn-ifunc.c: Likewise.
4775         * string/test-strlen-ifunc.c: Likewise.
4776         * string/test-strncasecmp-ifunc.c: Likewise.
4777         * string/test-strncat-ifunc.c: Likewise.
4778         * string/test-strncmp-ifunc.c: Likewise.
4779         * string/test-strncpy-ifunc.c: Likewise.
4780         * string/test-strnlen-ifunc.c: Likewise.
4781         * string/test-strpbrk-ifunc.c: Likewise.
4782         * string/test-strrchr-ifunc.c: Likewise.
4783         * string/test-strspn-ifunc.c: Likewise.
4784         * string/test-strstr-ifunc.c: Likewise.
4786 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4788         * benchtests/Makefile: Remove ifunc tests.
4789         * benchtests/bench-string.h: Define TEST_IFUNC.
4790         * benchtests/bench-bcopy-ifunc.c: Remove.
4791         * benchtests/bench-bzero-ifunc.c: Likewise.
4792         * benchtests/bench-memccpy-ifunc.c: Likewise.
4793         * benchtests/bench-memchr-ifunc.c: Likewise.
4794         * benchtests/bench-memcmp-ifunc.c: Likewise.
4795         * benchtests/bench-memcpy-ifunc.c: Likewise.
4796         * benchtests/bench-memmem-ifunc.c: Likewise.
4797         * benchtests/bench-memmove-ifunc.c: Likewise.
4798         * benchtests/bench-mempcpy-ifunc.c: Likewise.
4799         * benchtests/bench-memrchr-ifunc.c: Likewise.
4800         * benchtests/bench-memset-ifunc.c: Likewise.
4801         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4802         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4803         * benchtests/bench-stpcpy-ifunc.c: Likewise.
4804         * benchtests/bench-stpncpy-ifunc.c: Likewise.
4805         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4806         * benchtests/bench-strcasestr-ifunc.c: Likewise.
4807         * benchtests/bench-strcat-ifunc.c: Likewise.
4808         * benchtests/bench-strchr-ifunc.c: Likewise.
4809         * benchtests/bench-strchrnul-ifunc.c: Likewise.
4810         * benchtests/bench-strcmp-ifunc.c: Likewise.
4811         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4812         * benchtests/bench-strcpy-ifunc.c: Likewise.
4813         * benchtests/bench-strcspn-ifunc.c: Likewise.
4814         * benchtests/bench-strlen-ifunc.c: Likewise.
4815         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4816         * benchtests/bench-strncat-ifunc.c: Likewise.
4817         * benchtests/bench-strncmp-ifunc.c: Likewise.
4818         * benchtests/bench-strncpy-ifunc.c: Likewise.
4819         * benchtests/bench-strnlen-ifunc.c: Likewise.
4820         * benchtests/bench-strpbrk-ifunc.c: Likewise.
4821         * benchtests/bench-strrchr-ifunc.c: Likewise.
4822         * benchtests/bench-strsep-ifunc.c: Likewise.
4823         * benchtests/bench-strspn-ifunc.c: Likewise.
4824         * benchtests/bench-strstr-ifunc.c: Likewise.
4826 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4828         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4830 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4832         * resolv/netdb.h: Use __glibc_reserved instead __unused.
4833         * rt/aio.h: Likewise.
4834         * sysdeps/gnu/bits/utmp.h: Likewise.
4835         * sysdeps/gnu/bits/utmpx.h: Likewise.
4836         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4837         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4838         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4839         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4840         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4841         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4842         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4843         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4844         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4845         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4846         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4847         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4848         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4850         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4851         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4852         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4853         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4854         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4855         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4856         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4857         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4858         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4859         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4860         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4861         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4862         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4863         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4864         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4865         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4866         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4867         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4868         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4869         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4870         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4871         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4872         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4873         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4874         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4875         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4876         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4877         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4879 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
4881         [BZ #16245]
4882         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4883         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4885 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
4887         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4888         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4889         Likewise.
4891 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4893         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4894         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4895         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4896         (__fesetround): Remove define.
4897         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4898         rounding and exceptions handling.
4899         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4900         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4901         (__fe_nomask_env): Likewise.
4902         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4903         __fegetround instead of fegetround.
4904         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4905         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4907 2013-11-21  Roland McGrath  <roland@hack.frob.com>
4909         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4910         it's there.
4912         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4914 2013-11-21  Meador Inge  <meadori@codesourcery.com>
4916         [BZ #11157]
4917         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4918         (encrypt_r): Likewise.
4919         * malloc/obstack.h (obstack_free): Likewise.
4920         * posix/unistd.h (encrypt): Likewise.
4922 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
4924         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4925         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4926         DL_CALL_DT_FINI() that call the functions directly.
4927         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4928         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4929         * elf/dl-fini.c: Likewise.
4931 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
4933         * malloc/hooks.c (memalign_check): Add alignment rounding.
4934         * malloc/malloc.c (_mid_memalign): New function.
4935         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4936         Implement by calling _mid_memalign.
4937         * manual/probes.texi (Memory Allocation Probes): Remove
4938         memory_valloc_retry and memory_pvalloc_retry.
4940 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4942         * locale/programs/locarchive.c (open_archive): Add const
4943         qualifier to ARCHIVEFNAME and copy default fname to
4944         DEFAULT_FNAME.
4946         [BZ #15601]
4947         * libio/tst-widetext.input: Rename Oriya to Odia.
4948         * locale/iso-639.def: Likewise.
4950         * manual/probes.texi (Mathematical Function Probes): Add
4951         documentation for sin, cos, asin and acos probes.
4952         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4953         (__sin32): Add slowasin probe.
4954         (__cos32): Add slowacos probe.
4955         (__mpsin): Add slowsin probe.
4956         (__mpcos): Add slowcos probe.
4958 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
4960         [BZ #15483]
4961         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4962         thread-local __sim_exceptions_thread and global
4963         __sim_exceptions_global.
4964         (__sim_disabled_exceptions): Change to thread-local
4965         __sim_disabled_exceptions_thread and global
4966         __sim_disabled_exceptions_global.
4967         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4968         and global __sim_round_mode_global.
4969         (__simulate_exceptions): Use thread-local floating-point state and
4970         set global state from it as needed.
4971         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4972         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4973         __sim_round_mode_thread.
4974         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4975         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4976         and global __sim_exceptions_global.
4977         (__sim_disabled_exceptions): Change to thread-local
4978         __sim_disabled_exceptions_thread and global
4979         __sim_disabled_exceptions_global.
4980         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4981         and global __sim_round_mode_global.
4982         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4983         (SIM_SET_GLOBAL): Likewise.
4984         * sysdeps/powerpc/soft-fp/sfp-machine.h
4985         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4986         __sim_round_mode_thread.
4987         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4988         __sim_disabled_exceptions_thread.
4989         (__sim_exceptions): Change to __sim_exceptions_thread.
4990         (__sim_disabled_exceptions): Change to
4991         __sim_disabled_exceptions_thread.
4992         (__sim_round_mode): Change to __sim_round_mode_thread.
4993         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4994         thread-local floating-point state and set global state from it as
4995         needed.
4996         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4997         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4998         (__sim_disabled_exceptions): Remove extern declaration.
4999         (feenableexcept): Use thread-local floating-point state and set
5000         global state from it as needed.
5001         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
5002         extern declaration.
5003         (__sim_disabled_exceptions): Likewise.
5004         (__sim_round_mode): Likewise.
5005         (__fegetenv): Use thread-local floating-point state.
5006         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
5007         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5008         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
5009         floating-point state and set global state from it as needed.
5010         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
5011         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5012         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
5013         Likewise.
5014         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5015         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
5016         Likewise.
5017         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
5018         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
5019         Use __sim_round_mode_thread.
5020         * math/test-fenv-tls.c: New file.
5021         * math/Makefile (tests): Add test-fenv-tls.
5022         ($(objpfx)test-fenv-tls): Depend on
5023         $(common-objpfx)nptl/libpthread.so.
5025 2013-11-19  Andreas Schwab  <schwab@suse.de>
5027         * locale/programs/locale.c (show_info): Decode wordarray elements.
5028         * locale/categories.def (LC_MONETARY): Add element for
5029         _NL_MONETARY_CRNCYSTR.
5030         * locale/C-monetary.c (conversion_rate): New variable.
5031         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
5032         element.
5034 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
5036         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5037         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5039 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5041         * elf/Makefile (tst-auxv): New test.
5042         * elf/tst-auxv.c: New
5043         * elf/rtld.c (dl_main): Adjust AT_EXECFN
5045 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
5047         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5048         (hidden_proto): Caller changed.
5049         (hidden_tls_proto): New macro.
5050         (libc_hidden_tls_proto): Likewise.
5051         (rtld_hidden_tls_proto): Likewise.
5052         (libm_hidden_tls_proto): Likewise.
5053         (libresolv_hidden_tls_proto): Likewise.
5054         (librt_hidden_tls_proto): Likewise.
5055         (libdl_hidden_tls_proto): Likewise.
5056         (libnss_files_hidden_tls_proto): Likewise.
5057         (libnsl_hidden_tls_proto): Likewise.
5058         (libnss_nisplus_hidden_tls_proto): Likewise.
5059         (libutil_hidden_tls_proto): Likewise.
5061 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
5063         [BZ #10253]
5064         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5065         (decompose_rpath): Defer expansion to fillin_rpath.
5066         (_dl_init_paths): Pass linkmap to fillin_rpath.
5068 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5070         * benchtests/Makefile: Add strsep.
5071         * benchtests/bench-strsep.c: New file: strsep benchtest.
5072         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5074 2013-11-18  Andreas Schwab  <schwab@suse.de>
5076         * locale/programs/locale.c (show_info) [case byte]: Check for
5077         '\377' instead of '\177'.
5078         * locale/C-monetary.c (not_available): Always use "\377".
5079         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5080         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
5081         detect unavailable sign_posn locale elements.
5082         * locale/localeconv.c (__localeconv): For grouping and
5083         mon_grouping handle "\177" and "\377" like no grouping.
5084         (INT_ELEM): New macro.  Use it to set all numeric members.
5085         * locale/programs/ld-monetary.c (monetary_read)
5086         <tok_mon_grouping>: Normalize single -1 to the empty string.
5087         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5088         Likewise.
5090 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
5092         [BZ #16055]
5093         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5094         when we match (nil).
5095         * stdio-common/tst-sscanf.c (struct test): Add testcase.
5097 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
5099         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5100         (NO_TEST_INLINE): Update value.
5101         (ERRNO_UNCHANGED): Likewise.
5102         (ERRNO_EDOM): Likewise.
5103         (ERRNO_ERANGE): Likewise.
5104         (IGNORE_RESULT): Likewise.
5105         (check_float_internal): Check signs of NaN results if
5106         TEST_NAN_SIGN used.
5107         (check_complex): Pass TEST_NAN_SIGN flag through to second
5108         check_float_internal call.
5109         (copysign_test_data): Add tests with quiet NaNs as second
5110         argument.  Use TEST_NAN_SIGN.
5111         (fabs_test_data): Add test of negative quiet NaN argument.  Use
5112         TEST_NAN_SIGN.
5113         (signbit_test_data): Add tests of quiet NaN argument.
5114         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5116         * math/gen-libm-test.pl (show_exceptions): Take extra argument
5117         $ignore_result.
5118         (parse_args): Handle function results specified as IGNORE.
5119         * math/libm-test.inc (IGNORE_RESULT): New macro.
5120         (check_float_internal): Do not check numerical result if flag
5121         IGNORE_RESULT set.
5122         (check_complex): Pass through IGNORE_RESULT to second
5123         check_float_internal call.
5124         (check_int): Do not check numerical result if flag IGNORE_RESULT
5125         set.
5126         (check_long): Likewise.
5127         (check_bool): Likewise.
5128         (check_longlong): Likewise.
5129         (lrint_test_data): Add tests of infinite and NaN arguments.
5130         (lrint_tonearest_test_data): Likewise.
5131         (lrint_towardzero_test_data): Likewise.
5132         (lrint_downward_test_data): Likewise.
5133         (lrint_upward_test_data): Likewise.
5134         (llrint_test_data): Likewise.
5135         (llrint_tonearest_test_data): Likewise.
5136         (llrint_towardzero_test_data): Likewise.
5137         (llrint_downward_test_data): Likewise.
5138         (llrint_upward_test_data): Likewise.
5139         (lround_test_data): Likewise.
5140         (llround_test_data): Likewise.
5142         * math/libm-test.inc (NO_TEST_INLINE): New macro.
5143         (ERRNO_UNCHANGED): Update value.
5144         (ERRNO_EDOM): Likewise.
5145         (ERRNO_ERANGE): Likewise.
5146         (NO_TEST_INLINE_FLOAT): New macro.
5147         (NO_TEST_INLINE_DOUBLE): Likewise.
5148         (enable_test): New function.
5149         (RUN_TEST_f_f): Check enable_test before running test.
5150         (RUN_TEST_2_f): Likewise.
5151         (RUN_TEST_fff_f): Likewise.
5152         (RUN_TEST_c_f): Likewise.
5153         (RUN_TEST_f_f1): Likewise.
5154         (RUN_TEST_fF_f1): Likewise.
5155         (RUN_TEST_fI_f1): Likewise.
5156         (RUN_TEST_ffI_f1): Likewise.
5157         (RUN_TEST_c_c): Likewise.
5158         (RUN_TEST_cc_c): Likewise.
5159         (RUN_TEST_f_i): Likewise.
5160         (RUN_TEST_f_i_tg): Likewise.
5161         (RUN_TEST_ff_i_tg): Likewise.
5162         (RUN_TEST_f_b): Likewise.
5163         (RUN_TEST_f_b_tg): Likewise.
5164         (RUN_TEST_f_l): Likewise.
5165         (RUN_TEST_f_L): Likewise.
5166         (RUN_TEST_fFF_11): Likewise.
5167         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5168         conditionals.
5169         (cosh_test_data): Likewise.
5170         (exp_test_data): Likewise.
5171         (expm1_test_data): Likewise.
5172         (hypot_test_data): Likewise.
5173         (pow_test_data): Likewise.
5174         (sinh_test_data): Likewise.
5175         (tanh_test_data): Likewise.
5176         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5177         flags argument.
5179         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5180         tests with quiet NaN input and output.
5181         (acosh_test_data): Likewise.
5182         (asin_test_data): Likewise.
5183         (asinh_test_data): Likewise.
5184         (atan_test_data): Likewise.
5185         (atanh_test_data): Likewise.
5186         (atan2_test_data): Likewise.
5187         (cbrt_test_data): Likewise.
5188         (cos_test_data): Likewise.
5189         (cosh_test_data): Likewise.
5190         (erf_test_data): Likewise.
5191         (erfc_test_data): Likewise.
5192         (exp_test_data): Likewise.
5193         (exp10_test_data): Likewise.
5194         (exp2_test_data): Likewise.
5195         (expm1_test_data): Likewise.
5196         (hypot_test_data): Likewise.
5197         (j0_test_data): Likewise.
5198         (j1_test_data): Likewise.
5199         (jn_test_data): Likewise.
5200         (lgamma_test_data): Likewise.
5201         (log_test_data): Likewise.
5202         (log10_test_data): Likewise.
5203         (log1p_test_data): Likewise.
5204         (log2_test_data): Likewise.
5205         (pow_test_data): Likewise.
5206         (scalb_test_data): Likewise.
5207         (sin_test_data): Likewise.
5208         (sincos_test_data): Likewise.
5209         (sinh_test_data): Likewise.
5210         (tan_test_data): Likewise.
5211         (tanh_test_data): Likewise.
5212         (tgamma_test_data): Likewise.
5213         (y0_test_data): Likewise.
5214         (y1_test_data): Likewise.
5215         (yn_test_data): Likewise.
5217         [BZ #16167]
5218         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5219         argument being NaN and avoid computations with second argument in
5220         that case.
5221         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5222         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5223         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5225 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
5227         * locale/iso-639.def: Add Chitwani Tharu (the).
5229 2013-11-14  Andreas Schwab  <schwab@suse.de>
5231         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5232         word instead of empty string.
5234 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5237         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5239         (__fe_nomask_env): Likewise.
5241 2013-11-13  Steve Ellcey  <sellcey@mips.com>
5243         * benchtests/bench-timing.h: Include time.h.
5245 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
5247         [BZ #15997]
5248         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5249         to 3.4.0 for x32.
5250         * sysdeps/unix/sysv/linux/configure: Regenerated.
5252 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
5254         [BZ #16151]
5255         * stdlib/strtod_l.c (round_and_return): Do not consider
5256         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5257         exponent one less than half the least subnormal exponent.
5258         * stdlib/test-strtod-round-data: Add more tests.
5259         * stdlib/tst-strtod-round.c (tests): Regenerated.
5261 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5263         [BZ #14143]
5264         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5265         (__fe_mask_env): Likewise.
5266         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5267         libm_hidden_proto and add function prototype.
5268         (__fe_mask_env): Add function prototype.
5269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5270         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5272         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5274         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5276 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5278         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
5279         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5281 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5283         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5284         of htab_find_slot().
5286 2013-11-11  David S. Miller  <davem@davemloft.net>
5288         [BZ #16150]
5289         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5290         symbol in the non-vis3 case in static builds.
5291         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5292         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5293         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5294         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5296 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5298         [BZ #387]
5299         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5300         it is empty.
5302 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5304         * benchtests/Makefile: Add bench-strtod.
5305         * benchtests/bench-strtod.c: New file: strtod benchtest
5307 2013-11-11  Andreas Schwab  <schwab@suse.de>
5309         [BZ #16153]
5310         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5311         terminating NUL in key length.
5313 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5315         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5316         Add artificial ODP entry for vDSO symbol for PPC64.
5317         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5318         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5320 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
5322         [BZ #15374]
5323         * nss/getent.c (services_keys): Recognize services starting with digit.
5325 2013-11-06  David S. Miller  <davem@davemloft.net>
5327         [BZ #15985]
5328         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5329         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5331 2013-11-06  Will Newton  <will.newton@linaro.org>
5333         * manual/memory.texi (Malloc Examples): Remove register
5334         keyword from examples.
5336 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
5338         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
5340 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
5342         [BZ #6981]
5343         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5344         depending on [__GCC_IEC_559 > 0].
5345         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5346         depending on [__GCC_IEC_559_COMPLEX > 0].
5348 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
5350         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5351         to iso-639.def.
5353 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
5355         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5357 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
5359         [BZ #16112]
5360         * malloc/malloc (malloc_info): Do not handle first bin as
5361         special case.
5363 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
5365         * locale/iso-639.def: Add Central Nahuatl (nhn).
5367 2013-11-01  Bruno Haible  <bruno@clisp.org>
5369         [BZ #7003]
5370         * manual/math.texi (BSD Random): Specify range upper bound as
5371         in POSIX.
5373 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
5375         * locale/iso-639.def: Add Meadow Mari (mhr).
5377 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
5379         [BZ #14752], [BZ #15763]
5380         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5381         Validate name.
5382         * rt/tst_shm.c: Add test for escaping directory.
5384 2013-10-31  Andreas Schwab  <schwab@suse.de>
5386         [BZ #15917]
5387         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5388         followed by 'x' as part of digit sequence.
5389         * stdio-common/tst-sscanf.c (double_tests2): New tests.
5391 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5393         [BZ #16037]
5394         * configure.ac: allow GNU Make 4.0 and greater.
5395         * configure: Regenerated.
5397 2013-10-30  Will Newton  <will.newton@linaro.org>
5399         [BZ #16038]
5400         * malloc/hooks.c (memalign_check): Limit alignment to the
5401         maximum representable power of two.
5402         * malloc/malloc.c (__libc_memalign): Likewise.
5403         * malloc/tst-memalign.c (do_test): Add test for very
5404         large alignment values.
5405         * malloc/tst-posix_memalign.c (do_test): Likewise.
5407 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
5409         [BZ #11087]
5410         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5411         (munmap_chunk): Likewise.
5412         (mremap_chunk): Likewise.
5414 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
5416         [BZ #15799]
5417         * stdlib/div.c (div): Remove obsolete code.
5418         * stdlib/ldiv.c (ldiv): Likewise.
5419         * stdlib/lldiv.c (lldiv): Likewise.
5421 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5423         [BZ #16071]
5424         * nss/nss_files/files-XXX.c (get_contents_ret): New
5425         enumerator.
5426         (get_contents): New function.
5427         (internal_getent): Use it.  Expand size of LINEBUFLEN.
5429 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
5431         * configure.in: Moved to ...
5432         * configure.ac: ... here. Change reference to configure.in
5433         to configure.ac.
5434         * sysdeps/arm/preconfigure.ac: ... here.
5435         configure.in to configure.ac.
5436         * sysdeps/gnu/configure.in: Moved to ...
5437         * sysdeps/gnu/configure.ac: ... here.
5438         * sysdeps/i386/configure.in: Moved to ...
5439         * sysdeps/i386/configure.ac: ... here.
5440         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5441         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5442         * sysdeps/mach/configure.in: Moved to ...
5443         * sysdeps/mach/configure.ac: ... here.
5444         * sysdeps/mach/hurd/configure.in: Moved to ...
5445         * sysdeps/mach/hurd/configure.ac: ... here.
5446         * sysdeps/powerpc/configure.in: Moved to ...
5447         * sysdeps/powerpc/configure.ac: ... here.
5448         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5449         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5450         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5451         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5452         * sysdeps/s390/s390-32/configure.in: Moved to ...
5453         * sysdeps/s390/s390-32/configure.ac: ... here.
5454         * sysdeps/s390/s390-64/configure.in: Moved to ...
5455         * sysdeps/s390/s390-64/configure.ac: ... here.
5456         * sysdeps/sh/configure.in: Moved to ...
5457         * sysdeps/sh/configure.ac: ... here.
5458         * sysdeps/sparc/configure.in: Moved to ...
5459         * sysdeps/sparc/configure.ac: ... here.
5460         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5461         * sysdeps/unix/sysv/linux/configure.ac: ... here.
5462         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5463         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5464         * sysdeps/x86_64/configure.in: Moved to ...
5465         * sysdeps/x86_64/configure.ac: ... here.
5466         * sysdeps/x86_64/preconfigure.in: Moved to ...
5467         * sysdeps/x86_64/preconfigure.ac: ... here.
5468         * aclocal.m4: Change reference to configure.in to configure.ac.
5469         * config.h.in: Likewise.
5470         * manual/install.texi: Likewise.
5471         * manual/maint.texi: Likewise.
5472         * Makefile: Likewise.
5473         * malloc/Makefile: Likewise.
5474         * nscd/Makefile: Likewise.
5475         * Makeconfig: Change reference to configure.in and
5476         preconfigure.in to configure.ac and preconfigure.ac
5477         respectively.
5478         * INSTALL: Regenerated.
5479         * configure: Likewise.
5480         * sysdeps/gnu/configure: Likewise.
5481         * sysdeps/i386/configure: Likewise.
5482         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5483         * sysdeps/mach/configure: Likewise.
5484         * sysdeps/mach/hurd/configure: Likewise.
5485         * sysdeps/powerpc/configure: Likewise.
5486         * sysdeps/powerpc/powerpc32/configure: Likewise.
5487         * sysdeps/powerpc/powerpc64/configure: Likewise.
5488         * sysdeps/s390/s390-32/configure: Likewise.
5489         * sysdeps/s390/s390-64/configure: Likewise.
5490         * sysdeps/sh/configure: Likewise.
5491         * sysdeps/sparc/configure: Likewise.
5492         * sysdeps/unix/sysv/linux/configure: Likewise.
5493         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5494         * sysdeps/x86_64/configure: Likewise.
5495         * sysdeps/x86_64/preconfigure: Likewise.
5497 2013-10-29  Andreas Schwab  <schwab@suse.de>
5499         * stdio-common/Makefile (tst-swscanf-ENV): Define.
5501 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5503         * benchtests/pow-inputs: Add new inputs.
5505         * benchtests/exp-inputs: Add new inputs.
5507         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5508         conditional check for return value.
5509         (__cos32): Likewise.
5511 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5513         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5514         to provide a boost for large inputs with word alignment.
5515         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5516         implementation based on optimized PPC64 strcpy.
5517         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5518         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5519         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5520         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5522 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
5524         [BZ #2801]
5525         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5527 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
5529         [BZ #14876]
5530         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5531         * time/tst-strptime.c (day_tests): Add testcase.
5533 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
5535         [BZ #14029]
5536         * manual/pattern.texi: Acknowledge that fnmatch can fail.
5538 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
5540         [BZ #16074]
5541         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5542         MAP_FAILED on error.
5544 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5546         [BZ #16072]
5547         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5548         heap for large requests.
5550 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
5552         [BZ #9954]
5553         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5554         result if the result has no associated interface.
5555         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5556         interface for all 127.X.Y.Z addresses.
5558 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
5560         * locale/iso-639.def: Add Ligurian (lij)
5562 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
5564         [BZ #15825]
5565         * sunrpc/rpc_main.c: Document rpcgen -5.
5567 2013-10-19  Michael Stahl  <mstahl@redhat.com>
5569         * elf/rtld.c (do_preload): Print the reason why preloading failed.
5571 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
5573         [BZ #10278]
5574         * posix/glob.c: Match only directories when trailing slash is present.
5575         * posix/tst-gnuglob.c (my_opendir): Do not open files.
5576         (main): Add testcase.
5578 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
5580         [BZ #15670]
5581         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5583 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
5585         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5586         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5587         AUTH_DES and cindex for FIPS 140-2.
5588         (DES Encryption): Add cindex FIPS 46-3.
5590         * locale/locarchive.h (struct locarhandle): Add fname.
5591         * locale/programs/localedef.c (main): Pass ARGV[remaining]
5592         if an optional argument was specified to --list-archive,
5593         otherwise NULL.
5594         * locale/programs/locarchive.c (show_archive_content): Take new
5595         argument fname and pass it via ah.fname to open_archive.
5596         * locale/programs/localedef.h: Update decl.
5597         (open_archive): If AH->fname is non-null, open that file
5598         rather than the default file name, and don't ignore ENOENT.
5599         (create_archive): Set AH.fname to NULL.
5600         (delete_locales_from_archive): Likewise.
5601         (add_locales_to_archive): Likewise.
5602         * locale/programs/locfile.c (write_all_categories): Likewise.
5604 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
5605             Aldy Hernandez  <aldyh@redhat.com>
5607         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5608         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5609         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5610         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5611         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5612         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5613         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5614         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5615         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5616         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5617         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5618         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5619         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5620         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5621         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5622         Likewise.
5623         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5624         Likewise.
5625         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5626         Likewise.
5627         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5628         Likewise.
5629         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5630         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5631         Likewise.
5632         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5633         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5634         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5635         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5636         Likewise.
5637         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5638         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5639         * sysdeps/powerpc/preconfigure: Likewise.
5640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5641         Likewise.
5642         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5643         Replace contents of file by #include of <fenv_libc.h>.
5644         * sysdeps/powerpc/soft-fp/sfp-machine.h
5645         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5646         and <sys/prctl.h>.
5647         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5648         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5649         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5650         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5651         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5652         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5653         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5654         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5655         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5656         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5657         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5658         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5660         Allow copysignl PLT reference to be missing.
5662 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
5663             Joseph Myers  <joseph@codesourcery.com
5665         [BZ #15948]
5666         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5667         single character.
5668         (add_to_tablewc): Assert sequence of wide characters is nonempty.
5670 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5672         * elf/tst-tls-dlinfo.c: Don't include tls.h.
5673         * elf/tst-tls1.c: Likewise.
5674         * elf/tst-tls10.h: Likewise.
5675         * elf/tst-tls14.c: Likewise.
5676         * elf/tst-tls2.c: Likewise.
5677         * elf/tst-tls3.c: Likewise.
5678         * elf/tst-tls4.c: Likewise.
5679         * elf/tst-tls5.c: Likewise.
5680         * elf/tst-tls6.c: Likewise.
5681         * elf/tst-tls7.c: Likewise.
5682         * elf/tst-tls8.c: Likewise.
5683         * elf/tst-tls9.c: Likewise.
5684         * elf/tst-tlsmod1.c: Likewise.
5685         * elf/tst-tlsmod13.c: Likewise.
5686         * elf/tst-tlsmod13a.c: Likewise.
5687         * elf/tst-tlsmod14a.c: Likewise.
5688         * elf/tst-tlsmod16a.c: Likewise.
5689         * elf/tst-tlsmod16b.c: Likewise.
5690         * elf/tst-tlsmod2.c: Likewise.
5691         * elf/tst-tlsmod3.c: Likewise.
5692         * elf/tst-tlsmod4.c: Likewise.
5693         * elf/tst-tlsmod5.c: Likewise.
5694         * elf/tst-tlsmod6.c: Likewise.
5696 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
5698         [BZ #12486]
5699         * malloc/malloc.c: remove checks for statistics.
5701 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
5703         [BZ #15277]
5704         * inet/inet_net.c (inet_network): Detect additional invalid strings.
5705         * inet/tst-network.c: Add testcase.
5707 2013-10-17  Andreas Schwab  <schwab@suse.de>
5709         [BZ #15218]
5710         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5711         to determine canonical name.
5713 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
5715         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5716         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5717         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5718         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5719         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5720         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5721         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5722         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5723         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5724         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5725         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5726         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5727         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5728         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5729         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5730         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5731         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5732         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5733         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5734         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5735         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5736         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5737         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5738         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5739         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5740         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5741         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5742         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5743         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5744         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5745         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5746         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5747         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5748         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5749         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5750         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5751         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5752         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5753         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5754         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5755         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5756         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5757         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5758         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5759         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5760         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5761         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5762         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5763         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5764         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5765         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5766         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5767         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5768         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5769         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5770         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5771         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5772         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5774 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
5776         [BZ #16041]
5777         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5778         make result into a quiet NaN.
5780 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
5782         * soft-fp/adddf3.c: Fix horizontal whitespace.
5783         * soft-fp/addsf3.c: Likewise.
5784         * soft-fp/addtf3.c: Likewise.
5785         * soft-fp/divdf3.c: Likewise.
5786         * soft-fp/divsf3.c: Likewise.
5787         * soft-fp/divtf3.c: Likewise.
5788         * soft-fp/double.h: Likewise.
5789         * soft-fp/eqdf2.c: Likewise.
5790         * soft-fp/eqsf2.c: Likewise.
5791         * soft-fp/eqtf2.c: Likewise.
5792         * soft-fp/extenddftf2.c: Likewise.
5793         * soft-fp/extended.h: Likewise.
5794         * soft-fp/extendsfdf2.c: Likewise.
5795         * soft-fp/extendsftf2.c: Likewise.
5796         * soft-fp/extendxftf2.c: Likewise.
5797         * soft-fp/fixdfdi.c: Likewise.
5798         * soft-fp/fixdfsi.c: Likewise.
5799         * soft-fp/fixdfti.c: Likewise.
5800         * soft-fp/fixsfdi.c: Likewise.
5801         * soft-fp/fixsfsi.c: Likewise.
5802         * soft-fp/fixsfti.c: Likewise.
5803         * soft-fp/fixtfdi.c: Likewise.
5804         * soft-fp/fixtfsi.c: Likewise.
5805         * soft-fp/fixtfti.c: Likewise.
5806         * soft-fp/fixunsdfdi.c: Likewise.
5807         * soft-fp/fixunsdfsi.c: Likewise.
5808         * soft-fp/fixunsdfti.c: Likewise.
5809         * soft-fp/fixunssfdi.c: Likewise.
5810         * soft-fp/fixunssfsi.c: Likewise.
5811         * soft-fp/fixunssfti.c: Likewise.
5812         * soft-fp/fixunstfdi.c: Likewise.
5813         * soft-fp/fixunstfsi.c: Likewise.
5814         * soft-fp/fixunstfti.c: Likewise.
5815         * soft-fp/floatdidf.c: Likewise.
5816         * soft-fp/floatdisf.c: Likewise.
5817         * soft-fp/floatditf.c: Likewise.
5818         * soft-fp/floatsidf.c: Likewise.
5819         * soft-fp/floatsisf.c: Likewise.
5820         * soft-fp/floatsitf.c: Likewise.
5821         * soft-fp/floattidf.c: Likewise.
5822         * soft-fp/floattisf.c: Likewise.
5823         * soft-fp/floattitf.c: Likewise.
5824         * soft-fp/floatundidf.c: Likewise.
5825         * soft-fp/floatundisf.c: Likewise.
5826         * soft-fp/floatunditf.c: Likewise.
5827         * soft-fp/floatunsidf.c: Likewise.
5828         * soft-fp/floatunsisf.c: Likewise.
5829         * soft-fp/floatunsitf.c: Likewise.
5830         * soft-fp/floatuntidf.c: Likewise.
5831         * soft-fp/floatuntisf.c: Likewise.
5832         * soft-fp/floatuntitf.c: Likewise.
5833         * soft-fp/fmadf4.c: Likewise.
5834         * soft-fp/fmasf4.c: Likewise.
5835         * soft-fp/fmatf4.c: Likewise.
5836         * soft-fp/gedf2.c: Likewise.
5837         * soft-fp/gesf2.c: Likewise.
5838         * soft-fp/getf2.c: Likewise.
5839         * soft-fp/ledf2.c: Likewise.
5840         * soft-fp/lesf2.c: Likewise.
5841         * soft-fp/letf2.c: Likewise.
5842         * soft-fp/muldf3.c: Likewise.
5843         * soft-fp/mulsf3.c: Likewise.
5844         * soft-fp/multf3.c: Likewise.
5845         * soft-fp/negdf2.c: Likewise.
5846         * soft-fp/negsf2.c: Likewise.
5847         * soft-fp/negtf2.c: Likewise.
5848         * soft-fp/op-1.h: Likewise.
5849         * soft-fp/op-2.h: Likewise.
5850         * soft-fp/op-4.h: Likewise.
5851         * soft-fp/op-8.h: Likewise.
5852         * soft-fp/op-common.h: Likewise.
5853         * soft-fp/quad.h: Likewise.
5854         * soft-fp/single.h: Likewise.
5855         * soft-fp/soft-fp.h: Likewise.
5856         * soft-fp/sqrtdf2.c: Likewise.
5857         * soft-fp/sqrtsf2.c: Likewise.
5858         * soft-fp/sqrttf2.c: Likewise.
5859         * soft-fp/subdf3.c: Likewise.
5860         * soft-fp/subsf3.c: Likewise.
5861         * soft-fp/subtf3.c: Likewise.
5862         * soft-fp/truncdfsf2.c: Likewise.
5863         * soft-fp/trunctfdf2.c: Likewise.
5864         * soft-fp/trunctfsf2.c: Likewise.
5865         * soft-fp/trunctfxf2.c: Likewise.
5866         * soft-fp/unorddf2.c: Likewise.
5867         * soft-fp/unordsf2.c: Likewise.
5868         * soft-fp/unordtf2.c: Likewise.
5870 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
5872         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5873         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5875 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
5877         * elf/dl-libc.c: Clear initfini list after freeing.
5879 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
5881         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5882         * soft-fp/addsf3.c: Likewise.
5883         * soft-fp/addtf3.c: Likewise.
5884         * soft-fp/divdf3.c: Likewise.
5885         * soft-fp/divsf3.c: Likewise.
5886         * soft-fp/divtf3.c: Likewise.
5887         * soft-fp/double.h: Likewise.
5888         * soft-fp/eqdf2.c: Likewise.
5889         * soft-fp/eqsf2.c: Likewise.
5890         * soft-fp/eqtf2.c: Likewise.
5891         * soft-fp/extenddftf2.c: Likewise.
5892         * soft-fp/extended.h: Likewise.
5893         * soft-fp/extendsfdf2.c: Likewise.
5894         * soft-fp/extendsftf2.c: Likewise.
5895         * soft-fp/extendxftf2.c: Likewise.
5896         * soft-fp/fixdfdi.c: Likewise.
5897         * soft-fp/fixdfsi.c: Likewise.
5898         * soft-fp/fixdfti.c: Likewise.
5899         * soft-fp/fixsfdi.c: Likewise.
5900         * soft-fp/fixsfsi.c: Likewise.
5901         * soft-fp/fixsfti.c: Likewise.
5902         * soft-fp/fixtfdi.c: Likewise.
5903         * soft-fp/fixtfsi.c: Likewise.
5904         * soft-fp/fixtfti.c: Likewise.
5905         * soft-fp/fixunsdfdi.c: Likewise.
5906         * soft-fp/fixunsdfsi.c: Likewise.
5907         * soft-fp/fixunsdfti.c: Likewise.
5908         * soft-fp/fixunssfdi.c: Likewise.
5909         * soft-fp/fixunssfsi.c: Likewise.
5910         * soft-fp/fixunssfti.c: Likewise.
5911         * soft-fp/fixunstfdi.c: Likewise.
5912         * soft-fp/fixunstfsi.c: Likewise.
5913         * soft-fp/fixunstfti.c: Likewise.
5914         * soft-fp/floatdidf.c: Likewise.
5915         * soft-fp/floatdisf.c: Likewise.
5916         * soft-fp/floatditf.c: Likewise.
5917         * soft-fp/floatsidf.c: Likewise.
5918         * soft-fp/floatsisf.c: Likewise.
5919         * soft-fp/floatsitf.c: Likewise.
5920         * soft-fp/floattidf.c: Likewise.
5921         * soft-fp/floattisf.c: Likewise.
5922         * soft-fp/floattitf.c: Likewise.
5923         * soft-fp/floatundidf.c: Likewise.
5924         * soft-fp/floatundisf.c: Likewise.
5925         * soft-fp/floatunsidf.c: Likewise.
5926         * soft-fp/floatunsisf.c: Likewise.
5927         * soft-fp/floatuntidf.c: Likewise.
5928         * soft-fp/floatuntisf.c: Likewise.
5929         * soft-fp/floatuntitf.c: Likewise.
5930         * soft-fp/fmadf4.c: Likewise.
5931         * soft-fp/fmasf4.c: Likewise.
5932         * soft-fp/fmatf4.c: Likewise.
5933         * soft-fp/gedf2.c: Likewise.
5934         * soft-fp/gesf2.c: Likewise.
5935         * soft-fp/getf2.c: Likewise.
5936         * soft-fp/ledf2.c: Likewise.
5937         * soft-fp/lesf2.c: Likewise.
5938         * soft-fp/letf2.c: Likewise.
5939         * soft-fp/muldf3.c: Likewise.
5940         * soft-fp/mulsf3.c: Likewise.
5941         * soft-fp/multf3.c: Likewise.
5942         * soft-fp/negdf2.c: Likewise.
5943         * soft-fp/negsf2.c: Likewise.
5944         * soft-fp/negtf2.c: Likewise.
5945         * soft-fp/op-1.h: Likewise.
5946         * soft-fp/op-2.h: Likewise.
5947         * soft-fp/op-4.h: Likewise.
5948         * soft-fp/op-8.h: Likewise.
5949         * soft-fp/op-common.h: Likewise.
5950         * soft-fp/quad.h: Likewise.
5951         * soft-fp/single.h: Likewise.
5952         * soft-fp/soft-fp.h: Likewise.
5953         * soft-fp/sqrtdf2.c: Likewise.
5954         * soft-fp/sqrtsf2.c: Likewise.
5955         * soft-fp/sqrttf2.c: Likewise.
5956         * soft-fp/subdf3.c: Likewise.
5957         * soft-fp/subsf3.c: Likewise.
5958         * soft-fp/subtf3.c: Likewise.
5959         * soft-fp/truncdfsf2.c: Likewise.
5960         * soft-fp/trunctfdf2.c: Likewise.
5961         * soft-fp/trunctfsf2.c: Likewise.
5962         * soft-fp/trunctfxf2.c: Likewise.
5963         * soft-fp/unorddf2.c: Likewise.
5964         * soft-fp/unordsf2.c: Likewise.
5965         * soft-fp/unordtf2.c: Likewise.
5967 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
5969         [BZ #15672]
5970         * misc/error.c (error_tail): Fix possible buffer overflow.
5972 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
5974         [BZ #13028]
5975         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5976         address.
5978 2013-10-14  P. J. McDermott  <pj@pehjota.net>
5980         [BZ #832]
5981         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
5982         testing pipefail option.
5984 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
5986         * soft-fp/double.h: Indent preprocessor directives inside #if.
5987         * soft-fp/extended.h: Likewise.
5988         * soft-fp/op-2.h: Likewise.
5989         * soft-fp/op-4.h: Likewise.
5990         * soft-fp/op-common.h: Likewise.
5991         * soft-fp/quad.h: Likewise.
5992         * soft-fp/single.h: Likewise.
5993         * soft-fp/soft-fp.h: Likewise.
5995 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
5997         * iconv/iconv_prog.c: Fix typos.
5998         * stdio-common/psiginfo-data.h: Likewise.
6000 2013-10-12   Reuben Thomas <rrt@sc3d.org>
6002         [BZ #15764]
6003         * locale/setlocale.c: Fix typo.
6005 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
6007         [BZ #16036]
6008         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
6009         signaling NaN arguments.
6010         * soft-fp/unordsf2.c (__unordsf2): Likewise.
6011         * soft-fp/unordtf2.c (__unordtf2): Likewise.
6013         [BZ #14910]
6014         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
6015         unordered operands.
6016         * soft-fp/gesf2.c (__gesf2): Likewise.
6017         * soft-fp/getf2.c (__getf2): Likewise.
6018         * soft-fp/ledf2.c (__ledf2): Likewise.
6019         * soft-fp/lesf2.c (__lesf2): Likewise.
6020         * soft-fp/letf2.c (__letf2): Likewise.
6022         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
6023         * soft-fp/eqsf2.c (__eqsf2): Likewise.
6024         * soft-fp/eqtf2.c (__eqtf2): Likewise.
6025         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
6026         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
6027         * soft-fp/fixdfti.c (__fixdfti): Likewise.
6028         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
6029         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
6030         * soft-fp/fixsfti.c (__fixsfti): Likewise.
6031         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
6032         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
6033         * soft-fp/fixtfti.c (__fixtfti): Likewise.
6034         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
6035         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
6036         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6037         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6038         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6039         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6040         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6041         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6042         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6043         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6044         * soft-fp/floatdisf.c (__floatdisf): Likewise.
6045         * soft-fp/floatsisf.c (__floatsisf): Likewise.
6046         * soft-fp/floattidf.c (__floattidf): Likewise.
6047         * soft-fp/floattisf.c (__floattisf): Likewise.
6048         * soft-fp/floattitf.c (__floattitf): Likewise.
6049         * soft-fp/floatundidf.c (__floatundidf): Likewise.
6050         * soft-fp/floatundisf.c (__floatundisf): Likewise.
6051         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6052         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6053         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6054         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6055         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6056         * soft-fp/gesf2.c (__gesf2): Likewise.
6057         * soft-fp/getf2.c (__getf2): Likewise.
6058         * soft-fp/ledf2.c (__ledf2): Likewise.
6059         * soft-fp/lesf2.c (__lesf2): Likewise.
6060         * soft-fp/letf2.c (__letf2): Likewise.
6062         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6063         Undefine and redefine.
6064         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6065         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6066         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6067         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6068         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6069         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6070         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6071         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6072         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6073         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6074         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6075         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6076         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6077         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6078         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6080         [BZ #16032]
6081         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6082         without decrementing exponent if mantissa >= that for the
6083         denominator, not >.
6084         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6085         denominator, not >.  Decrement exponent in < case instead of
6086         incrementing in >= case.
6087         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6088         without decrementing exponent if mantissa >= that for the
6089         denominator, not >.
6091         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6092         computing saturated result for unsigned overflow.
6094 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6095             Jeff Law  <law@redhat.com>
6097         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6098         (atan2Mp): Add systemtap probe marker.
6099         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6100         (__ieee754_log): Add systemtap probe marker.
6101         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6102         (atanMp): Add systemtap probe marker.
6103         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6104         (tanMp): Add systemtap probe marker.
6105         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6106         (__slowexp): Add systemtap probe marker.
6107         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6108         (__slowpow): Add systemtap probe marker.
6109         * manual/probes.texi: Document probes.
6111 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
6113         [BZ #15362]
6114         * libio/fileops.c (_IO_new_file_write): Return count of bytes
6115         written.
6116         (_IO_new_file_xsputn): Don't return EOF if nothing has been
6117         written.
6118         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6119         written to buffer but not flushed.
6120         * libio/iofwrite_u.c:  Likewise.
6121         * libio/iopadn.c:  Return bytes returned even if EOF was
6122         encountered.
6123         * libio/iowpadn.c:  Likewise.
6124         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6125         if _IO_padn does not write the whole buffer.
6126         [!COMPILE_WPRINTF] (PAD): Likewise.
6128 2013-10-10  David S. Miller  <davem@davemloft.net>
6130         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6131         directory block.
6133 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
6135         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
6136         instead of FSF address.
6137         * soft-fp/fixdfti.c: Likewise.
6138         * soft-fp/fixsfti.c: Likewise.
6139         * soft-fp/fixtfti.c: Likewise.
6140         * soft-fp/fixunsdfti.c: Likewise.
6141         * soft-fp/fixunssfti.c: Likewise.
6142         * soft-fp/fixunstfti.c: Likewise.
6143         * soft-fp/floattidf.c: Likewise.
6144         * soft-fp/floattisf.c: Likewise.
6145         * soft-fp/floattitf.c: Likewise.
6146         * soft-fp/floatuntidf.c: Likewise.
6147         * soft-fp/floatuntisf.c: Likewise.
6148         * soft-fp/floatuntitf.c: Likewise.
6149         * soft-fp/trunctfxf2.c: Likewise.
6151         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
6152         * soft-fp/fixdfti.c: Likewise.
6153         * soft-fp/fixsfti.c: Likewise.
6154         * soft-fp/fixtfti.c: Likewise.
6155         * soft-fp/fixunsdfti.c: Likewise.
6156         * soft-fp/fixunssfti.c: Likewise.
6157         * soft-fp/fixunstfti.c: Likewise.
6158         * soft-fp/floattidf.c: Likewise.
6159         * soft-fp/floattisf.c: Likewise.
6160         * soft-fp/floattitf.c: Likewise.
6161         * soft-fp/floatuntidf.c: Likewise.
6162         * soft-fp/floatuntisf.c: Likewise.
6163         * soft-fp/floatuntitf.c: Likewise.
6164         * soft-fp/trunctfxf2.c: Likewise.
6166 2013-10-10  David S. Miller  <davem@davemloft.net>
6168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6170 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
6172         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6173         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6174         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6175         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6176         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6177         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6178         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6180         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6181         for NaNs before doing comparisons on argument.
6182         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6183         Likewise.
6185 2013-10-10  Will Newton  <will.newton@linaro.org>
6187         * malloc/hooks.c (memalign_check): Ensure the value of bytes
6188         passed to _int_memalign does not overflow.
6190 2013-10-10  Torvald Riegel  <triegel@redhat.com>
6192         * scripts/bench.pl: Add include-sources directive.
6193         * benchtests/README: Update documentation.
6195 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
6197         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6198         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6199         instead of FP_INIT_ROUNDMODE.
6200         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6201         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6203         [BZ #16034]
6204         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
6205         copy class of input value.
6206         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
6207         not handle exceptions.
6208         * soft-fp/negsf2.c (__negsf2): Likewise.
6209         * soft-fp/negtf2.c (__negtf2): Likewise.
6210         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6212 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
6214         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6215         semicolon.  From Linux kernel.
6217 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
6219         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6221 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
6223         [BZ #156]
6224         * manual/socket.texi: Added statement about buffer
6225         for gethostbyname2_r.
6227 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
6229         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6230         Use .p2align directive instead, throughout.
6231         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6232         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6233         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6234         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6235         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6236         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6237         * sysdeps/x86_64/strchr.S: Likewise.
6238         * sysdeps/x86_64/strrchr.S: Likewise.
6240 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6242         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6244         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6246         * sysdeps/generic/math_private.h (__mpsin1): Remove
6247         declaration.
6248         (__mpcos1): Likewise.
6249         (__mpsin): New argument __range_reduce.
6250         (__mpcos): Likewise.
6251         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6252         (slow): Use __mpsin and __mpcos.
6253         (slow1): Likewise.
6254         (slow2): Likewise.
6255         (sloww): Likewise.
6256         (sloww1): Likewise.
6257         (sloww2): Likewise.
6258         (bsloww): Likewise.
6259         (bsloww1): Likewise.
6260         (bsloww2): Likewise.
6261         (cslow2): Likewise.
6262         (csloww): Likewise.
6263         (csloww1): Likewise.
6264         (csloww2): Likewise.
6265         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6266         range_reduce.  Merge in __mpsin1.
6267         (__mpcos): Likewise.
6268         (__mpsin1): Remove.
6269         (__mpcos1): Likewise.
6271 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
6273         * locale/loadlocale.c (_nl_intern_locale_data): Use
6274         LOCFILE_ALIGNED_P.
6275         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6276         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6277         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6278         obstack data is appropriately aligned.
6279         (obstack_int32_grow_fast): Likewise.
6280         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6281         * locale/programs/locfile.c (add_locale_uint32): Likewise.
6282         (add_locale_uint32_array): Likewise.
6284 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
6286         * benchtests/Makefile: Remove ARGLIST and RET variables.
6287         ($(objpfx)bench-%.c): Pass only function name to the script.
6288         * benchtests/README: Update documentation.
6289         * benchtests/acos-inputs: Add new directives.
6290         * benchtests/acosh-inputs: Likewise.
6291         * benchtests/asin-inputs: Likewise.
6292         * benchtests/asinh-inputs: Likewise.
6293         * benchtests/atan-inputs: Likewise.
6294         * benchtests/atanh-inputs: Likewise.
6295         * benchtests/cos-inputs: Likewise.
6296         * benchtests/cosh-inputs: Likewise.
6297         * benchtests/exp-inputs: Likewise.
6298         * benchtests/log-inputs: Likewise.
6299         * benchtests/pow-inputs: Likewise.
6300         * benchtests/rint-inputs: Likewise.
6301         * benchtests/sin-inputs: Likewise.
6302         * benchtests/sinh-inputs: Likewise.
6303         * benchtests/tan-inputs: Likewise.
6304         * benchtests/tanh-inputs: Likewise.
6305         * scripts/bench.pl: Add support for new directives.
6307 2013-10-07  Alan Modra  <amodra@gmail.com>
6309         * README: Fix careless merge.
6311 2013-10-05  Alan Modra  <amodra@gmail.com>
6313         * NEWS: Mention powerpc64le support and bugs fixed.
6314         * README: Both big-endian and little-endian powerpc64 supported.
6316 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6318         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6319         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6320         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6321         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6323 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
6325         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6326         match prototype.
6328 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
6330         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6331         Move -mhard-float appending from
6332         ports/sysdeps/powerpc/powerpc32/Makefile.
6333         [$(with-fp) = yes] (ASFLAGS): Likewise.
6334         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6335         * sysdeps/powerpc/nofpu: Move directory from
6336         ports/sysdeps/powerpc/nofpu.
6337         * sysdeps/powerpc/soft-fp: Move directory from
6338         ports/sysdeps/powerpc/soft-fp.
6339         * sysdeps/powerpc/powerpc32/405: Move directory from
6340         ports/sysdeps/powerpc/powerpc32/405.
6341         * sysdeps/powerpc/powerpc32/440: Move directory from
6342         ports/sysdeps/powerpc/powerpc32/440.
6343         * sysdeps/powerpc/powerpc32/464: Move directory from
6344         ports/sysdeps/powerpc/powerpc32/464.
6345         * sysdeps/powerpc/powerpc32/476: Move directory from
6346         ports/sysdeps/powerpc/powerpc32/476.
6347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6348         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6350         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6352         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6354         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6356         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6357         * README: Update for powerpc-*-linux-gnu software floating point
6358         support in libc.
6360         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6361         case to powerpc/powerpc32*.
6362         * sysdeps/unix/sysv/linux/configure: Regenerated.
6364         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6365         (_FPU_MASK_OM): Define as 0x04.
6366         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6367         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6368         0x00c10080.
6369         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6370         0x0000003c.
6371         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6374         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6375         getcontext_e500.
6376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6377         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6378         setcontext_e500.
6379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6380         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6381         and setcontext_e500.
6383 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
6385         * locale/iso-3166.def: Update iso-1366.def and related occurrences
6387 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6389         * manual/threads.texi (Default Thread Attributes): Fix typo.
6391 2013-10-04  Will Newton  <will.newton@linaro.org>
6393         * malloc/Makefile: Add tst-memalign.
6394         * malloc/tst-memalign.c: New file.
6396         * malloc/tst-posix_memalign.c: Add comments.
6397         (do_test): Add comments and call free on all potentially
6398         allocated pointers. Add space after cast.
6400         * malloc/tst-pvalloc.c: Add comments.
6401         (do_test): Add comments and call free on all potentially
6402         allocated pointers. Remove duplicate check for NULL pointer.
6403         Add space after cast.
6405         * malloc/tst-valloc.c: Add comments.
6406         (do_test): Add comments and call free on all potentially
6407         allocated pointers. Remove duplicate check for NULL pointer.
6408         Add space after cast.
6410 2013-10-04  Alan Modra  <amodra@gmail.com>
6412         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6413         Use stdint types in rather than __attribute__((mode())).
6414         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6416 2013-10-04  Alan Modra  <amodra@gmail.com>
6418         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6419         Correct handling of unaligned relocs for little-endian.
6420         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6422 2013-10-04  Alan Modra  <amodra@gmail.com>
6424         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6425         * configure: Regenerate.
6426         * nptl/shlib-versions: Powerpc*le starts at 2.18.
6427         * shlib-versions: Likewise.
6429 2013-10-04  Alan Modra  <amodra@gmail.com>
6431         * string/tester.c (test_memrchr): Increment reported test cycle.
6433 2013-10-04  Alan Modra  <amodra@gmail.com>
6435         * string/test-memcpy.c (do_one_test): When reporting errors, print
6436         string address and don't overrun end of string.
6438 2013-10-04  Alan Modra  <amodra@gmail.com>
6440         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6441         insrdi.  Make better use of reg selection to speed exit slightly.
6442         Schedule entry path a little better.  Remove useless "are we done"
6443         checks on entry to main loop.  Handle wrapping around zero address.
6444         Correct main loop count.  Handle single left-over word from main
6445         loop inline rather than by using loop_small.  Remove extra word
6446         case in loop_small caused by wrong loop count.  Add little-endian
6447         support.
6448         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6449         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
6450         cache hint.
6451         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6452         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6453         support.  Avoid rlwimi.
6454         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6456 2013-10-04  Alan Modra  <amodra@gmail.com>
6458         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
6459         insrdi.  Formatting.
6460         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6461         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6462         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6463         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6464         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6465         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6467 2013-10-04  Alan Modra  <amodra@gmail.com>
6469         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6470         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6471         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6472         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6473         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6474         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6475         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6476         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6477         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
6478         use of regs.  Use power7 mtocrf.  Tidy function tails.
6480 2013-10-04  Alan Modra  <amodra@gmail.com>
6482         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6483         Formatting.  Consistently use rXXX register defines or rN defines.
6484         Use early exit labels that avoid restoring unused non-volatile regs.
6485         Make cr field use more consistent with rWORDn compares.  Rename
6486         regs used as shift registers for unaligned loop, using rN defines
6487         for short lifetime/multiple use regs.
6488         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6489         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
6490         addi 1,1,64 to pop stack frame.  Simplify return value code.
6491         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6493 2013-10-04  Alan Modra  <amodra@gmail.com>
6495         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6496         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
6497         rather than rlwimi.
6498         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6499         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6500         little-endian support.  Correct typos.
6501         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
6502         rather than rlwimi.
6503         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
6504         in loop and entry code to keep "and." results.
6505         (strchr): Add little-endian support.  Comment.  Move cntlzd
6506         earlier in tail.
6507         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6509 2013-10-04  Alan Modra  <amodra@gmail.com>
6511         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6512         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6513         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6514         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6516 2013-10-04  Alan Modra  <amodra@gmail.com>
6518         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6519         (rTMP): Define as r11.
6520         (strcmp): Add little-endian support.  Optimise tail.
6521         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6522         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6523         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6524         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6525         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6526         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6527         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6529 2013-10-04  Alan Modra  <amodra@gmail.com>
6531         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6532         little-endian support.  Remove unnecessary "are we done" tests.
6533         Handle "s" wrapping around zero and extremely large "size".
6534         Correct main loop count.  Handle single left-over word from main
6535         loop inline rather than by using small_loop.  Correct comments.
6536         Delete "zero" tail, use "end_max" instead.
6537         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6539 2013-10-04  Alan Modra  <amodra@gmail.com>
6541         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6542         support.  Don't branch over align.
6543         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6544         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6545         support.  Rearrange tmp reg use to suit.  Comment.
6546         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6548 2013-10-04  Alan Modra  <amodra@gmail.com>
6550         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6552 2013-10-04  Alan Modra  <amodra@gmail.com>
6554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6555         conditional form of branch and link when obtaining pc.
6556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6558 2013-10-04  Alan Modra  <amodra@gmail.com>
6560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6561         HIWORD/LOWORD.
6562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6565 2013-10-04  Alan Modra  <amodra@gmail.com>
6567         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6568         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6569         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6570         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6571         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6572         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6573         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6574         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6575         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6576         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6578 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
6579             Alistair Popple <alistair@ozlabs.au.ibm.com>
6580             Alan Modra <amodra@gmail.com>
6582         [BZ #15723]
6583         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6584         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6585         _dl_hwcap access for little-endian.
6586         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
6587         destroy vmx regs when saving unaligned.
6588         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6589         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
6590         destroy vmx regs when saving unaligned.
6592 2013-10-04  Alan Modra  <amodra@gmail.com>
6594         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6595         Don't use a union to pack hi/low value.
6597 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
6599         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6600         for little-endian.
6601         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6602         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6603         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6604         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6605         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6607 2013-10-04  Alan Modra  <amodra@gmail.com>
6609         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6610         constants to usual value for .cst8 section, and remove redundant
6611         high address load.
6612         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6613         constant for 0x1p52.  Load little-endian words of double from
6614         correct stack offsets.
6616 2013-10-04  Alan Modra  <amodra@gmail.com>
6618         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6619         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6620         words of double from correct stack offsets.
6621         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6622         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6623         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6624         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6625         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6626         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6627         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6628         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6629         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6630         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6631         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6632         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6633         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6634         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6635         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6636         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6637         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6639 2013-10-04  Alan Modra  <amodra@gmail.com>
6641         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6642         64-bit int/double union.
6643         (_FPU_SETCW): Likewise.
6644         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6645         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6647 2013-10-04  Alan Modra  <amodra@gmail.com>
6649         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6650         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6652 2013-10-04  Alan Modra  <amodra@gmail.com>
6654         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6655         use vector int constants.
6656         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6658 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
6660         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6661         array with long long.
6662         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6663         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6664         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6665         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6666         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6667         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6668         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6669         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6670         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6671         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6672         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6673         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6674         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6676 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
6678         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6679         (__signbit): Likewise.  Correct for little-endian.
6680         (__signbitl): Call __signbit.
6681         (lrint): Correct for little-endian.
6682         (lrintf): Call lrint.
6684 2013-10-04  Alan Modra  <amodra@gmail.com>
6686         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6687         union 32-bit int array member with 64-bit int array.
6688         (t515, tm256): Double rather than long double.
6689         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6691 2013-10-04  Alan Modra  <amodra@gmail.com>
6693         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6694         Delete.
6695         (IEEE854_LONG_DOUBLE_BIAS): Delete.
6696         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6697         version of math_ldbl.h.
6699 2013-10-04  Alan Modra  <amodra@gmail.com>
6701         [BZ #15734], [BZ #15735]
6702         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6703         all uses of ieee875 long double macros and unions.  Simplify test
6704         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
6705         ldbl_extract_mantissa value for ix,iy exponents.  Properly
6706         normalize after ldbl_extract_mantissa, and don't add hidden bit
6707         already handled.  Don't treat low word of ieee854 mantissa like
6708         low word of IBM long double and mask off bit when testing for
6709         zero.
6710         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6711         all uses of ieee875 long double macros and unions.  Simplify tests
6712         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
6713         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
6714         two1022, instead use their values.  Recognise that tests for large
6715         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
6716         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6717         Rewrite all uses of ieee875 long double macros and unions.  Simplify
6718         test for 0.0L and nan.  Correct negation.
6719         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6720         ieee875 long double macros and unions.  Correct output for large
6721         magnitude x.  Correct absolute value calculation.
6722         (__erfcl): Likewise.
6723         * math/libm-test.inc: Add tests for errors discovered in IBM long
6724         double versions of fmodl, remainderl, erfl and erfcl.
6726 2013-10-04  Alan Modra  <amodra@gmail.com>
6728         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6729         all uses of ieee854 long double macros and unions.  Simplify tests
6730         for long doubles that are fully specified by the high double.
6731         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6732         Likewise.
6733         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6734         Remove dead code too.
6735         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6736         (__ieee754_ynl): Likewise.
6737         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6738         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6739         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6740         Remove dead code too.
6741         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6742         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6743         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6744         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6745         Simplify.
6746         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6747         Simplify.
6748         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6749         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6750         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6751         Comment on variable precision.
6752         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6753         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6754         Likewise.
6755         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6756         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6757         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6758         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6759         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6761 2013-10-04  Alan Modra  <amodra@gmail.com>
6763         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6764         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6765         all uses of ieee854 long double macros and unions.
6766         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6767         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6768         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6769         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6770         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6771         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6772         Likewise.
6773         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6774         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6775         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6776         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6777         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6778         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6779         Simplify sign and nan test too.
6780         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6781         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6782         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6783         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6784         Likewise.
6785         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6786         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6787         Likewise.
6788         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6789         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6790         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6791         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6792         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6793         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6795 2013-10-04  Alan Modra  <amodra@gmail.com>
6797         * stdio-common/printf_size.c (__printf_size): Don't use
6798         union ieee854_long_double in fpnum union.
6799         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
6800         signbit macro to retrieve sign from long double.
6801         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6802         retrieve sign from long double.
6803         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6804         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6805         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6806         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6807         * math/test-misc.c (main): Don't use union ieee854_long_double.
6809 2013-10-04  Alan Modra  <amodra@gmail.com>
6811         [BZ #15680]
6812         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6813         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6814         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6815         calculation.  Remove unnecessary test for denormal exponent.
6816         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6817         Correct handling of denormals.  Avoid undefined shift behaviour.
6818         Correct normalisation of low mantissa when low double is denormal.
6819         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6820         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
6821         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6822         Correct normalisation of low mantissa.  Test for overflow of high
6823         mantissa and normalise.
6824         (ldbl_nearbyint): Use more readable constant for two52.
6825         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6826         (__mpn_construct_long_double): Fix test for overflow of high
6827         mantissa and correct normalisation.  Avoid undefined shift.
6829 2013-10-04  Alan Modra  <amodra@gmail.com>
6831         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6832         (union ibm_extended_long_double): Define as an array of ieee754_double.
6833         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6834         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6835         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6836         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6837         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6838         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6839         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6840         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6841         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6842         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6843         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6845 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
6847         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6848         page size instead of calling getpagesize.
6850         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6851         (LOCFILE_ALIGN_MASK): Likewise.
6852         (LOCFILE_ALIGN_UP): Likewise.
6853         (LOCFILE_ALIGNED_P): Likewise.
6854         * locale/programs/ld-collate.c (collate_output): Use the new
6855         macros instead of __alignof__ (int32_t).
6856         * locale/weight.h (findidx): Likewise.
6858 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
6860         [BZ #431]
6861         * manual/string.texi: Fix strncat and wcsncat.
6863 2013-10-03  Brooks Moses  <bmoses@google.com>
6865         [BZ #15915]
6866         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6867         * Makerules: ...here, and adjust associated comments.
6869 2013-10-02  Will Newton  <will.newton@linaro.org>
6871         * malloc/Makefile: Add tst-pvalloc.
6872         * malloc/tst-pvalloc.c: New file.
6874 2013-10-02  Will Newton  <will.newton@linaro.org>
6876         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6877         improve test coverage.
6879 2013-10-02  Will Newton  <will.newton@linaro.org>
6881         * malloc/Makefile: Add tst-posix_memalign.
6882         * malloc/tst-posix_memalign.c: New file.
6884 2013-10-01  Eric Blake  <eblake@redhat.com>
6886         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6887         Use __THROWNL rather than __THROW on static functions.
6889 2013-09-30  Petr Machata  <pmachata@redhat.com>
6891         * elf/elf.h (R_AARCH64_ABS16): New macro.
6892         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6893         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6894         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6895         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6896         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6897         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6898         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6899         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6900         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6901         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6902         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6903         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6904         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6905         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6906         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6907         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6908         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6909         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6910         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6911         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6912         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6913         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6914         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6915         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6916         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6917         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6918         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6919         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6920         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6921         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6922         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6923         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6924         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6925         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6926         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6927         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6928         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6929         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6930         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6931         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6932         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6933         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6934         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6935         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6936         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6937         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6938         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6939         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6940         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6941         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6942         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6943         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6944         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6945         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6946         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6947         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6948         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6949         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6950         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6951         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6952         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6953         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6954         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6955         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6956         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6957         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6958         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6959         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6960         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6961         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6962         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6963         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6964         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6965         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6966         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6967         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6968         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6969         (R_AARCH64_TLSDESC_LDR): Likewise.
6970         (R_AARCH64_TLSDESC_ADD): Likewise.
6971         (R_AARCH64_TLSDESC_CALL): Likewise.
6973 2013-09-30  Andreas Schwab  <schwab@suse.de>
6975         [BZ #15048]
6976         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6977         the nss database lookup.
6978         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6979         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6981 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
6983         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6985 2013-09-28  P. J. McDermott  <pj@pehjota.net>
6987         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6988         ${Bash-specific parameter/pattern/string} parameter expansion.
6989         * sysdeps/unix/make-syscalls.sh: Likewise.
6991 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6993         * sysdeps/sh/stackguard-macros.h: New file.
6995 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
6997         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6998         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6999         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
7000         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
7001         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7002         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
7004 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7006         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
7007         Fix thread ID register.
7009 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
7011         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
7012         [POSIX || UNIX98]: Require rather than permitting all symbols from
7013         <time.h>.
7014         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
7015         element of struct sched_param.
7016         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
7017         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
7018         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
7019         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
7020         constant.
7022 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
7024         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
7025         argument calculation.
7027 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
7029         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
7030         Expect macro.
7031         [POSIX] (pthread_attr_t): Do not require type.
7032         [POSIX] (pthread_cond_t): Likewise.
7033         [POSIX] (pthread_condattr_t): Likewise.
7034         [POSIX] (pthread_key_t): Likewise.
7035         [POSIX] (pthread_mutex_t): Likewise.
7036         [POSIX] (pthread_mutexattr_t): Likewise.
7037         [POSIX] (pthread_once_t): Likewise.
7038         [POSIX] (pthread_t): Likewise.
7039         [POSIX-based standards] (pthread_atfork): Expect function.
7041 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
7042             Richard Sandiford  <richard@codesourcery.com>
7044         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7045         (swap_endianness_p): New extern variable.
7046         (set_big_endian): New inline function.
7047         (maybe_swap_uint32): Likewise.
7048         (maybe_swap_uint32_array): Likewise.
7049         (maybe_swap_uint32_obstack): Likewise.
7050         * locale/programs/locfile.c: Include <stdbool.h>.
7051         (swap_endianness_p): New variable.
7052         (add_locale_uint32): Call maybe_swap_uint32.
7053         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7054         (write_locale_data): Call maybe_swap_uint32_array.
7055         * locale/programs/ld-collate.c (obstack_int32_grow): Call
7056         maybe_swap_uint32.
7057         (obstack_int32_grow_fast): Likewise.
7058         (output_weightwc): Call maybe_swap_uint32_obstack.
7059         (collate_output): Likewise.
7060         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7061         (OPT_LITTLE_ENDIAN): Likewise.
7062         (options): Add --little-endian and --big-endian options.
7063         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7064         * locale/programs/locarchive.c: Include "locfile.h".
7065         (GET): New macro.
7066         (SET): Likewise.
7067         (INC): Likewise.
7068         (create_archive): Use the new macros to access fields of
7069         structures directly mapped from or written to locale archives.
7070         (oldlocrecentcmp): Likewise.
7071         (enlarge_archive): Likewise.
7072         (insert_name): Likewise.
7073         (add_alias): Likewise.
7074         (add_locale): Likewise.
7075         (delete_locales_from_archive): Likewise.
7076         (show_archive_content): Likewise.
7077         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
7078         locale data.
7080 2013-09-24  Roland McGrath  <roland@hack.frob.com>
7082         * manual/freemanuals.texi: Updated from (newly) canonical copy at
7083         http://www.gnu.org/doc/freemanuals.texi.
7084         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7086 2013-09-24  Will Newton  <will.newton@linaro.org>
7088         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7089         macro.
7091 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
7093         * locale/hashval.h (compute_hashval): Interpret bytes of key as
7094         unsigned char.
7096 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
7098         * manual/threads.texi (POSIX Threads): Fix a typo.
7100 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7102         [BZ #14547]
7103         * string/tst-strcoll-overflow.c: New test case.
7104         * string/Makefile (xtests): Add tst-strcoll-overflow.
7105         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7106         cache if string sizes may cause integer overflow.
7108         [BZ #14547]
7109         * string/strcoll_l.c (coll_seq): New members rule, idx,
7110         save_idx and back_us.
7111         (get_next_seq_nocache): New function.
7112         (do_compare_nocache): New function.
7113         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7114         when malloc fails.
7116 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
7118         [BZ #15754]
7119         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7120         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7121         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7123         [BZ #15754]
7124         * elf/Makefile (tests): Add tst-ptrguard1.
7125         (tests-static): Add tst-ptrguard1-static.
7126         (tst-ptrguard1-ARGS): Define.
7127         (tst-ptrguard1-static-ARGS): Define.
7128         * elf/tst-ptrguard1.c: New file.
7129         * elf/tst-ptrguard1-static.c: New file.
7130         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7131         * sysdeps/i386/stackguard-macros.h: Likewise.
7132         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7133         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7134         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7135         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7136         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7137         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7139 2013-09-23  Hector Marco  <hecmargi@upv.es>
7140             Ismael Ripoll  <iripoll@disca.upv.es>
7141             Carlos O'Donell  <carlos@redhat.com>
7143         [BZ #15754]
7144         * sysdeps/generic/stackguard-macros.h: Define
7145         __pointer_chk_guard_local and POINTER_CHK_GUARD.
7146         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7147         Define __pointer_chk_guard_local.
7148         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7149         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7151 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
7153         [BZ #15859]
7154         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7156 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
7158         * include/string.h (__ffs): Declare as hidden.
7159         * string/ffs.c (__ffs): Define as hidden.
7160         * sysdeps/i386/ffs.c (__ffs): Likewise.
7161         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7162         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7163         * sysdeps/s390/ffs.c (__ffs): Likewise.
7164         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7166 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
7168         * NEWS: Mention malloc probes.
7170         * malloc/arena.c (new_heap): New memory_heap_new probe.
7171         (grow_heap): New memory_heap_more probe.
7172         (shrink_heap): New memory_heap_less probe.
7173         (heap_trim): New memory_heap_free probe.
7174         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7175         (systrim): New memory_sbrk_less probe.
7176         * manual/probes.texi: Document them.
7178         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7179         * manual/probes.texi: Document it.
7181         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7182         (__libc_realloc): Add memory_realloc_retry probe.
7183         (__libc_memalign): Add memory_memalign_retry probe.
7184         (__libc_valloc): Add memory_valloc_retry probe.
7185         (__libc_pvalloc): Add memory_pvalloc_retry probe.
7186         (__libc_calloc): Add memory_calloc_retry probe.
7187         * manual/probes.texi: Document them.
7189         * malloc/arena.c (get_free_list): Add probe
7190         memory_arena_reuse_free_list.
7191         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7192         and memory_arena_reuse.
7193         (arena_get2) [!PER_THREAD]: Likewise.
7194         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7195         memory_arena_reuse_realloc.
7196         * manual/probes.texi: Document them.
7198         * malloc/malloc.c (__libc_free): Add
7199         memory_mallopt_free_dyn_thresholds probe.
7200         (__libc_mallopt): Add multiple memory_mallopt probes.
7201         * manual/probes.texi: Document them.
7203         * malloc/malloc.c: Include stap-probe.h.
7204         (__libc_mallopt): Add memory_mallopt probe.
7205         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7206         * manual/probes.texi: New.
7207         * manual/Makefile (chapters): Add probes.
7208         * manual/threads.texi: Set next node.
7210 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
7212         [BZ #15963, #13985]
7213         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7214         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7215         Add `Chinese' to `nan' entry name.
7217 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7219         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7220         (POLYNOMIAL): Likewise.
7221         (TAYLOR_SINCOS): Likewise.
7222         (TAYLOR_SLOW): Likewise.
7223         (__sin): Use TAYLOR_SINCOS.
7224         (__cos): Likewise.
7225         (slow): Use TAYLOR_SLOW.
7226         (sloww): Likewise.
7227         (bsloww): Likewise.
7228         (csloww): Likewise.
7230 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7232         * stdlib/strtod_l.c: Fix buffer overrun.
7234 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7236         * benchtests/Makefile (bench): Add sincos.
7237         * benchtests/bench-sincos.c: New file.
7239         * math/libm-test.inc (cos_test_data): New test inputs.
7240         (sin_test_data): Likewise.
7242         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7243         macro.
7244         (__sin): Use it.
7245         (__cos): Likewise.
7246         (slow1): Likewise.
7247         (slow2): Likewise.
7248         (sloww1): Likewise.
7249         (sloww2): Likewise.
7250         (bsloww1): Likewise.
7251         (bsloww2): Likewise.
7252         (cslow2): Likewise.
7253         (csloww1): Likewise.
7254         (csloww2): Likewise.
7256         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7257         function.
7258         (__sin): Use it.
7259         (__cos): Likewise.
7261         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7262         gotos.
7263         (__cos): Likewise.
7265 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
7267         * config.h.in (HAVE_MIPS_NAN2008): New macro.
7268         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7269         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7270         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7271         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7272         * elf/cache.c (print_entry): Handle the new cache flags.
7274 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
7275             Aldy Hernandez  <aldyh@redhat.com>
7277         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7278         Change condition to [_SOFT_FLOAT].
7279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7286         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7288         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7290         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7291         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7292         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7293         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7294         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7295         declaration.
7297 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
7299         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7300         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7301         (__longjmp): Use LOAD_GP to load saved GPRs.
7302         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7303         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7304         (__sigsetjmp): Use SAVE_GP to save GPRs.
7306         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7307         Do not append -msoft-float.
7308         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7310 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7312         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7314 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
7316         [BZ #15966]
7317         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7318         (_FPU_GETCW): Use initial "__" on variable and field names but not
7319         on macro parameter name.
7320         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
7321         parentheses around reference to macro parameter.
7323 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
7325         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7326         prototype.
7327         (ctype_startup): Use uint32_t in cast and sizeof for
7328         ctype->charnames.
7330 2013-09-11  Jia Liu  <proljc@gmail.com>
7332         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7333         __daddr_t_defined.
7334         [__FreeBSD__]: Likewise.
7336 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
7338         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7339         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7340         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7341         (strchr): Remove __strchr_sse42 ifunc selection.
7342         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7343         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7345 2013-09-11  Will Newton  <will.newton@linaro.org>
7347         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7348         parameter to RES. Remove hardcoded 1000 value.
7349         * benchtests/bench-skeleton.c (main): Pass RES parameter
7350         to TIMING_INIT and multiply result by 1000.
7352 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7356 2013-09-11  Andreas Schwab  <schwab@suse.de>
7358         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7359         if not defined.
7360         (O_TMPFILE) [__USE_GNU]: Define.
7361         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7362         Define.
7364 2013-09-11  Will Newton  <will.newton@linaro.org>
7366         [BZ #15857]
7367         * malloc/malloc.c (__libc_memalign): Check the value of bytes
7368         does not overflow.
7370 2013-09-11  Will Newton  <will.newton@linaro.org>
7372         [BZ #15856]
7373         * malloc/malloc.c (__libc_valloc): Check the value of bytes
7374         does not overflow.
7376 2013-09-11  Will Newton  <will.newton@linaro.org>
7378         [BZ #15855]
7379         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7380         does not overflow.
7382 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
7384         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7385         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7386         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7387         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7388         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7390 2013-09-10  Allan McRae  <allan@archlinux.org>
7392         [BZ #15748]
7393         * manual/arith.texi (Parsing of Floats): Clarify
7394         cross-reference.
7396         [BZ #15849]
7397         * manual/install.texi (Running make install): Mention
7398         --enable-pt-chown.
7399         * INSTALL: Regenerated.
7401 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
7403         * csu/init-first.c (_init): Remove the !SHARED condition around
7404         FPU control word initialization.
7405         * elf/dl-support.c (_dl_fpu_control): New variable.
7406         (_dl_aux_init) <AT_FPUCW>: Initialize it.
7407         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7408         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7409         * math/test-fpucw-static.c: New file.
7410         * math/test-fpucw-ieee.c: New file.
7411         * math/test-fpucw-ieee-static.c: New file.
7412         * math/Makefile (tests): Add `test-fpucw-ieee' and
7413         `$(tests-static)'.
7414         (tests-static): New variable.
7415         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7416         dependency to...
7417         [($(build-shared),yes)]
7418         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7419         ... this.
7420         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7421         New dependency.
7423 2013-09-09  Allan McRae  <allan@archlinux.org>
7425         [BZ #15939]
7426         * manual/string.texi (Collation Functions): Fix typo in
7427         strcoll example.
7428         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7430         [BZ #15893]
7431         * stdlib/isomac.c (get_null_defines): Fix memory leak.
7433         [BZ #15892]
7434         * libio/memstream.c (open_memstream): Fix memory leak.
7435         * libio/wmemstream.c (open_wmemstream): Likewise.
7437         [BZ #15895]
7438         * nscd/netgroupcache.c: Fix nesting of ifdefs.
7440 2013-09-09  Will Newton  <will.newton@linaro.org>
7442         * malloc/Makefile: Add tst-realloc to tests.
7443         * malloc/tst-realloc.c: New file.
7445 2013-09-09  Allan McRae  <allan@archlinux.org>
7447         [BZ #15844]
7448         * COPYING: Update from GNU website to fix FSF address.
7449         * COPYING.LIB: Likewise.
7451 2013-09-06  David S. Miller  <davem@davemloft.net>
7453         * po/zh_TW.po: Update Chinese (traditional) translation from
7454         translation project.
7456 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
7457             Joseph Myers  <joseph@codesourcery.com>
7459         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7460         "localeinfo.h".
7461         (obstack_chunk_alloc): New macro.
7462         (obstack_chunk_free): Likewise.
7463         (record_offset): New function.
7464         (init_locale_data): Likewise.
7465         (align_locale_data): Likewise.
7466         (add_locale_empty): Likewise.
7467         (add_locale_raw_data): Likewise.
7468         (add_locale_raw_obstack): Likewise.
7469         (add_locale_string): Likewise.
7470         (add_locale_wstring): Likewise.
7471         (add_locale_uint32): Likewise.
7472         (add_locale_uint32_array): Likewise.
7473         (add_locale_char): Likewise.
7474         (start_locale_structure): Likewise.
7475         (end_locale_structure): Likewise.
7476         (start_locale_prelude): Likewise.
7477         (end_locale_prelude): Likewise.
7478         (write_locale_data): Take locale_file structure rather than an
7479         iovec.
7480         * locale/programs/locfile.h: Include "obstack.h".
7481         (struct locale_file): Change to store locale file contents instead
7482         of header.
7483         (init_locale_data): New prototype.
7484         (align_locale_data): Likewise.
7485         (add_locale_empty): Likewise.
7486         (add_locale_raw_data): Likewise.
7487         (add_locale_raw_obstack): Likewise.
7488         (add_locale_string): Likewise.
7489         (add_locale_wstring): Likewise.
7490         (add_locale_uint32): Likewise.
7491         (add_locale_uint32_array): Likewise.
7492         (add_locale_char): Likewise.
7493         (start_locale_structure): Likewise.
7494         (end_locale_structure): Likewise.
7495         (start_locale_prelude): Likewise.
7496         (end_locale_prelude): Likewise.
7497         (write_locale_data): Update prototype.
7498         * locale/programs/3level.h (struct TABLE): Remove result field.
7499         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7500         Use new locale_file interface.
7501         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7502         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7503         * locale/programs/ld-address.c (address_output): Use new
7504         locale_file interface.
7505         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7506         NO_ADD_LOCALE.
7507         (collate_finish): Don't call collseq_table_finalize.
7508         (collate_output): Use new locale_file interface.
7509         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7510         in file.
7511         (NO_FINALIZE): Change to NO_ADD_LOCALE.
7512         (TABLE): Move defines earlier in file.
7513         (ELEMENT): Likewise.
7514         (DEFAULT): Likewise.
7515         (wctrans_table_add): Move macro and inline function earlier in
7516         file.
7517         (struct wctype_table): Move type earlier in file.
7518         (add_locale_wctype_table): New static prototype.
7519         (struct locale_ctype_t): Use logical types instead of struct iovec
7520         pointers for members.
7521         (ctype_output): Use new locale_file interface.
7522         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
7523         new locale_file interface.
7524         (allocate_arrays): Update for use of new locale_file interface.
7525         * locale/programs/ld-identification.c (identification_output): Use
7526         new locale_file interface.
7527         * locale/programs/ld-measurement.c (measurement_output): Likewise.
7528         * locale/programs/ld-messages.c (messages_output): Likewise.
7529         * locale/programs/ld-monetary.c (monetary_output): Likewise.
7530         * locale/programs/ld-name.c (name_output): Likewise.
7531         * locale/programs/ld-numeric.c (numeric_output): Likewise.
7532         * locale/programs/ld-paper.c (paper_output): Likewise.
7533         * locale/programs/ld-telephone.c (telephone_output): Likewise.
7534         * locale/programs/ld-time.c (time_output): Likewise.
7536 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7538         * benchtests/Makefile: Add memrchr benchmark.
7539         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7540         benchmark as memrchr.
7541         * benchtests/bench-memrchr-ifunc.c: New file.
7542         * benchtests/bench-memrchr.c: New file.
7544 2013-09-06   Will Newton  <will.newton@linaro.org>
7546         * benchtests/Makefile (string-bench): Add memcpy.
7548 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
7549             Cong Wang  <amwang@redhat.com>
7551         [BZ #15850]
7552         * sysdeps/unix/sysv/linux/bits/in.h
7553         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7554         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7555         before __USE_KERNEL_IPV6_DEFS uses.
7556         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7557         IPPROTO_BEETPH.
7558         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7559         sockaddr_in6, or ipv6_mreq.
7561 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7563         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7564         memory access for final bytes in some large inputs.
7565         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7567 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7569         * string/test-memrchr.c: New file.
7570         * string/test-memrchr-ifunc.c: New file.
7571         * string/Makefile: Add new memrchr testcase.
7573 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
7575         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7576         fanotify_init returns EPERM.
7578 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
7580         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7581         errors.
7582         (top level): Treat second token from macro or constant entries for
7583         allowed headers as allowed.
7584         * include/complex.h: Condition internal declarations on
7585         [!_ISOMAC].
7586         * include/fenv.h: Condition include of <stdbool.h> and internal
7587         declarations on [!_ISOMAC].
7589 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
7591         [BZ #15923]
7592         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7594 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
7596         * configure.in (--enable-versioning): Remove configure option.
7597         (libc_cv_asm_symver_directive): Remove configure test.
7598         (libc_cv_ld_version_script_option): Likewise.
7599         (VERSIONING): Remove variable and AC_SUBST.
7600         (DO_VERSIONING): Remove AC_DEFINE.
7601         * configure: Regenerated.
7602         * config.h.in (DO_VERSIONING): Remove macro.
7603         * Makerules [$(versioning) = yes]: Change conditionals to
7604         [$(build-shared) = yes].
7605         * config.make.in (versioning): Remove variable.
7606         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7607         [$(build-shared) = yes].
7608         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7609         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7610         * elf/Makefile [$(versioning) = yes]: Change conditionals to
7611         [$(build-shared) = yes].
7612         * extra-lib.mk [$(versioning) = yes]: Likewise.
7613         * hurd/Makefile [$(versioning) = yes]: Likewise.
7614         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7615         [SHARED].
7616         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7617         [SHARED].
7618         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7619         [SHARED && !NO_HIDDEN].
7620         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7621         [SHARED].
7622         [SHARED && DO_VERSIONING]: Likewise..
7623         * libio/Makefile [$(versioning) = yes]: Change conditionals to
7624         [$(build-shared) = yes].
7625         * manual/install.texi (--disable-versioning): Remove
7626         documentation.
7627         * INSTALL: Regenerated.
7628         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7629         to [SHARED].
7630         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7631         [$(build-shared) = yes].
7632         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7633         * sysdeps/i386/i686/multiarch/strstr-c.c
7634         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7635         [SHARED && !NO_HIDDEN].
7636         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7637         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7638         * sysdeps/powerpc/powerpc32/dl-machine.c
7639         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7640         * sysdeps/powerpc/powerpc32/sysdep.h
7641         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7642         to [SHARED && PIC && !NO_HIDDEN].
7643         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7644         conditional to [SHARED].
7646 2013-09-04   Will Newton  <will.newton@linaro.org>
7648         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7649         * benchtests/bench-string.h: Include bench-timing.h instead
7650         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7651         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7652         call to HP_TIMING_DIFF_INIT.
7653         * benchtests/bench-memccpy.c: Use bench-timing.h macros
7654         instead of hp-timing.h macros.
7655         * benchtests/bench-memchr.c: Likewise.
7656         * benchtests/bench-memcmp.c: Likewise.
7657         * benchtests/bench-memcpy.c: Likewise.
7658         * benchtests/bench-memmem.c: Likewise.
7659         * benchtests/bench-memmove.c: Likewise.
7660         * benchtests/bench-memset.c: Likewise.
7661         * benchtests/bench-rawmemchr.c: Likewise.
7662         * benchtests/bench-strcasecmp.c: Likewise.
7663         * benchtests/bench-strcasestr.c: Likewise.
7664         * benchtests/bench-strcat.c: Likewise.
7665         * benchtests/bench-strchr.c: Likewise.
7666         * benchtests/bench-strcmp.c: Likewise.
7667         * benchtests/bench-strcpy.c: Likewise.
7668         * benchtests/bench-strcpy_chk.c: Likewise.
7669         * benchtests/bench-strlen.c: Likewise.
7670         * benchtests/bench-strncasecmp.c: Likewise.
7671         * benchtests/bench-strncat.c: Likewise.
7672         * benchtests/bench-strncmp.c: Likewise.
7673         * benchtests/bench-strncpy.c: Likewise.
7674         * benchtests/bench-strnlen.c: Likewise.
7675         * benchtests/bench-strpbrk.c: Likewise.
7676         * benchtests/bench-strrchr.c: Likewise.
7677         * benchtests/bench-strspn.c: Likewise.
7678         * benchtests/bench-strstr.c: Likewise.
7680 2013-09-04  Will Newton  <will.newton@linaro.org>
7682         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7684 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
7686         [BZ #15427]
7687         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7688         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7689         * math/libm-test.inc (lgamma_test_data): Add more tests.
7690         * sysdeps/i386/fpu/libm-test-ulps: Update.
7691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7693 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
7695         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7696         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7697         Add ifunc.
7698         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7699         Add strcmp-sse2-unaligned
7700         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7702 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
7704         * Versions.def (libc): Add GLIBC_2.19.
7706 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
7708         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7709         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7711 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
7713         [BZ #14155]
7714         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7715         intermediate calculations in recurrence.
7716         (__ieee754_ynf): Likewise.
7717         * math/libm-test.inc (jn_test_data): Do not allow spurious
7718         underflow exception.  Add more tests.
7719         (yn_test_data): Add more tests.
7720         * sysdeps/i386/fpu/libm-test-ulps: Update.
7721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7723 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
7725         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7727 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
7729         * csu/init-first.c: Fix then/than typos.
7730         * locale/programs/ld-collate.c: Likewise.
7731         * locale/programs/linereader.h: Likewise.
7732         * manual/charset.texi: Likewise.
7733         * manual/filesys.texi: Likewise.
7734         * manual/stdio.texi: Likewise.
7735         * manual/string.texi: Likewise.
7736         * stdlib/fmtmsg.c: Likewise.
7737         * sysdeps/i386/stpncpy.S: Likewise.
7738         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7739         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7740         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7741         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7743 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
7745         * elf/dl-open.c: Fix typos.
7746         * iconvdata/gbbig5.c: Likewise.
7747         * iconvdata/iso-2022-jp.c: Likewise.
7748         * iconv/gconv_int.h: Likewise.
7749         * iconv/loop.c: Likewise.
7750         * nis/rpcsvc/nis.h: Likewise.
7751         * resolv/ns_name.c: Likewise.
7752         * stdio-common/vfscanf.c: Likewise.
7753         * streams/stropts.h: Likewise.
7754         * sunrpc/rpc_thread.c: Likewise.
7755         * sysdeps/i386/strpbrk.S: Likewise.
7756         * sysdeps/ieee754/k_standard.c: Likewise.
7757         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7758         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7759         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7760         * sysdeps/mach/hurd/profil.c: Likewise.
7761         * sysdeps/s390/dl-procinfo.h: Likewise.
7762         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7763         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7764         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7765         * sysdeps/x86_64/dl-trampoline.S: Likewise.
7766         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7768 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
7770         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7771         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7773 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
7775         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7776         aix specific files.
7777         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7778         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7779         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7780         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7781         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7782         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7783         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7784         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7786 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
7787             Roland McGrath  <roland@hack.frob.com>
7789         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7790         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7792 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7794         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7795         __executable_start symbol instead of _start.
7797 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
7799         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7800         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7801         Move macros to...
7802         * sysdeps/gnu/ldsodefs.h: ... this new file.
7804         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7805         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7806         instead of ELFOSABI_LINUX.
7808         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7809         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7810         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7811         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7812         Likewise.
7813         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7814         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7815         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7816         Likewise.
7817         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7818         (ibm_extended_long_double): Add ieee_nan member.
7819         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7820         (do_test): New function.
7822         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7823         TEST_TRUNC.
7824         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7825         functions, renamed from truncdfsf_test, trunctfsf_test,
7826         trunctfdf_test.
7827         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7828         functions.
7829         (do_test): Run all these.
7831 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
7833         * argp/argp-help.c: Fix typos.
7834         * argp/argp-parse.c: Likewise.
7835         * debug/backtracesyms.c: Likewise.
7836         * elf/elf.h: Likewise.
7837         * malloc/malloc.c: Likewise.
7838         * nis/nis_print.c: Likewise.
7839         * resolv/res_comp.c: Likewise.
7840         * stdlib/stdlib.h: Likewise.
7841         * sunrpc/clnt_tcp.c: Likewise.
7842         * sunrpc/clnt_udp.c: Likewise.
7843         * sunrpc/clnt_unix.c: Likewise.
7844         * sysdeps/unix/bsd/ptsname.c: Likewise.
7845         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7846         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7848         Likewise.
7849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7850         Likewise.
7851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7852         Likewise.
7853         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7855 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7857         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7858         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7860 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
7862         [BZ #15897]
7863         * dlfcn/Makefile (tests): Add bug-dl-leaf.
7864         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7865         ($(objpfx)bug-dl-leaf): New rule.
7866         ($(objpfx)bug-dl-leaf.so): Likewise.
7867         ($(objpfx)bug-dl-leaf.out): Likewise.
7868         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7869         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7870         * dlfcn/bug-dl-leaf.c: New test.
7871         * dlfcn/bug-dl-leaf-lib.c: Likewise.
7872         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7873         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7874         (dlclose): Likewise.
7875         (dlmopen): Likewise.
7877 2013-08-27  Roland McGrath  <roland@hack.frob.com>
7879         * include/netdb.h [!_ISOMAC]:
7880         Don't include <tls.h>.
7881         (h_errno, __libc_h_errno): Move declaration and macros out of
7882         [_LIBC_REENTRANT].
7884         * include/resolv.h [_RESOLV_H_]:
7885         Don't include <tls.h>.
7886         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7887         * resolv/res_libc.c: Don't include <tls.h>.
7888         (_res): Use __attribute__ ((nocommon)) in place of
7889         __attribute__ ((section (".bss"))).
7891         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7892         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7894         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7896         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7897         only under [SIOCGIFCONF && SIOCGIFNETMASK].
7899         * resolv/res_mkquery.c: Include <sys/time.h>.
7901         * inet/ifreq.c: Moved to ...
7902         * sysdeps/unix/ifreq.c: ... here.
7903         * inet/ifreq.c: New file, true stub version.
7905         * socket/sa_len.c: New file.
7906         * socket/Makefile (aux): Add it.
7907         * sysdeps/unix/sysv/linux/Makefile
7908         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7909         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7910         and #include <socket/sa_len.c>.
7911         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7912         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7914         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7915         * bits/socket.h: ... here.
7917         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7918         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7919         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7921 2013-08-27  Andreas Schwab  <schwab@suse.de>
7923         [BZ #15736]
7924         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7925         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7926         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7927         * string/test-strcasecmp.c (test_main): Run tests in several
7928         locales.
7929         * string/test-strncasecmp.c (test_main): Likewise.
7931         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7932         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7933         to __strcasecmp_nonascii and __strncasecmp_nonascii.
7934         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7935         (__strncasecmp_ssse3) [PIC]: Likewise.
7937 2013-08-26  Roland McGrath  <roland@hack.frob.com>
7939         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7941         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7942         instead of explicitly declaring xdecrypt.
7943         * nis/nss_nis/nis-publickey.c: Likewise.
7945 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7947         [BZ #15890]
7948         * nscd/aicache.c: Include res_hconf.h.
7949         (addhstaiX): Initialize res_hconf.
7951 2013-08-26  Andreas Schwab  <schwab@suse.de>
7953         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7954         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7956 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7958         * nscd/aicache.c (addhstaiX): Fix indentation.
7960 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
7962         * configure.ac: Quote $build_pt_chown test.
7963         * configure: Regenerated.
7965 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
7967         [BZ #15532]
7968         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7969         * math/s_cexpf.c (__cexpf): Likewise.
7970         * math/s_cexpl.c (__cexpl): Likewise.
7971         * math/libm-test.inc (cexp_test_data): Correct expected return
7972         value for NaN + i0.  Add another test.
7974 2013-08-22  David S. Miller  <davem@davemloft.net>
7976         * po/ca.po: Update Catalan translation from translation project.
7977         * po/uk.po: Add Ukrainian translations from translation project.
7979 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
7981         [BZ #15797]
7982         * math/s_fdim.c (__fdim): Check for infinite arguments if result
7983         is infinite, not alongside NaN test.
7984         * math/s_fdimf.c (__fdimf): Likewise.
7985         * math/s_fdiml.c (__fdiml): Likewise.
7986         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
7987         errno is unchanged.
7989 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
7991         * argp/argp-help.c: Fix typos.
7992         * crypt/speeds.c: Likewise.
7993         * csu/check_fds.c: Likewise.
7994         * elf/dl-load.c: Likewise.
7995         * elf/dl-open.c: Likewise.
7996         * elf/reldep3.c: Likewise.
7997         * elf/reldep.c: Likewise.
7998         * elf/sprof.c: Likewise.
7999         * iconv/iconv_charmap.c: Likewise.
8000         * iconv/skeleton.c: Likewise.
8001         * iconv/strtab.c: Likewise.
8002         * io/lockf64.c: Likewise.
8003         * libio/libioP.h: Likewise.
8004         * resolv/gai_notify.c: Likewise.
8005         * resolv/ns_name.c: Likewise.
8006         * resolv/ns_samedomain.c: Likewise.
8007         * resolv/res_send.c: Likewise.
8008         * stdlib/random.c: Likewise.
8009         * sunrpc/rpc/xdr.h: Likewise.
8010         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
8011         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8012         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8013         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8014         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8015         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8016         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8017         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8018         * sysdeps/mach/hurd/check_fds.c: Likewise.
8019         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8020         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8021         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8022         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8023         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8024         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8025         * sysdeps/pthread/aio_notify.c: Likewise.
8026         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
8027         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
8028         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
8029         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8030         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8032 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8034         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
8035         version if bit_Slow_SSE4_2 is set.
8036         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8037         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8039 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8041         [BZ #15867]
8042         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8043         trampoline stack frame information.
8044         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8045         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8046         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8047         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8048         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8049         * sysdeps/unix/sysv/linux/powerpc/init-first.c
8050         (_libc_vdso_platform_setup): Initialize the signal trampolines.
8051         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8052         sa_flags value.
8053         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8054         interrupting a syscall and set with option SA_SIGINFO.
8056 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
8058         [BZ #15531]
8059         * math/s_cproj.c (__cproj): Only return an infinity if one part of
8060         argument is infinite.
8061         * math/s_cprojf.c (__cprojf): Likewise.
8062         * math/s_cprojl.c (__cprojl): Likewise.
8063         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8064         * math/libm-test.inc (cproj_test_data): Add more tests.
8066         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8068         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8069         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8070         size.  Use __ffs to determine corresponding shift.
8072 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
8073             Roland McGrath  <roland@hack.frob.com>
8075         * Makefile (INSTALL): Remove trailing blank lines from output of
8076         makeinfo.
8078 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8080         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8081         Align 32 bit compat elf_greg to 8 bytes.
8083 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8085         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8087 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8089         * string/strcoll_l.c (coll_seq): New structure.
8090         (get_next_seq_cached): New function.
8091         (get_next_seq): New function.
8092         (do_compare): New function.
8093         (STRCOLL): Use GNU style definition.  Simplify implementation
8094         by using get_next_seq, get_next_seq_cached and do_compare.
8096 2013-08-16  Florian Weimer  <fweimer@redhat.com>
8098         [BZ #14699]
8099         CVE-2013-4237
8100         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8101         member.
8102         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8103         member.
8104         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8105         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8106         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
8107         conditional.
8108         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8109         GETDENTS_64BIT_ALIGNED.
8110         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8111         * manual/filesys.texi (Reading/Closing Directory): Document
8112         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
8113         strongly.
8114         * manual/conf.texi (Limits for Files): Add portability note to
8115         NAME_MAX, PATH_MAX.
8116         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8118 2013-08-13  Andreas Schwab  <schwab@suse.de>
8120         [BZ #15749]
8121         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8122         of fabs.
8123         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8124         LDBL_MAX_EXP >= 16384]: Add tests for it.
8126 2013-08-12  David S. Miller  <davem@davemloft.net>
8128         * version.h (RELEASE): Set to "development".
8129         (VERSION): Set to "2.18.90".
8130         * NEWS: Add 2.19 section.
8132 2013-08-03  David S. Miller  <davem@davemloft.net>
8134         * po/ko.po: Update Korean translation from translation project.
8136 2013-08-01  David S. Miller  <davem@davemloft.net>
8138         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
8139         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8140         Bilka.
8142 2013-07-30  David S. Miller  <davem@davemloft.net>
8144         * po/fr.po: Update French translation from translation project.
8146 2013-07-28  David S. Miller  <davem@davemloft.net>
8148         * po/cs.po: Update Czech translation from translation project.
8150         * po/sv.po: Update Swedish translation from translation project.
8152 2013-07-27  David S. Miller  <davem@davemloft.net>
8154         * po/eo.po: Update Esperanto translation from translation project.
8156         * po/vi.po: Update Vietnamese translation from translation project.
8158         * po/de.po: Update German translation from translation project.
8160 2013-07-26  David S. Miller  <davem@davemloft.net>
8162         * po/bg.po: Update Bulgarian translation from translation project.
8164         * po/nl.po: Update Dutch translation from translation project.
8165         * po/pl.po: Update Polish translation from translation project.
8166         * po/ru.po: Update Russian translation from translation project.
8168 2013-07-24  David S. Miller  <davem@davemloft.net>
8170         * po/libc.pot: Update.
8172 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8174         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8175         variable page size.
8176         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8177         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8178         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8180 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8182         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8184 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8185             Andreas Schwab  <schwab@suse.de>
8186             Roland McGrath  <roland@hack.frob.com>
8187             Joseph Myers  <joseph@codesourcery.com>
8188             Carlos O'Donell  <carlos@redhat.com>
8190         [BZ #15755]
8191         * config.h.in: Define HAVE_PT_CHOWN.
8192         * config.make.in (build-pt-chown): New variable.
8193         * configure.in (--enable-pt_chown): New configure option.
8194         * configure: Regenerate.
8195         * login/Makefile: Include Makeconfig.  Build pt_chown only if
8196         build-pt-chown is enabled.
8197         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8198         pt_chown to fix pty ownership.
8199         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8200         CLOSE_ALL_FDS.
8201         * manual/install.texi (Configuring and compiling): Mention
8202         --enable-pt_chown. Add @findex for grantpt.
8203         * INSTALL: Regenerate.
8205 2013-07-20  David S. Miller  <davem@davemloft.net>
8207         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8208         difference between 32-bit and 64-bit.
8210 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
8212         [BZ #15711]
8213         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8214         Avoid system header dependency with -ffreestanding.
8215         ($(objpfx)bits/syscall%d): Likewise.
8217 2013-07-13  David S. Miller  <davem@davemloft.net>
8219         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8220         underflows from atanl/atan2l due to bug 15319.
8221         (casinh_test_data): Likewise.
8223 2013-07-07  David S. Miller  <davem@davemloft.net>
8225         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8227 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
8229         * sysdeps/i386/fpu/libm-test-ulps: Update.
8230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8232 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8234         * configure.in (--enable-lock-elision): Fix message text.
8235         * INSTALL: Regenerate.
8236         * configure: Regenerate.
8238 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8242 2013-07-03  Andreas Jaeger  <aj@suse.de>
8244         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8245         define.
8246         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8247         (ptrace_peeksiginfo_args): Add.
8248         (__ptrace_peeksiginfo_flags): Add.
8249         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8250         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8251         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8253 2013-07-03  Allan McRae  <allan@archlinux.org>
8255         * sysdeps/i386/fpu/libm-test-ulps: Update.
8257 2013-07-02  David S. Miller  <davem@davemloft.net>
8259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8261 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
8263         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8265 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
8267         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8270 2013-07-02  Andi Kleen <ak@linux.intel.com>
8272         * config.h.in (ENABLE_LOCK_ELISION): Add.
8273         * configure.in (--enable-lock-elision): Add option.
8274         * manual/install.texi: Document --enable lock elision.
8275         * configure: Regenerate
8276         * INSTALL: Regenerate.
8278 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8280         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8281         SSE4.2 strcasecmp for libc.a.
8282         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8284 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
8286         [BZ #13304]
8287         * soft-fp/op-common.h (_FP_FMA): New macro.
8288         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8289         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
8290         (_FP_MUL_MEAT_1_imm): ... here.
8291         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
8292         (_FP_MUL_MEAT_1_wide): ... here.
8293         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
8294         (_FP_MUL_MEAT_1_hard): ... here.
8295         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8296         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
8297         (_FP_MUL_MEAT_2_wide): ... here.
8298         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
8299         (_FP_MUL_MEAT_2_wide_3mul): ... here.
8300         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
8301         (_FP_MUL_MEAT_2_gmp): ... here.
8302         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8303         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
8304         (_FP_MUL_MEAT_4_wide): ... here.
8305         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
8306         (_FP_MUL_MEAT_4_gmp): ... here.
8307         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8308         (_FP_WFRACBITS_DW_S): Likewise.
8309         (_FP_WFRACXBITS_DW_S): Likewise.
8310         (_FP_HIGHBIT_DW_S): Likewise.
8311         (FP_FMA_S): Likewise.
8312         (_FP_FRAC_HIGH_DW_S): Likewise.
8313         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8314         (_FP_WFRACBITS_DW_D): Likewise.
8315         (_FP_WFRACXBITS_DW_D): Likewise.
8316         (_FP_HIGHBIT_DW_D): Likewise.
8317         (FP_FMA_D): Likewise.
8318         (_FP_FRAC_HIGH_DW_D): Likewise.
8319         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8320         (_FP_WFRACBITS_DW_E): Likewise.
8321         (_FP_WFRACXBITS_DW_E): Likewise.
8322         (_FP_HIGHBIT_DW_E): Likewise.
8323         (FP_FMA_E): Likewise.
8324         (_FP_FRAC_HIGH_DW_E): Likewise.
8325         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8326         (_FP_WFRACBITS_DW_Q): Likewise.
8327         (_FP_WFRACXBITS_DW_Q): Likewise.
8328         (_FP_HIGHBIT_DW_Q): Likewise.
8329         (FP_FMA_Q): Likewise.
8330         (_FP_FRAC_HIGH_DW_Q): Likewise.
8331         * soft-fp/fmasf4.c: New file.
8332         * soft-fp/fmadf4.c: Likewise.
8333         * soft-fp/fmatf4.c: Likewise.
8335 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8337         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8338         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8339         Silvermont.
8340         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8341         macro.
8342         (index_Slow_SSE4_2): Likewise.
8343         (index_Prefer_PMINUB_for_stringop): Likewise.
8344         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8345         bit_Slow_SSE4_2 is set.
8346         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8347         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8349 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8351         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8352         rtld_global._dl_hwcap2.
8353         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8354         POWER8.
8355         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8356         POWER8 feature descriptions defined in _dl_hwcap2.
8357         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8358         string handling for POWER8 feature bits.
8359         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8360         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8361         _dl_powerpc_cap_flags.
8362         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8363         * sysdeps/powerpc/rtld-global-offsets.sym
8364         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8365         _dl_hwcap2 in the rtld_global_ro structure.
8367 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8369         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8370         hardware capabilities in support of AT_HWCAP2.
8371         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8372         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8373         GLRO(dl_hwcap2).
8374         (_dl_show_auxv): Add support for calling _dl_procinfo to display
8375         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
8376         explicitly the unknown a_type display mechanism is used.
8377         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8378         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8379         struct member.
8380         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8381         to macro prototype for AT_HWCAP2 support.
8382         * sysdeps/i386/dl-procinfo.h: Likewise.
8383         * sysdeps/s390/dl-procinfo.h: Likewise.
8384         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8385         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
8386         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
8387         return -1 for unknown a_type display fallback.
8388         * sysdeps/sparc/dl-procinfo.h: Likewise.
8389         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8390         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8392 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
8394         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8395         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8397 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
8399         [BZ #12492]
8400         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8401         mprotect making __stack_prot writable.
8403 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
8404             Joseph Myers  <joseph@codesourcery.com>
8406         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8407         as being properly aligned.
8409 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
8411         * dlfcn/modstatic5.c: New file.
8412         * dlfcn/tststatic5.c: New file.
8413         * dlfcn/Makefile (tests): Add tststatic5.
8414         (tests-static): Likewise.
8415         (modules-names): Add modstatic5.
8416         (tststatic5-ENV): New variable.
8417         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8419         [BZ #15022]
8420         * elf/dl-support.c (_dl_main_map): New variable.
8421         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8422         (_dl_nns, _dl_load_adds): Set to 1.
8423         (_dl_initial_searchlist): Refer to _dl_main_map.
8424         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8425         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8426         call to _dl_get_origin.
8427         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8428         around call_map.
8429         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8430         * dlfcn/modstatic3.c: New file.
8431         * dlfcn/tststatic3.c: New file.
8432         * dlfcn/tststatic4.c: New file.
8433         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8434         (tests-static): Likewise.
8435         (modules-names): Add modstatic3.
8436         (tststatic3-ENV, tststatic4-ENV): New variables.
8437         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8438         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8440 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
8442         * configure.in (CC): Require GCC version 4.4 or later.
8443         * configure: Regenerated.
8444         * manual/install.texi (Tools for Compilation): Update GCC version
8445         requirement.
8446         * INSTALL: Regenerated.
8448 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8450         [BZ #15674]
8451         * string/test-memcmp.c (check2): New.
8452         (main): Call check2.
8454         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8456 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
8458         [BZ #15022]
8459         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8460         over to...
8461         (dl_open_worker) [!SHARED]: ... here.
8463 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8465         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8467 2013-06-25  Richard Henderson  <rth@redhat.com>
8469         * locale/programs/locarchive.c: Include <libc-internal.h>
8471 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
8473         * manual/texinfo.tex: Update to version 2013-06-21.17, with
8474         trailing whitespace removed.
8476 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
8478         [BZ #10283]
8479         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8480         * locale/programs/locarchive.c: Include libc-mmap.h.
8481         (prepare_address_space): Take two new outputs (the mmap base and len).
8482         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
8483         values.
8484         (create_archive): Declare new mmap base and len values for
8485         prepare_address_space, and store the result in ah.
8486         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8487         (enlarge_archive): If ah->mmap_base is not NULL, use that and
8488         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8489         Declare new mmap base and len values for
8490         prepare_address_space, and store the result in new_ah.
8491         (open_archive): Declare new mmap base and len values for
8492         prepare_address_space, and store the result in ah.
8493         (close_archive): If ah->mmap_base is not NULL, use that and
8494         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8495         * sysdeps/generic/libc-mmap.h: New file.
8497 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
8499         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8500         (ALIGN_UP): Likewise.
8501         (PTR_ALIGN_DOWN): Likewise.
8502         (PTR_ALIGN_UP): Likewise.
8504 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8506         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8507         entry mapped to PPC_PLATFORM_POWER8.
8508         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8509         POWER8.
8510         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8511         (_dl_string_platform): Add case for exporting platform position for
8512         POWER8.
8513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8514         search path to sysdeps/powerpc/powerpc32/power8 directory.
8515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8516         search path to sysdeps/powerpc/powerpc64/power8 directory.
8517         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8518         power7 directories.
8519         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8520         power7 directories.
8522 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8524         * INSTALL: Regenerate.
8526         * nscd/connections.c (nscd_init): Fix comment.
8528 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
8530         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8532         [BZ #15667]
8533         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8534         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8536 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
8538         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8539         DL_DST_REQ_STATIC.
8540         (DL_DST_REQ_STATIC): Remove macro.
8542 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
8544         [BZ #7006]
8545         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8546         with a shift of 0 bits.
8548 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
8550         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8551         $(tststatic-ENV).
8553 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8555         [BZ #15655]
8556         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8558 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8560         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8561         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8562         accepts -fno-tree-loop-distribute-patterns.
8563         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8564         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8565         recursive call.
8566         * string/memset.c (memset): Likewise.
8567         * string/test-memmove.c (simple_memmove): Disable loop transformation
8568         to library calls.
8569         * string/test-memset.c (simple_memset): Likewise.
8570         * benchtests/bench-memmove.c (simple_memmove): Likewise.
8571         * benchtests/bench-memset.c (simple_memset): Likewise.
8572         * configure: Regenerated.
8574 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
8576         * math/test-misc.c (main): Ignore fesetround failure when failures
8577         of subsequent rounding tests would be ignored.
8579         [BZ #15654]
8580         * math/fedisblxcpt.c (fedisableexcept): Return 0.
8581         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8582         * math/fegetenv.c (__fegetenv): Return 0.
8583         * math/fegetexcept.c (fegetexcept): Return 0.
8584         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8585         FE_TONEAREST.
8586         * math/feholdexcpt.c (feholdexcept): Return 0.
8587         * math/fesetenv.c (__fesetenv): Return 0.
8588         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8589         argument FE_TONEAREST.
8590         * math/feupdateenv.c (__feupdateenv): Return 0.
8591         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8593 2013-06-18  Roland McGrath  <roland@hack.frob.com>
8595         * elf/rtld-Rules (rtld-compile-command.S): New variable.
8596         (rtld-compile-command.s, rtld-compile-command.c): New variables.
8597         ($(objpfx)rtld-%.os rules): Use them.
8599 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8601         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8602         fields.
8604 2013-06-17  Roland McGrath  <roland@hack.frob.com>
8606         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8607         length of target pattern, then descending length of dependency pattern.
8608         * configure.in (AWK): Require gawk 3.1.2 or newer.
8609         * manual/install.texi (Tools for Compilation): Say that we do.
8610         * configure: Regenerated.
8612         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8613         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8614         * scripts/sysd-rules.awk: ... this new script.
8615         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8616         than a glob-style pattern.
8618 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
8620         * math/test-misc.c (main): Do not treat incorrectly rounded
8621         conversions as failure unless ROUNDING_TESTS passes.
8623 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
8625         [BZ #15631]
8626         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8627         restore exception state around main square root computation, then
8628         check for inexactness explicitly.
8630         * math/libm-test.inc (fma_test_data): Add another test.
8632 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8634         * manual/threads.texi (Non-POSIX Extensions): New document
8635         node.  Document pthread_getattr_default_np and
8636         pthread_setattr_default_np.
8638         * Versions.def (libpthread): Add GLIBC_2.18.
8639         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8641         Likewise.
8642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8643         Likewise.
8644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8645         Likewise.
8646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8647         Likewise.
8648         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8649         Likewise.
8650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8651         Likewise.
8652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8653         Likewise.
8654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8655         Likewise.
8656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8657         Likewise.
8659 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8661         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8662         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8664 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8665             H.J. Lu  <hjl.tools@gmail.com>
8667         [BZ #15627]
8668         * sysdeps/x86_64/rtld-memset.c: Remove file.
8669         * sysdeps/x86_64/rtld-memset.S: New file.
8671 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
8673         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8674         (test_in_one_mode): Take arguments for whether the rounding mode
8675         is supported for each floating-point type.
8676         (do_test): Pass new arguments to test_in_one_mode using
8677         ROUNDING_TESTS.
8679 2013-06-13  Roland McGrath  <roland@hack.frob.com>
8681         * posix/tst-waitid.c (do_test): Distinguish different instances of
8682         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
8683         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8684         before entering the kernel for waitpid.
8686 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8688         * NEWS: Fix note on clock function precision.  Text by Roland
8689         McGrath.
8691 2013-06-13  Roland McGrath  <roland@hack.frob.com>
8693         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8694         it into place only when and if the sanity check passes.
8696 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
8698         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8699         output for whether conversion result is exact.  Take argument
8700         indicating whether type is IBM long double.
8701         (round_for_all): Change need_exact field to ibm_ld.
8702         * stdlib/tst-strtod-round.c (struct exactness): New type.
8703         (struct test): Change bool ld_ok field to struct exactness exact.
8704         (TEST): Update all definitions for change to field.
8705         (tests): Regenerate array contents.
8706         (test_in_one_mode): Take pointer to new field instead of old ld_ok
8707         field value.  Check for IBM long double here.
8708         (do_test): Update calls to test_in_one_mode.
8710 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8712         [BZ #12515]
8713         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8714         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8716 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8718         [BZ #15605]
8719         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8720         generated by the compiler on loop optimizations.
8721         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8722         general definitions.
8724 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
8726         * math/bug-nextafter.c: Include <math-tests.h>.
8727         (main): Only test for exceptions if EXCEPTION_TESTS is true for
8728         the relevant type.
8729         * math/bug-nexttoward.c: Include <math-tests.h>.
8730         (main): Only test for exceptions if EXCEPTION_TESTS is true for
8731         the relevant type.
8732         * math/test-misc.c: Include <math-tests.h>.
8733         (main): Only test for exceptions if EXCEPTION_TESTS is true for
8734         the relevant type.
8736 2013-06-12  Andreas Jaeger  <aj@suse.de>
8738         * po/ia.po: Update Interlingua translation from translation
8739         project.
8741 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8743         * include/fenv.h: Include stdbool.h.
8744         (struct rm_ctx): New structure.
8745         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8746         Define macro.
8747         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8748         (SET_RESTORE_ROUNDF): Likewise.
8749         (SET_RESTORE_ROUNDL): Likewise.
8750         (SET_RESTORE_ROUND_NOEX): Likewise.
8751         (SET_RESTORE_ROUND_NOEXF): Likewise.
8752         (SET_RESTORE_ROUND_NOEXL): Likewise.
8753         (SET_RESTORE_ROUND_53BIT): Likewise.
8754         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8755         (libc_feresetround_noexf_ctx): Likewise.
8756         (libc_feresetround_noexl_ctx): Likewise.
8757         (libc_feholdsetround_53bit_ctx): Likewise.
8758         (libc_feresetround_53bit_ctx): Likewise.
8759         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8760         (libc_feholdexcept_setround_sse_ctx): New function.
8761         (libc_fesetenv_sse_ctx): Likewise.
8762         (libc_feupdateenv_sse_ctx): Likewise.
8763         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8764         (libc_feholdexcept_setround_387_ctx): Likewise.
8765         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8766         (libc_feholdsetround_387_prec_ctx): Likewise.
8767         (libc_feholdsetround_387_ctx): Likewise.
8768         (libc_feholdsetround_387_53bit_ctx): Likewise.
8769         (libc_feholdsetround_sse_ctx): Likewise.
8770         (libc_feresetround_sse_ctx): Likewise.
8771         (libc_feresetround_387_ctx): Likewise.
8772         (libc_feupdateenv_387_ctx): Likewise.
8773         (libc_feholdexcept_setroundf_ctx): Define macro.
8774         (libc_fesetenvf_ctx): Likewise.
8775         (libc_feupdateenvf_ctx): Likewise.
8776         (libc_feholdsetroundf_ctx): Likewise.
8777         (libc_feresetroundf_ctx): Likewise.
8778         (libc_feholdexcept_setround_ctx): Likewise.
8779         (libc_fesetenv_ctx): Likewise.
8780         (libc_feupdateenv_ctx): Likewise.
8781         (libc_feholdsetround_ctx): Likewise.
8782         (libc_feresetround_ctx): Likewise.
8783         (libc_feholdexcept_setroundl_ctx): Likewise.
8784         (libc_feupdateenvl_ctx): Likewise.
8785         (libc_feholdsetroundl_ctx): Likewise.
8786         (libc_feresetroundl_ctx): Likewise.
8787         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8788         (libc_feresetround_53bit_ctx): Likewise.
8790 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8792         * locale/iso-639.def: Convert to UTF-8.
8794 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
8796         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8797         (EXCEPTION_TESTS_double): Likewise.
8798         (EXCEPTION_TESTS_long_double): Likewise.
8799         (EXCEPTION_TESTS): Likewise.
8800         * math/libm-test.inc (test_exceptions): Only test exceptions if
8801         EXCEPTION_TESTS (FLOAT).
8803 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8805         * benchtests/Makefile (string-bench): Add strcpy_chk and
8806         stpcpy_chk.
8807         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8808         * benchtests/bench-stpcpy_chk.c: New file.
8809         * benchtests/bench-strcpy_chk-ifunc.c: New file.
8810         * benchtests/bench-strcpy_chk.c: New file.
8811         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8812         code.
8813         (do_test): Likewise.
8815 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8817         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8818         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8819         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8820         with tabs where appropriate.
8821         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8822         dl-procinfo.h.
8823         [PPC_PLATFORM_PPC440]: Likewise.
8824         [PPC_PLATFORM_PPC464]: Likewise.
8825         [PPC_PLATFORM_PPC476]: Likewise.
8826         (_dl_string_platform): Add support for detecting ppc405, ppc440,
8827         ppc464, and ppc476 platform strings merging from ports/
8828         dl-procinfo.h.
8830 2013-06-11  Andreas Schwab  <schwab@suse.de>
8832         [BZ #14991]
8833         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8834         (from_ucs4_idx): Regenerate.
8835         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8836         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8837         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8838         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8839         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8840         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8841         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8842         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8843         from FROM_LOOP and TO_LOOP specific macros.
8844         (BODY): Handle combining characters.
8845         * iconvdata/BIG5HKSCS.irreversible: Update.
8846         * iconvdata/BIG5HKSCS.precomposed: New file.
8847         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8848         characters.
8849         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8851 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8853         * include/sys/time.h: Fix indentation and add copyright header.
8855         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8856         (do_test): Likewise.
8857         * string/test-memchr.c (do_one_test): Likewise.
8858         (do_test): Likewise.
8859         * string/test-memcmp.c (do_one_test): Likewise.
8860         (do_test): Likewise.
8861         * string/test-memcpy.c (do_one_test): Likewise.
8862         (do_test): Likewise.
8863         * string/test-memmem.c (do_one_test): Likewise.
8864         (do_test): Likewise.
8865         (do_random_tests): Likewise.
8866         * string/test-memmove.c (do_one_test): Likewise.
8867         (do_test): Likewise.
8868         * string/test-memset.c (do_one_test): Likewise.
8869         (do_test): Likewise.
8870         * string/test-rawmemchr.c (do_one_test): Likewise.
8871         (do_test): Likewise.
8872         * string/test-strcasecmp.c (do_one_test): Likewise.
8873         (do_test): Likewise.
8874         * string/test-strcasestr.c (do_one_test): Likewise.
8875         (do_test): Likewise.
8876         * string/test-strcat.c (do_one_test): Likewise.
8877         (do_test): Likewise.
8878         * string/test-strchr.c (do_one_test): Likewise.
8879         (do_test): Likewise.
8880         * string/test-strcmp.c (do_one_test): Likewise.
8881         (do_test): Likewise.
8882         * string/test-strcpy.c (do_one_test): Likewise.
8883         (do_test): Likewise.
8884         * string/test-string.h: Likewise.
8885         (test_init): Likewise.
8886         * string/test-strlen.c (do_one_test): Likewise.
8887         (do_test): Likewise.
8888         * string/test-strncasecmp.c (do_one_test): Likewise.
8889         (do_test): Likewise.
8890         * string/test-strncat.c (do_one_test): Likewise.
8891         (do_test): Likewise.
8892         * string/test-strncmp.c (do_one_test): Likewise.
8893         (do_test_limit): Likewise.
8894         (do_test): Likewise.
8895         * string/test-strncpy.c (do_one_test): Likewise.
8896         (do_test): Likewise.
8897         * string/test-strnlen.c (do_one_test): Likewise.
8898         (do_test): Likewise.
8899         * string/test-strpbrk.c (do_one_test): Likewise.
8900         (do_test): Likewise.
8901         * string/test-strrchr.c (do_one_test): Likewise.
8902         (do_test): Likewise.
8903         * string/test-strspn.c (do_one_test): Likewise.
8904         (do_test): Likewise.
8905         * string/test-strstr.c (do_one_test): Likewise.
8906         (do_test): Likewise.
8908         * benchtests/Makefile (string-bench): Add string benchmarks.
8909         * benchtests/bench-bcopy-ifunc.c: New file.
8910         * benchtests/bench-bcopy.c: New file.
8911         * benchtests/bench-bzero-ifunc.c: New file.
8912         * benchtests/bench-bzero.c: New file.
8913         * benchtests/bench-memccpy-ifunc.c: New file.
8914         * benchtests/bench-memccpy.c: New file.
8915         * benchtests/bench-memchr-ifunc.c: New file.
8916         * benchtests/bench-memchr.c: New file.
8917         * benchtests/bench-memcmp-ifunc.c: New file.
8918         * benchtests/bench-memcmp.c: New file.
8919         * benchtests/bench-memmem-ifunc.c: New file.
8920         * benchtests/bench-memmem.c: New file.
8921         * benchtests/bench-memmove-ifunc.c: New file.
8922         * benchtests/bench-memmove.c: New file.
8923         * benchtests/bench-mempcpy-ifunc.c: New file.
8924         * benchtests/bench-mempcpy.c: New file.
8925         * benchtests/bench-memset-ifunc.c: New file.
8926         * benchtests/bench-memset.c: New file.
8927         * benchtests/bench-rawmemchr-ifunc.c: New file.
8928         * benchtests/bench-rawmemchr.c: New file.
8929         * benchtests/bench-stpcpy-ifunc.c: New file.
8930         * benchtests/bench-stpcpy.c: New file.
8931         * benchtests/bench-stpncpy-ifunc.c: New file.
8932         * benchtests/bench-stpncpy.c: New file.
8933         * benchtests/bench-strcasecmp-ifunc.c: New file.
8934         * benchtests/bench-strcasecmp.c: New file.
8935         * benchtests/bench-strcasestr-ifunc.c: New file.
8936         * benchtests/bench-strcasestr.c: New file.
8937         * benchtests/bench-strcat-ifunc.c: New file.
8938         * benchtests/bench-strcat.c: New file.
8939         * benchtests/bench-strchr-ifunc.c: New file.
8940         * benchtests/bench-strchr.c: New file.
8941         * benchtests/bench-strchrnul-ifunc.c: New file.
8942         * benchtests/bench-strchrnul.c: New file.
8943         * benchtests/bench-strcmp-ifunc.c: New file.
8944         * benchtests/bench-strcmp.c: New file.
8945         * benchtests/bench-strcpy-ifunc.c: New file.
8946         * benchtests/bench-strcpy.c: New file.
8947         * benchtests/bench-strcspn-ifunc.c: New file.
8948         * benchtests/bench-strcspn.c: New file.
8949         * benchtests/bench-strlen-ifunc.c: New file.
8950         * benchtests/bench-strlen.c: New file.
8951         * benchtests/bench-strncasecmp-ifunc.c: New file.
8952         * benchtests/bench-strncasecmp.c: New file.
8953         * benchtests/bench-strncat-ifunc.c: New file.
8954         * benchtests/bench-strncat.c: New file.
8955         * benchtests/bench-strncmp-ifunc.c: New file.
8956         * benchtests/bench-strncmp.c: New file.
8957         * benchtests/bench-strncpy-ifunc.c: New file.
8958         * benchtests/bench-strncpy.c: New file.
8959         * benchtests/bench-strnlen-ifunc.c: New file.
8960         * benchtests/bench-strnlen.c: New file.
8961         * benchtests/bench-strpbrk-ifunc.c: New file.
8962         * benchtests/bench-strpbrk.c: New file.
8963         * benchtests/bench-strrchr-ifunc.c: New file.
8964         * benchtests/bench-strrchr.c: New file.
8965         * benchtests/bench-strspn-ifunc.c: New file.
8966         * benchtests/bench-strspn.c: New file.
8967         * benchtests/bench-strstr-ifunc.c: New file.
8968         * benchtests/bench-strstr.c: New file.
8970         * benchtests/Makefile: Disable parallel execution of targets.
8971         (string-bench): Add memcpy.
8972         (benchset): New variable to store a list of benchmark sets.
8973         (bench-func): Renamed from bench.
8974         (bench-set): New target.
8975         (bench): Depend on bench-func and bench-set.
8976         * benchtests/README: Add section on benchmark sets.
8977         * benchtests/bench-memcpy-ifunc.c: New file.
8978         * benchtests/bench-memcpy.c: New file.
8979         * benchtests/bench-string.h: New file.
8981 2013-06-11  Andreas Schwab  <schwab@suse.de>
8983         [BZ #15577]
8984         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8985         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8986         values in the triple.
8987         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8988         terminator in the group key.
8990 2013-06-11  Andreas Jaeger  <aj@suse.de>
8992         * po/zh_TW.po: Update Chinese (traditional) translation from
8993         translation project.
8995 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8997         * include/time.h (__clock_gettime): Add libc_hidden_proto.
8998         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8999         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
9000         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9001         (clock_getcpuclockid): Likewise.
9002         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
9003         Add weak_alias and libc_hidden_def.
9004         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9005         * rt/clock_gettime.c (clock_gettime): Rename to
9006         __clock_gettime.  Add weak_alias and libc_hidden_def.
9007         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
9008         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
9009         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
9010         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
9011         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
9012         Likewise.
9013         * rt/clock_settime.c (clock_settime): Rename to
9014         __clock_settime.  Add weak_alias and libc_hidden_def.
9015         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
9017 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
9019         * mach/err_boot.sub: Remove trailing whitespace.
9020         * mach/err_ipc.sub: Likewise.
9021         * mach/err_mach.sub: Likewise.
9023         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
9024         (ROUNDING_TESTS_double): Likewise.
9025         (ROUNDING_TESTS_long_double): Likewise.
9026         (ROUNDING_TESTS): Likewise.
9027         * math/libm-test.inc: Include <math-tests.h>.
9028         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
9029         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9030         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9031         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9033 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9035         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
9036         of assigning.
9038 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
9040         * sysdeps/gnu/errlist.awk: Do not generate space at end of
9041         otherwise empty TRANS lines.
9042         * sysdeps/gnu/errlist.c: Regenerated.
9044         * catgets/gencat.c (error_print): Use (void) in function
9045         definition.
9046         * crypt/crypt_util.c (__init_des): Likewise.
9047         * crypt/speeds.c (Stop): Likewise.
9048         (main): Likewise.
9049         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9050         * inet/ruserpass.c (token): Likewise.
9051         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9052         * intl/localealias.c (extend_alias_table): Likewise.
9053         * intl/plural-exp.c (init_germanic_plural): Likewise.
9054         * libio/fcloseall.c (__fcloseall): Likewise.
9055         * libio/genops.c (_IO_flush_all): Likewise.
9056         (_IO_flush_all_linebuffered): Likewise.
9057         (_IO_cleanup): Likewise.
9058         (_IO_iter_begin): Likewise.
9059         (_IO_iter_end): Likewise.
9060         (_IO_list_lock): Likewise.
9061         (_IO_list_unlock): Likewise.
9062         (_IO_list_resetlock): Likewise.
9063         * libio/getchar.c (getchar): Likewise.
9064         * libio/getchar_u.c (getchar_unlocked): Likewise.
9065         * libio/getwchar.c (getwchar): Likewise.
9066         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9067         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9068         * login/getpt.c (__getpt): Likewise.
9069         * login/tst-utmp.c (main): Likewise.
9070         * malloc/hooks.c (__malloc_check_init): Likewise.
9071         * malloc/malloc.c (__malloc_stats): Likewise.
9072         * malloc/mtrace.c (tr_break): Likewise.
9073         (mtrace): Likewise.
9074         (muntrace): Likewise.
9075         * misc/fstab.c (endfsent): Likewise.
9076         * misc/getclktck.c (__getclktck): Likewise.
9077         * misc/getdtsz.c (__getdtablesize): Likewise.
9078         * misc/gethostid.c (gethostid): Likewise.
9079         * misc/getpagesize.c (__getpagesize): Likewise.
9080         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9081         (__get_nprocs): Likewise.
9082         (__get_phys_pages): Likewise.
9083         (__get_avphys_pages): Likewise.
9084         * misc/getttyent.c (getttyent): Likewise.
9085         (setttyent): Likewise.
9086         (endttyent): Likewise.
9087         * misc/getusershell.c (getusershell): Likewise.
9088         (endusershell): Likewise.
9089         (setusershell): Likewise.
9090         (initshells): Likewise.
9091         * misc/hsearch.c (__hdestroy): Likewise.
9092         * misc/sync.c (sync): Likewise.
9093         * misc/syslog.c (closelog_internal): Likewise.
9094         (closelog): Likewise.
9095         * misc/ttyslot.c (ttyslot): Likewise.
9096         * misc/vhangup.c (vhangup): Likewise.
9097         * posix/fork.c (__fork): Likewise.
9098         * posix/getegid.c (__getegid): Likewise.
9099         * posix/geteuid.c (__geteuid): Likewise.
9100         * posix/getgid.c (__getgid): Likewise.
9101         * posix/getpid.c (__getpid): Likewise.
9102         * posix/getppid.c (__getppid): Likewise.
9103         * posix/getuid.c (__getuid): Likewise.
9104         * posix/pause.c (pause): Likewise.
9105         * posix/setpgrp.c (setpgrp): Likewise.
9106         * posix/setsid.c (__setsid): Likewise.
9107         * posix/test-vfork.c (noop): Likewise.
9108         * resolv/gethnamaddr.c (_endhtent): Likewise.
9109         (_gethtent): Likewise.
9110         (ht_endhostent): Likewise.
9111         (gethostent): Likewise.
9112         (dns_service): Likewise.
9113         * stdlib/drand48.c (drand48): Likewise.
9114         * stdlib/lrand48.c (lrand48): Likewise.
9115         * stdlib/mrand48.c (mrand48): Likewise.
9116         * stdlib/rand.c (rand): Likewise.
9117         * stdlib/random.c (__random): Likewise.
9118         * stdlib/setenv.c (clearenv): Likewise.
9119         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9120         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9121         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9122         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9123         (__get_nprocs): Likewise.
9124         (__get_phys_pages): Likewise.
9125         (__get_avphys_pages): Likewise.
9126         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9127         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9128         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9129         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9130         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9131         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9132         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9133         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9134         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9135         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9136         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9137         * sysdeps/mach/hurd/sync.c (sync): Likewise.
9138         * sysdeps/posix/clock.c (clock): Likewise.
9139         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9140         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9141         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9142         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9143         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9144         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9145         (__get_nprocs_conf): Likewise.
9146         (__get_phys_pages): Likewise.
9147         (__get_avphys_pages): Likewise.
9148         * time/clock.c (clock): Likewise.
9149         * time/tzset.c (__tzname_max): Likewise.
9151 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
9153         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9154         (__bswap_32): Do not use "register".
9155         * crypt/crypt.c (_ufc_doit_r): Likewise.
9156         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9157         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9158         * gmon/gmon.c (__monstartup): Likewise.
9159         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9160         * hurd/hurdmalloc.c (more_memory): Likewise.
9161         (malloc): Likewise.
9162         (free): Likewise.
9163         (realloc): Likewise.
9164         (malloc_fork_prepare): Likewise.
9165         (malloc_fork_parent): Likewise.
9166         (malloc_fork_child): Likewise.
9167         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9168         (_svcauth_des): Likewise.
9169         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9170         * inet/inet_net.c (inet_network): Likewise.
9171         * inet/inet_netof.c (inet_netof): Likewise.
9172         * inet/rcmd.c (__validuser2_sa): Likewise.
9173         * io/fts.c (fts_open): Likewise.
9174         (fts_load): Likewise.
9175         (fts_close): Likewise.
9176         (fts_read): Likewise.
9177         (fts_children): Likewise.
9178         (fts_build): Likewise.
9179         (fts_stat): Likewise.
9180         (fts_sort): Likewise.
9181         (fts_alloc): Likewise.
9182         (fts_lfree): Likewise.
9183         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9184         (_IO_file_xsgetn): Likewise.
9185         (_IO_file_xsgetn_mmap): Likewise.
9186         * libio/iofopncook.c (_IO_cookie_read): Likewise.
9187         (_IO_cookie_write): Likewise.
9188         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9189         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9190         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9191         * malloc/obstack.c (_obstack_begin): Likewise.
9192         (_obstack_begin_1): Likewise.
9193         (_obstack_newchunk): Likewise.
9194         (_obstack_allocated_p): Likewise.
9195         (obstack_free): Likewise.
9196         (_obstack_memory_used): Likewise.
9197         * misc/getttyent.c (getttynam): Likewise.
9198         (getttyent): Likewise.
9199         (skip): Likewise.
9200         (value): Likewise.
9201         * misc/getusershell.c (initshells): Likewise.
9202         * misc/syslog.c (__vsyslog_chk): Likewise.
9203         * misc/ttyslot.c (ttyslot): Likewise.
9204         * nis/nis_hash.c (__nis_hash): Likewise.
9205         * posix/fnmatch_loop.c (FCT): Likewise.
9206         * posix/getconf.c (print_all): Likewise.
9207         (main): Likewise.
9208         * posix/getopt.c (exchange): Likewise.
9209         * posix/glob.c (globfree): Likewise.
9210         (prefix_array): Likewise.
9211         (__glob_pattern_type): Likewise.
9212         * resolv/arpa/nameser.h (NS_GET16): Likewise.
9213         (NS_GET32): Likewise.
9214         (NS_PUT16): Likewise.
9215         (NS_PUT32): Likewise.
9216         * resolv/gethnamaddr.c (getanswer): Likewise.
9217         (gethostbyname2): Likewise.
9218         (gethostbyaddr): Likewise.
9219         (_gethtent): Likewise.
9220         (_gethtbyname2): Likewise.
9221         (_gethtbyaddr): Likewise.
9222         * resolv/ns_print.c (dst_s_get_int16): Likewise.
9223         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9224         * resolv/res_init.c (__res_vinit): Likewise.
9225         (net_mask): Likewise.
9226         * resolv/res_mkquery.c (outchar): Likewise.
9227         (PRINT): Likewise.
9228         * stdio-common/printf_fp.c (outchar): Likewise.
9229         (PRINT): Likewise.
9230         * stdio-common/printf_fphex.c (outchar): Likewise.
9231         (PRINT): Likewise.
9232         * stdio-common/printf_size.c (outchar): Likewise.
9233         (PRINT): Likewise.
9234         * stdio-common/test_rdwr.c (main): Likewise.
9235         * stdio-common/tfformat.c (matches): Likewise.
9236         * stdio-common/vfprintf.c (outchar): Likewise.
9237         (printf_unknown): Likewise.
9238         (buffered_vfprintf): Likewise.
9239         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9240         * stdio-common/xbug.c (AppendToBuffer): Likewise.
9241         (ReadFile): Likewise.
9242         * stdlib/qsort.c (SWAP): Likewise.
9243         (_quicksort): Likewise.
9244         * stdlib/setenv.c (__add_to_environ): Likewise.
9245         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9246         * stdlib/strtol_l.c (__strtol_l): Likewise.
9247         * stdlib/tst-strtod.c (main): Likewise.
9248         * stdlib/tst-strtol.c (main): Likewise.
9249         * stdlib/tst-strtoll.c (main): Likewise.
9250         * string/bits/string2.h (__strcmp_cc): Likewise.
9251         (__strcmp_cg): Likewise.
9252         (__strcspn_c1): Likewise.
9253         (__strcspn_c2): Likewise.
9254         (__strcspn_c3): Likewise.
9255         (__strspn_c1): Likewise.
9256         (__strspn_c2): Likewise.
9257         (__strspn_c3): Likewise.
9258         (__strsep_1c): Likewise.
9259         (__strsep_2c): Likewise.
9260         (__strsep_3c): Likewise.
9261         * string/memccpy.c (__memccpy): Likewise.
9262         * string/stpcpy.c (__stpcpy): Likewise.
9263         * string/strcmp.c (strcmp): Likewise.
9264         * string/strrchr.c (strrchr): Likewise.
9265         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9266         Likewise.
9267         * sysdeps/mach/hurd/getcwd.c
9268         (_hurd_canonicalize_directory_name_internal): Likewise.
9269         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9270         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9271         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9272         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9273         Likewise, in both definitions.
9274         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9275         definitions.
9276         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9277         64] (__bswap_64): Likewise.
9278         * time/test_time.c (main): Likewise.
9279         * time/tzfile.c (__tzfile_read): Likewise.
9280         (__tzfile_compute): Likewise.
9281         * time/tzset.c (__tzset_parse_tz): Likewise.
9282         (tzset_internal): Likewise.
9283         (compute_change): Likewise.
9284         * wcsmbs/wcscat.c (__wcscat): Likewise.
9285         * wcsmbs/wcschr.c (wcschr): Likewise.
9286         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9287         * wcsmbs/wcscspn.c (wcscspn): Likewise.
9288         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9289         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9290         * wcsmbs/wcsspn.c (wcsspn): Likewise.
9291         * wcsmbs/wcsstr.c (wcsstr): Likewise.
9292         * wcsmbs/wmemchr.c (wmemchr): Likewise.
9293         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9294         * wcsmbs/wmemset.c (wmemset): Likewise.
9296 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
9298         * scripts/config.guess: Update to version 2013-05-16.
9299         * scripts/config.sub: Update to version 2013-04-24.
9300         * scripts/install-sh: Update to version 2011-11-20.07.
9301         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9302         * scripts/move-if-change: Update to version 2012-01-06 07:23.
9304 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
9306         * debug/fgetws_u_chk.c: Fix leading whitespaces.
9307         * elf/sln.c: Likewise.
9308         * hurd/hurd/ioctl.h: Likewise.
9309         * hurd/hurdmalloc.c: Likewise.
9310         * hurd/xattr.c: Likewise.
9311         * include/shlib-compat.h: Likewise.
9312         * inet/ruserpass.c: Likewise.
9313         * libio/iofgets_u.c: Likewise.
9314         * libio/iofgetws_u.c: Likewise.
9315         * locale/programs/ld-identification.c: Likewise.
9316         * locale/programs/ld-time.c: Likewise.
9317         * mach/msg-destroy.c: Likewise.
9318         * nss/nss_files/files-netgrp.c: Likewise.
9319         * resolv/res_data.c: Likewise.
9320         * soft-fp/op-1.h: Likewise.
9321         * soft-fp/op-2.h: Likewise.
9322         * soft-fp/op-4.h: Likewise.
9323         * soft-fp/op-common.h: Likewise.
9324         * stdio-common/printf_fphex.c: Likewise.
9325         * stdlib/strtod_l.c: Likewise.
9326         * sunrpc/rpc/clnt.h: Likewise.
9327         * sysdeps/generic/framestate.c: Likewise.
9328         * sysdeps/i386/bsd-_setjmp.S: Likewise.
9329         * sysdeps/i386/bsd-setjmp.S: Likewise.
9330         * sysdeps/i386/__longjmp.S: Likewise.
9331         * sysdeps/i386/setjmp.S: Likewise.
9332         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9333         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9334         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9335         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9336         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9337         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9338         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9339         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9340         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9341         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9342         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9343         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9344         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9345         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9346         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9347         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9348         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9349         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9350         * sysdeps/ieee754/support.c: Likewise.
9351         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9352         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9353         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9354         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9355         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9356         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9357         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9358         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9359         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9360         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9361         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9362         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9363         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9364         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9365         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9366         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9367         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9370 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
9372         * posix/transbug.c: Remove executable mode.
9374 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
9376         * crypt/speeds.c: Remove trailing whitespace.
9377         * dlfcn/default.c: Likewise.
9378         * elf/ifuncdep2.c: Likewise.
9379         * elf/ifuncmain1.c: Likewise.
9380         * elf/ifuncmain1vis.c: Likewise.
9381         * elf/testobj.h: Likewise.
9382         * elf/tst-stackguard1.c: Likewise.
9383         * gmon/sys/gmon.h: Likewise.
9384         * hurd/hurdmsg.c: Likewise.
9385         * hurd/new-fd.c: Likewise.
9386         * hurd/ports-get.c: Likewise.
9387         * iconvdata/ibm1008_420.c: Likewise.
9388         * inet/tst-getni1.c: Likewise.
9389         * inet/tst-getni2.c: Likewise.
9390         * libio/ioungetc.c: Likewise.
9391         * libio/wfiledoalloc.c: Likewise.
9392         * manual/libm-err-tab.pl: Likewise.
9393         * math/w_dremf.c: Likewise.
9394         * misc/ftruncate.c: Likewise.
9395         * posix/bug-glob2.c: Likewise.
9396         * posix/tst-pcre.c: Likewise.
9397         * posix/wait4.c: Likewise.
9398         * resolv/README: Likewise.
9399         * resolv/res_debug.h: Likewise.
9400         * resolv/tst-inet_ntop.c: Likewise.
9401         * setjmp/bug269-setjmp.c: Likewise.
9402         * soft-fp/extended.h: Likewise.
9403         * soft-fp/op-1.h: Likewise.
9404         * soft-fp/op-2.h: Likewise.
9405         * soft-fp/op-4.h: Likewise.
9406         * soft-fp/op-8.h: Likewise.
9407         * soft-fp/testit.c: Likewise.
9408         * stdio-common/bug16.c: Likewise.
9409         * stdlib/random.c: Likewise.
9410         * sunrpc/rpcsvc/rquota.x: Likewise.
9411         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9412         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9413         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9414         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9415         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9416         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9417         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9418         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9419         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9420         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9421         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9422         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9423         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9424         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9425         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9426         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9427         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9428         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9429         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9430         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9431         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9432         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9433         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9434         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9435         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9436         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9437         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9438         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9439         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9440         * sysdeps/ieee754/s_lib_version.c: Likewise.
9441         * sysdeps/mach/hurd/check_fds.c: Likewise.
9442         * sysdeps/mach/hurd/getsockname.c: Likewise.
9443         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9444         * sysdeps/mach/hurd/recvfrom.c: Likewise.
9445         * sysdeps/powerpc/bits/link.h: Likewise.
9446         * sysdeps/powerpc/dl-procinfo.c: Likewise.
9447         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9448         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9449         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9450         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9451         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9452         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9453         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9454         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9455         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9456         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9457         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9458         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9459         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9460         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9461         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9462         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9463         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9464         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9465         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9466         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9467         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9468         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9469         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9470         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9471         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9472         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9473         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9474         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9475         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9476         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9477         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9478         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9479         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9480         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9481         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9482         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9483         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9484         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9485         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9486         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9487         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9488         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9489         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9490         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9491         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9492         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9493         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9494         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9495         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9496         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9497         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9498         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9499         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9500         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9501         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9502         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9503         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9504         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9505         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9506         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9507         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9508         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9509         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9510         * sysdeps/powerpc/sysdep.h: Likewise.
9511         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9512         * sysdeps/s390/s390-64/sub_n.S: Likewise.
9513         * sysdeps/sh/dl-trampoline.S: Likewise.
9514         * sysdeps/sh/memset.S: Likewise.
9515         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9516         * sysdeps/sh/strlen.S: Likewise.
9517         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9518         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9519         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9520         * sysdeps/sparc/sparc32/rem.S: Likewise.
9521         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9522         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9523         * sysdeps/sparc/sparc32/strchr.S: Likewise.
9524         * sysdeps/sparc/sparc32/udiv.S: Likewise.
9525         * sysdeps/sparc/sparc32/urem.S: Likewise.
9526         * sysdeps/sparc/sparc64/add_n.S: Likewise.
9527         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9528         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9529         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9530         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9531         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9532         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9533         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9534         * sysdeps/unix/bsd/times.c: Likewise.
9535         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9536         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9540         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9541         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9542         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9543         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9544         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9545         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9546         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9547         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9548         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9549         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9550         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9551         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9552         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9553         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9554         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9555         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9556         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9557         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9558         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9559         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9560         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9561         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9562         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9563         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9564         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9565         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9566         * sysdeps/x86_64/strcspn.S: Likewise.
9568 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9570         * locale/C-translit.h: Revert #include <stdint.h> because this is a
9571         generated file.  Regenerate properly from gen-translit.pl.
9572         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
9573         locale/C-translit.h.
9575 2013-06-05  Andreas Schwab  <schwab@suse.de>
9577         [BZ #15100]
9578         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9579         week as 6 instead of -1.
9580         * time/tst-strptime.c (day_tests): Add test case.
9582 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9584         * sysdeps/generic/math_private.h
9585         (libc_feholdexcept_setround_53bit): Replace with
9586         libc_feholdsetround_53bit.
9587         (libc_feupdateenv_53bit): Replace with
9588         libc_feresetround_53bit.
9589         (SET_RESTORE_ROUND_53BIT): Adjust.
9591 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9593         * string/test-strchrnul.c: Add copyright header.
9595         * posix/tst-getaddrinfo4.c: Increase test timeout.
9597 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
9599         [BZ #15536]
9600         * math/libm-test.inc (MAX_EXP): Remove
9601         (MIN_EXP): Define.
9602         (ulp): Use MIN_EXP - MANT_DIG.
9603         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9605 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
9607         * po/be.po: Revert last change.
9608         * po/zh_CN.po: Likewise.
9609         * po/header.pot: Likewise.
9611 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
9613         * Makefile ($(common-objpfx)linkobj/libc.so): Define
9614         link-libc-deps to empty as target-specific variable.
9615         * Makerules (link-libc-args): New variable.
9616         (libc-for-link): Likewise.
9617         (link-libc-deps): Likewise.
9618         (lib%.so): Depend on $(link-libc-deps).  Link with
9619         $(link-libc-args).
9620         (build-module): Link with $(link-libc-args).
9621         (build-module-asneeded): Likewise.
9622         (build-module-helper-objlist): Filter out $(link-libc-deps) from
9623         list of objects.
9624         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9625         target-specific variable.
9626         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9627         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9628         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9629         libc.
9630         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9631         libc and ld.so.
9632         ($(objpfx)libpcprofile.so): Likewise.
9633         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9634         libc_nonshared.a.
9635         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9636         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9637         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9638         $(link-libc-deps).
9639         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9640         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9641         * login/Makefile ($(objpfx)libutil.so): Likewise.
9642         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9643         * math/Makefile ($(objpfx)libm.so): Likewise.
9644         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9645         $(objpfx)libnsl.so): Define libc-for-link as target-specific
9646         variable instead of depending directly on libc.
9647         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9648         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9649         $(link-libc-deps).
9650         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9651         libc.
9652         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9653         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9654         ($(objpfx)libanl.so): Likewise.
9655         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9656         ld.so.
9657         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9658         $(link-libc-deps).
9659         * sysdeps/i386/fpu/Makefile: Remove file.
9660         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9661         ($(objpfx)libm.so): Remove dependency on ld.so.
9663 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
9665         [BZ # 15553]
9666         * nis/yp_xdr.c (XDRMAXNAME): Define.
9667         (XDRMAXRECORD): Define.
9668         (xdr_domainname): Use XDRMAXNAME.
9669         (xdr_mapname): Likewise.
9670         (xdr_peername): Likewise.
9671         (xdr_keydat): Use XDRMAXRECORD.
9672         (xdr_valdat): Likewise.
9674 2013-05-30  Jeff Law  <law@redhat.com>
9676         [BZ #14256]
9677         * manual/errno.texi (ESTALE): Update to account for more than
9678         just NFS file systems.
9679         * sysdeps/gnu/errlist.c: Regenerated.
9681 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9683         [BZ #15465]
9684         * elf/Makefile (tests): Add tst-null-argv.
9685         (modules-names):  Add tst-null-argv-lib.
9686         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9687         (tst-null-argv-ENV): Set environment for tst-null-argv.
9688         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9689         (RTLD_PROGNAME): New macro.
9690         * elf/tst-null-argv.c: New test case.
9691         * elf/tst-null-argv-lib.c: Library for test case.
9692         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9693         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9694         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9695         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9696         * elf/dl-init.c (call_init): Likewise.
9697         (_dl_init): Likewise.
9698         * elf/dl-load.c (print_search_path): Likewise.
9699         (_dl_map_object): Likewise.
9700         * elf/dl-lookup.c (do_lookup_x): Likewise.
9701         (add_dependency): Likewise.
9702         (_dl_lookup_symbol_x): Likewise.
9703         (_dl_debug_bindings): Likewise.
9704         * elf/dl-open.c (_dl_show_scope): Likewise.
9705         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9706         * elf/dl-version.c (match_symbol): Likewise.
9707         (_dl_check_map_versions): Likewise.
9708         * elf/rtld.c (dl_main): Likewise.
9709         (print_unresolved): Use RTLD_PROGNAME.
9710         (print_missing_version): Likewise.
9711         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9712         (elf_machine_rela): Likewise.
9713         * sysdeps/powerpc/powerpc32/dl-machine.c
9714         (__process_machine_rela): Likewise.
9715         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9716         Likewise.
9717         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9718         Likewise.
9719         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9720         Likewise.
9721         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9722         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9723         Likewise.
9724         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9725         Likewise.
9726         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9728 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
9730         * po/be.po: Add descriptive title.
9731         * po/zh_CN.po: Likewise.
9732         * po/header.pot: Likewise.
9734 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
9736         * locale/programs/locarchive.c (create_archive): Inlucde fname in
9737         error message.
9738         (enlarge_archive): Likewise.
9740 2013-05-28  Ben North  <ben@redfrontdoor.org>
9742         * manual/arith.texi (frexp): It is the magnitude of the return
9743         value which lies in [0.5, 1), not the return value itself.
9745 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9749 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
9751         * stdio-common/bug26.c (main): Correct fscanf template.
9753         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9754         declare _dl_skip_args.
9756         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9757         Don't declare.
9759         * manual/platform.texi: Add missing @end deftypefun.
9761 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
9763         [BZ #15529]
9764         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9765         bit of mantissa of 2^16382.
9766         * math/libm-test.inc (hypot_test_data): Add more tests.
9768         * math/libm-test.inc: Add drem and pow10 to list of tested
9769         functions.
9770         (pow10_test): New function.
9771         (drem_test): Likewise.
9772         (drem_test_tonearest): Likewise.
9773         (drem_test_towardzero): Likewise.
9774         (drem_test_downward): Likewise.
9775         (drem_test_upward): Likewise.
9776         (main): Call the new functions.
9778         * math/libm-test.inc (finite_test_data): Remove.
9779         (finite_test): Run tests from isfinite_test_data.
9780         (gamma_test_data): Remove.
9781         (gamma_test): Run tests from lgamma_test_data.
9782         * sysdeps/i386/fpu/libm-test-ulps: Update.
9783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9785 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9787         * manual/platform.texi: Add PowerPC PPR function set documentation.
9788         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9789         implementation.
9791 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
9793         * math/libm-test.inc (MAX_EXP): Define.
9794         (ULPDIFF): Define.
9795         (ulp): New function.
9796         (check_float_internal): Use ULPDIFF.
9797         (cpow_test): Disable failing test.
9798         (check_ulp): Test ulp() implemetnation.
9799         (main): Call check_ulp before starting tests.
9801 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
9803         * math/gen-libm-test.pl (generate_testfile): Do not handle
9804         START_DATA and END_DATA.
9805         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9806         END_DATA.
9807         (acos_tonearest_test_data): Likewise.
9808         (acos_towardzero_test_data): Likewise.
9809         (acos_downward_test_data): Likewise.
9810         (acos_upward_test_data): Likewise.
9811         (acosh_test_data): Likewise.
9812         (asin_test_data): Likewise.
9813         (asin_tonearest_test_data): Likewise.
9814         (asin_towardzero_test_data): Likewise.
9815         (asin_downward_test_data): Likewise.
9816         (asin_upward_test_data): Likewise.
9817         (asinh_test_data): Likewise.
9818         (atan_test_data): Likewise.
9819         (atanh_test_data): Likewise.
9820         (atan2_test_data): Likewise.
9821         (cabs_test_data): Likewise.
9822         (cacos_test_data): Likewise.
9823         (cacosh_test_data): Likewise.
9824         (carg_test_data): Likewise.
9825         (casin_test_data): Likewise.
9826         (casinh_test_data): Likewise.
9827         (catan_test_data): Likewise.
9828         (catanh_test_data): Likewise.
9829         (cbrt_test_data): Likewise.
9830         (ccos_test_data): Likewise.
9831         (ccosh_test_data): Likewise.
9832         (ceil_test_data): Likewise.
9833         (cexp_test_data): Likewise.
9834         (cimag_test_data): Likewise.
9835         (clog_test_data): Likewise.
9836         (clog10_test_data): Likewise.
9837         (conj_test_data): Likewise.
9838         (copysign_test_data): Likewise.
9839         (cos_test_data): Likewise.
9840         (cos_tonearest_test_data): Likewise.
9841         (cos_towardzero_test_data): Likewise.
9842         (cos_downward_test_data): Likewise.
9843         (cos_upward_test_data): Likewise.
9844         (cosh_test_data): Likewise.
9845         (cosh_tonearest_test_data): Likewise.
9846         (cosh_towardzero_test_data): Likewise.
9847         (cosh_downward_test_data): Likewise.
9848         (cosh_upward_test_data): Likewise.
9849         (cpow_test_data): Likewise.
9850         (cproj_test_data): Likewise.
9851         (creal_test_data): Likewise.
9852         (csin_test_data): Likewise.
9853         (csinh_test_data): Likewise.
9854         (csqrt_test_data): Likewise.
9855         (ctan_test_data): Likewise.
9856         (ctan_tonearest_test_data): Likewise.
9857         (ctan_towardzero_test_data): Likewise.
9858         (ctan_downward_test_data): Likewise.
9859         (ctan_upward_test_data): Likewise.
9860         (ctanh_test_data): Likewise.
9861         (ctanh_tonearest_test_data): Likewise.
9862         (ctanh_towardzero_test_data): Likewise.
9863         (ctanh_downward_test_data): Likewise.
9864         (ctanh_upward_test_data): Likewise.
9865         (erf_test_data): Likewise.
9866         (erfc_test_data): Likewise.
9867         (exp_test_data): Likewise.
9868         (exp_tonearest_test_data): Likewise.
9869         (exp_towardzero_test_data): Likewise.
9870         (exp_downward_test_data): Likewise.
9871         (exp_upward_test_data): Likewise.
9872         (exp10_test_data): Likewise.
9873         (exp2_test_data): Likewise.
9874         (expm1_test_data): Likewise.
9875         (fabs_test_data): Likewise.
9876         (fdim_test_data): Likewise.
9877         (finite_test_data): Likewise.
9878         (floor_test_data): Likewise.
9879         (fma_test_data): Likewise.
9880         (fma_towardzero_test_data): Likewise.
9881         (fma_downward_test_data): Likewise.
9882         (fma_upward_test_data): Likewise.
9883         (fmax_test_data): Likewise.
9884         (fmin_test_data): Likewise.
9885         (fmod_test_data): Likewise.
9886         (fpclassify_test_data): Likewise.
9887         (frexp_test_data): Likewise.
9888         (gamma_test_data): Likewise.
9889         (hypot_test_data): Likewise.
9890         (ilogb_test_data): Likewise.
9891         (isfinite_test_data): Likewise.
9892         (isgreater_test_data): Likewise.
9893         (isgreaterequal_test_data): Likewise.
9894         (isinf_test_data): Likewise.
9895         (isless_test_data): Likewise.
9896         (islessequal_test_data): Likewise.
9897         (islessgreater_test_data): Likewise.
9898         (isnan_test_data): Likewise.
9899         (isnormal_test_data): Likewise.
9900         (issignaling_test_data): Likewise.
9901         (isunordered_test_data): Likewise.
9902         (j0_test_data): Likewise.
9903         (j1_test_data): Likewise.
9904         (jn_test_data): Likewise.
9905         (ldexp_test_data): Likewise.
9906         (lgamma_test_data): Likewise.
9907         (lrint_test_data): Likewise.
9908         (lrint_tonearest_test_data): Likewise.
9909         (lrint_towardzero_test_data): Likewise.
9910         (lrint_downward_test_data): Likewise.
9911         (lrint_upward_test_data): Likewise.
9912         (llrint_test_data): Likewise.
9913         (llrint_tonearest_test_data): Likewise.
9914         (llrint_towardzero_test_data): Likewise.
9915         (llrint_downward_test_data): Likewise.
9916         (llrint_upward_test_data): Likewise.
9917         (log_test_data): Likewise.
9918         (log10_test_data): Likewise.
9919         (log1p_test_data): Likewise.
9920         (log2_test_data): Likewise.
9921         (logb_test_data): Likewise.
9922         (logb_downward_test_data): Likewise.
9923         (lround_test_data): Likewise.
9924         (llround_test_data): Likewise.
9925         (modf_test_data): Likewise.
9926         (nearbyint_test_data): Likewise.
9927         (nextafter_test_data): Likewise.
9928         (nexttoward_test_data): Likewise.
9929         (pow_test_data): Likewise.
9930         (pow_tonearest_test_data): Likewise.
9931         (pow_towardzero_test_data): Likewise.
9932         (pow_downward_test_data): Likewise.
9933         (pow_upward_test_data): Likewise.
9934         (remainder_test_data): Likewise.
9935         (remainder_tonearest_test_data): Likewise.
9936         (remainder_towardzero_test_data): Likewise.
9937         (remainder_downward_test_data): Likewise.
9938         (remainder_upward_test_data): Likewise.
9939         (remquo_test_data): Likewise.
9940         (rint_test_data): Likewise.
9941         (rint_tonearest_test_data): Likewise.
9942         (rint_towardzero_test_data): Likewise.
9943         (rint_downward_test_data): Likewise.
9944         (rint_upward_test_data): Likewise.
9945         (round_test_data): Likewise.
9946         (scalb_test_data): Likewise.
9947         (scalbn_test_data): Likewise.
9948         (scalbln_test_data): Likewise.
9949         (signbit_test_data): Likewise.
9950         (sin_test_data): Likewise.
9951         (sin_tonearest_test_data): Likewise.
9952         (sin_towardzero_test_data): Likewise.
9953         (sin_downward_test_data): Likewise.
9954         (sin_upward_test_data): Likewise.
9955         (sincos_test_data): Likewise.
9956         (sinh_test_data): Likewise.
9957         (sinh_tonearest_test_data): Likewise.
9958         (sinh_towardzero_test_data): Likewise.
9959         (sinh_downward_test_data): Likewise.
9960         (sinh_upward_test_data): Likewise.
9961         (sqrt_test_data): Likewise.
9962         (tan_test_data): Likewise.
9963         (tan_tonearest_test_data): Likewise.
9964         (tan_towardzero_test_data): Likewise.
9965         (tan_downward_test_data): Likewise.
9966         (tan_upward_test_data): Likewise.
9967         (tanh_test_data): Likewise.
9968         (tgamma_test_data): Likewise.
9969         (trunc_test_data): Likewise.
9970         (y0_test_data): Likewise.
9971         (y1_test_data): Likewise.
9972         (yn_test_data): Likewise.
9973         (significand_test_data): Likewise.
9975         * math/gen-libm-test.pl (@functions): Remove variable.
9976         (generate_testfile): Don't handle START and END lines.
9977         * math/libm-test.inc (START): New macro.
9978         (END): Likewise.
9979         (END_COMPLEX): Likewise.
9980         (acos_test): Use END macro without arguments.
9981         (acos_test_tonearest): Likewise.
9982         (acos_test_towardzero): Likewise.
9983         (acos_test_downward): Likewise.
9984         (acos_test_upward): Likewise.
9985         (acosh_test): Likewise.
9986         (asin_test): Likewise.
9987         (asin_test_tonearest): Likewise.
9988         (asin_test_towardzero): Likewise.
9989         (asin_test_downward): Likewise.
9990         (asin_test_upward): Likewise.
9991         (asinh_test): Likewise.
9992         (atan_test): Likewise.
9993         (atanh_test): Likewise.
9994         (atan2_test): Likewise.
9995         (cabs_test): Likewise.
9996         (cacos_test): Use END_COMPLEX macro without arguments.
9997         (cacosh_test): Likewise.
9998         (carg_test): Use END macro without arguments.
9999         (casin_test): Use END_COMPLEX macro without arguments.
10000         (casinh_test): Likewise.
10001         (catan_test): Likewise.
10002         (catanh_test): Likewise.
10003         (cbrt_test): Use END macro without arguments.
10004         (ccos_test): Use END_COMPLEX macro without arguments.
10005         (ccosh_test): Likewise.
10006         (ceil_test): Use END macro without arguments.
10007         (cexp_test): Use END_COMPLEX macro without arguments.
10008         (cimag_test): Use END macro without arguments.
10009         (clog_test): Use END_COMPLEX macro without arguments.
10010         (clog10_test): Likewise.
10011         (conj_test): Likewise.
10012         (copysign_test): Use END macro without arguments.
10013         (cos_test): Likewise.
10014         (cos_test_tonearest): Likewise.
10015         (cos_test_towardzero): Likewise.
10016         (cos_test_downward): Likewise.
10017         (cos_test_upward): Likewise.
10018         (cosh_test): Likewise.
10019         (cosh_test_tonearest): Likewise.
10020         (cosh_test_towardzero): Likewise.
10021         (cosh_test_downward): Likewise.
10022         (cosh_test_upward): Likewise.
10023         (cpow_test): Use END_COMPLEX macro without arguments.
10024         (cproj_test): Likewise.
10025         (creal_test): Use END macro without arguments.
10026         (csin_test): Use END_COMPLEX macro without arguments.
10027         (csinh_test): Likewise.
10028         (csqrt_test): Likewise.
10029         (ctan_test): Likewise.
10030         (ctan_test_tonearest): Likewise.
10031         (ctan_test_towardzero): Likewise.
10032         (ctan_test_downward): Likewise.
10033         (ctan_test_upward): Likewise.
10034         (ctanh_test): Likewise.
10035         (ctanh_test_tonearest): Likewise.
10036         (ctanh_test_towardzero): Likewise.
10037         (ctanh_test_downward): Likewise.
10038         (ctanh_test_upward): Likewise.
10039         (erf_test): Use END macro without arguments.
10040         (erfc_test): Likewise.
10041         (exp_test): Likewise.
10042         (exp_test_tonearest): Likewise.
10043         (exp_test_towardzero): Likewise.
10044         (exp_test_downward): Likewise.
10045         (exp_test_upward): Likewise.
10046         (exp10_test): Likewise.
10047         (exp2_test): Likewise.
10048         (expm1_test): Likewise.
10049         (fabs_test): Likewise.
10050         (fdim_test): Likewise.
10051         (finite_test): Likewise.
10052         (floor_test): Likewise.
10053         (fma_test): Likewise.
10054         (fma_test_towardzero): Likewise.
10055         (fma_test_downward): Likewise.
10056         (fma_test_upward): Likewise.
10057         (fmax_test): Likewise.
10058         (fmin_test): Likewise.
10059         (fmod_test): Likewise.
10060         (fpclassify_test): Likewise.
10061         (frexp_test): Likewise.
10062         (gamma_test): Likewise.
10063         (hypot_test): Likewise.
10064         (ilogb_test): Likewise.
10065         (isfinite_test): Likewise.
10066         (isgreater_test): Likewise.
10067         (isgreaterequal_test): Likewise.
10068         (isinf_test): Likewise.
10069         (isless_test): Likewise.
10070         (islessequal_test): Likewise.
10071         (islessgreater_test): Likewise.
10072         (isnan_test): Likewise.
10073         (isnormal_test): Likewise.
10074         (issignaling_test): Likewise.
10075         (isunordered_test): Likewise.
10076         (j0_test): Likewise.
10077         (j1_test): Likewise.
10078         (jn_test): Likewise.
10079         (ldexp_test): Likewise.
10080         (lgamma_test): Likewise.
10081         (lrint_test): Likewise.
10082         (lrint_test_tonearest): Likewise.
10083         (lrint_test_towardzero): Likewise.
10084         (lrint_test_downward): Likewise.
10085         (lrint_test_upward): Likewise.
10086         (llrint_test): Likewise.
10087         (llrint_test_tonearest): Likewise.
10088         (llrint_test_towardzero): Likewise.
10089         (llrint_test_downward): Likewise.
10090         (llrint_test_upward): Likewise.
10091         (log_test): Likewise.
10092         (log10_test): Likewise.
10093         (log1p_test): Likewise.
10094         (log2_test): Likewise.
10095         (logb_test): Likewise.
10096         (logb_test_downward): Likewise.
10097         (lround_test): Likewise.
10098         (llround_test): Likewise.
10099         (modf_test): Likewise.
10100         (nearbyint_test): Likewise.
10101         (nextafter_test): Likewise.
10102         (nexttoward_test): Likewise.
10103         (pow_test): Likewise.
10104         (pow_test_tonearest): Likewise.
10105         (pow_test_towardzero): Likewise.
10106         (pow_test_downward): Likewise.
10107         (pow_test_upward): Likewise.
10108         (remainder_test): Likewise.
10109         (remainder_test_tonearest): Likewise.
10110         (remainder_test_towardzero): Likewise.
10111         (remainder_test_downward): Likewise.
10112         (remainder_test_upward): Likewise.
10113         (remquo_test): Likewise.
10114         (rint_test): Likewise.
10115         (rint_test_tonearest): Likewise.
10116         (rint_test_towardzero): Likewise.
10117         (rint_test_downward): Likewise.
10118         (rint_test_upward): Likewise.
10119         (round_test): Likewise.
10120         (scalb_test): Likewise.
10121         (scalbn_test): Likewise.
10122         (scalbln_test): Likewise.
10123         (signbit_test): Likewise.
10124         (sin_test): Likewise.
10125         (sin_test_tonearest): Likewise.
10126         (sin_test_towardzero): Likewise.
10127         (sin_test_downward): Likewise.
10128         (sin_test_upward): Likewise.
10129         (sincos_test): Likewise.
10130         (sinh_test): Likewise.
10131         (sinh_test_tonearest): Likewise.
10132         (sinh_test_towardzero): Likewise.
10133         (sinh_test_downward): Likewise.
10134         (sinh_test_upward): Likewise.
10135         (sqrt_test): Likewise.
10136         (tan_test): Likewise.
10137         (tan_test_tonearest): Likewise.
10138         (tan_test_towardzero): Likewise.
10139         (tan_test_downward): Likewise.
10140         (tan_test_upward): Likewise.
10141         (tanh_test): Likewise.
10142         (tgamma_test): Likewise.
10143         (trunc_test): Likewise.
10144         (y0_test): Likewise.
10145         (y1_test): Likewise.
10146         (yn_test): Likewise.
10147         (significand_test): Likewise.
10149 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
10151         [BZ #15381]
10152         * libio/genops.c (_IO_no_init): Initialize wide struct info.
10154 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
10156         [BZ #14894]
10157         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10158         __ppc_mdoio and __ppc_mdoom.
10159         * manual/platform.texi: Document new functions __ppc_yield,
10160         __ppc_mdoio and __ppc_mdoom.
10162 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
10164         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10165         (main): Mention "tls" pseudo-hwcap is legacy.
10166         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10168 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
10170         * math/gen-libm-test.pl (parse_args): Output only string of
10171         arguments as text for test name, not full call or descriptions of
10172         tests for extra outputs.
10173         (generate_testfile): Do not pass function name to parse_args.
10174         Generate this_func variable from START.
10175         * math/libm-test.inc (struct test_f_f_data): Rename test_name
10176         field to arg_str.
10177         (struct test_ff_f_data): Likewise.
10178         (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): Likewise.  Remove field extra_name.
10185         (struct test_fF_f1_data): Likewise.
10186         (struct test_ffI_f1_data): Likewise.
10187         (struct test_c_c_data): Rename test_name field to arg_str.
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_fFF_11_data): Likewise.  Remove fields extra1_name
10194         and extra2_name.
10195         (COMMON_TEST_SETUP): New macro.
10196         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10197         (COMMON_TEST_CLEANUP): Likewise.
10198         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10199         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
10200         macros.
10201         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10202         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
10203         macros.
10204         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10205         (RUN_TEST_fff_f): Take argument string.  Call new setup and
10206         cleanup macros.
10207         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10208         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
10209         macros.
10210         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10211         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
10212         macros.
10213         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10214         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
10215         cleanup macros.
10216         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10217         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
10218         cleanup macros.
10219         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10220         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
10221         cleanup macros.
10222         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10223         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
10224         macros.
10225         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10226         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
10227         macros.
10228         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10229         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
10230         macros.
10231         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10232         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
10233         cleanup macros.
10234         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10235         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
10236         cleanup macros.
10237         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10238         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
10239         macros.
10240         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10241         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
10242         cleanup macros.
10243         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10244         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
10245         macros.
10246         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10247         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
10248         macros.
10249         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10250         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
10251         cleanup macros.
10252         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10254 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
10256         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10257         to _sifields.sigfault.
10258         (si_addr_lsb): Define new macro.
10259         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10260         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10261         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10263 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
10265         [BZ #15441]
10266         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10267         returns -1.
10268         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10269         null return -1.
10270         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10271         loading the domain.
10273 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
10275         * math/gen-libm-test.pl (parse_args): Do not include expected
10276         result in test name.
10277         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10278         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10279         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10280         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10281         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10284 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10286         * benchtests/Makefile: Sort function entries.
10288         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10289         tanh, asinh, acosh, atanh.
10290         * benchtests/acos-inputs: New file.
10291         * benchtests/acosh-inputs: New file.
10292         * benchtests/asin-inputs: New file.
10293         * benchtests/asinh-inputs: New file.
10294         * benchtests/atanh-inputs: New file.
10295         * benchtests/cosh-inputs: New file.
10296         * benchtests/log-inputs: New file.
10297         * benchtests/sinh-inputs: New file.
10298         * benchtests/tanh-inputs: New file.
10300 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
10302         [BZ #15339]
10303         * posix/tst-getaddrinfo4.c: New test.
10304         * posix/Makefile (tests): Add it.
10306 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10308         [BZ #15339]
10309         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10310         when no services were used.
10311         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10312         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10314 2013-05-21  Andreas Schwab  <schwab@suse.de>
10316         [BZ #15014]
10317         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10318         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10319         successful.
10320         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10321         redundant variable declarations and reallocation of buffer when
10322         parsing as IPv6 address.  Always set NSS status when called from
10323         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
10324         buffer too small.  Correct computation of needed size.
10325         * nss/Makefile (tests): Add test-digits-dots.
10326         * nss/test-digits-dots.c: New test.
10328 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10330         * benchtests/Makefile: Remove instructions for adding
10331         benchmark tests.
10332         * benchtests/README: New file to explain how to execute and
10333         enhance the benchmark tests.
10335 2013-05-21  Andreas Schwab  <schwab@suse.de>
10337         [BZ #15493]
10338         * setjmp/Makefile (tests): Add tst-sigsetjmp.
10339         * setjmp/tst-sigsetjmp.c: New test.
10341 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
10343         * sysdeps/x86_64/memset.S (memset): New implementation.
10344         (__bzero): Likewise.
10345         (__memset_tail): New function.
10347 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
10349         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10350         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10351         __memcpy_sse2_unaligned ifunc selection.
10352         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10353         Add memcpy-sse2-unaligned.S.
10354         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10355         Add: __memcpy_sse2_unaligned.
10357 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
10359         [BZ #15490]
10360         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10361         math_force_eval before restoring floating-point envrionment.
10362         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10363         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10364         Likewise.
10365         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10366         <math_private.h>.
10367         (__nearbyintl): Use math_force_eval before restoring
10368         floating-point environment.
10369         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10371         * math/gen-libm-test.pl (special_functions): Remove.
10372         (parse_args): Don't handle TEST_extra.  Handle functions with no
10373         return value.
10374         * math/libm-test.inc (struct test_sincos_data): Replace with
10375         struct test_fFF_11_data.
10376         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10377         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10378         (sincos_test_data): Change element type to struct
10379         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
10380         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10381         RUN_TEST_LOOP_sincos.
10382         * math/README.libm-test: Don't mention special handling of
10383         individual functions.
10384         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10385         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10386         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10387         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10388         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10391         * math/gen-libm-test.pl (get_variable): Remove function.
10392         (parse_args): Don't show pointer parameters to call in test
10393         names.  Use "extra output N" in test names for extra outputs
10394         rather than naming variables.
10396 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
10398         [BZ #15488]
10399         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10400         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10401         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10402         double tests.
10403         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10404         disable.
10405         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10406         check_long_double.
10408         * math/gen-libm-test.pl (@tests): Remove variable.
10409         ($count): Likewise.
10410         (new_test): Remove function.
10411         (show_exceptions): New function.
10412         (special_functions): Use show_exceptions instead of new_test.
10413         (parse_args): Likewise.
10414         (generate_testfile): Pass only function name in generated call to
10415         print_max_error or print_complex_max_error.
10416         (get_ulps): Do not handle complex tests specially.
10417         (output_test): Rename to ...
10418         (get_all_ulps_for_test): ... this.  Return a string rather than
10419         printing to a file.  Require ulps to be present.
10420         (output_ulps): Generate arrays rather than #defines.
10421         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10422         (struct ulp_data): New type.
10423         (BUILD_COMPLEX_ULP): Remove macro.
10424         (compare_ulp_data): New function.
10425         (find_ulps): Likewise.
10426         (find_test_ulps): Likewise.
10427         (find_function_ulps): Likewise.
10428         (find_complex_function_ulps): Likewise.
10429         (print_max_error): Determine allowed ulps using
10430         find_function_ulps.
10431         (print_complex_max_error): Determine allowed ulps using
10432         find_complex_function_ulps.
10433         (check_float_internal): Determine max ulps using find_test_ulps.
10434         (check_float): Do not take max_ulp parameter.  Update call to
10435         check_float_internal.
10436         (check_complex): Likewise.
10437         (check_int): Do not take max_ulp parameter.
10438         (check_long): Likewise.
10439         (check_bool): Likewise.
10440         (check_longlong): Likewise.
10441         (struct test_f_f_data): Remove max_ulp field.
10442         (struct test_ff_f_data): Likewise.
10443         (struct test_ff_f_data_nexttoward): Likewise.
10444         (struct test_fi_f_data): Likewise.
10445         (struct test_fl_f_data): Likewise.
10446         (struct test_if_f_data): Likewise.
10447         (struct test_fff_f_data): Likewise.
10448         (struct test_c_f_data): Likewise.
10449         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10450         (struct test_fF_f1_data): Likewise.
10451         (struct test_ffI_f1_data): Likewise.
10452         (struct test_c_c_data): Remove max_ulp field.
10453         (struct test_cc_c_data): Likewise.
10454         (struct test_f_i_data): Likewise.
10455         (struct test_ff_i_data): Likewise.
10456         (struct test_f_l_data): Likewise.
10457         (struct test_f_L_data): Likewise.
10458         (struct test_sincos_data): Likewise.
10459         (RUN_TEST_f_f): Do not handle ulps.
10460         (RUN_TEST_LOOP_f_f): Likewise.
10461         (RUN_TEST_2_f): Likewise.
10462         (RUN_TEST_LOOP_2_f): Likewise.
10463         (RUN_TEST_fff_f): Likewise.
10464         (RUN_TEST_LOOP_fff_f): Likewise.
10465         (RUN_TEST_c_f): Likewise.
10466         (RUN_TEST_LOOP_c_f): Likewise.
10467         (RUN_TEST_f_f1): Likewise.
10468         (RUN_TEST_LOOP_f_f1): Likewise.
10469         (RUN_TEST_fF_f1): Likewise.
10470         (RUN_TEST_LOOP_fF_f1): Likewise.
10471         (RUN_TEST_fI_f1): Likewise.
10472         (RUN_TEST_LOOP_fI_f1): Likewise.
10473         (RUN_TEST_ffI_f1): Likewise.
10474         (RUN_TEST_LOOP_ffI_f1): Likewise.
10475         (RUN_TEST_c_c): Likewise.
10476         (RUN_TEST_LOOP_c_c): Likewise.
10477         (RUN_TEST_cc_c): Likewise.
10478         (RUN_TEST_LOOP_cc_c): Likewise.
10479         (RUN_TEST_f_i): Likewise.
10480         (RUN_TEST_LOOP_f_i): Likewise.
10481         (RUN_TEST_f_i_tg): Likewise.
10482         (RUN_TEST_LOOP_f_i_tg): Likewise.
10483         (RUN_TEST_ff_i_tg): Likewise.
10484         (RUN_TEST_LOOP_ff_i_tg): Likewise.
10485         (RUN_TEST_f_b): Likewise.
10486         (RUN_TEST_LOOP_f_b): Likewise.
10487         (RUN_TEST_f_b_tg): Likewise.
10488         (RUN_TEST_LOOP_f_b_tg): Likewise.
10489         (RUN_TEST_f_l): Likewise.
10490         (RUN_TEST_LOOP_f_l): Likewise.
10491         (RUN_TEST_f_L): Likewise.
10492         (RUN_TEST_LOOP_f_L): Likewise.
10493         (RUN_TEST_sincos): Likewise.
10494         (RUN_TEST_LOOP_sincos): Likewise.
10496 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
10498         [BZ #15480]
10499         [BZ #15485]
10500         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10501         main case of finite arguments, set rounding mode to FE_TONEAREST
10502         and discard exceptions.
10503         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10504         exceptions.
10505         (remainder_tonearest_test_data): New variable.
10506         (remainder_test_tonearest): New function.
10507         (remainder_towardzero_test_data): New variable.
10508         (remainder_test_towardzero): New function.
10509         (remainder_downward_test_data): New variable.
10510         (remainder_test_downward): New function.
10511         (remainder_upward_test_data): New variable.
10512         (remainder_test_upward): New function.
10513         (main): Call the new test functions.
10515         * math/libm-test.inc (struct test_f_f1_data): Remove field
10516         extra_init.
10517         (struct test_fF_f1_data): Likewise.
10518         (struct test_ffI_f1_data): Likewise.
10519         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
10520         based on value of EXTRA_EXPECTED.
10521         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10522         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
10523         EXTRA_VAR based on value of EXTRA_EXPECTED.
10524         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10525         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
10526         EXTRA_VAR based on value of EXTRA_EXPECTED.
10527         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10528         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
10529         EXTRA_VAR based on value of EXTRA_EXPECTED.
10530         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10531         * math/gen-libm-test.pl (parse_args): Don't output initializers
10532         for extra output values.
10534         * math/libm-test.inc (check_int): Expect result to be exactly
10535         equal to expected value and do not handle ulps.
10536         (check_long): Likewise.
10537         (check_longlong): Likewise.
10539         * math/libm-test.inc (ceil_test_data): Test for "inexact"
10540         exceptions.
10541         (cimag_test_data): Likewise.
10542         (conj_test_data): Likewise.
10543         (copysign_test_data): Likewise.
10544         (cproj_test_data): Likewise.
10545         (creal_test_data): Likewise.
10546         (fabs_test_data): Likewise.
10547         (fdim_test_data): Likewise.
10548         (finite_test_data): Likewise.
10549         (floor_test_data): Likewise.
10550         (fmax_test_data): Likewise.
10551         (fmin_test_data): Likewise.
10552         (fmod_test_data): Likewise.
10553         (fpclassify_test_data): Likewise.
10554         (frexp_test_data): Likewise.
10555         (ilogb_test_data): Likewise.
10556         (isfinite_test_data): Likewise.
10557         (isgreater_test_data): Likewise.
10558         (isgreaterequal_test_data): Likewise.
10559         (isinf_test_data): Likewise.
10560         (isless_test_data): Likewise.
10561         (islessequal_test_data): Likewise.
10562         (islessgreater_test_data): Likewise.
10563         (isnan_test_data): Likewise.
10564         (isnormal_test_data): Likewise.
10565         (issignaling_test_data): Likewise.
10566         (isunordered_test_data): Likewise.
10567         (ldexp_test_data): Likewise.
10568         (lrint_test_data): Likewise.
10569         (lrint_test_data) [TEST_FLOAT]: Disable one test.
10570         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10571         (lrint_tonearest_test_data): Test for "inexact" exceptions.
10572         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10573         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10574         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10575         test input.
10576         (lrint_towardzero_test_data): Test for "inexact" exceptions.
10577         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10578         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10579         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10580         that test input.
10581         (lrint_downward_test_data): Test for "inexact" exceptions.
10582         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10583         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10584         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10585         test input.
10586         (lrint_upward_test_data): Test for "inexact" exceptions.
10587         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10588         test input.
10589         (llrint_test_data): Test for "inexact" exceptions.
10590         (llrint_test_data) [TEST_FLOAT]: Disable one test.
10591         (llrint_tonearest_test_data): Test for "inexact" exceptions.
10592         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10593         (llrint_towardzero_test_data): Test for "inexact" exceptions.
10594         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10595         (llrint_downward_test_data): Test for "inexact" exceptions.
10596         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10597         (llrint_upward_test_data): Test for "inexact" exceptions.
10598         (logb_test_data): Likewise.
10599         (logb_downward_test_data): Likewise.
10600         (nextafter_test_data): Likewise.
10601         (nexttoward_test_data): Likewise.
10602         (remainder_test_data): Likewise.
10603         (remquo_test_data): Likewise.
10604         (scalbn_test_data): Likewise.
10605         (scalbln_test_data): Likewise.
10606         (signbit_test_data): Likewise.
10607         (sqrt_test_data): Likewise.
10608         (significand_test_data): Likewise.
10610 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10612         [BZ #15424]
10613         * benchtests/bench-modf.c (struct args): Mark arg0 as
10614         volatile.
10615         * scripts/bench.pl: Mark members of struct args as volatile.
10617 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10619         [BZ # 15497]
10620         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10621         negative infinity on POWER6 or lower.
10622         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10624 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
10626         [BZ #15442]
10627         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10628         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10629         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10630         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10631         (_FP_SETQNAN): New macro.
10632         (_FP_SETQNAN_SEMIRAW): Likewise.
10633         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10634         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10635         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10636         (FP_EXTEND): Use _FP_FRAC_SNANP.
10637         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10638         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10639         into account.
10640         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10641         New macro.
10642         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10643         Likewise.
10645 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10647         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10648         with DIVIDE_BY_ZERO_EXCEPTION.
10649         (gamma_test_data): Likewise.
10650         (lgamma_test_data): Likewise.
10651         (log_test_data): Likewise.
10652         (log10_test_data): Likewise.
10653         (log2_test_data): Likewise.
10654         (tgamma_test_data): Likewise.
10656         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10657         (acos_test_tonearest): Likewise.
10658         (acos_test_towardzero): Likewise.
10659         (acos_test_downward): Likewise.
10660         (acos_test_upward): Likewise.
10661         (acosh_test): Likewise.
10662         (asin_test): Likewise.
10663         (asin_test_tonearest): Likewise.
10664         (asin_test_towardzero): Likewise.
10665         (asin_test_downward): Likewise.
10666         (asin_test_upward): Likewise.
10667         (asinh_test): Likewise.
10668         (atan_test): Likewise.
10669         (atanh_test): Likewise.
10670         (atan2_test): Likewise.
10671         (cabs_test): Likewise.
10672         (cacos_test): Likewise.
10673         (cacosh_test): Likewise.
10674         (casin_test): Likewise.
10675         (casinh_test): Likewise.
10676         (catan_test): Likewise.
10677         (catanh_test): Likewise.
10678         (cbrt_test): Likewise.
10679         (ccos_test): Likewise.
10680         (ccosh_test): Likewise.
10681         (cexp_test): Likewise.
10682         (clog_test): Likewise.
10683         (clog10_test): Likewise.
10684         (cos_test): Likewise.
10685         (cos_test_tonearest): Likewise.
10686         (cos_test_towardzero): Likewise.
10687         (cos_test_downward): Likewise.
10688         (cos_test_upward): Likewise.
10689         (cosh_test): Likewise.
10690         (cosh_test_tonearest): Likewise.
10691         (cosh_test_towardzero): Likewise.
10692         (cosh_test_downward): Likewise.
10693         (cosh_test_upward): Likewise.
10694         (cpow_test): Likewise.
10695         (csin_test): Likewise.
10696         (csinh_test): Likewise.
10697         (csqrt_test): Likewise.
10698         (ctan_test): Likewise.
10699         (ctan_test_tonearest): Likewise.
10700         (ctan_test_towardzero): Likewise.
10701         (ctan_test_downward): Likewise.
10702         (ctan_test_upward): Likewise.
10703         (ctanh_test): Likewise.
10704         (ctanh_test_tonearest): Likewise.
10705         (ctanh_test_towardzero): Likewise.
10706         (ctanh_test_downward): Likewise.
10707         (ctanh_test_upward): Likewise.
10708         (erf_test): Likewise.
10709         (erfc_test): Likewise.
10710         (exp_test): Likewise.
10711         (exp_test_tonearest): Likewise.
10712         (exp_test_towardzero): Likewise.
10713         (exp_test_downward): Likewise.
10714         (exp_test_upward): Likewise.
10715         (exp10_test): Likewise.
10716         (exp2_test): Likewise.
10717         (expm1_test): Likewise.
10718         (fmod_test): Likewise.
10719         (gamma_test): Likewise.
10720         (hypot_test): Likewise.
10721         (j0_test): Likewise.
10722         (j1_test): Likewise.
10723         (jn_test): Likewise.
10724         (lgamma_test): Likewise.
10725         (log_test): Likewise.
10726         (log10_test): Likewise.
10727         (log1p_test): Likewise.
10728         (log2_test): Likewise.
10729         (logb_test_downward): Likewise.
10730         (pow_test): Likewise.
10731         (pow_test_tonearest): Likewise.
10732         (pow_test_towardzero): Likewise.
10733         (pow_test_downward): Likewise.
10734         (pow_test_upward): Likewise.
10735         (remainder_test): Likewise.
10736         (remquo_test): Likewise.
10737         (sin_test): Likewise.
10738         (sin_test_tonearest): Likewise.
10739         (sin_test_towardzero): Likewise.
10740         (sin_test_downward): Likewise.
10741         (sin_test_upward): Likewise.
10742         (sincos_test): Likewise.
10743         (sinh_test): Likewise.
10744         (sinh_test_tonearest): Likewise.
10745         (sinh_test_towardzero): Likewise.
10746         (sinh_test_downward): Likewise.
10747         (sinh_test_upward): Likewise.
10748         (sqrt_test): Likewise.
10749         (tan_test): Likewise.
10750         (tan_test_tonearest): Likewise.
10751         (tan_test_towardzero): Likewise.
10752         (tan_test_downward): Likewise.
10753         (tan_test_upward): Likewise.
10754         (tanh_test): Likewise.
10755         (tgamma_test): Likewise.
10756         (y0_test): Likewise.
10757         (y1_test): Likewise.
10758         (yn_test): Likewise.
10760         * math/gen-libm-test.pl (adjust_arg): Remove function.
10761         (special_function): Remove argument $in_func.  Only handle
10762         generating output for tables of tests, not inside functions.
10763         (parse_args): Likewise.
10764         (generate_testfile): Remove variable $in_func.  Update call to
10765         parse_args.
10766         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10767         (MINUS_ZERO_INIT): Rename macro to minus_zero.
10768         (PLUS_INFTY_INIT): Rename macro to plus_infty.
10769         (MINUS_INFTY_INIT): Rename macro to minus_infty.
10770         (QNAN_VALUE_INIT): Rename macro to qnan_value.
10771         (MAX_VALUE_INIT): Rename macro to max_value.
10772         (MIN_VALUE_INIT): Rename macro to min_value.
10773         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10774         (plus_zero): Remove variable.
10775         (minus_zero): Likewise.
10776         (plus_infty): Likewise.
10777         (minus_infty): Likewise.
10778         (qnan_value): Likewise.
10779         (max_value): Likewise.
10780         (min_value): Likewise.
10781         (min_subnorm_value): Likewise.
10783 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10785         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10786         uint64_t or uint32_t usage.
10787         * crypt/sha256-block.c: Likewise.
10788         * crypt/sha256-crypt.c: Likewise.
10789         * crypt/sha256.c: Likewise.
10790         * crypt/sha512-block.c: Likewise.
10791         * crypt/sha512-crypt.c: Likewise.
10792         * crypt/sha512.c: Likewise.
10793         * debug/backtrace-tst.c: Likewise.
10794         * debug/pcprofiledump.c: Likewise.
10795         * elf/cache.c: Likewise.
10796         * elf/dl-cache.c: Likewise.
10797         * elf/dl-misc.c: Likewise.
10798         * elf/dl-profile.c: Likewise.
10799         * elf/dl-support.c: Likewise.
10800         * elf/ldconfig.c: Likewise.
10801         * elf/sprof.c: Likewise.
10802         * iconv/dummy-repertoire.c: Likewise.
10803         * iconv/iconv_charmap.c: Likewise.
10804         * iconv/skeleton.c: Likewise.
10805         * iconvdata/8bit-generic.c: Likewise.
10806         * iconvdata/cp737.h: Likewise.
10807         * iconvdata/cp775.h: Likewise.
10808         * iconvdata/ibm1008.h: Likewise.
10809         * iconvdata/ibm1025.h: Likewise.
10810         * iconvdata/ibm1046.h: Likewise.
10811         * iconvdata/ibm1097.h: Likewise.
10812         * iconvdata/ibm1112.h: Likewise.
10813         * iconvdata/ibm1122.h: Likewise.
10814         * iconvdata/ibm1123.h: Likewise.
10815         * iconvdata/ibm1124.h: Likewise.
10816         * iconvdata/ibm1129.h: Likewise.
10817         * iconvdata/ibm1130.h: Likewise.
10818         * iconvdata/ibm1132.h: Likewise.
10819         * iconvdata/ibm1133.h: Likewise.
10820         * iconvdata/ibm1137.h: Likewise.
10821         * iconvdata/ibm1140.h: Likewise.
10822         * iconvdata/ibm1141.h: Likewise.
10823         * iconvdata/ibm1142.h: Likewise.
10824         * iconvdata/ibm1143.h: Likewise.
10825         * iconvdata/ibm1144.h: Likewise.
10826         * iconvdata/ibm1145.h: Likewise.
10827         * iconvdata/ibm1146.h: Likewise.
10828         * iconvdata/ibm1147.h: Likewise.
10829         * iconvdata/ibm1148.h: Likewise.
10830         * iconvdata/ibm1149.h: Likewise.
10831         * iconvdata/ibm1153.h: Likewise.
10832         * iconvdata/ibm1154.h: Likewise.
10833         * iconvdata/ibm1155.h: Likewise.
10834         * iconvdata/ibm1156.h: Likewise.
10835         * iconvdata/ibm1157.h: Likewise.
10836         * iconvdata/ibm1158.h: Likewise.
10837         * iconvdata/ibm1160.h: Likewise.
10838         * iconvdata/ibm1161.h: Likewise.
10839         * iconvdata/ibm1162.h: Likewise.
10840         * iconvdata/ibm1163.h: Likewise.
10841         * iconvdata/ibm1164.h: Likewise.
10842         * iconvdata/ibm1166.h: Likewise.
10843         * iconvdata/ibm1167.h: Likewise.
10844         * iconvdata/ibm12712.h: Likewise.
10845         * iconvdata/ibm1390.h: Likewise.
10846         * iconvdata/ibm1399.h: Likewise.
10847         * iconvdata/ibm16804.h: Likewise.
10848         * iconvdata/ibm4517.h: Likewise.
10849         * iconvdata/ibm4899.h: Likewise.
10850         * iconvdata/ibm4909.h: Likewise.
10851         * iconvdata/ibm4971.h: Likewise.
10852         * iconvdata/ibm5347.h: Likewise.
10853         * iconvdata/ibm803.h: Likewise.
10854         * iconvdata/ibm856.h: Likewise.
10855         * iconvdata/ibm901.h: Likewise.
10856         * iconvdata/ibm902.h: Likewise.
10857         * iconvdata/ibm9030.h: Likewise.
10858         * iconvdata/ibm9066.h: Likewise.
10859         * iconvdata/ibm921.h: Likewise.
10860         * iconvdata/ibm922.h: Likewise.
10861         * iconvdata/ibm9448.h: Likewise.
10862         * iconvdata/isiri-3342.h: Likewise.
10863         * iconvdata/jis0201.h: Likewise.
10864         * include/link.h: Likewise.
10865         * include/netdb.h: Likewise.
10866         * inet/check_native.c: Likewise.
10867         * inet/check_pf.c: Likewise.
10868         * inet/getipv4sourcefilter.c: Likewise.
10869         * inet/getnameinfo.c: Likewise.
10870         * inet/getsourcefilter.c: Likewise.
10871         * inet/htonl.c: Likewise.
10872         * inet/setipv4sourcefilter.c: Likewise.
10873         * inet/setsourcefilter.c: Likewise.
10874         * inet/test-inet6_opt.c: Likewise.
10875         * inet/tst-network.c: Likewise.
10876         * locale/C-collate.c: Likewise.
10877         * locale/C-ctype.c: Likewise.
10878         * locale/C-time.c: Likewise.
10879         * locale/C-translit.h: Likewise.
10880         * locale/loadarchive.c: Likewise.
10881         * locale/programs/3level.h: Likewise.
10882         * locale/programs/charmap.c: Likewise.
10883         * locale/programs/charmap.h: Likewise.
10884         * locale/programs/ld-address.c: Likewise.
10885         * locale/programs/ld-collate.c: Likewise.
10886         * locale/programs/ld-ctype.c: Likewise.
10887         * locale/programs/ld-identification.c: Likewise.
10888         * locale/programs/ld-measurement.c: Likewise.
10889         * locale/programs/ld-messages.c: Likewise.
10890         * locale/programs/ld-monetary.c: Likewise.
10891         * locale/programs/ld-name.c: Likewise.
10892         * locale/programs/ld-numeric.c: Likewise.
10893         * locale/programs/ld-paper.c: Likewise.
10894         * locale/programs/ld-telephone.c: Likewise.
10895         * locale/programs/ld-time.c: Likewise.
10896         * locale/programs/linereader.c: Likewise.
10897         * locale/programs/locale.c: Likewise.
10898         * locale/programs/locarchive.c: Likewise.
10899         * locale/programs/locfile.h: Likewise.
10900         * locale/programs/repertoire.c: Likewise.
10901         * locale/programs/simple-hash.c: Likewise.
10902         * locale/programs/simple-hash.h: Likewise.
10903         * malloc/memusage.c: Likewise.
10904         * malloc/memusagestat.c: Likewise.
10905         * nis/nis_defaults.c: Likewise.
10906         * nis/nis_hash.c: Likewise.
10907         * nis/nis_print.c: Likewise.
10908         * nis/nis_xdr.c: Likewise.
10909         * nscd/connections.c: Likewise.
10910         * nscd/hstcache.c: Likewise.
10911         * nscd/nscd_gethst_r.c: Likewise.
10912         * nscd/nscd_getserv_r.c: Likewise.
10913         * nscd/nscd_helper.c: Likewise.
10914         * nscd/servicescache.c: Likewise.
10915         * nss/makedb.c: Likewise.
10916         * nss/nss_db/db-XXX.c: Likewise.
10917         * nss/nss_db/db-initgroups.c: Likewise.
10918         * nss/nss_db/db-netgrp.c: Likewise.
10919         * nss/nss_files/files-network.c: Likewise.
10920         * nss/nss_files/files-parse.c: Likewise.
10921         * posix/bug-regex5.c: Likewise.
10922         * posix/fnmatch_loop.c: Likewise.
10923         * posix/regcomp.c: Likewise.
10924         * posix/regexec.c: Likewise.
10925         * posix/tst-rfc3484-2.c: Likewise.
10926         * posix/tst-rfc3484-3.c: Likewise.
10927         * posix/tst-rfc3484.c: Likewise.
10928         * resolv/nss_dns/dns-canon.c: Likewise.
10929         * resolv/nss_dns/dns-network.c: Likewise.
10930         * resolv/res_init.c: Likewise.
10931         * resolv/res_mkquery.c: Likewise.
10932         * resolv/tst-aton.c: Likewise.
10933         * stdlib/cxa_atexit.c: Likewise.
10934         * stdlib/cxa_finalize.c: Likewise.
10935         * stdlib/gen-fpioconst.c: Likewise.
10936         * stdlib/strtol_l.c: Likewise.
10937         * string/tst-endian.c: Likewise.
10938         * sunrpc/auth_des.c: Likewise.
10939         * sunrpc/clnt_udp.c: Likewise.
10940         * sunrpc/rtime.c: Likewise.
10941         * sunrpc/svcauth_des.c: Likewise.
10942         * sunrpc/xdr.c: Likewise.
10943         * sunrpc/xdr_intXX_t.c: Likewise.
10944         * sunrpc/xdr_rec.c: Likewise.
10945         * sysdeps/generic/ldconfig.h: Likewise.
10946         * sysdeps/generic/ldsodefs.h: Likewise.
10947         * sysdeps/generic/memusage.h: Likewise.
10948         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10949         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10950         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10951         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10952         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10953         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10954         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10955         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10956         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10957         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10958         * sysdeps/posix/getaddrinfo.c: Likewise.
10959         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10960         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10961         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10962         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10963         * sysdeps/powerpc/test-gettimebase.c: Likewise.
10964         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10965         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10966         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10967         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10968         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10969         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10970         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10971         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10972         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10973         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10974         * sysdeps/x86_64/dl-tls.h: Likewise.
10975         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10976         * time/alt_digit.c: Likewise.
10977         * time/era.c: Likewise.
10978         * wcsmbs/tst-c16c32-1.c: Likewise.
10980 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10982         * math/libm-test.inc (struct test_sincos_data): New type.
10983         (RUN_TEST_LOOP_sincos): New macro.
10984         (sincos_test_data): New variable.
10985         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10987 2013-05-16  Richard Henderson  <rth@redhat.com>
10989         * math/atest-exp2.c (LIMB64): New macro.
10990         (CONSTSZ): New macro.
10991         (mp_exp1, mp_exp_m1, mp_log2): New variables.
10992         (hexdig): Move ...
10993         (print_mpn_fp): ... to function scope.
10994         (read_mpn_hex): Remove.
10995         (get_log2): Remove.
10996         (exp2_mpn): Use mp_log2.
10997         (main): Use mp_exp1.
10999 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
11001         * math/libm-test.inc: Remove comment about not testing "inexact"
11002         exceptions.
11003         (INEXACT_EXCEPTION): New macro.
11004         (NO_INEXACT_EXCEPTION): Likewise.
11005         (INVALID_EXCEPTION_OK): Update value.
11006         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11007         (OVERFLOW_EXCEPTION_OK): Likewise.
11008         (UNDERFLOW_EXCEPTION_OK): Likewise.
11009         (IGNORE_ZERO_INF_SIGN): Likewise.
11010         (ERRNO_UNCHANGED): Likewise.
11011         (ERRNO_EDOM): Likewise.
11012         (ERRNO_ERANGE): Likewise.
11013         (test_exceptions): Handle testing "inexact" exceptions.
11014         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
11015         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
11016         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
11017         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
11018         INEXACT_EXCEPTION.
11019         (rint_towardzero_test_data): Likewise.
11020         (rint_downward_test_data): Likewise.
11021         (rint_upward_test_data): Likewise.
11023         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
11024         with OVERFLOW_EXCEPTION.
11025         (exp10_test_data): Likewise.
11026         (exp2_test_data): Likewise.
11027         (expm1_test_data): Likewise.
11028         (lgamma_test_data): Likewise.
11029         (pow_test_data): Likewise.
11030         (tgamma_test_data): Likewise.
11031         (yn_test_data): Remove duplicate test of overflow.
11033         * math/libm-test.inc (struct test_cc_c_data): New type.
11034         (RUN_TEST_LOOP_cc_c): New macro.
11035         (cpow_test_data): New variable.
11036         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11038         * math/libm-test.inc (struct test_f_L_data): New type.
11039         (RUN_TEST_LOOP_f_L): New macro.
11040         (llrint_test_data): New variable.
11041         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11042         (llrint_tonearest_test_data): New variable.
11043         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11044         (llrint_towardzero_test_data): New variable.
11045         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11046         (llrint_downward_test_data): New variable.
11047         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11048         (llrint_upward_test_data): New variable.
11049         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11050         (llround_test_data): New variable.
11051         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11053 2013-05-13  Peter Collingbourne  <pcc@google.com>
11055         * math/atest-exp2.c (get_log2): Remove const attribute.
11057 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
11059         * math/libm-test.inc (struct test_f_l_data): New type.
11060         (RUN_TEST_LOOP_f_l): New macro.
11061         (lrint_test_data): New variable.
11062         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11063         (lrint_tonearest_test_data): New variable.
11064         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11065         (lrint_towardzero_test_data): New variable.
11066         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11067         (lrint_downward_test_data): New variable.
11068         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11069         (lrint_upward_test_data): New variable.
11070         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11071         (lround_test_data): New variable.
11072         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11074 2013-05-15  Peter Collingbourne  <pcc@google.com>
11076         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11077         (EXTRACT_WORDS64) Use where appropriate.
11078         (INSERT_WORDS64) Likewise.
11080         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11081         constraints with x constraints.
11082         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11084         * malloc/obstack.c (_obstack_compat): Add initializer.
11086 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
11088         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11089         si_trapno and add si_addr_lsb to _sifields.sigfault.
11090         (si_trapno): Remove macro.
11091         (si_addr_lsb): Define new macro.
11092         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11094 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
11096         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11097         instead of TEST_f_l.
11098         (llrint_test_tonearest): Likewise.
11099         (llrint_test_towardzero): Likewise.
11100         (llrint_test_downward): Likewise.
11101         (llrint_test_upward): Likewise.
11102         (llround_test): Likewise.
11104         * math/libm-test.inc (struct test_f_i_data): Add comment.
11105         (RUN_TEST_LOOP_f_b): New macro.
11106         (RUN_TEST_LOOP_f_b_tg): Likewise.
11107         (finite_test_data): New variable.
11108         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11109         (isfinite_test_data): New variable.
11110         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11111         (isinf_test_data): New variable.
11112         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11113         (isnan_test_data): New variable.
11114         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11115         (isnormal_test_data): New variable.
11116         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11117         (issignaling_test_data): New variable.
11118         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11119         (signbit_test_data): New variable.
11120         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11122         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11123         with INVALID_EXCEPTION.
11124         (acosh_test_data): Likewise.
11125         (asin_test_data): Likewise.
11126         (atanh_test_data): Likewise.
11127         (fmod_test_data): Likewise.
11128         (log_test_data): Likewise.
11129         (log10_test_data): Likewise.
11130         (log2_test_data): Likewise.
11131         (pow_test_data): Likewise.
11132         (sqrt_test_data): Likewise.
11133         (y0_test_data): Likewise.
11134         (y1_test_data): Likewise.
11135         (yn_test_data): Likewise.
11137         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11138         function contents.
11140         * math/libm-test.inc (struct test_ff_i_data): New type.
11141         (RUN_TEST_LOOP_ff_i_tg): New macro.
11142         (isgreater_test_data): New variable.
11143         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11144         (isgreaterequal_test_data): New variable.
11145         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11146         (isless_test_data): New variable.
11147         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11148         (islessequal_test_data): New variable.
11149         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11150         (islessgreater_test_data): New variable.
11151         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11152         (isunordered_test_data): New variable.
11153         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11155 2013-05-14  David S. Miller  <davem@davemloft.net>
11157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11159 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
11161         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11163         * math/libm-test.inc (struct test_fF_f1_data): Change type of
11164         extra_test to int.
11165         (struct test_f_i_data): Change type of max_ulp to int.
11167         * math/libm-test.inc (test_ffI_f1_data): New type.
11168         (RUN_TEST_LOOP_ffI_f1): New macro.
11169         (remquo_test_data): New variable.
11170         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11172         * setjmp/tst-setjmp-fp.c: New file.
11173         * setjmp/Makefile (tests): Add tst-setjmp-fp.
11174         (link-libm): New variable.
11175         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11177         * math/libm-test.inc (struct test_f_i_data): New type.
11178         (RUN_TEST_LOOP_f_i): New macro.
11179         (RUN_TEST_LOOP_f_i_tg): Likewise.
11180         (fpclassify_test_data): New variable.
11181         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11182         (ilogb_test_data): New variable.
11183         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11185         * math/libm-test.inc (scalbln_test): Correct function name in END
11186         call.
11188         * math/libm-test.inc (struct test_f_f1_data): Add comment.
11189         (RUN_TEST_LOOP_fI_f1): New macro.
11190         (frexp_test_data): New variable.
11191         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11193         * math/libm-test.inc (struct test_fF_f1_data): New type.
11194         (RUN_TEST_LOOP_fF_f1): New macro.
11195         (modf_test_data): New variable.
11196         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11198         * math/libm-test.inc (struct test_f_f1_data): New type.
11199         (RUN_TEST_LOOP_f_f1): New macro.
11200         (gamma_test_data): New variable.
11201         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11202         (lgamma_test_data): New variable.
11203         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11205 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
11207         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11208         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11209         (main): Comment "tls" pseudo-hwcap.
11211 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
11213         * math/libm-test.inc (struct test_fl_f_data): New type.
11214         (RUN_TEST_LOOP_fl_f): New variable.
11215         (scalbln_test_data): New variable.
11216         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11218         * math/libm-test.inc (struct test_fi_f_data): New type.
11219         (RUN_TEST_LOOP_fi_f): New macro.
11220         (ldexp_test_data): New variable.
11221         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11222         (scalbn_test_data): New variable.
11223         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11225         * math/libm-test.inc (struct test_c_f_data): New type.
11226         (RUN_TEST_LOOP_c_f): New macro.
11227         (cabs_test_data): New variable.
11228         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11229         (carg_test_data): New variable.
11230         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11231         (cimag_test_data): New variable.
11232         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11233         (creal_test_data): New variable.
11234         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11236         * math/libm-test.inc (struct test_if_f_data): New type.
11237         (RUN_TEST_LOOP_if_f): New macro.
11238         (jn_test_data): New variable.
11239         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11240         (yn_test_data): New variable.
11241         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11243         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11245 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11247         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11248         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11250 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11252         * benchtests/Makefile (CPPFLAGS-nonlib): Add
11253         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11254         (bench-deps): Add bench-timing.h.
11255         * benchtests-bench-skeleton.c: Include bench-timing.h.
11256         (main): Use TIMING_* macros instead of clock_gettime.
11257         * benchtests/bench-timing.h: New file.
11259         [BZ #14582]
11260         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11261         Renamed from _LIB_VERSION.
11262         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11264 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
11266         * math/libm-test.inc (struct test_fff_f_data): New type.
11267         (RUN_TEST_LOOP_fff_f): New macro.
11268         (fma_test_data): New variable.
11269         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11270         (fma_towardzero_test_data): New variable.
11271         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11272         (fma_downward_test_data): New variable.
11273         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11274         (fma_upward_test_data): New variable.
11275         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11277         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11278         (struct test_c_c_data): New type.
11279         (RUN_TEST_LOOP_c_c): New macro.
11280         (cacos_test_data): New variable.
11281         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11282         (cacosh_test_data): New variable.
11283         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11284         (casin_test_data): New variable.
11285         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11286         (casinh_test_data): New variable.
11287         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11288         (catan_test_data): New variable.
11289         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11290         (catanh_test_data): New variable.
11291         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11292         (ccos_test_data): New variable.
11293         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11294         (ccosh_test_data): New variable.
11295         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11296         (cexp_test_data): New variable.
11297         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11298         (clog_test_data): New variable.
11299         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11300         (clog10_test_data): New variable.
11301         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11302         (conj_test_data): New variable.
11303         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11304         (cproj_test_data): New variable.
11305         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11306         (csin_test_data): New variable.
11307         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11308         (csinh_test_data): New variable.
11309         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11310         (csqrt_test_data): New variable.
11311         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11312         (ctan_test_data): New variable.
11313         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11314         (ctan_tonearest_test_data): New variable.
11315         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11316         (ctan_towardzero_test_data): New variable.
11317         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11318         (ctan_downward_test_data): New variable.
11319         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11320         (ctan_upward_test_data): New variable.
11321         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11322         (ctanh_test_data): New variable.
11323         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11324         (ctanh_tonearest_test_data): New variable.
11325         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11326         (ctanh_towardzero_test_data): New variable.
11327         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11328         (ctanh_downward_test_data): New variable.
11329         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11330         (ctanh_upward_test_data): New variable.
11331         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11332         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11333         of BUILD_COMPLEX.
11335         * math/libm-test.inc (struct test_ff_f_data): New type.
11336         (struct test_ff_f_data_nexttoward): Likewise.
11337         (RUN_TEST_LOOP_2_f): New macro.
11338         (RUN_TEST_LOOP_ff_f): Likewise.
11339         (atan2_test_data): New variable.
11340         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11341         (copysign_test_data): New variable.
11342         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11343         (fdim_test_data): New variable.
11344         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11345         (fmax_test_data): New variable.
11346         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11347         (fmin_test_data): New variable.
11348         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11349         (fmod_test_data): New variable.
11350         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11351         (hypot_test_data): New variable.
11352         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11353         (nextafter_test_data): New variable.
11354         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11355         (nexttoward_test_data): New variable.
11356         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11357         (pow_test_data): New variable.
11358         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11359         (pow_tonearest_test_data): New variable.
11360         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11361         (pow_towardzero_test_data): New variable.
11362         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11363         (pow_downward_test_data): New variable.
11364         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11365         (pow_upward_test_data): New variable.
11366         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11367         (remainder_test_data): New variable.
11368         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11369         (scalb_test_data): New variable.
11370         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11371         * sysdeps/i386/fpu/libm-test-ulps: Update.
11373 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
11375         * math/libm-test.inc (fma_test): Use max_value instead of local
11376         variable fltmax.
11377         (nextafter_test): Likewise.
11379         * math/libm-test.inc (acos_towardzero_test_data): New variable.
11380         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11381         (acos_downward_test_data): New variable.
11382         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11383         (acos_upward_test_data): New variable.
11384         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11385         (acosh_test_data): New variable.
11386         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11387         (asin_test_data): New variable.
11388         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11389         (asin_tonearest_test_data): New variable.
11390         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11391         (asin_towardzero_test_data): New variable.
11392         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11393         (asin_downward_test_data): New variable.
11394         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11395         (asin_upward_test_data): New variable.
11396         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11397         (asinh_test_data): New variable.
11398         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11399         (atan_test_data): New variable.
11400         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11401         (atanh_test_data): New variable.
11402         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11403         (cbrt_test_data): New variable.
11404         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11405         (ceil_test_data): New variable.
11406         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11407         (cos_test_data): New variable.
11408         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11409         (cos_tonearest_test_data): New variable.
11410         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11411         (cos_towardzero_test_data): New variable.
11412         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11413         (cos_downward_test_data): New variable.
11414         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11415         (cos_upward_test_data): New variable.
11416         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11417         (cosh_test_data): New variable.
11418         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11419         (cosh_tonearest_test_data): New variable.
11420         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11421         (cosh_towardzero_test_data): New variable.
11422         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11423         (cosh_downward_test_data): New variable.
11424         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11425         (cosh_upward_test_data): New variable.
11426         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11427         (erf_test_data): New variable.
11428         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11429         (erfc_test_data): New variable.
11430         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11431         (exp_test_data): New variable.
11432         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11433         (exp_tonearest_test_data): New variable.
11434         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11435         (exp_towardzero_test_data): New variable.
11436         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11437         (exp_downward_test_data): New variable.
11438         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11439         (exp_upward_test_data): New variable.
11440         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11441         (exp10_test_data): New variable.
11442         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11443         (exp2_test_data): New variable.
11444         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11445         (expm1_test_data): New variable.
11446         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11447         (fabs_test_data): New variable.
11448         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11449         (floor_test_data): New variable.
11450         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11451         (j0_test_data): New variable.
11452         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11453         (j1_test_data): New variable.
11454         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11455         (log_test_data): New variable.
11456         (log_test): Run tests with RUN_TEST_LOOP_f_f.
11457         (log10_test_data): New variable.
11458         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11459         (log1p_test_data): New variable.
11460         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11461         (log2_test_data): New variable.
11462         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11463         (logb_test_data): New variable.
11464         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11465         (logb_downward_test_data): New variable.
11466         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11467         (nearbyint_test_data): New variable.
11468         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11469         (rint_test_data): New variable.
11470         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11471         (rint_tonearest_test_data): New variable.
11472         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11473         (rint_towardzero_test_data): New variable.
11474         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11475         (rint_downward_test_data): New variable.
11476         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11477         (rint_upward_test_data): New variable.
11478         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11479         (round_test_data): New variable.
11480         (round_test): Run tests with RUN_TEST_LOOP_f_f.
11481         (sin_test_data): New variable.
11482         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11483         (sin_tonearest_test_data): New variable.
11484         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11485         (sin_towardzero_test_data): New variable.
11486         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11487         (sin_downward_test_data): New variable.
11488         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11489         (sin_upward_test_data): New variable.
11490         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11491         (sinh_test_data): New variable.
11492         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11493         (sinh_tonearest_test_data): New variable.
11494         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11495         (sinh_towardzero_test_data): New variable.
11496         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11497         (sinh_downward_test_data): New variable.
11498         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11499         (sinh_upward_test_data): New variable.
11500         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11501         (sqrt_test_data): New variable.
11502         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11503         (tan_test_data): New variable.
11504         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11505         (tan_tonearest_test_data): New variable.
11506         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11507         (tan_towardzero_test_data): New variable.
11508         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11509         (tan_downward_test_data): New variable.
11510         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11511         (tan_upward_test_data): New variable.
11512         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11513         (tanh_test_data): New variable.
11514         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11515         (tgamma_test_data): New variable.
11516         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11517         (trunc_test_data): New variable.
11518         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11519         (y0_test_data): New variable.
11520         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11521         (y1_test_data): New variable.
11522         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11523         (significand_test_data): New variable.
11524         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11526 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
11528         [BZ #12387]
11529         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11531 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
11533         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11535 2013-05-10  Andreas Jaeger  <aj@suse.de>
11537         [BZ #15448]
11538         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11539         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11541 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
11543         * math/gen-libm-test.pl (adjust_arg): New function.
11544         (special_functions): Handle generating output in both functions
11545         and arrays.
11546         (parse_args): Likewise.
11547         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
11548         $in_func argument to parse_args.
11549         * math/libm-test.inc (struct test_f_f_data): New type.
11550         (IF_ROUND_INIT_): New macro.
11551         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11552         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11553         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11554         (IF_ROUND_INIT_FE_UPWARD): Likewise.
11555         (ROUND_RESTORE_): Likewise.
11556         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11557         (ROUND_RESTORE_FE_TONEAREST): Likewise.
11558         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11559         (ROUND_RESTORE_FE_UPWARD): Likewise.
11560         (RUN_TEST_LOOP_f_f): New macro.
11561         (acos_test_data): New variable.
11562         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11563         (acos_tonearest_test_data): New variable.
11564         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11566 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11568         * benchtests/bench-skeleton.c (startup): Fix coding style.
11570 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
11572         [BZ #6809]
11573         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11574         negative infinity argument.
11575         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11576         negative infinity argument.
11577         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11578         negative infinity argument.
11579         * math/libm-test.inc (tgamma_test): Expect errno to be set for
11580         domain errors.
11582 2013-05-10  Florian Weimer  <fweimer@redhat.com>
11584         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11585         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11586         * iconv/iconv_prog.c (main): Likewise.
11587         * locale/programs/charmap-dir.c (charmap_readdir)
11588         (fopen_uncompressed): Likewise.
11589         * locale/programs/locfile.c (siblings_uncached)
11590         (write_locale_data): Use lstat64 instead of lstat.
11591         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11592         stat.
11594 2013-05-10  Andreas Jaeger  <aj@suse.de>
11596         [BZ #15395]
11597         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11598         localization.
11599         Include <locale.h>.
11601 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
11603         * elf/dl-close.c (_dl_close_worker): Add comments.
11605 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
11607         [BZ #15359]
11608         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11609         high part of pi/2.
11610         (__ieee754_rem_pio2l): Update comments.
11612         [BZ #15429]
11613         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11614         high part of pi/2.
11615         (__ieee754_rem_pio2l): Update comments.
11617         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11618         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11620         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11621         M_PI_4l.
11623         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11624         (M_PI_34_LOG10El): Likewise.
11625         (M_PI2_LOG10El): Likewise.
11626         (M_PI4_LOG10El): Likewise.
11627         (M_PI_LOG10El): Likewise.
11629 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11633 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
11635         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11636         (MINUS_ZERO_INIT): Likewise.
11637         (PLUS_INFTY_INIT): Likewise.
11638         (MINUS_INFTY_INIT): Likewise.
11639         (QNAN_VALUE_INIT): Likewise.
11640         (MAX_VALUE_INIT): Likewise.
11641         (MIN_VALUE_INIT): Likewise.
11642         (MIN_SUBNORM_VALUE_INIT): Likewise.
11643         (plus_zero): Initialize with PLUS_ZERO_INIT.
11644         (minus_zero): Initialize with MINUS_ZERO_INIT.
11645         (plus_infty): Initialize with PLUS_INFTY_INIT.
11646         (minus_infty): Initialize with MINUS_INFTY_INIT.
11647         (qnan_value): Initialize with QNAN_VALUE_INIT.
11648         (max_value): Initialize with MAX_VALUE_INIT.
11649         (min_value): Initialize with MIN_VALUE_INIT.
11650         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11652         * math/libm-test.inc (RUN_TEST_if_f): New macro.
11653         (jn_test): Use TEST_if_f instead of TEST_ff_f.
11654         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11655         (yn_test): Use TEST_if_f instead of TEST_ff_f.
11657         * math/libm-test.inc (RUN_TEST_f_f): New macro.
11658         (RUN_TEST_2_f): Likewise.
11659         (RUN_TEST_ff_f): Likewise.
11660         (RUN_TEST_fi_f): Likewise.
11661         (RUN_TEST_fl_f): Likewise.
11662         (RUN_TEST_fff_f): Likewise.
11663         (RUN_TEST_c_f): Likewise.
11664         (RUN_TEST_f_f1): Likewise.
11665         (RUN_TEST_fF_f1): Likewise.
11666         (RUN_TEST_fI_f1): Likewise.
11667         (RUN_TEST_ffI_f1): Likewise.
11668         (RUN_TEST_c_c): Likewise.
11669         (RUN_TEST_cc_c): Likewise.
11670         (RUN_TEST_f_i): Likewise.
11671         (RUN_TEST_f_i_tg): Likewise.
11672         (RUN_TEST_ff_i_tg): Likewise.
11673         (RUN_TEST_f_b): Likewise.
11674         (RUN_TEST_f_b_tg): Likewise.
11675         (RUN_TEST_f_l): Likewise.
11676         (RUN_TEST_f_L): Likewise.
11677         (RUN_TEST_sincos): Likewise.
11678         * math/gen-libm-test.pl (new_test): Take new argument to indicate
11679         whether to show exceptions.  Do not include ");\n" in return
11680         value.
11681         (special_functions): Output call to RUN_TEST_sincos instead of
11682         check_float calls.  Update calls to new_test.
11683         (parse_args): Output call to single RUN_TEST_* macro instead of
11684         check_* calls and other assignments.  Update calls to new_test.
11686         [BZ #2546]
11687         [BZ #2560]
11688         [BZ #5159]
11689         [BZ #15426]
11690         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11691         input to result for tgamma overflow.
11692         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11693         (gamma_coeff): New variable.
11694         (NCOEFF): New macro.
11695         (gamma_positive): New function.
11696         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11697         underflow here.  Use gamma_positive instead of exp (lgamma) for
11698         other arguments.
11699         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11700         (gamma_coeff): New variable.
11701         (NCOEFF): New macro.
11702         (gammaf_positive): New function.
11703         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11704         underflow here.  Use gamma_positive instead of exp (lgamma) for
11705         other arguments.
11706         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11707         (gamma_coeff): New variable.
11708         (NCOEFF): New macro.
11709         (gammal_positive): New function.
11710         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11711         underflow here.  Use gamma_positive instead of exp (lgamma) for
11712         other arguments.
11713         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11714         (gamma_coeff): New variable.
11715         (NCOEFF): New macro.
11716         (gammal_positive): New function.
11717         (__ieee754_gammal_r): Handle positive infinity, overflow and
11718         underflow here.  Handle NaN the same as positive infinity.  Remove
11719         check x < 0xffffffff for negative integers.  Use gamma_positive
11720         instead of exp (lgamma) for other arguments.
11721         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11722         (gamma_coeff): New variable.
11723         (NCOEFF): New macro.
11724         (gammal_positive): New function.
11725         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11726         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11727         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11728         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11729         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11730         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11731         * sysdeps/generic/math_private.h (__gamma_productf): New
11732         prototype.
11733         (__gamma_product): Likewise.
11734         (__gamma_productl): Likewise.
11735         * math/Makefile (libm-calls): Add gamma_product.
11736         * math/libm-test.inc (tgamma_test): Add more tests.
11737         * sysdeps/i386/fpu/libm-test-ulps: Update.
11738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11740 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
11742         * benchtests/bench-skeleton.c (main): Preheat CPU.
11744 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
11746         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11748 2013-05-07  Roland McGrath  <roland@hack.frob.com>
11750         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11751         and _dl_skip_args_internal.
11753 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
11755         * manual/message.texi (Message Translation): Talk about users.
11756         Message to key mapping impacts design.
11758 2013-05-06  Roland McGrath  <roland@hack.frob.com>
11760         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11762         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11764         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11765         * sysdeps/wordsize-64/glob64.c: ... here.
11767         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11768         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11769         New macros.
11771         * debug/getlogin_r_chk.c: Moved to ...
11772         * login/getlogin_r_chk.c: ... here.
11773         * debug/Makefile (routines): Move getlogin_r_chk to ...
11774         * login/Makefile (routines): ... here.
11775         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11776         * login/Versions (libc: GLIBC_2.4): ... here.
11778         * io/poll.c (__poll): Renamed from poll.
11779         Add libc_hidden_def.
11780         (poll): Define as weak alias.
11782         * debug/ptsname_r_chk.c: Moved to ...
11783         * login/ptsname_r_chk.c: ... here.
11784         * debug/Makefile (routines): Move ptsname_r_chk to ...
11785         * login/Makefile (routines): ... here.
11786         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11787         * login/Versions (libc: GLIBC_2.4): ... here.
11789         * posix/getlogin.c: Moved to ...
11790         * login/getlogin.c: ... here.
11791         * posix/getlogin_r.c: Moved to ...
11792         * login/getlogin_r.c: ... here.
11793         * posix/getlogin_r.c: Moved to ...
11794         * login/getlogin_r.c: ... here.
11795         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11796         * login/Makefile (routines): ... here.
11797         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11798         * login/Versions (libc: GLIBC_2.0): ... here.
11800         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11801         (setrlimit): Define as weak alias.
11803         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11804         Call __ names for open, ftruncate, and close.
11805         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11806         (truncate): Define as weak alias.
11808 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
11810         * math/gen-libm-test.pl (parse_args): Initialize x before each
11811         test of frexp, modf and remquo.
11813         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11814         test signgam value.
11816 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11818         [BZ #15418]
11819         [BZ #15419]
11820         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11821         internal tests.
11822         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11824 2013-05-06  Roland McGrath  <roland@hack.frob.com>
11826         * elf/dl-writev.h: New file.
11827         * elf/dl-misc.c: Include it.
11828         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11829         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11831 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
11833         * math/libm-test.inc (noXFails): Remove variable.
11834         (noXPasses): Likewise.
11835         (BUILD_COMPLEX_INT): Remove macro.
11836         (print_screen): Remove xfail argument.
11837         (print_screen_max_error): Likewise.
11838         (update_stats): Likewise.
11839         (print_max_error): Likewise.  Update calls to other affected
11840         functions.
11841         (print_complex_max_error): Likewise.
11842         (test_single_exception): Update calls to print_screen.
11843         (test_single_errno): Likewise.
11844         (check_float_internal): Remove xfail argument.  Update calls to
11845         other affected functions.
11846         (check_float): Likewise.
11847         (check_complex): Likewise.
11848         (check_int): Likewise.
11849         (check_long): Likewise.
11850         (check_bool): Likewise.
11851         (check_longlong): Likewise.
11852         (main): Don't print noXFails and noXPasses.
11853         * math/gen-libm-test.pl (top level): Don't mention expected
11854         failure handling in comment.
11855         (new_test): Don't handle expected failures.
11856         (parse_args): Don't mention expected failure handling in comment.
11857         (generate_testfile): Don't handle expected failures.
11858         (parse_ulps): Likewise.
11859         (print_ulps_file): Likewise.
11860         (get_failure): Remove function.
11861         (output_test): Don't handle expected failures.
11862         * make/README.libm-test: Don't mention expected failure handling.
11864         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
11865         (minus_zero): Likewise.
11866         (plus_infty): Likewise.
11867         (minus_infty): Likewise.
11868         (qnan_value): Likewise.
11869         (max_value): Likewise.
11870         (min_value): Likewise.
11871         (min_subnorm_value): Likewise.
11872         (initialize): Do not initialize those variables dynamically.
11874 2013-05-03  Roland McGrath  <roland@hack.frob.com>
11876         * io/open.c (__open_2): Moved to ...
11877         * io/open_2.c: ... this new file.
11878         * io/open64.c (__open64_2): Moved to ...
11879         * io/open64_2.c: ... this new file.
11880         * io/openat.c (__openat_2): Moved to ...
11881         * io/openat_2.c: ... this new file.
11882         * io/openat64.c (__openat64_2): Moved to ...
11883         * io/openat64_2.c: ... this new file.
11884         * io/Makefile (routines): Add them.
11885         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11886         * sysdeps/unix/sysv/linux/open_2.c: File removed.
11887         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11888         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11889         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11890         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11891         (__openat64): Add hidden_ver.
11892         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11893         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11895         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11896         Separately conditionalize setting of GLRO(dl_sysinfo) so
11897         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11898         as well, but the actual setting is only under [NEED_DL_SYSINFO].
11900 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11902         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11903         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11904         definition.
11905         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11906         * sysdeps/unix/sysv/linux/powerpc/init-first.c
11907         (_libc_vdso_platform_setup): Add __vdso_time initialization.
11908         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11909         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11911 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
11913         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11914         test signgam value.
11916         * math/libm-test.inc (hypot_test): Do not use
11917         IGNORE_ZERO_INF_SIGN.
11919 2013-05-03  Andreas Jaeger  <aj@suse.de>
11921         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11922         Linux 3.9.
11923         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11924         (PF_MAX): Adjust for VSOCK change.
11926 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11930 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
11932         [BZ #15264]
11933         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11934         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11935         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11937 2013-05-02  David S. Miller  <davem@davemloft.net>
11939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11941 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
11943         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11945 2013-05-01  Roland McGrath  <roland@hack.frob.com>
11947         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11949 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
11951         [BZ #14952]
11952         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11953         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11954         Use __attribute__ ((__gnu_inline__)).
11955         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11956         Don't use __attribute__ ((__gnu_inline__)).
11958 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
11960         [BZ #15423]
11961         * math/s_catan.c (__catan): Handle small real or imaginary part of
11962         input specially to avoid spurious underflow.
11963         * math/s_catanf.c (__catanf): Likewise.
11964         * math/s_catanh.c (__catanh): Likewise.
11965         * math/s_catanhf.c (__catanhf): Likewise.
11966         * math/s_catanhl.c (__catanhl): Likewise.
11967         * math/s_catanl.c (__catanl): Likewise.
11968         * math/libm-test.inc (catan_test): Add more tests.
11969         (catanh_test): Likewise.
11970         * sysdeps/i386/fpu/libm-test-ulps: Update.
11971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11973 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11977 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
11979         [BZ #15416]
11980         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11981         accurately for denominator in atan2.
11982         * math/s_catanf.c (__catanf): Likewise.
11983         * math/s_catanh.c (__catanh): Likewise.
11984         * math/s_catanhf.c (__catanhf): Likewise.
11985         * math/s_catanhl.c (__catanhl): Likewise.
11986         * math/s_catanl.c (__catanl): Likewise.
11987         * math/libm-test.inc (catan_test): Add more tests.
11988         (catanh_test): Likewise.
11989         * sysdeps/i386/fpu/libm-test-ulps: Update.
11990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11992 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11994         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11996         * benchtests/Makefile (bench): Remove slow benchmarks.
11997         * benchtests/atan-inputs: Add slow benchmark inputs.
11998         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11999         (BENCH_FUNC): Accept variant offset.
12000         (VARIANT): Define.
12001         * benchtests/bench-skeleton.c (main): Run benchmark for each
12002         variant.
12003         * benchtests/cos-inputs: Add slow benchmark inputs.
12004         * benchtests/exp-inputs: Likewise.
12005         * benchtests/pow-inputs: Likewise.
12006         * benchtests/sin-inputs: Likewise.
12007         * benchtests/slowatan-inputs: Remove.
12008         * benchtests/slowatan.c: Remove.
12009         * benchtests/slowcos-inputs: Remove.
12010         * benchtests/slowcos.c: Remove.
12011         * benchtests/slowexp-inputs: Remove.
12012         * benchtests/slowexp.c: Remove.
12013         * benchtests/slowpow-inputs: Remove.
12014         * benchtests/slowpow.c: Remove.
12015         * benchtests/slowsin-inputs: Remove.
12016         * benchtests/slowsin.c: Remove.
12017         * benchtests/slowtan-inputs: Remove.
12018         * benchtests/slowtan.c: Remove.
12019         * benchtests/tan-inputs: Add slow benchmark inputs.
12020         * scripts/bench.pl: Parse comments and directives.
12022         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
12023         in CPPFLAGS.
12024         ($(objpfx)bench-%.c): Remove *-ITER.
12025         * benchtests/bench-modf.c: Remove definition of ITER.
12026         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
12027         (main): Loop for DURATION seconds instead of fixed number of
12028         iterations.
12029         * scripts/bench.pl: Don't expect iterations in parameters.
12031 2013-04-29  Roland McGrath  <roland@hack.frob.com>
12033         * io/fchdir.c (__fchdir): Renamed from fchdir.
12034         (fchdir): Define as weak alias.
12036 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
12038         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12039         (ERRNO_EDOM): Likewise.
12040         (ERRNO_ERANGE): Likewise.
12041         (noErrnoTests): New variable.
12042         (init_max_error): Set errno to 0.
12043         (test_single_errno): New function.
12044         (test_errno): Likewise.
12045         (check_float_internal): Call test_errno.  Set errno to 0.
12046         (check_complex): Refer to errno tests in comment.
12047         (check_int): Call test_errno.  Set errno to 0.
12048         (check_long): Likewise.
12049         (check_bool): Likewise.
12050         (check_longlong): Likewise.
12051         (cos_test): Use ERRNO_* flags for errno tests instead of
12052         check_int.
12053         (expm1_test): Likewise.
12054         (fmod_test): Likewise.
12055         (ilogb_test): Likewise.
12056         (lgamma_test): Likewise.
12057         (pow_test): Likewise.
12058         (remainder_test): Likewise.
12059         (sin_test): Likewise.
12060         (tan_test): Likewise.
12061         (yn_test): Likewise.
12062         (initialize): Set errno to 0.
12063         (main): Print number of errno tests.
12064         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12066 2013-04-29  Andreas Jaeger  <aj@suse.de>
12068         [BZ #15084]
12069         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12070         and RES_USEVC.
12072         [BZ #15085]
12073         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12074         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12075         unimplemented.
12077         [BZ #15380]
12078         * stdlib/random.c (__initstate): Return NULL if
12079         __initstate fails.
12081         [BZ #15086]
12082         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12083         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12084         RES_SNGLKUPREOP.
12086 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12090 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
12092         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12093         of individual tests.
12094         (casin_test): Likewise.
12095         (casinh_test): Likewise.
12097 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
12099         [BZ #15409]
12100         * math/s_catan.c (__catan): Handle arguments with large real or
12101         imaginary part separately without squaring.
12102         * math/s_catanf.c (__catanf): Likewise.
12103         * math/s_catanh.c (__catanh): Likewise.
12104         * math/s_catanhf.c (__catanhf): Likewise.
12105         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12106         and redefine.
12107         (__catanhl): Handle arguments with large real or imaginary part
12108         separately without squaring.
12109         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12110         and redefine.
12111         (__catanl): Handle arguments with large real or imaginary part
12112         separately without squaring.
12113         * math/libm-test.inc (catan_test): Add more tests.
12114         (catanh_test): Likewise.
12115         * sysdeps/i386/fpu/libm-test-ulps: Update.
12116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12118 2013-04-27  Andreas Jaeger  <aj@suse.de>
12120         [BZ #15007]
12121         * stdlib/stdlib.h: Update guards for qecvt.
12122         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12123         <stdlib.h>.
12125 2013-04-27  Allan McRae  <allan@archlinux.org>
12127         * sysdeps/i386/fpu/libm-test-ulps: Update.
12129 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
12131         [BZ #15406]
12132         * math/s_catan.c: Include <float.h>.
12133         (__catan): Ensure underflow exception occurs for underflowed
12134         result.
12135         * math/s_catanf.c: Include <float.h>.
12136         (__catanf): Ensure underflow exception occurs for underflowed
12137         result.
12138         * math/s_catanh.c: Include <float.h>.
12139         (__catanh): Ensure underflow exception occurs for underflowed
12140         result.
12141         * math/s_catanhf.c: Include <float.h>.
12142         (__catanhf): Ensure underflow exception occurs for underflowed
12143         result.
12144         * math/s_catanhl.c: Include <float.h>.
12145         (__catanhl): Ensure underflow exception occurs for underflowed
12146         result.
12147         * math/s_catanl.c: Include <float.h>.
12148         (__catanl): Ensure underflow exception occurs for underflowed
12149         result.
12150         * math/libm-test.inc (catan_test): Add more tests.
12151         (catanh_test): Likewise.
12153         [BZ #15405]
12154         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12155         underflowed result.
12156         * math/s_ccoshf.c (__ccoshf): Likewise.
12157         * math/s_ccoshl.c (__ccoshl): Likewise.
12158         * math/s_csin.c (__csin): Likewise.
12159         * math/s_csinf.c (__csinf): Likewise.
12160         * math/s_csinh.c (__csinh): Likewise.
12161         * math/s_csinhf.c (__csinhf): Likewise.
12162         * math/s_csinhl.c (__csinhl): Likewise.
12163         * math/s_csinl.c (__csinl): Likewise.
12164         * math/libm-test.inc (ccos_test): Add more tests.
12165         (ccosh_test): Likewise.
12166         (csin_test): Likewise.
12167         (csinh_test): Likewise.
12169 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12171         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12172         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12173         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12174         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12175         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12176         powerpc/power5+/fpu folders.
12177         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12180 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
12182         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12184 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
12186         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12187         additions to variable.
12188         [$(config-machine) = x86_64] (modules-names): Likewise.
12189         ($(objpfx)tst-audit3): Remove dependency.
12190         ($(objpfx)tst-audit3.out): Likewise.
12191         ($(objpfx)tst-audit4): Likewise.
12192         ($(objpfx)tst-audit4.out): Likewise.
12193         ($(objpfx)tst-audit5): Likewise.
12194         ($(objpfx)tst-audit5.out): Likewise.
12195         ($(objpfx)tst-audit6): Likewise.
12196         ($(objpfx)tst-audit6.out): Likewise.
12197         ($(objpfx)tst-audit7): Likewise.
12198         ($(objpfx)tst-audit7.out): Likewise.
12199         (tst-audit3-ENV): Remove variable.
12200         (tst-audit4-ENV): Likewise.
12201         (tst-audit5-ENV): Likewise.
12202         (tst-audit6-ENV): Likewise.
12203         (tst-audit7-ENV): Likewise.
12204         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12205         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12206         addition to variable.
12207         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12208         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12209         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12210         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12211         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12212         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12213         tst-audit3, tst-audit4 and tst-audit5.
12214         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12215         tst-audit6 and tst-audit7.
12216         [$(subdir) = elf] (modules-names): Add audit modules for those
12217         tests.
12218         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12219         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12220         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12221         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12222         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12223         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12224         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12225         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12226         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12227         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12228         [$(subdir) = elf] (tst-audit3-ENV): New variable.
12229         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12230         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12231         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12232         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12233         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12234         Likewise.
12235         [$(subdir) = elf && $(config-cflags-avx) = yes]
12236         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12237         [$(subdir) = elf && $(config-cflags-avx) = yes]
12238         (CFLAGS-tst-auditmod4a.c): Likewise.
12239         [$(subdir) = elf && $(config-cflags-avx) = yes]
12240         (CFLAGS-tst-auditmod4b.c): Likewise.
12241         [$(subdir) = elf && $(config-cflags-avx) = yes]
12242         (CFLAGS-tst-auditmod6b.c): Likewise.
12243         [$(subdir) = elf && $(config-cflags-avx) = yes]
12244         (CFLAGS-tst-auditmod6c.c): Likewise.
12245         [$(subdir) = elf && $(config-cflags-avx) = yes]
12246         (CFLAGS-tst-auditmod7b.c): Likewise.
12247         * elf/tst-audit3.c: Move to ...
12248         * sysdeps/x86_64/tst-audit3.c: ... here.
12249         * elf/tst-audit4.c: Move to ...
12250         * sysdeps/x86_64/tst-audit4.c: ... here.
12251         * elf/tst-audit5.c: Move to ...
12252         * sysdeps/x86_64/tst-audit5.c: ... here.
12253         * elf/tst-audit6.c: Move to ...
12254         * sysdeps/x86_64/tst-audit6.c: ... here.
12255         * elf/tst-audit7.c: Move to ...
12256         * sysdeps/x86_64/tst-audit7.c: ... here.
12257         * elf/tst-auditmod3a.c: Move to ...
12258         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12259         * elf/tst-auditmod3b.c: Move to ...
12260         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12261         * elf/tst-auditmod4a.c: Move to ...
12262         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12263         * elf/tst-auditmod4b.c: Move to ...
12264         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12265         * elf/tst-auditmod5a.c: Move to ...
12266         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12267         * elf/tst-auditmod5b.c: Move to ...
12268         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12269         * elf/tst-auditmod6a.c: Move to ...
12270         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12271         * elf/tst-auditmod6b.c: Move to ...
12272         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12273         * elf/tst-auditmod6c.c: Move to ...
12274         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12275         * elf/tst-auditmod7a.c: Move to ...
12276         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12277         * elf/tst-auditmod7b.c: Move to ...
12278         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12280 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
12282         [BZ #15366]
12283         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12284         define unconditionally.
12285         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12286         define unconditionally.
12287         (INT8_C, INT16_C, etc.): Likewise.
12289 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
12291         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12292         __ehdr_start with hidden visibility.
12294         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12296 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
12298         * math/libm-test.inc (cos_test): Use accurate hex constants.
12299         (sincost_test): Likewise.
12301 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
12303         * math/libm-test.inc (catan_test): Add more tests.
12304         (catanh_test): Likewise.
12306         * math/s_catanf.c (__catanf): Use suffixed floating-point
12307         constants.
12308         * math/s_catanhf.c (__catanhf): Likewise.
12309         * math/s_catanhl.c (__catanhl): Likewise.
12310         * math/s_catanl.c (__catanl): Likewise.
12312         [BZ #15394]
12313         * math/s_catan.c (__catan): Calculate imaginary part of result
12314         with log1p not log unless computing log of number close to 0.
12315         * math/s_catanf.c (__catanf): Likewise.
12316         * math/s_catanl.c (__catanl): Likewise.
12317         * math/s_catanh.c (__catanh): Calculate real part of result with
12318         log1p not log unless computing log of number close to 0.
12319         * math/s_catanhf.c (__catanhf): Likewise.
12320         * math/s_catanhl.c (__catanhl): Likewise.
12321         * math/libm-test.inc (catan_test): Add more tests.
12322         (catanh_test): Likewise.
12323         * sysdeps/i386/fpu/libm-test-ulps: Update.
12324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12326 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12328         * benchtests/Makefile: Mention files in which fast and slow
12329         paths of math functions are implemented.
12331 2013-04-23  Roland McGrath  <roland@hack.frob.com>
12333         * sysdeps/posix/timespec_get.c: New file.
12335 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12337         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12338         POWER.
12339         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12340         for POWER.
12341         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12342         powerpc/power5/fpu folders.
12343         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12344         * benchtests/Makefile: Add modf testcase.
12345         * benchtests/bench-modf.c: New file: Benchmark test for mo
12347 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12349         [BZ #14888]
12350         * time/Makefile (tests): Add tst-strptime-whitespace.
12351         * time/strptime_l.c (get_number): Use ISSPACE.
12352         (__strptime_internal): Likewise.
12353         * time/tst-strptime-whitespace.c: New test case.
12355 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
12357         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12358         member.
12359         (_nss_files_init): Set it here.
12361 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
12363         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12364         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12365         unsigned.
12367 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
12369         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12371 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12373         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12374         size just once.
12376 2013-04-21  David S. Miller  <davem@davemloft.net>
12378         * po/ru.po: Update Russion translation from translation project.
12380 2013-04-17  Adam Conrad  <adconrad@0c3.net>
12382         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12383         and setfsgid.
12385 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
12387         * configure.in: Remove i386 configure warning. Remove i386 case.
12388         * configure: Regenerate.
12389         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
12390         Add example to error message.
12391         * sysdeps/i386/configure: Regenerate.
12393 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12395         * benchtests/Makefile (bench): Add cos, tan, slowcos and
12396         slowtan.
12397         * benchtests/cos-inputs: New file.
12398         * benchtests/slowcos-inputs: New file.
12399         * benchtests/slowcos.c: New file.
12400         * benchtests/slowtan-inputs: New file.
12401         * benchtests/slowtan.c: New file.
12402         * benchtests/tan-inputs: New file.
12404 2013-04-16  Roland McGrath  <roland@hack.frob.com>
12406         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12407         considered kosher.
12409 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12411         * benchtests/Makefile: Include cppflags-iterator.mk to add
12412         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12414         * Makefile.in (bench-clean): New target.
12415         * benchtests/Makefile (bench-clean): Likewise.
12417 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
12419         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12421 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
12423         * stdio-common/tstdiomisc.c: Fix coding-style violation.
12425 2013-04-15  Andreas Schwab  <schwab@suse.de>
12427         * nscd/grpcache.c (cache_addgr): Properly check for short write.
12428         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12429         * nscd/pwdcache.c (cache_addpw): Likewise.
12430         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
12431         more than recsize.
12433 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12435         * benchtests/Makefile (bench): Write all output to
12436         bench-out.tmp together.
12438 2013-04-15  Andreas Schwab  <schwab@suse.de>
12440         * nscd/nscd.c (main): Don't fork again after closing files.
12442 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12444         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12446         * benchtests/Rules (bench-deps): Collect dependencies into a
12447         single variable.  Add Makefile to dependencies.
12448         ($(objpfx)bench-%.c): Depend on bench-deps.
12450 2013-04-12  Roland McGrath  <roland@hack.frob.com>
12451             Xavier Roche  <roche+kml2@exalead.com>
12453         [BZ #15361]
12454         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12455         just that it's a file descriptor.
12456         * manual/llio.texi (Synchronizing AIO Operations): Update description
12457         for EBADF error from aio_fsync.
12459 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12461         * Rules (bench): Move target definition...
12462         * benchtests/Makefile: ... here.
12464 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
12466         * math/libm-test.inc (cos_test): Fix PI/2 test.
12467         (sincos_test): Likewise.
12468         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12469         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12471 2013-04-11  Andreas Schwab  <schwab@suse.de>
12473         [BZ #13988]
12474         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12475         accept exponent character only when digits were seen.
12476         * stdio-common/Makefile (tests): Add bug26.
12477         * stdio-common/bug26.c: New file.
12479         [BZ #14293]
12480         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12481         non-freeable.
12483 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12485         * Makeconfig (rtld-prefix): Define built linker prefix.
12486         * Rules (run-bench): Use it.
12487         * math/Makefile (run-regen-ulps): Likewise.
12489         * Rules (bench): Remove eval.
12491 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12492             Roland McGrath  <roland@hack.frob.com>
12493             Ondrej Bilka  <neleai@seznam.cz>
12495         [BZ #15346]
12496         * time/getdate.c: Include ctype.h and alloca.h.
12497         (__getdate_r): Trim leading and trailing spaces of input.
12498         * time/tst-getdate.c (tests): Add tests with leading and
12499         trailing spaces.
12501 2013-04-08  Roland McGrath  <roland@hack.frob.com>
12503         [BZ #14280]
12504         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12505         when computing value.
12507 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
12509         * math/README.libm-test (How can I generate "libm-test-ulps"?):
12510         Use testrun.sh to run libm tests.
12512         [BZ #15309]
12513         * elf/dl-open.c (dl_open_worker): memset all of seen array.
12515 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
12517         [BZ #15264]
12518         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12520 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
12522         * Makefile.in (regen-ulps): New target.
12523         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12524         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12525         [ifneq (no,$(PERL)] (regen-ulps): New target.
12526         [ifeq (no,$(PERL)] (regen-ulps): New target.
12527         * math/libm-test.inc (ulps_file_name): Define.
12528         (output_dir): New variable.
12529         (options): Add "output-dir" option.
12530         (parse_opt): Handle 'o' case.
12531         (main): If output_dir is non-NULL use it as a prefix
12532         otherwise use "".
12533         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12535 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
12537         [BZ #10060, #10062]
12538         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12539         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12540         fail configure if __sync_val_compare_and_swap is not inlined.
12541         * sysdeps/i386/configure: Regenerate.
12542         * configure.in: Build for i686 when configured for i386.
12543         * configure: Regenerate.
12544         * README: Remove i386 reference.
12546 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
12548         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12549         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12551 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
12553         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12554         (lmsnanval): New variables.
12555         (F): Add conversion tests.
12556         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12557         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12559         * stdio-common/tstdiomisc.c (F): Properly collect individual
12560         tests' results.
12562         [BZ #14686, #15336]
12563         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12564         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12565         Instead, use input NaN values or generate a qNaN by arithmetic
12566         operation.  Also fix bugs to comply with the standard.
12567         * math/libm-test.inc (remainder_test): Add more tests.
12569         [BZ #15335, #15342]
12570         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12571         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12572         input NaN values or generate a qNaN by arithmetic operation.
12574         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12575         unreachable code.
12577         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12578         definitions.
12580 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
12582         [BZ #14478]
12583         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12584         underflowed result.
12585         * math/s_cexpf.c (__cexpf): Likewise.
12586         * math/s_cexpl.c (__cexpl): Likewise.
12587         * math/libm-test.inc (cexp_test): Add more tests.
12589 2013-04-03  Andreas Schwab  <schwab@suse.de>
12591         [BZ #15330]
12592         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12593         order arrays from heap if bigger than alloca cutoff.
12595 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
12597         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12598         (SNAN_TESTS_double): Refer to GCC PR56831.
12599         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12600         GCC PR56828.
12602 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12604         * Rules (bench): Move bench.out after the run is complete.
12606         * Rules (bench): Echo currently running benchmark.
12608         * benchtests/Makefile (bench): Add atan and slowatan.
12609         * benchtests/atan-inputs: New file.
12610         * benchtests/slowatan-inputs: New file.
12611         * benchtests/slowatan.c: New file.
12613         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12614         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12615         its value.
12617         [BZ #15305]
12618         * sysdeps/unix/sysv/linux/kernel-features.h
12619         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12620         __ASSUME_XFS_RESTRICTED_CHOWN.
12621         * sysdeps/unix/sysv/linux/pathconf.c
12622         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12623         Save and restore errno.
12625 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
12627         [BZ #15327]
12628         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12629         arguments using __kernel_casinh.
12630         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12631         arguments using __kernel_casinhf.
12632         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12633         arguments using __kernel_casinhl.
12634         * math/libm-test.inc (cacosh_test): Add more tests.
12635         * sysdeps/i386/fpu/libm-test-ulps: Update.
12636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12638 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12640         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12641         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12643         * bench/Makefile (bench): Add sin and slowsin.
12644         * benchtests/sin-inputs: New file.
12645         * benchtests/slowsin-inputs: New file.
12646         * benchtests/slowsin.c: New file.
12648         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12649         (bench): Add slowexp and slowpow.
12650         (exp-ITER): Increase iterations.
12651         (pow-ITER): Likewise.
12652         * benchtests/exp-inputs: Change input.
12653         * benchtests/pow-inputs: Likewise.
12654         * benchtests/slowexp-inputs: New file.
12655         * benchtests/slowexp.c: New file.
12656         * benchtests/slowpow-inputs: New file.
12657         * benchtests/slowpow.c: New file.
12659 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12661         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12662         instructions.
12663         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12664         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12665         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12666         * benchtests/Makefile: Add rint benchtest.
12667         * benchtests/rint-inputs: Input for rint benchtest.
12669 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
12671         * Versions.def (libm): Add GLIBC_2.18.
12672         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12673         hidden libm prototypes.
12674         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12675         * math/Makefile (libm-calls): Add s_issignaling.
12676         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12677         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
12678         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12679         declaration.
12680         * math/math.h [__USE_GNU] (issignaling): New macro.
12681         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12682         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12683         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12684         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12685         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12686         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12687         * manual/arith.texi (issignaling): New section.
12688         * manual/libm-err-tab.pl (@all_functions): Update comment.
12689         * math/gen-libm-test.pl (parse_args): Apply special handling for
12690         issignaling.
12691         * math/libm-test.inc (print_float, issignaling_test): New
12692         functions.
12693         (check_float_internal): Add issignaling checks.
12694         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12695         default definition.
12696         * sysdeps/powerpc/math-tests.h: New file.
12697         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12698         tests.
12699         * math/test-snan.c (TEST_FUNC): Likewise.
12701 2013-03-30  David S. Miller  <davem@davemloft.net>
12703         * po/de.po: Update from translation team.
12705 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
12707         [BZ #10357]
12708         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12709         imaginary part less than 1.0 and real part less than 0.5
12710         specially.
12711         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12712         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12713         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12714         (cacos_test): Add more tests.
12715         (casin_test): Likewise.
12716         (casinh_test): Likewise.
12717         * sysdeps/i386/fpu/libm-test-ulps: Update.
12718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12720 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12722         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12723         ONE with its value.
12725         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12726         (__pow_mp): Replace ONE and MONE with their values.
12727         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12728         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12729         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12730         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12731         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12732         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12734         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12736         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12737         (__pow_mp): Replace ZERO and MZERO with their values.
12738         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12739         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12740         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12741         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12742         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12743         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12744         (__sqr): Likewise.
12746         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12748         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12750 2013-03-28  Roland McGrath  <roland@hack.frob.com>
12752         * include/stdlib.h [!SHARED] (__call_tls_dtors):
12753         Declare with __attribute__ ((weak)).
12754         * stdlib/exit.c (__libc_atexit) [!SHARED]:
12755         Call __call_tls_dtors only if it's not NULL.
12757 2013-03-28  Roland McGrath  <roland@hack.frob.com>
12759         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12760         didn't do it already, then set _dl_phdr and _dl_phnum based on the
12761         magic __ehdr_start linker symbol if it's defined.
12762         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12763         them up here if it was already done.
12765         * elf/dl-support.c (_dl_phdr): Make pointer to const.
12766         (_dl_aux_init): Use const in cast when setting it.
12767         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12768         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12769         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12771         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12772         Declare them here.
12773         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12774         * csu/libc-tls.c: Nor here.
12775         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12777         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12778         (__libc_message): Never call vsyslog.
12780 2013-03-28  Alan Modra  <amodra@gmail.com>
12782         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12783         Define as empty.
12784         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12785         Likewise.
12787 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12789         [BZ #15214]
12790         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12791         underflow.
12792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12794 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12796         [BZ #15304]
12797         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12798         Don't add gid passed as argument.
12800         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12802 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
12804         [BZ #15307]
12805         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12806         imaginary part between 1.0 and 1.5 and real part less than 0.5
12807         specially.
12808         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12809         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12810         * math/libm-test.inc (cacos_test): Add more tests.
12811         (casin_test): Likewise.
12812         (casinh_test): Likewise.
12813         * sysdeps/i386/fpu/libm-test-ulps: Update.
12814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12816 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12818         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12819         constants.
12820         (norm): Likewise.
12821         (denorm): Likewise.
12822         (__dbl_mp): Likewise.
12823         (add_magnitudes): Likewise.
12824         (sub_magnitudes): Likewise.
12825         (__add): Likewise.
12826         (__sub): Likewise.
12827         (__mul): Likewise.
12828         (__sqr): Likewise.
12829         (__inv): Likewise.
12830         (__dvd): Likewise.
12832         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12833         commented code.
12834         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12835         (__dubcos): Likewise.
12836         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12837         (__ieee754_acos): Likewise.
12838         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12839         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12840         (__exp1): Likewise.
12841         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12842         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12843         (log1): Likewise.
12844         (my_log2): Likewise.
12845         (checkint): Likewise.
12846         * sysdeps/ieee754/dbl-64/e_remainder.c
12847         (__ieee754_remainder): Likewise.
12848         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12849         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12850         (bsloww): Likewise.
12851         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12853         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12854         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12855         MANTISSA_STORE_T to store computations on mantissa.  Use
12856         macros for rounding and division.
12857         (denorm): Likewise.
12858         (__dbl_mp): Likewise.
12859         (add_magnitudes): Likewise.
12860         (sub_magnitudes): Likewise.
12861         (__mul): Likewise.
12862         (__sqr): Likewise.
12863         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
12864         powers of two in terms of TWOPOW macro.
12865         (mp_no): Make type of mantissa as MANTISSA_T.
12866         [!RADIXI]: Define RADIXI.
12867         [!TWO52]: Define TWO52.
12868         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12870 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12872         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12873         llroundl symbol when building for PPC32.
12875 2013-03-24  Mark H Weaver  <mhw@netris.org>
12877         * manual/arith.texi (Normalization Functions): Fix prototypes for
12878         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12880 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12882         [BZ #13889]
12883         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12884         high value to check if expl overflow.
12885         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12886         to check for underflow and overflow.
12887         * math/libm-test.inc: Add exp test.
12889 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
12891         [BZ #11120]
12892         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12893         with NOT_IN_libc.
12895 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12897         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12898         symbol.
12900 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12902         * math/gen-libm-test.pl (parse_args, special_functions): Properly
12903         wrap blocks consisting of several statements.
12905         * sysdeps/generic/math-tests.h: New file.
12906         * sysdeps/i386/fpu/math-tests.h: Likewise.
12907         * math/test-snan.c: Include it.
12908         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12910 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
12912         [BZ #15285]
12913         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12914         (__ieee754_j0l): Do not improve calculations using cos of twice
12915         input for inputs above LDBL_MAX / 2.0L.
12916         (__ieee754_y0l): Likewise.
12917         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12918         (__ieee754_j1l): Do not improve calculations using cos of twice
12919         input for inputs above LDBL_MAX / 2.0L.
12920         (__ieee754_y1l): Likewise.
12921         * math/libm-test.inc (j0_test): Add another test.
12922         (j1_test): Likewise.
12923         (y0_test): Likewise.
12924         (y1_test): Likewise.
12925         * sysdeps/i386/fpu/libm-test-ulps: Update.
12927 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12929         * Rules ($(objpfx)bench-%.c): Include code from a C source
12930         file.
12932 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
12934         [BZ #15287]
12935         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12936         imaginary part 1.0 and real part less than 0.5 specially.
12937         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12938         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12939         * math/libm-test.inc (cacos_test): Add more tests.
12940         (casin_test): Likewise.
12941         (casinh_test): Likewise.
12942         * sysdeps/i386/fpu/libm-test-ulps: Update.
12943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12945 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12947         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12948         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12950 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
12952         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12953         * config.make.in (config-cflags-sse4): Remove variable.
12954         (config-cflags-avx): Likewise.
12955         (config-cflags-sse2avx): Likewise.
12956         (config-cflags-novzeroupper): Likewise.
12957         (config-asflags-i686): Likewise.
12958         (have-mfma4): Likewise.
12959         (have-as-vis3): Likewise.
12960         (MIG): Likewise.
12961         * configure.in (MIG): Do not AC_SUBST.
12962         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12963         (libc_cv_cc_sse4): Do not AC_SUBST.
12964         (libc_cv_cc_avx): Likewise.
12965         (libc_cv_cc_sse2avx): Likewise.
12966         (libc_cv_cc_novzeroupper): Likewise.
12967         (libc_cv_cc_fma4): Likewise.
12968         (libc_cv_as_i686): Likewise.
12969         (libc_cv_sparc_as_vis3): Likewise.
12970         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12971         LIBC_CONFIG_VAR.
12972         (config-asflags-i686): Likewise.
12973         (config-cflags-avx): Likewise.
12974         (config-cflags-sse2avx): Likewise.
12975         (have-mfma4): Likewise.
12976         (config-cflags-novzeroupper): Likewise.
12977         * sysdeps/mach/configure.in (MIG): Likewise.
12978         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12979         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12980         LIBC_CONFIG_VAR.
12981         (config-cflags-avx): Likewise.
12982         (config-cflags-sse2avx): Likewise.
12983         (have-mfma4): Likewise.
12984         (config-cflags-novzeroupper): Likewise.
12985         * configure: Regenerated.
12986         * sysdeps/i386/configure: Likewise.
12987         * sysdeps/mach/configure: Likewise.
12988         * sysdeps/sparc/configure: Likewise.
12989         * sysdeps/x86_64/configure: Likewise.
12991 2013-03-20  Roland McGrath  <roland@hack.frob.com>
12993         [BZ #14812]
12994         * locale/programs/localedef.c (options): Put N_ translation marker
12995         on argument names, not just descriptions.
12997 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12999         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
13001 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
13003         [BZ #14176]
13004         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
13006 2013-03-19  Roland McGrath  <roland@hack.frob.com>
13008         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
13009         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
13010         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
13011         [!BEFORE_ABORT] (before_abort): New function.
13012         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
13013         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
13014         (writev_for_fatal): New function.
13015         (WRITEV_FOR_FATAL): New macro; call that.
13016         (backtrace_and_maps): New function.
13017         (BEFORE_ABORT): New macro; call that.
13018         (struct str_list): Type removed.
13019         (__libc_message, __libc_fatal): Functions removed.
13020         Include <sysdeps/posix/libc_fatal.c> instead.
13022 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
13024         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
13025         constants.
13026         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
13027         double constants.
13029 2013-03-19  Andreas Schwab  <schwab@suse.de>
13031         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
13032         * sysdeps/gnu/configure: Regenerate.
13034         * configure.in: Substitute libc_cv_rtlddir.
13035         * configure: Regenerate.
13036         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13037         * Makeconfig (rtlddir, inst_rtlddir): New variables.
13038         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13039         * elf/Makefile (install-others, CFLAGS-interp.c)
13040         (ldso_install, common-ldd-rewrite): Likewise.
13041         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13042         $(inst_slibdir)/$(rtld-installed-name).
13043         * scripts/rellns-sh: Add -p option.
13044         * Makerules (make-shlib-link): Use rellns-sh to get relative name
13045         for source.
13047 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13049         * manual/nptl.texi: Renamed to ...
13050         * manual/threads.texi: ... this.
13051         * manual/Makefile (chapters): Update.
13053 2013-03-18  Roland McGrath  <roland@hack.frob.com>
13055         [BZ #14812]
13056         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13057         on argument names, not just descriptions.
13058         * malloc/memusagestat.c (options): Likewise.
13059         * nss/getent.c (options): Likewise.
13061 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
13063         [BZ #14812]
13064         * iconv/iconv_prog.c (options): Put N_ translation marker
13065         on argument names, not just descriptions.
13066         * iconv/iconvconfig.c (options): Likewise.
13068 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
13070         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13071         implementation which is faster on all x86_64 architectures.
13072         Tested on AMD, Intel Nehalem, SNB, IVB.
13073         * sysdeps/x86_64/strnlen.S: Likewise.
13075         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13076         Remove all multiarch strlen and strnlen versions.
13077         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13078         Remove strlen and strnlen related parts.
13080         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13081         Inline strlen part.
13082         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13084         * sysdeps/x86_64/multiarch/strlen.S: Remove.
13085         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13086         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13087         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13088         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13089         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13091 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
13093         * manual/memory.texi (Malloc Tunable Parameters):
13094         Sort parameters alphabetically. Add comments for missing entries.
13096 2013-03-17  David S. Miller  <davem@davemloft.net>
13098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13100 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
13102         [BZ #15283]
13103         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13104         for arguments at most half maximum finite value.
13105         * math/libm-test.inc (j0_test): Add more tests.
13106         (j1_test): Likewise.
13107         (y0_test): Likewise.
13108         (y1_test): Likewise.
13109         * sysdeps/i386/fpu/libm-test-ulps: Update.
13110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13112         [BZ #14155]
13113         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13114         1 / x and functions P and Q for arguments above 0x1p256L.
13115         (__ieee754_y0l): Likewise.
13116         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13117         (__ieee754_y1l): Likewise.
13118         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13119         (j1_test): Likewise.
13120         (y0_test): Likewise.
13121         (y1_test): Likewise.
13123 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
13125         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13126         variable.
13128 2013-03-15  Roland McGrath  <roland@hack.frob.com>
13130         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13131         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13132         zero since it's initialized to EXEC_PAGESIZE.
13134         * sysdeps/unix/sysv/linux/ldsodefs.h
13135         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13136         * sysdeps/generic/ldsodefs.h: ... here.
13138 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
13140         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13142         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13143         math/test-snan.c.
13144         * math/test-snan.c: Renamed from
13145         sysdeps/powerpc/fpu/test-powerpc-snan.c.
13146         * math/Makefile (tests): Add test-snan.
13147         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13148         test-powerpc-snan.
13150         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13151         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
13152         functions.
13153         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
13154         __builtin_nan family of functions.
13155         * math/libm-test.inc (initialize): Initialize qnan_value with
13156         __builtin_nan family of functions.
13157         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13158         Remove variables.
13159         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13160         Remove functions.
13161         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
13162         storage class.  Initialize qNaN_var and sNaN_var with
13163         __builtin_nan and __builtin_nans families of functions,
13164         respectively.
13166         * math/libm-test.inc (acosh_test): Also test with qNaN input.
13167         (sqrt_test): Remove duplicate test with qNaN input.
13168         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13169         (round_test, signbit_test, significand_test): Note missing +/-Inf
13170         as well as qNaN tests.
13172         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13173         qNaN_var.  Fix a few strings, too.
13174         * math/libm-test.inc (nan_value): Rename to qnan_value.
13175         * math/gen-libm-test.pl (%beautify): Adjust to that.
13176         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13177         * math/test-misc.c (main): Likewise.
13178         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13179         to __qnan_bytes, and __qnan_union, respectively.
13180         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13181         Likewise.
13182         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13183         and lqnanval, respectively.
13184         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13185         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13186         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13187         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13189         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13190         * math/test-misc.c (main) [__x86_64__]: Enable test for long
13191         doubles.
13193         * math/test-misc.c (main): Fix copy'n'pastos.
13194         * misc/tst-efgcvt.c (special): Likewise.
13196         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13197         Remove declarations.
13199 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13201         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13202         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13203         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13204         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13206 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13208         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13209         macro to return vdso values correctly in IFUNC implementations.
13210         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13211         Optimization by using IFUNC.
13213 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13214             Richard Henderson  <rth@redhat.com>
13215             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13217         * Makefile.in (bench): New target.
13218         * NEWS: Mention the benchmark framework.
13219         * Rules (bench): Likewise.
13220         (binaries-bench): Generate binaries for functions to
13221         benchmark.
13222         * benchtests/Makefile: New makefile for benchmark tests.
13223         * benchtests/bench-skeleton.c: New skeleton file for benchmark
13224         programs.
13225         * benchtests/exp-inputs: New input file for EXP function.
13226         * benchtests/pow-inputs: New input file for POW function.
13227         * scripts/bench.pl: New script to generate source files for
13228         benchmark programs.
13230 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13232         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13233         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13234         computations on mantissa.  Use macros for rounding and
13235         division.
13236         (denorm): Likewise.
13237         (__dbl_mp): Likewise.
13238         (add_magnitudes): Likewise.
13239         (sub_magnitudes): Likewise.
13240         (__mul): Likewise.
13241         (__sqr): Likewise.
13242         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
13243         powers of two in terms of TWOPOW macro.
13244         (mp_no): Make type of mantissa as MANTISSA_T.
13245         [!RADIXI]: Define RADIXI.
13246         [!TWO52]: Define TWO52.
13247         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13249         * manual/nptl.texi (cindex): Modify threads to pthreads.
13251 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
13253         * sysdeps/x86_64/preconfigure: Regenerated.
13255 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
13257         [BZ #14155]
13258         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13259         0x1p28 and above.
13260         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13261         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13262         0x1p28 and above.
13263         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13264         * math/libm-test.inc (j0_test): Do not allow one spurious
13265         underflow exception.
13266         (y1_test): Likewise.
13268 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13270         * manual/Makefile (chapters): Add nptl.
13271         * manual/debug.texi (Debugging Support): Add link to Threads
13272         chapter.
13273         * manual/nptl.texi: New file.
13275         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13277 2013-03-14  Petr Baudis  <pasky@ucw.cz>
13279         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13280         for non-NULL pointer before the memory validity test. Pointed
13281         out by Holger Brunck <holger.brunck@keymile.com>.
13283 2013-03-13  Andreas Schwab  <schwab@suse.de>
13285         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13286         instead of .os.
13288 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
13290         * timezone/zic.c: Update from tzcode 2013b.
13292 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
13294         * manual/install.texi (Configuring and compiling):
13295         Mention i686 and i586.
13296         * INSTALL: Regenerate.
13298 2013-03-12  Roland McGrath  <roland@hack.frob.com>
13300         * sysdeps/init_array/elf-init.c: New file.
13301         * csu/elf-init.c
13302         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13303         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13305         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13306         __gmon_start__ as global, but as static with a .preinit_array pointer.
13307         * sysdeps/init_array/gmon-start.c: New file.  Use that.
13308         * sysdeps/init_array/crti.S: New file, empty except for comments.
13309         * sysdeps/init_array/crtn.S: Likewise.
13311 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
13313         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13314         definining bcopy.
13315         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13316         Remove Prefer_SSE_for_memop.
13317         * sysdeps/x86_64/multiarch/init-arch.h: Remove
13318         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13319         HAS_PREFER_SSE_FOR_MEMOP.
13320         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13321         memset-x86-64.
13322         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13323         Remove bzero, memset ifunc support.
13324         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13325         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13326         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13327         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13329 2013-03-11  Andreas Schwab  <schwab@suse.de>
13331         [BZ #15234]
13332         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13333         by SHLIB_COMPAT.
13334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13335         (GLIBC_2.16): Remove pthread_atfork.
13337 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13339         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13340         (ptestcases.h): Likewise.
13342 2013-03-08  Roland McGrath  <roland@hack.frob.com>
13344         * Makeconfig ($(common-objpfx)config.status): Depend on
13345         sysdeps/*/preconfigure{,.in} too.
13347 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
13349         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13350         (__free_hook): Use void * instead of __malloc_ptr_t.
13351         (__malloc_hook): Likewise.
13352         (__realloc_hook): Likewise.
13353         (__memalign_hook): Likewise.
13354         (__after_morecore_hook): Likewise.
13355         * malloc/arena.c (save_malloc_hook): Likewise.
13356         (save_free_hook): Likewise.
13357         * malloc/hooks.c (malloc_hook_ini): Likewise.
13358         (realloc_hook_ini): Likewise.
13359         (memalign_hook_ini): Likewise.
13360         * malloc/malloc.c (malloc_hook_ini): Likewise.
13361         (realloc_hook_ini): Likewise.
13362         (memalign_hook_ini): Likewise.
13363         (__free_hook): Likewise.
13364         (__malloc_hook): Likewise.
13365         (__realloc_hook): Likewise.
13366         (__memalign_hook): Likewise.
13367         (__libc_malloc): Likewise.
13368         (__libc_free): Likewise.
13369         (__libc_realloc): Likewise.
13370         (__libc_memalign): Likewise.
13371         (__libc_valloc): Likewise.
13372         (__libc_pvalloc): Likewise.
13373         (__libc_calloc): Likewise.
13374         (__posix_memalign): Likewise.
13375         * malloc/morecore.c (__sbrk): Likewise.
13376         (__default_morecore): Likewise.
13378         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13380         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13381         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13382         __malloc_ptrdiff_t.
13384         * malloc/malloc.h (__malloc_size_t): Remove macro.
13385         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13386         __malloc_size_t.
13387         (old_memalign_hook): Likewise.
13388         (old_realloc_hook): Likewise.
13389         (struct hdr): Likewise.
13390         (flood): Likewise.
13391         (mallochook): Likewise.
13392         (memalignhook): Likewise.
13393         (reallochook): Likewise.
13394         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13395         (tr_old_realloc_hook): Likewise.
13396         (tr_old_memalign_hook): Likewise.
13397         (tr_mallochook): Likewise.
13398         (tr_reallochook): Likewise.
13399         (tr_memalignhook): Likewise.
13401 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13403         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13404         default_ldbl_pack and using as default implementation.
13405         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13406         implementation.
13407         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13408         redundant definition.
13409         (ldbl_insert_mantissa): Likewise.
13410         (ldbl_canonicalize): Likewise.
13411         (ldbl_nearbyint): Likewise.
13412         (ldbl_pack): Rename to ldbl_pack_ppc.
13413         (ldbl_unpack): Rename to ldbl_unpack_ppc.
13414         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13415         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13417 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13419         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13420         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13421         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13422         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13423         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13424         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13425         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13426         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13428 2013-03-07  Andreas Jaeger  <aj@suse.de>
13430         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13431         bits/mman-linux.h.
13433 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
13435         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13436         Include mpa.h and declare __MPEXP.
13437         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13438         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13439         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13440         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13441         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13442         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13443         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13445         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13446         (__slowpow): Use long double EXPL and LOGL functions to
13447         compute POW.
13448         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13449         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13450         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13451         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13452         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13453         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13456         intermediate variable to calculate exponent.
13457         (__sqr): Likewise.
13458         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13459         Likewise.
13460         (__sqr): Likewise.
13462         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13463         [!NO__SQR]: Define __sqr.
13464         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13465         and NO__SQR.  Remove all code except __mul and __sqr.  Include
13466         sysdeps/ieee754/dbl-64/mpa.c.
13467         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13469         [BZ #12723]
13470         * posix/Makefile (tests): Add tst-pathconf.
13471         * posix/tst-pathconf.c: New test case.
13472         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13473         _PC_PIPE_BUF.
13474         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13476 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
13478         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13480 2013-03-06  Andreas Jaeger  <aj@suse.de>
13482         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13483         definition via __MAP_ANONYMOUS.
13485         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13486         it's not part of Linux headers.
13488         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13489         (MAP_HUGE_MASK): Define.
13491         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13492         Define.
13493         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13494         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13495         Define.
13496         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13497         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13498         Define.
13499         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13500         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13501         Define.
13502         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13504         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13505         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13506         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13507         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13508         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13509         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13511         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13512         Handle f2fs.
13514         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13515         Handle f2fs and efivarfs.
13517         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13518         f2fs.
13520         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13521         (EFIVARFS_MAGIC): Add.
13522         (F2FS_LINK_MAX): Add.
13524 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13526         * stdio-common/vfprintf.c: Replace __builtin_expect with
13527         __glibc_unlikely.
13529 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
13531         [BZ #13550]
13532         * sysdeps/generic/bp-sym.h: Remove file.
13533         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13534         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13535         <bp-sym.h> and <bp-asm.h>.
13536         (__longjmp): Don't use BP_SYM.
13537         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13538         and <bp-asm.h>.
13539         (memcpy): Don't use BP_SYM.
13540         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13541         <bp-sym.h> and <bp-asm.h>.
13542         (memcpy): Don't use BP_SYM.
13543         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13544         <bp-asm.h>.
13545         (memcpy): Don't use BP_SYM.
13546         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13547         <bp-asm.h>.
13548         (memset): Don't use BP_SYM.
13549         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13550         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13551         (__bzero): Don't use BP_SYM.
13552         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13553         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13554         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13555         <bp-sym.h> and <bp-asm.h>.
13556         (memcmp): Don't use BP_SYM.  Remove comment about bounded
13557         pointers.
13558         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13559         <bp-sym.h> and <bp-asm.h>.
13560         (memcpy): Don't use BP_SYM.
13561         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13562         <bp-sym.h> and <bp-asm.h>.
13563         (memset): Don't use BP_SYM.
13564         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13565         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13566         (__bzero): Don't use BP_SYM.
13567         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13568         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13569         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13570         <bp-sym.h> and <bp-asm.h>.
13571         (strncmp): Don't use BP_SYM.  Remove comment about bounded
13572         pointers.
13573         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13574         <bp-sym.h> and <bp-asm.h>.
13575         (memcpy): Don't use BP_SYM.
13576         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13577         <bp-sym.h> and <bp-asm.h>.
13578         (memset): Don't use BP_SYM.
13579         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13580         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13581         (__bzero): Don't use BP_SYM.
13582         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13583         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13584         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13585         <bp-sym.h> and <bp-asm.h>.
13586         (__memchr): Don't use BP_SYM.
13587         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13588         <bp-sym.h> and <bp-asm.h>.
13589         (memcmp): Don't use BP_SYM.  Remove comment about bounded
13590         pointers.
13591         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13592         <bp-sym.h> and <bp-asm.h>.
13593         (memcpy): Don't use BP_SYM.
13594         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13595         <bp-sym.h> and <bp-asm.h>.
13596         (__mempcpy): Don't use BP_SYM.
13597         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13598         <bp-sym.h> and <bp-asm.h>.
13599         (__memrchr): Don't use BP_SYM.
13600         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13601         <bp-sym.h> and <bp-asm.h>.
13602         (memset): Don't use BP_SYM.
13603         (__bzero): Likewise.
13604         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13605         <bp-sym.h> and <bp-asm.h>.
13606         (__rawmemchr): Don't use BP_SYM.
13607         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13608         <bp-sym.h> and <bp-asm.h>.
13609         (__STRCMP): Don't use BP_SYM.
13610         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13611         <bp-sym.h> and <bp-asm.h>.
13612         (strchr): Don't use BP_SYM.
13613         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13614         <bp-sym.h> and <bp-asm.h>.
13615         (__strchrnul): Don't use BP_SYM.
13616         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13617         <bp-sym.h> and <bp-asm.h>.
13618         (strlen): Don't use BP_SYM.
13619         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13620         <bp-sym.h> and <bp-asm.h>.
13621         (strncmp): Don't use BP_SYM.  Remove comment about bounded
13622         pointers.
13623         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13624         <bp-sym.h> and <bp-asm.h>.
13625         (__strnlen): Don't use BP_SYM.
13626         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13627         <bp-sym.h> and <bp-asm.h>.
13628         (__GI__setjmp): Don't use BP_SYM.
13629         (_setjmp): Likewise.
13630         (__sigsetjmp): Likewise.
13631         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13632         (L(start_addresses)): Don't use BP_SYM.
13633         (_start): Likewise.
13634         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13635         <bp-asm.h>.
13636         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13637         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13638         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13639         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13640         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13641         <bp-asm.h>.
13642         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13643         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
13644         about bounded pointers.
13645         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13646         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13647         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13648         <bp-asm.h>.
13649         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
13650         about bounded pointers.  Remove GKM FIXME comments.
13651         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13652         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13653         <bp-asm.h>.
13654         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13655         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
13656         Remove GKM FIXME comments.
13657         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13658         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13659         * sysdeps/powerpc/powerpc64/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 comment
13662         about bounded pointers.  Remove GKM FIXME comment.
13663         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13664         and <bp-asm.h>.
13665         (strncmp): Don't use BP_SYM.  Remove comment about bounded
13666         pointers.
13667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13668         <bp-sym.h> and <bp-asm.h>.
13669         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13671         <bp-sym.h> and <bp-asm.h>.
13672         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
13673         comment.
13675 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13677         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13678         call free(NULL).
13680 2013-03-05  David S. Miller  <davem@davemloft.net>
13682         * po/es.po: Update from translation team.
13684 2013-03-05  Andreas Jaeger  <aj@suse.de>
13686         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13687         <bits/mman-linux.h>.
13688         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13689         is fine.
13690         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13691         <bits/mman-linux.h> to end of file.
13692         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13693         is fine.
13694         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13695         <bits/mman-linux.h> to end of file.
13696         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13697         is fine.
13698         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13699         <bits/mman-linux.h> to end of file.
13701         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13702         (MCL_CURRENT, MCL_FUTURE): Define here.
13704 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13706         [BZ #15232]
13707         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13708         attribute_hidden.
13709         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13711 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13713         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13714         fourth parameter needed for rt_sigprocmask syscall.
13715         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13716         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13717         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13718         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13719         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13720         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13722 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
13724         [BZ #13550]
13725         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13726         comment about bounded pointers.
13727         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13728         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13730 2013-03-04  Andreas Jaeger  <aj@suse.de>
13732         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13733         common definitions.
13735         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13736         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13737         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13738         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13739         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13740         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13742 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13744         [BZ #15055]
13745         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13746         __ieee754_sqrl instead of __sqrl.
13748 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
13750         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13751         * sysdeps/powerpc/fpu_control.h: ... here.
13752         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13753         * sysdeps/powerpc/bits/fenvinline.h: ... here.
13754         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13755         * sysdeps/powerpc/bits/mathinline.h: ... here.
13757 2013-03-01  Roland McGrath  <roland@hack.frob.com>
13759         * elf/dl-hwcaps.c (_dl_important_hwcaps):
13760         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13761         to just [NEED_DL_SYSINFO_DSO].
13762         * elf/dl-support.c: Likewise.
13763         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13764         * elf/rtld.c (dl_main): Likewise.
13765         * elf/setup-vdso.h (setup_vdso): Likewise.
13766         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13767         * sysdeps/unix/sysv/linux/dl-sysdep.c
13768         (_dl_discover_osversion): Likewise.
13770 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
13772         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13773         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13775 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13777         * NEWS: Mention libm performance improvements and non-x86 PI
13778         futex support.
13780         * csu/libc-start.c (__pthread_initialize_minimal): Change
13781         function arguments.
13782         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13784 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
13786         [BZ #13550]
13787         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13788         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13789         <bp-sym.h> and <bp-asm.h>.
13790         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13791         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13792         and <bp-asm.h>.
13793         (memcpy): Don't use BP_SYM.
13794         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13795         <bp-asm.h>.
13796         (__mpn_add_n): Don't use BP_SYM.
13797         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13798         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13799         and <bp-asm.h>.
13800         (__mpn_addmul_1): Don't use BP_SYM.
13801         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13802         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13803         <bp-sym.h>.
13804         (_setjmp): Don't use BP_SYM.
13805         (__novmx_setjmp): Likewise.
13806         (__GI__setjmp): Likewise.
13807         (__vmx_setjmp): Likewise.
13808         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13809         <bp-sym.h>.
13810         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13811         (__bzero): Don't use BP_SYM.
13812         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13813         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13814         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13815         <bp-sym.h> and <bp-asm.h>.
13816         (memcpy): Don't use BP_SYM.
13817         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13818         <bp-sym.h> and <bp-asm.h>.
13819         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13820         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13821         <bp-sym.h> and <bp-asm.h>.
13822         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13823         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13824         <bp-asm.h>.
13825         (__mpn_lshift): Don't use BP_SYM.
13826         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13827         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13828         <bp-asm.h>.
13829         (memset): Don't use BP_SYM.
13830         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13831         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13832         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13833         <bp-asm.h>.
13834         (__mpn_mul_1): Don't use BP_SYM.
13835         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13836         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13837         <bp-sym.h> and <bp-asm.h>.
13838         (memcmp): Don't use BP_SYM.
13839         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13840         <bp-sym.h> and <bp-asm.h>.
13841         (memcpy): Don't use BP_SYM.
13842         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13843         <bp-sym.h> and <bp-asm.h>.
13844         (memset): Don't use BP_SYM.
13845         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13846         <bp-sym.h> and <bp-asm.h>.
13847         (strncmp): Don't use BP_SYM.
13848         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13849         <bp-sym.h> and <bp-asm.h>.
13850         (memcpy): Don't use BP_SYM.
13851         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13852         <bp-sym.h> and <bp-asm.h>.
13853         (memset): Don't use BP_SYM.
13854         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13855         <bp-sym.h> and <bp-asm.h>.
13856         (__memchr): Don't use BP_SYM.
13857         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13858         <bp-sym.h> and <bp-asm.h>.
13859         (memcmp): Don't use BP_SYM.
13860         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13861         <bp-sym.h> and <bp-asm.h>.
13862         (memcpy): Don't use BP_SYM.
13863         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13864         <bp-sym.h> and <bp-asm.h>.
13865         (__mempcpy): Don't use BP_SYM.
13866         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13867         <bp-sym.h> and <bp-asm.h>.
13868         (__memrchr): Don't use BP_SYM.
13869         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13870         <bp-sym.h> and <bp-asm.h>.
13871         (memset): Don't use BP_SYM.
13872         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13873         <bp-sym.h> and <bp-asm.h>.
13874         (__rawmemchr): Don't use BP_SYM.
13875         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13876         <bp-sym.h> and <bp-asm.h>.
13877         (__STRCMP): Don't use BP_SYM.
13878         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13879         <bp-sym.h> and <bp-asm.h>.
13880         (strchr): Don't use BP_SYM.
13881         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13882         <bp-sym.h> and <bp-asm.h>.
13883         (__strchrnul): Don't use BP_SYM.
13884         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13885         <bp-sym.h> and <bp-asm.h>.
13886         (strlen): Don't use BP_SYM.
13887         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13888         <bp-sym.h> and <bp-asm.h>.
13889         (strncmp): Don't use BP_SYM.
13890         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13891         <bp-sym.h> and <bp-asm.h>.
13892         (__strnlen): Don't use BP_SYM.
13893         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13894         <bp-asm.h>.
13895         (__mpn_rshift): Don't use BP_SYM.
13896         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13897         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13898         <bp-sym.h> and <bp-asm.h>.
13899         (__sigsetjmp): Don't use BP_SYM.
13900         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13901         (L(start_addresses)): Don't use BP_SYM.
13902         (_start): Likewise.
13903         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13904         <bp-asm.h>.
13905         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13906         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13907         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13908         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13909         <bp-asm.h>.
13910         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13911         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13912         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13913         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13914         <bp-asm.h>.
13915         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
13916         comments.
13917         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13918         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13919         <bp-asm.h>.
13920         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
13921         FIXME comments.
13922         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13923         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13924         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13925         <bp-asm.h>.
13926         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
13927         comment.
13928         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13929         and <bp-asm.h>.
13930         (strncmp): Don't use BP_SYM,
13931         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13932         <bp-asm.h>.
13933         (__mpn_sub_n): Don't use BP_SYM.
13934         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13935         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13936         and <bp-asm.h>.
13937         (__mpn_submul_1): Don't use BP_SYM.
13938         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13940         <bp-sym.h> and <bp-asm.h>.
13941         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13943         <bp-sym.h> and <bp-asm.h>.
13944         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
13945         comment.
13947 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13949         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13950         Use ZK to minimize writes to Z.
13951         (sub_magnitudes): Simplify code a bit.
13952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13953         Use ZK to minimize writes to Z.
13954         (sub_magnitudes): Simplify code a bit.
13956 2013-02-27  Roland McGrath  <roland@hack.frob.com>
13958         * csu/gmon-start.c: Add special exception to license text.
13960 2013-02-27  Richard Henderson  <rth@redhat.com>
13962         * scripts/config.guess: Update from config.git.
13963         * scripts/config.sub: Likewise.
13965 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13967         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13969         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13971         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13973         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13975         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13977 2013-02-26  Roland McGrath  <roland@hack.frob.com>
13979         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13980         [$(build-shared = yes].
13982 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13984         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13985         (__mul): Reduce iterations for calculating mantissa.
13987         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13988         MPTWO.
13989         (__mpranred): Likewise.
13991         [BZ #15160]
13992         * malloc/memusagestat.c (main): Draw graphs for heap and stack
13993         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13995 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
13997         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13998         Define __attribute__.
14000 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14002         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
14003         unused.
14004         * posix/regex_internal.h (__attribute): Remove.
14005         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
14006         (re_string_context_at): Likewise.
14007         (bitset_not): Use __attribute__ and mark function as possibly
14008         unused.
14009         (bitset_merge): Likewise.
14010         (bitset_mask): Likewise.
14011         (re_string_char_size_at): Likewise.
14012         (re_string_wchar_at): Likewise.
14013         (re_string_elem_size_at): Likewise.
14015 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14017         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
14018         code.
14019         (cc32): Likewise.
14021         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
14022         (__acr): Likewise.
14023         (__cpy): Likewise.
14024         (norm): Likewise.
14025         (denorm): Likewise.
14026         (__dbl_mp): Likewise.
14027         (add_magnitudes): Likewise.
14028         (sub_magnitudes): Likewise.
14029         (__mul): Likewise.
14030         (__inv): Likewise.
14032         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
14033         style.
14035         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
14036         style.
14038         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14039         code.
14041         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14042         up changes with default code.
14043         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14044         Likewise.
14046 2013-02-24  Allan McRae  <allan@archlinux.org>
14048         * manual/socket.texi (The Internet Namespace): Order menu items
14049         to match that in the file.
14051         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14052         node listing of the info page menu.
14054 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
14056         [BZ #13550]
14057         * sysdeps/i386/bp-asm.h: Remove file.
14058         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14059         (PARMS): Do not use macros from bp-asm.h.
14060         (S1): Likewise.
14061         (S2): Likewise.
14062         (SIZE): Likewise.
14063         (__mpn_add_n): Do not use BP_SYM
14064         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14065         "bp-asm.h".
14066         (PARMS): Do not use macros from bp-asm.h.
14067         (S1): Likewise.
14068         (SIZE): Likewise.
14069         (__mpn_addmul_1): Do not use BP_SYM
14070         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14071         "bp-asm.h".
14072         (PARMS): Do not use macros from bp-asm.h.
14073         (SIGMSK): Likewise.
14074         (_setjmp): Likewise.  Do not use BP_SYM.
14075         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14076         "bp-asm.h".
14077         (PARMS): Do not use macros from bp-asm.h.
14078         (SIGMSK): Likewise.
14079         (setjmp): Likewise.  Do not use BP_SYM.
14080         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14081         "bp-asm.h".
14082         (PARMS): Do not use macros from bp-asm.h.
14083         (__frexp): Do not use BP_SYM.
14084         (frexp): Likewise.
14085         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14086         "bp-asm.h".
14087         (PARMS): Do not use macros from bp-asm.h.
14088         (__frexpf): Do not use BP_SYM.
14089         (frexpf): Likewise.
14090         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14091         "bp-asm.h".
14092         (PARMS): Do not use macros from bp-asm.h.
14093         (__frexpl): Do not use BP_SYM.
14094         (frexpl): Likewise.
14095         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14096         "bp-asm.h".
14097         (PARMS): Do not use macros from bp-asm.h.
14098         (__remquo): Do not use BP_SYM.
14099         (remquo): Likewise.
14100         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14101         "bp-asm.h".
14102         (PARMS): Do not use macros from bp-asm.h.
14103         (__remquof): Do not use BP_SYM.
14104         (remquof): Likewise.
14105         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14106         "bp-asm.h".
14107         (PARMS): Do not use macros from bp-asm.h.
14108         (__remquol): Do not use BP_SYM.
14109         (remquol): Likewise.
14110         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14111         "bp-asm.h".
14112         (PARMS): Do not use macros from bp-asm.h.
14113         (DEST): Likewise.
14114         (SRC): Likewise.
14115         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
14116         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14117         "bp-asm.h".
14118         (PARMS): Do not use macros from bp-asm.h.
14119         (strlen): Do not use BP_SYM.
14120         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14121         "bp-asm.h".
14122         (PARMS): Do not use macros from bp-asm.h.
14123         (S1): Likewise.
14124         (S2): Likewise.
14125         (SIZE): Likewise.
14126         (__mpn_add_n): Do not use BP_SYM.
14127         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14128         "bp-asm.h".
14129         (PARMS): Do not use macros from bp-asm.h.
14130         (S1): Likewise.
14131         (SIZE): Likewise.
14132         (__mpn_addmul_1): Do not use BP_SYM.
14133         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14134         weak_alias.
14135         (bzero): Likewise.
14136         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14137         "bp-asm.h".
14138         (PARMS): Do not use macros from bp-asm.h.
14139         (S): Likewise.
14140         (SIZE): Likewise.
14141         (__mpn_lshift): Do not use BP_SYM.
14142         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
14143         "bp-asm.h".
14144         (PARMS): Do not use macros from bp-asm.h.
14145         (DEST): Likewise.
14146         (SRC): Likewise.
14147         (LEN): Likewise.
14148         (memcpy): Likewise.  Do not use BP_SYM.
14149         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14150         libc_hidden_def and weak_alias.
14151         (mempcpy): Do not use BP_SYM in weak_alias.
14152         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14153         "bp-asm.h".
14154         (PARMS): Do not use macros from bp-asm.h.
14155         (DEST): Likewise.
14156         (LEN): Likewise.
14157         [!BZERO_P] (CHR): Likewise.
14158         (memset): Likewise.  Do not use BP_SYM.
14159         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14160         "bp-asm.h".
14161         (PARMS): Do not use macros from bp-asm.h.
14162         (S1): Likewise.
14163         (SIZE): Likewise.
14164         (__mpn_mul_1): Do not use BP_SYM.
14165         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14166         "bp-asm.h".
14167         (PARMS): Do not use macros from bp-asm.h.
14168         (S): Likewise.
14169         (SIZE): Likewise.
14170         (__mpn_rshift): Do not use BP_SYM.
14171         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14172         "bp-asm.h".
14173         (PARMS): Do not use macros from bp-asm.h.
14174         (STR): Likewise.
14175         (CHR): Likewise.
14176         (strchr): Likewise.  Do not use BP_SYM.
14177         (index): Do not use BP_SYM in weak_alias.
14178         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14179         "bp-asm.h".
14180         (PARMS): Do not use macros from bp-asm.h.
14181         (DEST): Likewise.
14182         (SRC): Likewise.
14183         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
14184         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14185         "bp-asm.h".
14186         (PARMS): Do not use macros from bp-asm.h.
14187         (strlen): Do not use BP_SYM.
14188         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14189         "bp-asm.h".
14190         (PARMS): Do not use macros from bp-asm.h.
14191         (S1): Likewise.
14192         (S2): Likewise.
14193         (SIZE): Likewise.
14194         (__mpn_sub_n): Do not use BP_SYM.
14195         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14196         "bp-asm.h".
14197         (PARMS): Do not use macros from bp-asm.h.
14198         (S1): Likewise.
14199         (SIZE): Likewise.
14200         (__mpn_submul_1): Do not use BP_SYM.
14201         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14202         "bp-asm.h".
14203         (PARMS): Do not use macros from bp-asm.h.
14204         (S1): Likewise.
14205         (S2): Likewise.
14206         (SIZE): Likewise.
14207         (__mpn_add_n): Do not use BP_SYM.
14208         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14209         weak_alias.
14210         (bzero): Likewise.
14211         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14212         "bp-asm.h".
14213         (PARMS): Do not use macros from bp-asm.h.
14214         (BLK2): Likewise.
14215         (LEN): Likewise.
14216         (memcmp): Do not use BP_SYM.
14217         (bcmp): Do not use BP_SYM in weak_alias.
14218         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14219         "bp-asm.h".
14220         (PARMS): Do not use macros from bp-asm.h.
14221         (DEST): Likewise.
14222         (SRC): Likewise.
14223         (LEN): Likewise.
14224         (memcpy): Likewise.  Do not use BP_SYM.
14225         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14226         "bp-asm.h".
14227         (PARMS): Do not use macros from bp-asm.h.
14228         (DEST): Likewise.
14229         (SRC): Likewise.
14230         (LEN): Likewise.
14231         (memmove): Likewise.  Do not use BP_SYM.
14232         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14233         "bp-asm.h".
14234         (PARMS): Do not use macros from bp-asm.h.
14235         (DEST): Likewise.
14236         (SRC): Likewise.
14237         (LEN): Likewise.
14238         (__mempcpy): Likewise.  Do not use BP_SYM.
14239         (mempcpy): Do not use BP_SYM in weak_alias.
14240         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14241         "bp-asm.h".
14242         (PARMS): Do not use macros from bp-asm.h.
14243         (DEST): Likewise.
14244         (LEN): Likewise.
14245         [!BZERO_P] (CHR): Likewise.
14246         (memset): Likewise.  Do not use BP_SYM.
14247         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14248         "bp-asm.h".
14249         (PARMS): Do not use macros from bp-asm.h.
14250         (STR2): Likewise.
14251         (strcmp): Do not use BP_SYM.
14252         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14253         "bp-asm.h".
14254         (PARMS): Do not use macros from bp-asm.h.
14255         (STR): Likewise.
14256         (DELIM): Likewise.
14257         [USE_AS_STRTOK_R] (SAVE): Likewise.
14258         (FUNCTION): Likewise.  Do not use BP_SYM.
14259         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14260         aliases.
14261         (strtok_r): Likewise.
14262         (__GI___strtok_r): Likewise.
14263         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14264         (PARMS): Do not use macros from bp-asm.h.
14265         (S): Likewise.
14266         (SIZE): Likewise.
14267         (__mpn_lshift): Do not use BP_SYM.
14268         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14269         (PARMS): Do not use macros from bp-asm.h.
14270         (STR): Likewise.
14271         (CHR): Likewise.
14272         (__memchr): Do not use BP_SYM.
14273         (memchr): Do not use BP_SYM in weak_alias.
14274         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14275         (PARMS): Do not use macros from bp-asm.h.
14276         (BLK2): Likewise.
14277         (LEN): Likewise.
14278         (memcmp): Do not use BP_SYM.
14279         (bcmp): Do not use BP_SYM in weak_alias.
14280         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14281         (PARMS): Do not use macros from bp-asm.h.
14282         (S1): Likewise.
14283         (SIZE): Likewise.
14284         (__mpn_mul_1): Do not use BP_SYM.
14285         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14286         "bp-asm.h".
14287         (PARMS): Do not use macros from bp-asm.h.
14288         (STR): Likewise.
14289         (CHR): Likewise.
14290         (__rawmemchr): Do not use BP_SYM.
14291         (rawmemchr): Do not use BP_SYM in weak_alias.
14292         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14293         (PARMS): Do not use macros from bp-asm.h.
14294         (S): Likewise.
14295         (SIZE): Likewise.
14296         (__mpn_rshift): Do not use BP_SYM.
14297         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14298         (PARMS): Do not use macros from bp-asm.h.
14299         (SIGMSK): Likewise.
14300         (__sigsetjmp): Likewise.  Do not use BP_SYM.
14301         * sysdeps/i386/start.S: Do not include "bp-sym.h".
14302         (_start): Do not use BP_SYM.
14303         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14304         (PARMS): Do not use macros from bp-asm.h.
14305         (DEST): Likewise.
14306         (SRC): Likewise.
14307         (__stpcpy): Likewise.  Do not use BP_SYM.
14308         (stpcpy): Do not use BP_SYM in weak_alias.
14309         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14310         "bp-asm.h".
14311         (PARMS): Do not use macros from bp-asm.h.
14312         (DEST): Likewise.
14313         (SRC): Likewise.
14314         (LEN): Likewise.
14315         (__stpncpy): Likewise.  Do not use BP_SYM.
14316         (stpncpy): Do not use BP_SYM in weak_alias.
14317         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14318         (PARMS): Do not use macros from bp-asm.h.
14319         (STR): Likewise.
14320         (CHR): Likewise.
14321         (strchr): Likewise.  Do not use BP_SYM.
14322         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14323         "bp-asm.h".
14324         (PARMS): Do not use macros from bp-asm.h.
14325         (STR): Likewise.
14326         (CHR): Likewise.
14327         (__strchrnul): Likewise.  Do not use BP_SYM.
14328         (strchrnul): Do not use BP_SYM in weak_alias.
14329         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14330         "bp-asm.h".
14331         (PARMS): Do not use macros from bp-asm.h.
14332         (STOP): Likewise.
14333         (strcspn): Do not use BP_SYM.
14334         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14335         "bp-asm.h".
14336         (PARMS): Do not use macros from bp-asm.h.
14337         (STR): Likewise.
14338         (STOP): Likewise.
14339         (strpbrk): Likewise.  Do not use BP_SYM.
14340         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14341         "bp-asm.h".
14342         (PARMS): Do not use macros from bp-asm.h.
14343         (STR): Likewise.
14344         (CHR): Likewise.
14345         (strrchr): Likewise.  Do not use BP_SYM.
14346         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14347         (PARMS): Do not use macros from bp-asm.h.
14348         (SKIP): Likewise.
14349         (strspn): Do not use BP_SYM.
14350         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14351         (PARMS): Do not use macros from bp-asm.h.
14352         (STR): Likewise.
14353         (DELIM): Likewise.
14354         (SAVE): Likewise.
14355         (FUNCTION): Likewise.  Do not use BP_SYM.
14356         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14357         aliases.
14358         (strtok_r): Likewise.
14359         (__GI___strtok_r): Likewise.
14360         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14361         (PARMS): Do not use macros from bp-asm.h.
14362         (S1): Likewise.
14363         (S2): Likewise.
14364         (SIZE): Likewise.
14365         (__mpn_sub_n): Do not use BP_SYM.
14366         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14367         "bp-asm.h".
14368         (PARMS): Do not use macros from bp-asm.h.
14369         (S1): Likewise.
14370         (SIZE): Likewise.
14371         (__mpn_submul_1): Do not use BP_SYM.
14372         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14373         <bp-sym.h>.
14374         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14375         and <bp-asm.h>.
14376         (PARMS): Do not use macros from bp-asm.h.
14377         (FLAGS): Likewise.
14378         (PTID): Likewise.
14379         (TLS): Likewise.
14380         (CTID): Likewise.
14381         (__clone): Do not use BP_SYM.
14382         (clone): Do not use BP_SYM in weak_alias.
14383         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14384         and <bp-asm.h>.
14385         (PARMS): Do not use macros from bp-asm.h.
14386         (LEN): Likewise.
14387         (__mmap64): Do not use BP_SYM.
14388         (mmap64): Do not use BP_SYM in weak_alias.
14389         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14390         <bp-sym.h> and <bp-asm.h>.
14391         (PARMS): Do not use macros from bp-asm.h.
14392         (__posix_fadvise64_l64): Do not use BP_SYM.
14393         * sysdeps/unix/sysv/linux/i386/semtimedop.S
14394         (PARMS): Do not use macros from bp-asm.h.
14395         (NSOPS): Likewise.
14396         (semtimedop): Do not use BP_SYM.
14397         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14398         and <bp-asm.h>.
14400 2013-02-21  Allan McRae  <allan@archlinux.org>
14402         * manual/message.texi (Charset conversion in gettext):
14403         Move @end statement to beginning of line.
14405 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14408         static.
14409         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14410         Likewise.
14412         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14413         (denorm): Likewise.
14414         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14417 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14419         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14420         tail-call to the resolved function if pltexit isn't needed.
14422 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14424         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14425         or Y being zero as being unlikely.
14426         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14427         Likewise.
14429 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
14431         * manual/nss.texi (System Databases and Name Service Switch):
14432         Remove frobnicate @pxref.
14434 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
14436         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14437         __attribute__ ((unused)) to __attribute__ ((__unused__)).
14439 2013-02-20  Petr Machata  <pmachata@redhat.com>
14441         * elf/elf.h (R_ARM_TARGET1): New macro.
14442         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14443         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14444         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14445         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14446         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14447         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14448         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14449         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14450         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14451         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14452         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14453         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14454         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14455         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14456         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14457         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14458         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14459         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14460         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14461         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14462         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14463         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14464         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14465         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14466         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14467         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14468         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14469         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14470         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14471         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14472         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14473         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14474         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14475         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14476         (R_ARM_THM_GOT_BREL12): Likewise.
14477         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14478         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14479         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14480         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14481         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14482         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14483         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14484         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14485         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14487 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
14489         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14490         __attribute_used__ to __attribute__ ((unused)).
14492 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14494         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14495         powerpc mpa.c.
14496         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14497         comment formatting.
14498         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14500 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
14502         [BZ #13550]
14503         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14504         Remove macro.
14505         (ENTER): Remove both macro definitions.
14506         (LEAVE): Likewise.
14507         (CHECK_BOUNDS_LOW): Likewise.
14508         (CHECK_BOUNDS_HIGH): Likewise.
14509         (CHECK_BOUNDS_BOTH): Likewise.
14510         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14511         (RETURN_BOUNDED_POINTER): Likewise.
14512         (RETURN_NULL_BOUNDED_POINTER): Likewise.
14513         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14514         (POP_ERRNO_LOCATION_RETURN): Likewise.
14515         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14516         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14517         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14518         macros.
14519         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14520         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14521         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14522         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14523         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14524         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14525         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14526         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14527         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14528         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14529         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14530         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14531         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14532         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14533         removed macros.
14534         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14535         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14536         macros.
14537         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14538         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14539         * sysdeps/i386/i586/memset.S (memset): Likewise.
14540         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14541         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14542         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14543         macros.
14544         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14545         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14546         Change uses of L(2) to L(out).
14547         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14548         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14549         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14550         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14551         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14552         removed macros.
14553         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14554         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14555         macros.
14556         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14557         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14558         (RETURN): Do not use macro LEAVE.
14559         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14560         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14561         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14562         * sysdeps/i386/i686/memset.S (memset): Likewise.
14563         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14564         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14565         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14566         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14567         Likewise.
14568         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14569         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
14570         L(1_2) and L(1_3) into L(1).
14571         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14572         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14573         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14574         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14575         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14576         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14577         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14578         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14579         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14580         macros.
14581         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14582         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14583         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14584         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14585         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14586         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14587         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14588         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14589         * sysdeps/i386/strcspn.S (strcspn): Likewise.
14590         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14591         * sysdeps/i386/strrchr.S (strrchr): Likewise.
14592         * sysdeps/i386/strspn.S (strspn): Likewise.
14593         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14594         conditional code.
14595         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14596         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14597         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14598         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
14599         L(1_3) into L(1_1).
14600         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14601         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14602         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14603         macros.
14604         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14606 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
14608         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14609         macro.
14611 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14613         * math/atest-exp.c (exp_mpn): Remove ROUND.
14614         * math/atest-exp2.c (exp_mpn): Likewise.
14615         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14617         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14618         * stdlib/tst-tls-atexit-lib.c: Likewise.
14619         * stdlib/tst-tls-atexit.c: Likewise.
14621 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
14623         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14624         and __attribute_alloc_size__.
14626 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
14628         * include/programs/xmalloc.h: Change __attribute_alloc_size to
14629         __attribute_alloc_size__.
14630         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14631         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14633 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
14635         * include/programs/xmalloc.h: New file.
14636         * catgets/gencat.c: Include it.
14637         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14638         * elf/pldd.c: Likewise.
14639         * iconv/iconv_charmap.c: Likewise.
14640         * iconv/iconvconfig.c: Likewise.
14641         * iconv/strtab.c: Likewise.
14642         * locale/programs/locale.c: Likewise.
14643         * locale/programs/localedef.h: Likewise.
14644         * locale/programs/simple-hash.c: Likewise.
14645         * nscd/nscd.h: Likewise.
14646         * nss/makedb.c: Likewise.
14647         * sysdeps/generic/ldconfig.h: Likewise.
14649 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14651         * Versions.def: Add GLIBC_2.18.
14652         * include/link.h (struct link_map): New member l_tls_dtor_count.
14653         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14654         (__call_tls_dtors): Likewise.
14655         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14656         __cxa_thread_atexit_impl.
14657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14658         Likewise.
14659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14660         Likewise.
14661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14662         Likewise.
14663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14664         Likewise.
14665         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14667         Likewise.
14668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14669         Likewise.
14670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14672         Likewise.
14673         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14674         (tests): Add test case tst-tls-atexit.
14675         (modules-names): Add shared library for tst-tls-atexit.
14676         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
14677         (GLIBC_PRIVATE): Add __call_tls_dtors.
14678         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14679         for libstdc++.
14680         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14681         * stdlib/tst-tls-atexit.c: New test case.
14682         * stdlib/tst-tls-atexit-lib.c: New test case.
14684         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
14686         * elf/Versions (ld): Add _dl_find_dso_for_object.
14687         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14688         * elf/dl-open.c (_dl_find_dso_for_object): New function.
14689         (dl_open_worker): Use _dl_find_dso_for_object.
14690         * elf/dl-sym.c (do_sym): Likewise.
14691         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14693 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14695         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14696         Syntactic changes only.
14697         (_dl_runtime_profile): Do a tail-call to the resolved function.
14699 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
14701         [BZ #13550]
14702         * sysdeps/x86_64/bp-asm.h: Remove file.
14703         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14704         <bp-sym.h> and <bp-asm.h>.
14705         (__clone): Do not use BP_SYM.
14706         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14707         <bp-sym.h> and <bp-asm.h>.
14708         * sysdeps/unix/x86_64/sysdep.S: Likewise.
14709         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14710         "bp-asm.h".
14711         (_setjmp): Do not use BP_SYM.
14712         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14713         "bp-asm.h".
14714         (setjmp): Do not use BP_SYM.
14715         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14716         libc_hidden_def.
14717         (mempcpy): Do not use BP_SYM in weak_alias.
14718         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14719         "bp-asm.h".
14720         (strchr): Do not use BP_SYM.
14721         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14722         "bp-asm.h".
14723         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14724         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14725         (_start): Do not use BP_SYM.
14726         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14727         "bp-asm.h".
14728         (strcat): Do not use BP_SYM.
14729         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14730         "bp-asm.h".
14731         (STRCMP): Do not use BP_SYM.
14732         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14733         "bp-asm.h".
14734         (STRCPY): Do not use BP_SYM.
14735         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14736         "bp-asm.h".
14737         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14738         "bp-asm.h".
14739         (FUNCTION): Do not use BP_SYM.
14740         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14741         weak_alias.
14742         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14744 2013-02-17  Andreas Jaeger  <aj@suse.de>
14746         * time/Versions: Sort entries.
14747         * string/Versions: Likewise.
14748         * resolv/Versions: Likewise.
14749         * posix/Versions: Likewise.
14750         * iconv/Versions: Likewise.
14751         * elf/Versions: Likewise.
14752         * wcsmbs/Versions: Likewise.
14754 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14756         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14757         loop termination condition.
14759         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14760         variable to calculate EZ.
14761         (__sqr): Likewise.
14763         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14764         the lower precision input.
14766 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
14768         [BZ #13550]
14769         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14770         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14771         (run-via-rtld-prefix): Do not handle %-bp tests.
14772         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14773         (all-object-suffixes): Remove .ob.
14774         (bppfx): Remove variable.
14775         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14776         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14777         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14778         [$(build-bounded) = yes] (libtype.ob): Likewise.
14779         * Makerules (elide-routines.ob): Remove variable.
14780         (do-tests-clean): Do not handle *-bp.out.
14781         (common-mostlyclean): Do not handle *-bp and *-bp.out.
14782         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14783         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14784         (tests): Do not include $(tests-bp.out).
14785         (xtests): Do not include $(xtests-bp.out).
14786         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14787         [$(build-bounded) = yes] ($(addprefix
14788         $(objpfx),$(binaries-bounded))): Remove rule.
14789         ($(objpfx)%-bp.out): Remove rule.
14790         * config.make.in (build-bounded): Remove variable.
14791         * crypt/Makefile [$(build-bounded) = yes]
14792         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14793         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14794         append to variable.
14795         [$(build-bounded) = yes] (install-lib): Likewise.
14796         [$(build-bounded) = yes] (generated): Likewise.
14797         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14798         Remove rule.
14799         * intl/Makefile [$(build-bounded) = yes]
14800         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14801         * math/Makefile [$(build-bounded) = yes]
14802         ($(tests:%=$(objpfx)%-bp): Likewise.
14803         * misc/Makefile [$(build-bounded) = yes]
14804         ($(objpfx)tst-tsearch-bp): Likewise.
14805         * nptl/Makeconfig (bounded-thread-library): Remove variable.
14806         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14807         Remove dependency.
14808         * string/Makefile (o-objects.ob): Remove variable.
14809         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14810         (CFLAGS-.ob): Remove variable.
14811         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14812         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14813         both definitions of variable.
14814         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14815         (ASFLAGS-.ob): Remove variable.
14817 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
14819         [BZ #13550]
14820         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14821         Remove __BOUNDED_POINTERS__ from condition.
14822         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14823         * string/bits/string2.h [!__NO_STRING_INLINES &&
14824         !__BOUNDED_POINTERS__]: Likewise.
14825         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14826         Likewise.
14827         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14828         Remove conditional code.
14829         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14830         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14831         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14832         condition.
14834         [BZ #13550]
14835         * csu/libc-start.c: Do not include <bp-sym.h>.
14836         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14837         * elf/dl-open.c: Do not include <bp-sym.h>.
14838         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14839         * math/fegetenv.c: Do not include <bp-sym.h>.
14840         (fegetenv): Do not use BP_SYM in versioned symbols.
14841         * nptl/sysdeps/pthread/bits/libc-lockP.h
14842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14843         <bp-sym.h>.
14844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14845         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14847         (__pthread_mutex_destroy): Likewise.
14848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14849         (__pthread_mutex_lock): Likewise.
14850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14851         (__pthread_mutex_trylock): Likewise.
14852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14853         (__pthread_mutex_unlock): Likewise.
14854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14855         (__pthread_mutexattr_init): Likewise.
14856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14857         (__pthread_mutexattr_destroy): Likewise.
14858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14859         (__pthread_mutexattr_settype): Likewise.
14860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14861         (__pthread_rwlock_init): Likewise.
14862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14863         (__pthread_rwlock_destroy): Likewise.
14864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14865         (__pthread_rwlock_rdlock): Likewise.
14866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14867         (__pthread_rwlock_tryrdlock): Likewise.
14868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14869         (__pthread_rwlock_wrlock): Likewise.
14870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14871         (__pthread_rwlock_trywrlock): Likewise.
14872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14873         (__pthread_rwlock_unlock): Likewise.
14874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14875         (__pthread_key_create): Likewise.
14876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14877         (__pthread_setspecific): Likewise.
14878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14879         (__pthread_getspecific): Likewise.
14880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14881         Likewise.
14882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14883         (_pthread_cleanup_push_defer): Likewise.
14884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14885         (_pthread_cleanup_pop_restore): Likewise.
14886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14887         (pthread_setcancelstate): Likewise.
14888         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14889         <bp-sym.h>.
14890         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14891         (memchr): Do not use BP_SYM in weak_alias.
14892         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14893         (fegetenv): Do not use BP_SYM in versioned symbols.
14894         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14895         (fesetenv): Do not use BP_SYM in versioned symbols.
14896         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14897         (feupdateenv): Do not use BP_SYM in versioned symbols.
14898         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14899         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14900         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14901         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14902         (open64): Do not use BP_SYM in weak_alias.
14903         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14904         (fegetenv): Do not use BP_SYM in versioned symbols.
14905         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14906         (fesetenv): Do not use BP_SYM in versioned symbols.
14907         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14908         (feupdateenv): Do not use BP_SYM in versioned symbols.
14909         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14910         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14911         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14912         (feraiseexcept): Do not use BP_SYM in versioned symbols.
14913         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14914         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14915         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14916         <bp-sym.h>.
14917         (__libc_start_main): Do not use BP_SYM.
14919 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14921         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14922         redundant return line.
14923         (norm): Likewise.
14924         (denorm): Likewise.
14925         (dbl_mp): Likewise.
14926         (sub_magnitudes): Likewise.
14927         (__add): Likewise.
14928         (__sub): Likewise.
14929         (__mul): Likewise.
14930         (__inv): Likewise.
14931         (__dvd): Likewise.
14932         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14933         (norm): Likewise.
14934         (denorm): Likewise.
14935         (dbl_mp): Likewise.
14936         (sub_magnitudes): Likewise.
14937         (__add): Likewise.
14938         (__sub): Likewise.
14939         (__mul): Likewise.
14940         (__inv): Likewise.
14941         (__dvd): Likewise.
14943         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14944         instead of __mul.
14945         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14946         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14947         (cc32): Likewise.
14949         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14950         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14951         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14952         of __mul for squares.
14953         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14954         function
14955         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14956         Likewise.
14957         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14958         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14960 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
14962         [BZ #13550]
14963         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14964         code.
14965         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14966         prototype or function definition.  Rename ubp_* variables and
14967         parameters.  Remove argv definitions conditional on
14968         [__BOUNDED_POINTERS__].
14969         * debug/backtrace.c (__backtrace): Do not use __unbounded.
14970         * elf/dl-runtime.c (_dl_fixup): Likewise.
14971         * include/set-hooks.h (RUN_HOOK): Likewise.
14972         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14973         definition.
14974         * string/strcpy.c (strcpy): Do not use __unbounded.
14975         * sysdeps/generic/frame.h (struct layout): Likewise.
14976         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14977         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14978         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14979         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14980         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14981         (__backtrace): Likewise.
14982         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14983         use __ptrvalue.
14984         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14985         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14986         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14987         Likewise.
14988         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14989         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14990         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14991         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14992         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14993         Do not use __unbounded.
14994         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14995         Rename __unboundedrlimits parameter to rlimits in prototype.
14996         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14997         Do not use __unbounded.
14998         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14999         not use __ptrvalue.
15000         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15001         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
15002         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15003         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
15004         __ptrvalue or __unbounded.
15005         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
15006         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
15007         use __unbounded.
15008         (__new_msgctl): Do not use __ptrvalue.
15009         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
15010         __unbounded.
15011         (__libc_msgrcv): Do not use __ptrvalue.
15012         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
15013         startup_info): Do not use __unbounded.
15014         (__libc_start_main): Likewise.  Rename ubp_* variables and
15015         parameters.  Remove argv definitions conditional on
15016         [__BOUNDED_POINTERS__].
15017         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
15018         __ptrvalue.
15019         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
15020         use __unbounded.
15021         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
15022         or __ptrvalue.
15023         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
15024         use __unbounded.
15025         (__new_shmctl): Do not use __ptrvalue.
15026         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15027         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15028         Likewise.
15029         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15030         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
15031         (__libc_sigaction): Likewise.
15032         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
15033         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
15034         Likewise.
15035         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15037 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
15039         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
15041         * string/mempcpy.c: Implement by calling memcpy.
15043 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15045         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15047         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15048         evaluation.
15050         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15051         values in the mantissa.
15053         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15054         minimize writes to Z.
15055         (sub_magnitudes): Simplify code a bit.
15057 2013-02-12  Roland McGrath  <roland@hack.frob.com>
15059         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15060         from the message.  The linker prefixes all warnings with that already.
15062 2013-02-12  Andreas Schwab  <schwab@suse.de>
15064         [BZ #15078]
15065         * posix/regexec.c (extend_buffers): Add parameter min_len.
15066         (check_matching): Pass minimum needed length.
15067         (clean_state_log_if_needed): Likewise.
15068         (get_subexp): Likewise.
15069         * posix/Makefile (tests): Add bug-regex34.
15070         (bug-regex34-ENV): Define.
15071         * posix/bug-regex34.c: New file.
15073         [BZ #11561]
15074         * posix/regcomp.c (parse_bracket_exp): When looking up collating
15075         elements compare against the byte sequence of it, not its name.
15076         * posix/Makefile (tests): Add bug-regex35.
15077         (bug-regex35-ENV): Define.
15078         * posix/bug-regex35.c: New file.
15080 2013-02-11  Tom de Vries  <tom@codesourcery.com>
15082         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
15083         comment.
15084         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15085         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15086         (CHECK_EOL): Add undef.
15088 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
15090         * bits/stdlib-bsearch.h: New file.
15091         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
15092         * stdlib/stdlib.h: Likewise.
15094 2013-02-11  Roland McGrath  <roland@hack.frob.com>
15096         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15097         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15098         declaration.
15099         * manual/search.texi (Array Search Function): Add missing const in
15100         lfind prototype.
15101         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15102         declaration to use rlim_t.
15103         (Basic Scheduling Functions): Remove erroneous const from
15104         sched_getparam prototype.  Remove erroneous * from
15105         sched_get_priority_max and sched_get_priority_min prototypes.
15106         (Resource Usage): Fix summary @comment on vtimes to refer to
15107         sys/vtimes.h rather than vtimes.h.
15108         Add missing *s in vtimes prototype.
15109         (Limits on Resources): Fix ulimit prototype to return long int.
15110         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15111         prototypes to use long int rather than double.
15112         (BSD Random): Fix initstate and setstate to use char *, not void *.
15113         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15114         prototype to make second argument 'struct aiocb64 *const[]'.
15115         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15116         (Status of AIO Operations): Remove erroneous const in aio_return and
15117         aio_return64 prototypes.
15118         (Synchronizing I/O): Fix sync prototype to return void.
15119         * manual/startup.texi (Suboptions): Remove an erroneous const in
15120         getsubopt prototype.
15121         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15122         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15123         use size_t rather than int.
15124         (Scanning All Users): Likewise for getpwent_r.
15125         (Setting Groups): Add missing const to setgroups prototype.
15126         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15127         * manual/socket.texi (Host Names): Fix gethostbyaddr and
15128         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15129         'const void *' rather than 'const char *'.
15130         (Host Address Functions): Likewise for inet_ntop.
15131         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15132         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15133         ssize_t for return value.
15134         (Sending Data): Likewise for send, sendto, sendmsg.
15135         (Socket Option Functions): Add a missing const in setsockopt prototype.
15136         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15137         use wchar_t for the argument.
15138         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15139         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15140         take no arguments.
15141         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15142         double/float/long double for second argument.
15143         Fix return types of significand, significandf, significandl.
15144         * manual/filesys.texi (Setting Permissions): Use mode_t for second
15145         argument in fchmod prototype.
15146         (File Owner): Use uid_t and gid_t in fchown prototype.
15147         (File Times): Add const to utimes, futimes, and lutimes prototypes.
15148         (Making Special Files): Use mode_t and dev_t in mknod prototype.
15149         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15150         use 'const struct dirent **' as argument types to CMP function pointer
15151         argument.
15152         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15153         (File Times): Fix summary magic @comment for struct utimbuf and utime
15154         to refer to utime.h, not time.h.
15155         * manual/string.texi (Argz Functions): Add missing const in
15156         argz_extract and argz_next prototypes.
15157         (Finding Tokens in a String): Likewise for basename.
15158         (String/Array Comparison): Fix typo in wcscasecmp prototype.
15159         (Copying and Concatenation): Fix typo in wmemmove prototype.
15160         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15161         (Signal Stack): Remove erroneous const in sigstack prototype.
15162         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15163         prototype.
15164         (Simple Calendar Time): Likewise for stime.
15165         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15166         prototype.
15167         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15168         say sys/sysctl.h instead.
15169         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15170         and vsyslog prototypes.
15172 2013-02-11  Tom de Vries  <tom@codesourcery.com>
15174         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15175         Remove.
15177 2013-02-11  Roland McGrath  <roland@hack.frob.com>
15179         * misc/sys/mman.h: Fix typo in mremap comment.
15181 2013-02-08  Roland McGrath  <roland@hack.frob.com>
15183         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15184         the '\0' terminator.
15186 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
15188         [BZ #13550]
15189         * debug/segfault.c: Don't include <bp-checks.h>.
15190         * sysdeps/generic/bp-checks.h: Remove file.
15191         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15192         (__GETDENTS): Don't use CHECK_N.
15193         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15194         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15195         (__getgroups): Don't use CHECK_N.
15196         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15197         (setgroups): Don't use CHECK_N.
15198         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15199         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15200         (__libc_msgrcv): Don't use CHECK_N.
15201         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15202         (__libc_msgsnd): Don't use CHECK_N.
15203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15204         <bp-checks.h>.
15205         (__libc_pread): Don't use CHECK_N.
15206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15207         include <bp-checks.h>.
15208         (__libc_pread64): Don't use CHECK_N.
15209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15210         include <bp-checks.h>.
15211         (__libc_pwrite): Don't use CHECK_N.
15212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15213         include <bp-checks.h>.
15214         (__libc_pwrite64): Don't use CHECK_N.
15215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15216         <bp-checks.h>.
15217         (__libc_pread): Don't use CHECK_N.
15218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15219         include <bp-checks.h>.
15220         (__libc_pread64): Don't use CHECK_N.
15221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15222         include <bp-checks.h>.
15223         (__libc_pwrite): Don't use CHECK_N.
15224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15225         include <bp-checks.h>.
15226         (__libc_pwrite64): Don't use CHECK_N.
15227         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15228         (do_pread): Don't use CHECK_N.
15229         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15230         (do_pread64): Don't use CHECK_N.
15231         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15232         (do_pwrite): Don't use CHECK_N.
15233         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15234         (do_pwrite64): Don't use CHECK_N.
15235         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15236         (__libc_readv): Don't use CHECK_N.
15237         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15238         (semop): Don't use CHECK_N.
15239         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15240         <bp-checks.h>.
15241         (semtimedop): Don't use CHECK_N.
15242         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15243         (__libc_pread): Don't use CHECK_N.
15244         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15245         <bp-checks.h>.
15246         (__libc_pread64): Don't use CHECK_N.
15247         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15248         <bp-checks.h>.
15249         (__libc_pwrite): Don't use CHECK_N.
15250         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15251         <bp-checks.h>.
15252         (__libc_pwrite64): Don't use CHECK_N.
15253         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15254         <bp-checks.h>.
15255         (__libc_msgrcv): Don't use CHECK_N.
15256         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15257         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
15258         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15259         (__libc_writev): Don't use CHECK_N.
15261 2013-02-08  Roland McGrath  <roland@hack.frob.com>
15263         * string/strcpy.c: Removed unused variable.
15265         * Makeconfig (+sysdep-includes): Define with := rather than =.
15266         Use an existing include/ subdir of each sysdeps dir before it.
15268 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
15270         * nscd/connection.c (register_traced_file): Comment function.
15271         [HAVE_INOTIFY] (union __inev): Define.
15272         [HAVE_INOTIFY] (inotify_check_files): New function.
15273         [HAVE_INOTIFY] (clear_db_cache): Likewise.
15274         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15275         clear_db_cache.
15276         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15278 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
15280         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15281         loaded if not already and that a failure is permanent.
15283 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
15285         [BZ #15006]
15286         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15287         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15289 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
15291         [BZ #13550]
15292         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15293         (CHECK_1_NULL_OK): Likewise.
15294         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15295         (__fxstat): Do not use CHECK_1.
15296         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15297         <bp-checks.h>.
15298         (___fxstat64): Do not use CHECK_1.
15299         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15300         <bp-checks.h>.
15301         (__fxstatat): Do not use CHECK_1.
15302         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15303         <bp-checks.h>.
15304         (__fxstatat64): Do not use CHECK_1.
15305         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15306         <bp-checks.h>.
15307         (__fxstat): Do not use CHECK_1.
15308         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15309         <bp-checks.h>.
15310         (__fxstatat): Do not use CHECK_1.
15311         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15312         <bp-checks.h>.
15313         (__getresgid): Do not use CHECK_1.
15314         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15315         <bp-checks.h>.
15316         (__getresuid): Do not use CHECK_1.
15317         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15318         <bp-checks.h>.
15319         (__lxstat): Do not use CHECK_1.
15320         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15321         <bp-checks.h>.
15322         (__old_msgctl): Do not use CHECK_1.
15323         (__new_msgctl): Likewise.
15324         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15325         <bp-checks.h>.
15326         (__new_setrlimit): Do not use CHECK_1.
15327         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15328         <bp-checks.h>.
15329         (__old_shmctl): Do not use CHECK_1.
15330         (__new_shmctl): Likewise.
15331         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15332         <bp-checks.h>.
15333         (__xstat): Do not use CHECK_1.
15334         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15335         (__lxstat): Do not use CHECK_1.
15336         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15337         <bp-checks.h>.
15338         (___lxstat64): Do not use CHECK_1.
15339         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15340         (__old_msgctl): Do not use CHECK_1.
15341         (__new_msgctl): Likewise.
15342         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15343         <bp-checks.h>.
15344         (__gettimeofday): Do not use CHECK_1.
15345         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15346         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15347         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15348         <bp-checks.h>.
15349         (__gettimeofday): Do not use CHECK_1.
15350         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15351         (__old_shmctl): Do not use CHECK_1_NULL_OK.
15352         (__new_shmctl): Do not use CHECK_1.
15353         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15354         <bp-checks.h>.
15355         (do_sigtimedwait): Do not use CHECK_1.
15356         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15357         <bp-checks.h>.
15358         (do_sigwaitinfo): Do not use CHECK_1.
15359         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15360         <bp-checks.h>.
15361         (msgctl): Do not use CHECK_1.
15362         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15363         <bp-checks.h>.
15364         (shmctl): Do not use CHECK_1.
15365         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15366         (ustat): Do not use CHECK_1.
15367         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15368         <bp-checks.h>.
15369         (__fxstat): Do not use CHECK_1.
15370         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15371         <bp-checks.h>.
15372         (__fxstatat): Do not use CHECK_1.
15373         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15374         <bp-checks.h>.
15375         (__lxstat): Do not use CHECK_1.
15376         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15377         <bp-checks.h>.
15378         (__xstat): Do not use CHECK_1.
15379         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15380         (__xstat): Do not use CHECK_1.
15381         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15382         (___xstat64): Do not use CHECK_1.
15384         [BZ #13550]
15385         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15386         definitions.
15387         (CHECK_BOUNDS_HIGH): Likewise.
15388         * string/strcpy.c: Do not include <bp-checks.h>.
15389         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15391 2013-02-07  Roland McGrath  <roland@hack.frob.com>
15393         * nscd/nscd-client.h (__nscd_drop_map_ref):
15394         Add __attribute__ ((unused)).
15395         * nis/nss-nisplus.h (niserr2nss): Likewise.
15397         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15398         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15400         * csu/libc-tls.c (init_static_tls, init_slotinfo):
15401         Remove inline keyword.
15402         * include/rounding-mode.h (round_away): Likewise.
15403         * libio/wfileops.c (adjust_wide_data): Likewise.
15404         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15405         (__m128i_strloadu_tolower): Likewise.
15406         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15407         (__m128i_strloadu_tolower): Likewise.
15408         * time/mktime.c (ydhms_diff): Likewise.
15409         * locale/elem-hash.h (elem_hash): Likewise.
15410         * locale/setlocale.c (setdata): Likewise.
15411         * posix/regex_internal.h (re_string_char_size_at): Likewise.
15412         (re_string_wchar_at): Likewise.
15413         (bitset_not, bitset_merge, bitset_mask): Likewise.
15414         [!(__GNUC__ > 3)] (inline): Remove macro.
15415         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15416         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15417         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15418         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15419         * string/memcmp.c (memcmp_bytes): Likewise.
15420         * locale/programs/locarchive.c (compute_hashval): Likewise.
15421         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15422         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15423         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15424         * nss/getent.c (print_rpc, print_protocols): Likewise.
15425         (print_passwd, print_group, print_aliases): Likewise.
15426         * nis/nss-nisplus.h (niserr2nss): Likewise.
15427         * nscd/connections.c (restart_p): Likewise.
15428         Change return type to bool.
15430 2013-02-05  Roland McGrath  <roland@hack.frob.com>
15432         * Makeconfig (all-Depend-files): Add existing
15433         $(sorted-subdirs:=/Depend) files.
15434         (all-subdirs): Remove nss.
15435         * sysdeps/unix/inet/Subdirs: Add it here instead.
15436         * hesiod/Depend: New file.
15438         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15439         instead of calling alloca.
15441         * io/lseek.c (__lseek): Rename to __libc_lseek.
15442         Define __lseek as an alias.
15444         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15446 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
15448         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15449         else clause and remove check for non-standard endianness.
15451 2013-02-04  David S. Miller  <davem@davemloft.net>
15453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15455 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
15457         [BZ #13550]
15458         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15459         (__ubp_memchr): Remove prototype.
15460         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15461         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15462         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15463         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15464         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15465         Remove alias.
15466         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15467         (__ubp_memchr): Likewise.
15468         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15469         (__ubp_memchr): Likewise.
15470         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15471         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15472         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15473         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15474         CHECK_STRING.
15475         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15476         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15477         (__getcwd): Do not use CHECK_STRING.
15478         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15479         <bp-checks.h>.
15480         (__real_chown): Do not use CHECK_STRING.
15481         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15482         <bp-checks.h>.
15483         (fchownat): Do not use CHECK_STRING.
15484         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15485         CHECK_STRING.
15486         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15487         <bp-checks.h>.
15488         (__lchown): Do not use CHECK_STRING.
15489         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15490         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15491         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15492         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15494         include <bp-checks.h>.
15495         (truncate64): Do not use CHECK_STRING.
15496         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15497         <bp-checks.h>.
15498         (__real_chown): Do not use CHECK_STRING.
15499         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15500         <bp-checks.h>.
15501         (__lchown): Do not use CHECK_STRING.
15502         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15503         <bp-checks.h>.
15504         (__chown): Do not use CHECK_STRING.
15505         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15506         <bp-checks.h>.
15507         (truncate64): Do not use CHECK_STRING.
15508         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15509         Likewise.
15510         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15511         (__xmknod): Do not use CHECK_STRING.
15512         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15513         <bp-checks.h>.
15514         (__xmknodat): Do not use CHECK_STRING.
15515         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15516         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15518 2013-02-04  Andreas Schwab  <schwab@suse.de>
15520         [BZ #14142]
15521         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15522         * include/netdb.h: Likewise for h_errno.
15523         * elf/tst-stackguard1.c: Include <tls.h>.
15525 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
15527         * elf/link.h (struct link_map): Extend the l_addr comment.
15528         * include/link.h (struct link_map): Likewise.
15530 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
15532         [BZ #13550]
15533         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15534         (BOUNDED_1): Remove macro.
15535         * debug/backtrace.c: Don't include <bp-checks.h>.
15536         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15537         (__backtrace): Likewise.
15538         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15539         <bp-checks.h>.
15540         (__backtrace): Don't use BOUNDED_1.
15541         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15542         <bp-checks.h>.
15543         (__backtrace): Don't use BOUNDED_1.
15544         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15545         (__backtrace): Don't use BOUNDED_1.
15546         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15547         (shmat): Don't use BOUNDED_N.
15549 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
15551         [BZ #13550]
15552         * sysdeps/generic/bp-start.h: Remove file.
15553         * csu/libc-start.c: Don't include <bp-start.h>.
15554         (LIBC_START_MAIN): Set up __environ directly instead of using
15555         INIT_ARGV_and_ENVIRON.
15556         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15557         <bp-start.h>.
15559         [BZ #13550]
15560         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15561         definitions.
15562         (CHECK_FCNTL): Likewise.
15563         (CHECK_N_PAGES): Likewise.
15565         [BZ #13550]
15566         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15567         definitions.
15568         (CHECK_SIGSET_NULL_OK): Likewise.
15569         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15570         <bp-checks.h>.
15571         (sigpending): Don't use CHECK_SIGSET.
15572         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15573         <bp-checks.h>.
15574         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15575         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15576         <bp-checks.h>.
15577         (do_sigsuspend): Don't use CHECK_SIGSET.
15578         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15579         use CHECK_SIGSET.
15580         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15581         (do_sigwait): Don't use CHECK_SIGSET.
15582         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15583         use CHECK_SIGSET.
15584         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15585         include <bp-checks.h>.
15586         (sigpending): Don't use CHECK_SIGSET.
15587         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15588         include <bp-checks.h>.
15589         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15590         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15591         <bp-checks.h>.
15592         (sigpending): Don't use CHECK_SIGSET.
15593         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15594         <bp-checks.h>.
15595         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15597         [BZ #13550]
15598         * sysdeps/generic/bp-semctl.h: Remove file.
15599         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15600         <bp-checks.h> and <bp-semctl.h>.
15601         (__old_semctl): Don't use CHECK_SEMCTL.
15602         (__new_semctl): Likewise.
15603         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15604         and <bp-semctl.h>.
15605         (__old_semctl): Don't use CHECK_SEMCTL.
15606         (__new_semctl): Likewise.
15607         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15608         <bp-checks.h> and <bp-semctl.h>.
15609         (__old_semctl): Don't use CHECK_SEMCTL.
15610         (__new_semctl): Likewise.
15611         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15612         <bp-checks.h> and <bp-semctl.h>.
15613         (semctl): Don't use CHECK_SEMCTL.
15615         [BZ #13550]
15616         * Makerules (elide-bp-thunks): Remove variable.
15617         (elide-routines.oS): Don't use $(elide-bp-thunks).
15618         (elide-routines.os): Likewise.
15619         (elide-routines.o): Likewise.
15620         (elide-routines.op): Likewise.
15621         (elide-routines.og): Likewise.
15622         (objects): Don't use $(bp-thunks).
15623         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15624         include.
15625         (common-generated): Do not add s-proto-bp.d.
15626         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15627         (int): Likewise.
15628         (typ): Likewise.
15629         Do not generate makefile rules for bounded-pointer thunks.
15630         * sysdeps/generic/bp-thunks.h: Remove file.
15631         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15632         * sysdeps/unix/s-proto-bp.S: Likewise.
15634         [BZ #15062]
15635         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15636         parts of result separately when argument is not close to line from
15637         -i to i and one part of argument is small.
15638         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15639         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15640         * math/libm-test.inc (cacos_test): Add more tests.
15641         (casin_test): Likewise.
15642         (casinh_test): Likewise.
15643         * sysdeps/i386/fpu/libm-test-ulps: Update.
15644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15646 2013-01-31  David S. Miller  <davem@davemloft.net>
15648         * po/de.po: Update from translation team.
15650 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
15652         * time/tzfile.c: Include stdint.h for SIZE_MAX.
15654 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
15656         * configure.in (_AC_PROG_CC_C89): New definition.
15657         * configure: Regenerate.
15659         * configure.in (AC_PROG_CPP): New definition.
15660         * configure: Regenerate.
15662 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
15664         * debug/tst-backtrace.h: New file.
15665         * debug/tst-backtrace2.c: Include tst-backtrace.h.
15666         (ret): Remove variable.
15667         (x): Likewise.
15668         (FAIL): Remove macro.
15669         (NO_INLINE): Likewise.
15670         (fn1): Use match function instead of strstr.
15671         * debug/tst-backtrace3.c: Include tst-backtrace.h.
15672         (ret): Remove variable.
15673         (x): Likewise.
15674         (FAIL): Remove macro.
15675         (NO_INLINE): Likewise.
15676         (fn): Use match function instead of strstr.
15677         * debug/tst-backtrace4.c: Include tst-backtrace.h.
15678         (ret): Remove variable.
15679         (x): Likewise.
15680         (FAIL): Remove macro.
15681         (NO_INLINE): Likewise.
15682         (handle_signal): Use match function instead of strstr.
15683         * debug/tst-backtrace5.c: Include tst-backtrace.h.
15684         (ret): Remove variable.
15685         (x): Likewise.
15686         (FAIL): Remove macro.
15687         (NO_INLINE): Likewise.
15688         (handle_signal): Use match function instead of strstr.
15690 2013-01-23  Roland McGrath  <roland@hack.frob.com>
15692         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15694 2013-01-23  David S. Miller  <davem@davemloft.net>
15696         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15697         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15698         argument of CAS if possible.
15699         * sysdeps/sparc/sparc64/bits/atomic.h
15700         (__arch_compare_and_exchange_val_32_acq): Likewise.
15701         (__arch_compare_and_exchange_val_64_acq): Likewise.
15703 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
15705         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15706         * sysdeps/posix/ulimit.c: ... this.
15707         Include <limits.h>.
15708         * sysdeps/unix/bsd/ulimit.c: Remove file.
15710 2013-01-23  Adam Conrad  <adconrad@0c3.net>
15712         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15713         (LDFLAGS-tst-array5): Likewise.
15715 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
15717         [BZ #15036]
15718         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15719         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15720         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15721         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15723 2013-01-21  David S. Miller  <davem@davemloft.net>
15725         * sysdeps/sparc/backtrace.c: New file.
15726         * sysdeps/sparc/sparc32/backtrace.h: New file.
15727         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15728         * sysdeps/sparc/sparc64/backtrace.h: New file.
15729         * sysdeps/sparc/sparc64/backtrace.c: Delete.
15730         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15731         -funwind-tables.
15733 2013-01-21  Andreas Schwab  <schwab@suse.de>
15735         [BZ #15020]
15736         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15737         closed its stdout.
15739 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
15741         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15742         "mpa2.h".
15743         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15745 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
15746             Mark Mitchell  <mark@codesourcery.com>
15747             Tom de Vries  <tom@codesourcery.com>
15748             Paul Pluzhnikov  <ppluzhnikov@google.com>
15750         * debug/tst-backtrace2.c: New file.
15751         * debug/tst-backtrace3.c: Likewise.
15752         * debug/tst-backtrace4.c: Likewise.
15753         * debug/tst-backtrace5.c: Likewise.
15754         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15755         (CFLAGS-tst-backtrace3.c): Likewise.
15756         (CFLAGS-tst-backtrace4.c): Likewise.
15757         (CFLAGS-tst-backtrace5.c): Likewise.
15758         (LDFLAGS-tst-backtrace2): Likewise.
15759         (LDFLAGS-tst-backtrace3): Likewise.
15760         (LDFLAGS-tst-backtrace4): Likewise.
15761         (LDFLAGS-tst-backtrace5): Likewise.
15762         (tests): Add new tests tst-backtrace2, tst-backtrace3,
15763         tst-backtrace4 and tst-backtrace5.
15765 2013-01-18  Anton Blanchard  <anton@samba.org>
15766             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15768         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15769         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15770         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15771         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15773         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15774         "+r" and remove output regs list as redundant.  Add explicit inline
15775         asm to specify register of return val to work around compiler codegen
15776         bug.  Remove (int) cast on return value.  Add return type parameter to
15777         use in macro so that this macro does not truncate return value for
15778         64-bit values.
15779         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15780         pass to INTERNAL_VSYSCALL_NCS.
15781         (INLINE_VSYSCALL): Add 'long int' as return type to
15782         INTERNAL_VSYSCALL_NCS macro invocation.
15783         (INTERNAL_VSYSCALL): Add 'long int' as return type to
15784         INTERNAL_VSYSCALL_NCS macro invocation.
15785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15787 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15789         [BZ #14496]
15790         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15791         Fix application of SIMD FP exception mask.
15793         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15794         mp_no from a power of two.
15795         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15796         __mpexp_twomm1.  Use __pow_mp.
15798         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15799         multiplication.
15801 2013-01-17  David S. Miller  <davem@davemloft.net>
15803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15805 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
15807         [BZ #15023]
15808         * include/complex.h: Condition contents on [!_COMPLEX_H].
15809         (__kernel_casinhf): New prototype.
15810         (__kernel_casinh): Likewise.
15811         (__kernel_casinhl): Likewise.
15812         * math/Makefile (libm_calls): Add k_casinh.
15813         * math/k_casinh.c: New file.
15814         * math/k_casinhf.c: Likewise.
15815         * math/k_casinhl.c: Likewise.
15816         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15817         finite nonzero arguments.
15818         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15819         finite nonzero arguments.
15820         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15821         finite nonzero arguments.
15822         * math/s_casinh.c: Do not include <float.h>.
15823         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15824         * math/s_casinhf.c: Do not include <float.h>.
15825         (__casinhf): Move code for finite nonzero arguments to
15826         k_casinhf.c.
15827         * math/s_casinhl.c: Do not include <float.h>.
15828         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15829         redefine.
15830         (__casinhl): Move code for finite nonzero arguments to
15831         k_casinhl.c.
15832         * math/libm-test.inc (cacos_test): Add more tests.
15833         * sysdeps/i386/fpu/libm-test-ulps: Update.
15834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15836 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
15838         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15839         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15840         [!HAVE_MREMAP]: Remove [defined linux] case.
15841         * malloc/arena.c: Do not include <malloc-sysdep.h>.
15843 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15845         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15847 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
15849         * elf/elf.h (R_386_SIZE32): New relocation.
15850         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15851         R_386_SIZE32.
15852         (elf_machine_rela): Likewise.
15853         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15854         R_X86_64_SIZE64 and R_X86_64_SIZE32.
15856 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
15858         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15859         (FP_FAST_FMA): Do not define.
15860         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15861         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15862         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15863         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15864         !_SOFT_FLOAT]: Likewise.
15865         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15866         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15867         value.
15868         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15869         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15870         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15871         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15872         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15873         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15874         file.
15876 2013-01-16  Andreas Schwab  <schwab@suse.de>
15878         [BZ #14327]
15879         * include/stdlib.h (__mktemp): Add declaration.
15880         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15881         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15883 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15885         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15886         definitions.
15887         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15888         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15889         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15890         definitions here.
15891         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15892         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15893         definitions.
15894         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15895         and ONE.
15896         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15897         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15898         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15899         definitions.
15900         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15901         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15902         definitions.
15903         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15905         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15907 2013-01-15  David S. Miller  <davem@davemloft.net>
15909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15910         trunc{,f} to libm-sysdep_routes.
15911         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15913         file.
15914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15916         file.
15917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15918         file.
15919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15921         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15922         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15923         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15924         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15925         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15926         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15929         nearbyint{,f} to libm-sysdep_routes.
15930         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15932         New file.
15933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15934         file.
15935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15936         New file.
15937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15938         file.
15939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15941         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15942         file.
15943         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15944         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15945         file.
15946         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15947         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15948         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15950         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15951         libc_feholdexcept and libc_fesetenv.
15953 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
15955         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15957 2013-01-14  David S. Miller  <davem@davemloft.net>
15959         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15960         (SPARC_ASM_VIS2_IFUNC): Likewise.
15961         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15963         use of 'siam' instruction.
15964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15965         Likewise.
15966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15967         Likewise.
15968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15969         Likewise.
15970         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15971         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15972         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15973         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15975         file.
15976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15977         file.
15978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15979         file.
15980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15981         file.
15982         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15983         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15984         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15985         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15987         new VIS2 routines.
15988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15991         Likewise.
15992         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15993         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15994         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15995         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15997         routines to libm-sysdep_routines.
15998         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16001         fdim/fdimf to libm-sysdep_routines.
16002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
16003         file.
16004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
16005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
16006         file.
16007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
16008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
16009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
16010         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
16011         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
16012         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
16013         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
16015 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16017         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
16018         to optimize copies.
16020         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
16021         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16022         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16024         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
16025         local variable MPTWO.
16026         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16027         Likewise.
16029 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
16031         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
16032         GLOB_NOESCAPE.
16034 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
16036         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16038 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
16040         * manual/pattern.texi (glob_t): Document gl_flags.
16041         (glob64_t): Likewise.
16043 2013-01-11  David S. Miller  <davem@davemloft.net>
16045         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16046         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16047         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
16048         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16049         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16050         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16051         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16052         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16053         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16054         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16055         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16056         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16057         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16059         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16060         sparc V9 rather than using V8 code.
16061         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16062         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16064         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16065         Move to...
16066         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16067         Here.
16069 2013-01-11  Roland McGrath  <roland@hack.frob.com>
16071         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16072         not in the main loop.
16073         * configure: Regenerated.
16075 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
16077         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16078         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16079         to just #else.
16080         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
16081         [!__GLIBC_HAVE_LONG_LONG] case.
16082         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16083         condition to just #else.
16084         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16085         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16086         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16087         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16088         unconditional.
16089         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16090         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16091         #elif condition to just #else.
16092         * sysdeps/unix/sysv/linux/sys/sysmacros.h
16093         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16094         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16095         #elif condition to just #else.
16097 2013-01-11  Steve Ellcey  <sellcey@mips.com>
16099         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16100         (EF_MIPS_ARCH_64): Fix value.
16101         (EF_MIPS_ARCH_32R2): New.
16102         (EF_MIPS_ARCH_64R2): New.
16104 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
16106         * Makeconfig (+link-pie-before-libc): New.
16107         (+link-pie-after-libc): Likewise.
16108         (+link-pie-tests): Likewise.
16109         (+link-pie): Rewritten.
16110         (link-before-libc): Remove $(config-LDFLAGS).
16111         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16112         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16113         (config-LDFLAGS): Renamed to ...
16114         (rtld-LDFLAGS): This.
16115         (rtld-tests-LDFLAGS): New macro.
16116         (link-libc-rpath-link): Likewise.
16117         (link-libc-tests-rpath-link): Likewise.
16118         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16119         (link-libc): Prepand $(link-libc-rpath-link).
16120         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16121         (test-program-prefix): New macro.
16122         (test-via-rtld-prefix): Likewise.
16123         (test-program-cmd): Likewise.
16124         (host-test-program-cmd): Likewise.
16125         * Makefile ($(common-objpfx)testrun.sh): Replace
16126         $(run-program-prefix) with $(test-program-prefix).
16127         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16128         $(rtld-LDFLAGS).
16129         ($(common-objpfx)shlib.lds): Likewise.
16130         (build-module-helper): Likewise.
16131         ($(common-objpfx)format.lds): Likewise.
16132         * Rules (binaries-pie-tests): New.
16133         (binaries-pie-notests): Likewise.
16134         (binaries-pie): Rewritten.
16135         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16136         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16137         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16138         (make-test-out): Replace $(host-built-program-cmd) with
16139         $(host-test-program-cmd).
16140         * config.make.in (build-hardcoded-path-in-tests): New variable.
16141         * configure.in (--enable-hardcoded-path-in-tests): New configure
16142         option.
16143         (hardcoded_path_in_tests): New AC_SUBST.
16144         * configure: Regenerated.
16145         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16146         $(built-program-cmd) with $(test-program-cmd).
16147         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16148         (test_program_cmd): This.
16149         * elf/Makefile ($(objpfx)order.out): Run test with
16150         $(test-program-prefix).
16151         ($(objpfx)order2.out): Likewise.
16152         ($(objpfx)tst-initorder.out): Likewise.
16153         ($(objpfx)tst-initorder2.out): Likewise.
16154         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16155         $(test-program-cmd).
16156         ($(objpfx)tst-array1-static.out): Likewise.
16157         ($(objpfx)tst-array2.out): Likewise.
16158         ($(objpfx)tst-array3.out): Likewise.
16159         ($(objpfx)tst-array4.out): Likewise.
16160         ($(objpfx)tst-array5.out): Likewise.
16161         ($(objpfx)tst-array5-static.out): Likewise.
16162         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16163         $(test-program-cmd).
16164         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16165         $(run-program-prefix) with $(test-program-prefix).
16166         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16167         (test_program_prefix): This.
16168         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16169         $(run-program-prefix) with $(test-program-prefix).
16170         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16171         (test_program_prefix): This.
16172         * iconvdata/tst-tables.sh: Likewise.
16173         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16174         $(run-program-prefix) with $(test-program-prefix).
16175         ($(objpfx)tst-translit.out): Likewise.
16176         ($(objpfx)tst-gettext2.out): Likewise.
16177         ($(objpfx)tst-gettext4.out): Likewise.
16178         ($(objpfx)tst-gettext6.out): Likewise.
16179         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16180         (test_program_prefix): This.
16181         * intl/tst-gettext2.sh: Likewise.
16182         * intl/tst-gettext4.sh  Likewise.
16183         * intl/tst-gettext6.sh: Likewise.
16184         * intl/tst-translit.sh: Likewise.
16185         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16186         with $(test-program-cmd).
16187         * libio/Makefile ($(objpfx)test-freopen.out): Replace
16188         $(run-program-prefix) with $(test-program-prefix).
16189         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16190         (test_program_prefix): This.
16191         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16192         $(run-program-prefix) with $(test-program-prefix).
16193         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16194         (test_program_prefix): This.
16195         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16196         * posix/Makefile ($(objpfx)globtest.out): Replace
16197         $(run-via-rtld-prefix) and $(test-wrapper) with
16198         $(test-program-prefix) and $(test-via-rtld-prefix).
16199         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16200         $(test-program-prefix).
16201         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16202         $(host-test-program-cmd).
16203         (tst-spawn-ARGS): Likewise.
16204         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16205         $(test-program-prefix).
16206         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16207         (test_via_rtld_prefix): This.
16208         (test_wrapper): Renamed to ...
16209         (test_program_prefix): This.
16210         (run_program_prefix): Replaced by test_program_prefix.
16211         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16212         (test_program_prefix): This.
16213         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16214         with $(host-test-program-cmd).
16215         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16216         $(run-program-prefix) with $(test-program-prefix).
16217         ($(objpfx)tst-printf.out): Likewise.
16218         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16219         $(test-program-cmd).
16220         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16221         (test_program_prefix): This.
16222         * stdio-common/tst-unbputc.sh: Likewise.
16223         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16224         $(run-program-prefix) with $(test-program-prefix).
16225         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16226         (test_program_prefix): This.
16227         * string/Makefile ($(objpfx)tst-svc.out):  Replace
16228         $(built-program-cmd) with $(test-program-cmd).
16230 2013-01-11  Andreas Jaeger  <aj@suse.de>
16232         [BZ #15003]
16233         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16234         value. Sync with Linux 3.7.
16236 2013-01-10  David S. Miller  <davem@davemloft.net>
16238         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16239         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16240         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16242 2013-01-10  Roland McGrath  <roland@hack.frob.com>
16244         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16245         never set.
16246         * configure: Regenerated.
16248 2013-01-10  David S. Miller  <davem@davemloft.net>
16250         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16251         sparc V9 rather than using V8 code.
16252         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16253         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16255 2013-01-10  Roland McGrath  <roland@hack.frob.com>
16257         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16258         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16259         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16260         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16261         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16262         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16263         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16264         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16265         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16266         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16267         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16268         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16269         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16270         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16271         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16272         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16273         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16274         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16275         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16276         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16277         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16278         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16279         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16280         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16281         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16282         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16283         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16285 2013-01-10  David S. Miller  <davem@davemloft.net>
16287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16289 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
16291         * posix/Makefile (tests-static): New variable.
16292         (tests): Add $(tests-static).
16293         (tst-exec-static-ARGS): New variable.
16294         (tst-spawn-static-ARGS): Likewise.
16295         * posix/tst-exec-static.c: New file.
16296         * posix/tst-spawn-static.c: Likewise.
16297         * posix/tst-exec.c: Support run directly.
16298         * posix/tst-spawn.c: Likewise.
16300 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
16302         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16303         long.
16304         * math/bits/mathcalls.h (llrint): Likewise.
16305         (llround): Likewise.
16306         * stdlib/stdlib.h (struct drand48_data): Likewise.
16307         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16308         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16309         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16310         Likewise.
16311         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16312         Likewise.
16313         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16314         (elf_greg_t): Likewise.
16315         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16316         (__jmp_buf): Likewise.
16317         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16318         definitions.
16319         (llrint): Likewise, for all definitions.
16320         (llrintl): Likewise.
16322         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16323         Remove [__GNUC__] condition.
16324         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16325         condition to just [__USE_ISOC99].
16326         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16328 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
16330         [BZ #14200]
16331         * sysdeps/unix/sysv/linux/x86/bits/environments.h
16332         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16333         defined.
16334         (_POSIX_V6_ILP32_OFF32): Likewise.
16335         (_XBS5_ILP32_OFF32): Likewise.
16336         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16337         (__ILP32_OFFBIG_LDFLAGS): Likewise.
16339 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16341         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16343         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16344         doubles __mpexp_twomm1.  Adjust usage.
16345         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16346         Remove.
16348 2013-01-10  Andreas Schwab  <schwab@suse.de>
16350         [BZ #14964]
16351         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16352         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16354 2013-01-09  David S. Miller  <davem@davemloft.net>
16356         [BZ #15003]
16357         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16358         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16359         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16360         TCP_FASTOPEN): Define.
16361         (tcp_repair_opt): New structure.
16362         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16363         enum values.
16364         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16365         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16366         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16367         (tcp_cookie_transactions): New structure.
16369 2013-01-09  Anton Blanchard  <anton@samba.org>
16371         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16372         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16373         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16374         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16376 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
16378         * include/features.h (__USE_ANSI): Remove.
16380 2013-01-09  Roland McGrath  <roland@hack.frob.com>
16382         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16384         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16386 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
16388         * sysdeps/s390/fpu/libm-test-ulps: Update.
16390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16392         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16393         (__acr): Likewise.
16394         (__cpy): Likewise.
16395         (norm): Likewise.
16396         (denorm): Likewise.
16397         (__mp_dbl): Likewise.
16398         (__dbl_mp): Likewise.
16399         (add_magnitudes): Likewise.
16400         (sub_magnitudes): Likewise.
16401         (__add): Likewise.
16402         (__sub): Likewise.
16403         (__mul): Likewise.
16404         (__inv): Likewise.
16405         (__dvd): Likewise.
16406         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16407         (__acr): Likewise.
16408         (__cpy): Likewise.
16409         (norm): Likewise.
16410         (denorm): Likewise.
16411         (__mp_dbl): Likewise.
16412         (__dbl_mp): Likewise.
16413         (add_magnitudes): Likewise.
16414         (sub_magnitudes): Likewise.
16415         (__add): Likewise.
16416         (__sub): Likewise.
16417         (__mul): Likewise.
16418         (__inv): Likewise.
16419         (__dvd): Likewise.
16420         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16421         (__acr): Likewise.
16422         (__cpy): Likewise.
16423         (norm): Likewise.
16424         (denorm): Likewise.
16425         (__mp_dbl): Likewise.
16426         (__dbl_mp): Likewise.
16427         (add_magnitudes): Likewise.
16428         (sub_magnitudes): Likewise.
16429         (__add): Likewise.
16430         (__sub): Likewise.
16431         (__mul): Likewise.
16432         (__inv): Likewise.
16433         (__dvd): Likewise.
16435 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
16437         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16438         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16439         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16440         2 && __USE_EXTERN_INLINES]: Likewise.
16442 2013-01-08  Andreas Jaeger  <aj@suse.de>
16444         [BZ# 14985]
16445         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16446         Remove.
16447         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16448         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16450 2013-01-07  Anton Blanchard  <anton@samba.org>
16452         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16453         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16454         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16455         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16456         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16457         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16458         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16459         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16460         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16461         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16462         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16463         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16464         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16465         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16466         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16467         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16468         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16469         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16470         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16471         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16472         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16473         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16474         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16475         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16476         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16477         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16478         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16479         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16480         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16481         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16482         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16483         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16484         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16485         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16486         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16487         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16488         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16489         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16490         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16491         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16492         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16493         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16494         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16496 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
16498         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16499         (__MALLOC_PMT): Likewise.
16500         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16501         [__GNUC__], only on [_LIBC].
16502         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16503         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16504         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16505         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16506         forward declaration.
16507         (realloc_hook_ini): Likewise.
16508         (memalign_hook_ini): Likewise.
16509         (__libc_memalign): Do not use __MALLOC_PMT in variable
16510         declaration.
16511         (__libc_valloc): Likewise.
16512         (__libc_pvalloc): Likewise.
16513         (__libc_calloc): Likewise.
16514         (__posix_memalign): Likewise.
16516         [BZ #14996]
16517         * math/s_casinh.c: Include <float.h>.
16518         (__casinh): Do not do computation with squaring and square root
16519         for large arguments.
16520         * math/s_casinhf.c: Include <float.h>.
16521         (__casinhf): Do not do computation with squaring and square root
16522         for large arguments.
16523         * math/s_casinhl.c: Include <float.h>.
16524         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16525         (__casinhl): Do not do computation with squaring and square root
16526         for large arguments.
16527         * math/libm-test.inc (casin_test): Add more tests.
16528         (casinh_test): Likewise.
16529         * sysdeps/i386/fpu/libm-test-ulps: Update.
16530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16532 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
16534         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16535         (__x86_64_raw_data_cache_size): Likewise.
16536         (__x86_64_data_cache_size_half): Likewise.
16537         (__x86_64_raw_data_cache_size_half): Likewise.
16538         (__x86_64_shared_cache_size): Likewise.
16539         (__x86_64_raw_shared_cache_size): Likewise.
16540         (__x86_64_shared_cache_size_half): Likewise.
16541         (__x86_64_raw_shared_cache_size_half): Likewise.
16542         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16543         to ...
16544         (__x86_data_cache_size): This.
16545         (__x86_64_raw_data_cache_size): Renamed to ...
16546         (__x86_raw_data_cache_size): This.
16547         (__x86_64_data_cache_size_half): Renamed to ...
16548         (__x86_data_cache_size_half): This.
16549         (__x86_64_raw_data_cache_size_half): Renamed to ...
16550         (__x86_raw_data_cache_size_half): This.
16551         (__x86_64_shared_cache_size): Renamed to ...
16552         (__x86_shared_cache_size): This.
16553         (__x86_64_raw_shared_cache_size): Renamed to ...
16554         (__x86_raw_shared_cache_size): This.
16555         (__x86_64_shared_cache_size_half): Renamed to ...
16556         (__x86_shared_cache_size_half): This.
16557         (__x86_64_raw_shared_cache_size_half): Renamed to ...
16558         (__x86_raw_shared_cache_size_half): This.
16559         * sysdeps/x86_64/memcpy.S: Updated.
16560         * sysdeps/x86_64/memset.S: Likewise.
16561         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16562         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16563         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16565 2013-01-04  David S. Miller  <davem@davemloft.net>
16567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16569 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
16571         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16572         1 to avoid redefinition warning.
16573         (__USE_GNU): Don't define.
16574         (init_signaling_nan): Protoize.
16576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16578 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16580         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16581         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16582         (__cpymn): Likewise.
16583         (norm): Remove commented code.
16584         (denorm): Likewise.
16585         (__mp_dbl): Likewise.
16586         (__inv): Likewise.
16587         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16588         (__cpymn): Likewise.
16589         (norm): Remove commented code.
16590         (denorm): Likewise.
16591         (__mp_dbl): Likewise.
16592         (__inv): Likewise.
16594         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16595         mp_no value for 1.0 and 2.0.
16596         (norm): Use RADIXI instead of radixi.d.
16597         (denorm): Likewise.
16598         (__mul): Use 0.0 instead of zero.d.
16599         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16600         mp_no value for 1.0 and 2.0.
16601         (norm): Use RADIXI instead of radixi.d.
16602         (denorm): Likewise.
16603         (__mul): Use 0.0 instead of zero.d.
16605 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
16607         [BZ #14994]
16608         * math/s_casinh.c (__casinh): Reduce finite argument to first
16609         quadrant then set signs of results at the end.
16610         * math/s_casinhf.c (__casinhf): Likewise.
16611         * math/s_casinhl.c (__casinhl): Likewise.
16612         * math/libm-test.inc (casin_test): Add more tests.
16613         (casinh_test): Likewise.
16614         * sysdeps/i386/fpu/libm-test-ulps: Update.
16615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16617 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16619         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16621         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16623         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16624         declarations.
16625         (denorm): Likewise.
16626         (__mp_dbl): Likewise.
16627         (__inv): Likewise.
16629         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16630         and adjust the header comment.
16632         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16633         variable name from declaration.
16635 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
16637         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16638         Initialize COMMON_CPUID_INDEX_7 element.
16639         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16640         (CPUID_RTM): Likewise.
16641         (HAS_RTM): Likewise.
16642         (COMMON_CPUID_INDEX_7): New enum.
16644 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
16646         [BZ #14981]
16647         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16648         size is zero, record memory as freed.
16650 2013-01-03  Andreas Jaeger  <aj@suse.de>
16652         * po/ia.po: Add new Interlingua translation.
16654 2012-01-03  Allan McRae  <allan@archlinux.org>
16656         * locale/programs/localedef.c: Fix description of '--posix' flag.
16658 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
16660         * NEWS: Update dates in second copyright notice.
16661         * README: Update copyright dates in example.
16662         * manual/libc.texinfo: Update copyright dates.
16663         * scripts/test-installation.pl: Update copyright date in --version
16664         output.
16666         * hurd/ctty-input.c: Fix copyright notice formatting.
16667         * hurd/ctty-output.c: Likewise.
16668         * hurd/dtable.c: Likewise.
16669         * hurd/hurd-raise.c: Likewise.
16670         * hurd/hurdprio.c: Likewise.
16671         * hurd/msgportdemux.c: Likewise.
16672         * misc/sys/file.h: Likewise.
16673         * misc/sys/ioctl.h: Likewise.
16674         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16675         * sysdeps/mach/hurd/chdir.c: Likewise.
16676         * sysdeps/mach/hurd/fchdir.c: Likewise.
16677         * sysdeps/mach/hurd/rename.c: Likewise.
16678         * sysdeps/mach/hurd/rmdir.c: Likewise.
16679         * sysdeps/mach/hurd/seekdir.c: Likewise.
16680         * sysdeps/mach/hurd/setsid.c: Likewise.
16681         * sysdeps/posix/wait3.c: Likewise.
16683         * All files with FSF copyright notices: Update copyright dates
16684         using scripts/update-copyrights.
16685         * intl/plural.c: Regenerated.
16686         * locale/programs/charmap-kw.h: Likewise.
16687         * locale/programs/locfile-kw.h: Likewise.
16689 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16691         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16692         four values.
16694         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16695         calculation loop and add branch prediction.
16697         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16698         check access beyond bounds of m1np.
16700         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16701         MPTWO.
16702         (__inv): Remove local variable MPTWO to use the global
16703         constant.
16704         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16705         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16706         variable MPTWO.
16707         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16708         MP3HALFS static const.
16710 2013-01-01  David S. Miller  <davem@davemloft.net>
16712         * po/ca.po: Update from translation team.
16714 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
16716         * scripts/update-copyrights: New file.
16717         * Makeconfig: Reformat copyright notice.
16718         * ctype/ctype.h: Likewise.
16719         * debug/swprintf_chk.c: Likewise.
16720         * elf/dl-cache.c: Likewise.
16721         * elf/dl-debug.c: Likewise.
16722         * elf/dl-object.c: Likewise.
16723         * grp/initgroups.c: Likewise.
16724         * hurd/Makefile: Likewise.
16725         * hurd/hurd/signal.h: Likewise.
16726         * hurd/hurdfault.c: Likewise.
16727         * hurd/hurdioctl.c: Likewise.
16728         * hurd/hurdlookup.c: Likewise.
16729         * hurd/intr-msg.c: Likewise.
16730         * iconv/gconv_open.c: Likewise.
16731         * libio/swprintf.c: Likewise.
16732         * locale/lc-ctype.c: Likewise.
16733         * locale/nl_langinfo.c: Likewise.
16734         * mach/Machrules: Likewise.
16735         * mach/Makefile: Likewise.
16736         * malloc/obstack.h: Likewise.
16737         * manual/Makefile: Likewise.
16738         * manual/tsort.awk: Likewise.
16739         * misc/bits/stab.def: Likewise.
16740         * nis/nis_print_group_entry.c: Likewise.
16741         * nis/nis_table.c: Likewise.
16742         * nis/nss_compat/compat-pwd.c: Likewise.
16743         * nis/nss_compat/compat-spwd.c: Likewise.
16744         * po/Makefile: Likewise.
16745         * posix/fnmatch.c: Likewise.
16746         * posix/regex.h: Likewise.
16747         * resolv/Makefile: Likewise.
16748         * resolv/nss_dns/dns-network.c: Likewise.
16749         * resolv/res_hconf.c: Likewise.
16750         * scripts/gen-sorted.awk: Likewise.
16751         * soft-fp/soft-fp.h: Likewise.
16752         * stdio-common/printf.h: Likewise.
16753         * stdlib/monetary.h: Likewise.
16754         * stdlib/random.c: Likewise.
16755         * stdlib/random_r.c: Likewise.
16756         * sysdeps/generic/Makefile: Likewise.
16757         * sysdeps/gnu/Makefile: Likewise.
16758         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16759         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16760         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16761         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16762         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16763         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16764         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16765         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16766         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16767         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16768         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16769         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16770         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16771         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16772         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16773         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16774         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16775         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16776         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16777         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16778         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16779         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16780         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16781         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16782         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16783         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16784         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16785         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16786         * sysdeps/mach/hurd/errnos.awk: Likewise.
16787         * sysdeps/mach/hurd/fork.c: Likewise.
16788         * sysdeps/mach/hurd/getcwd.c: Likewise.
16789         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16790         * sysdeps/mach/hurd/mmap.c: Likewise.
16791         * sysdeps/mach/hurd/utimes.c: Likewise.
16792         * sysdeps/mach/hurd/xmknod.c: Likewise.
16793         * sysdeps/posix/profil.c: Likewise.
16794         * sysdeps/posix/readdir_r.c: Likewise.
16795         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16796         * sysdeps/powerpc/bits/setjmp.h: Likewise.
16797         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16798         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16799         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16800         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16801         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16802         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16803         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16804         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16805         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16806         * sysdeps/pthread/lio_listio.c: Likewise.
16807         * sysdeps/sparc/dl-procinfo.h: Likewise.
16808         * sysdeps/unix/i386/sysdep.S: Likewise.
16809         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16810         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16811         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16812         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16814         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16815         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16816         * sysdeps/unix/sysv/linux/speed.c: Likewise.
16817         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16818         * sysdeps/wordsize-32/divdi3.c: Likewise.
16819         * time/sys/time.h: Likewise.
16820         * wcsmbs/Makefile: Likewise.
16822 2013-01-01  David S. Miller  <davem@davemloft.net>
16824         * po/fr.po: Update from translation team.
16826         * catgets/gencat.c: Update copyright year.
16827         * csu/version.c: Likewise.
16828         * debug/catchsegv.sh: Likewise.
16829         * debug/pcprofiledump.c: Likewise.
16830         * debug/xtrace.sh: Likewise.
16831         * elf/ldconfig.c: Likewise.
16832         * elf/ldd.bash.in: Likewise.
16833         * elf/pldd.c: Likewise.
16834         * elf/sotruss.ksh: Likewise.
16835         * elf/sprof.c: Likewise.
16836         * iconv/iconv_prog.c: Likewise.
16837         * iconv/iconvconfig.c: Likewise.
16838         * locale/programs/locale.c: Likewise.
16839         * locale/programs/localedef.c: Likewise.
16840         * login/programs/pt_chown.c: Likewise.
16841         * malloc/memusage.sh: Likewise.
16842         * malloc/memusagestat.c: Likewise.
16843         * malloc/mtrace.pl: Likewise.
16844         * nscd/nscd.c: Likewise.
16845         * nss/getent.c: Likewise.
16846         * nss/makedb.c: Likewise.
16847         * posix/getconf.c: Likewise.
16849 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16851         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16852         numbers.
16854 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
16856         * math/bits/mathcalls.h (modf): Use __nonnull.
16858 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16860         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16861         (split): Use macro CN instead of the bare value.
16862         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16863         could be used.
16864         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16865         instead of the bare value.
16866         (power1): Likewise.
16868 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16870         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16871         __ATAN_TWOM.
16872         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16874         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16875         their values.
16876         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16877         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16878         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16879         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16881 2012-12-28  Andreas Jaeger  <aj@suse.de>
16883         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
16884         values are from Linux 3.7.
16886         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16887         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
16889 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16891         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16892         TRUE case.
16894         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16895         (norm): Likewise.
16896         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16897         variables with preprocessor constants.
16898         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16899         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16900         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16902 2012-12-27  Bruno Haible  <bruno@clisp.org>
16904         [BZ #14317]
16905         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16906         only if needed.
16908 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16910         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16911         and use variable directly.
16912         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16914         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16915         MPONE.
16916         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16917         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16918         variable MPONE.
16919         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16920         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16921         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16922         include directive.  Remove local variable MPONE.
16923         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16924         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16925         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16927 2012-12-25  David S. Miller  <davem@davemloft.net>
16929         * version.h (RELEASE): Set to "development".
16930         (VERSION): Set to "2.17.90".
16931         * NEWS: Add 2.18 section.
16933 2012-12-21  David S. Miller  <davem@davemloft.net>
16935         * po/hr.po: Update from translation team.
16937 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16939         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16941 2012-12-19  Steve Ellcey  <sellcey@mips.com>
16943         * NEWS:  Mention new memcpy for MIPS.
16945 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16947         * manual/contrib.texi (Contributors): Spelling correction.
16949 2012-12-15  David S. Miller  <davem@davemloft.net>
16951         * po/ru.po: Update from translation team.
16953 2012-12-13  David S. Miller  <davem@davemloft.net>
16955         * NEWS: Mention IFUNC testsuite enhancements.
16957         * po/pl.po: Update from translation team.
16958         * po/bg.po: Likewise.
16960         * manual/contrib.texi (Contributors): Update entries for Hongjiu
16961         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
16963 2012-12-11  David S. Miller  <davem@davemloft.net>
16965         * po/sv.po: Update from translation team.
16967         * po/vi.po: Update from translation team.
16969         * po/cs.po: Update from translation team.
16971         * po/de.po: Update from translation team.
16972         * po/eo.po: Likewise.
16973         * po/nl.po: Likewise.
16975 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16977         [BZ #14246]
16978         * manual/argp.texi (Argp Helper Functions): Move node to follow
16979         Argp Parsing State.
16981         [BZ #14872]
16982         * manual/conf.texi (Limits on File System Capacity): Mention if
16983         terminating null is included in the max size.
16985 2012-12-10  Andreas Jaeger  <aj@suse.de>
16987         * po/cs.po: Update from translation team.
16989 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16991         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16992         void pointer and cast to uintptr_t.
16993         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16994         path.
16995         * sysdeps/s390/s390-64/memcpy.S: Likewise.
16996         * sysdeps/s390/s390-64/memset.S: Likewise.
16998 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
17000         [BZ #14833]
17001         * menual/message.texi (Message Translation): Fix typos.
17002         (Helper programs for gettext): Likewise.
17004 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
17006         [BZ #14898]
17007         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
17008         Change to -1.
17010 2012-12-07  David S. Miller  <davem@davemloft.net>
17012         * po/libc.pot: Update.
17014 2012-12-07  Richard Henderson  <rth@redhat.com>
17016         [BZ #10114]
17017         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
17018         normal/normal case to before the switch.
17019         (_FP_DIV): Likewise.
17021 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
17022             Mike Frysinger  <vapier@gentoo.org>
17024         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
17025         check for __NR_fadvise64_64.
17027 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
17029         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
17030         0, not just to plain "0" as a statement.
17031         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
17032         with cw.
17034 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
17036         * NEWS: Use sourceware.org in Bugzilla URL.
17038 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17041         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17043         * stdio-common/tst-put-error.c (do_test): Add newline to the
17044         padded test to ensure flush.
17046 2012-12-05  Jeff Law  <law@redhat.com>
17048         * sunrpc/etc.rpc (fedfs_admin): Add entry.
17050 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
17052         * README: Don't refer to ports add-on as distributed separately.
17053         Mention AArch64 in list of systems supported in the ports add-on.
17055         * LICENSES: Add more non-FSF copyright and license notices.
17057         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17058         ((unused)).
17060         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17062         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17063         10000 as width of padded output.
17065 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
17067         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17069         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17070         variable LX with __attribute__ ((unused)).
17071         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17072         Likewise.
17073         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17074         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17075         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17076         with __attribute__ ((unused)).
17078 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
17080         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17082 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
17084         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17085         (CFLAGS-nldbl-acos.c): New variable.
17086         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17087         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17088         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17089         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17090         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17091         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17092         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17093         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17094         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17095         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17096         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17097         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17098         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17099         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17100         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17101         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17102         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17103         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17104         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17105         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17106         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17107         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17108         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17109         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17110         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17111         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17112         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17113         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17114         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17115         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17116         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17117         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17118         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17119         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17120         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17121         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17122         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17123         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17124         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17125         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17126         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17127         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17128         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17129         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17130         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17131         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17132         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17133         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17134         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17135         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17136         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17137         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17138         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17139         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17140         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17141         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17142         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17143         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17144         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17145         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17146         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17147         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17148         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17149         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17150         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17151         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17152         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17153         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17154         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17155         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17156         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17157         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17158         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17159         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17160         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17161         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17162         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17163         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17164         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17165         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17166         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17167         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17168         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17169         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17170         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17171         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17172         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17173         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17174         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17175         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17176         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17177         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17178         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17179         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17180         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17181         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17182         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17185         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17187         [BZ #14914]
17188         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17189         whole low double instead of just low 47 bits when splitting values
17190         into two parts.
17192 2012-12-03  Allan McRae  <allan@archlinux.org>
17194         * manual/stdio.texi (Predefined Printf Handlers): Remove
17195         @hsep and @vsep usage.
17197 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
17199         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17200         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17202 2012-12-03  Jeff Law  <law@redhat.com>
17204         * time/sys/time.h (settimeofday): Do not mark TV argument
17205         as __nonnull.
17207 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
17209         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17210         when currently writing and seek to current position when not.
17211         * libio/Makefile (tests): Remove bug-fclose1.
17212         * libio/bug-fclose1.c: Delete.
17214 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
17216         * manual/arith.texi (feenableexcept): Fix typo.
17217         (fedisableexcept): Likewise.
17219 2012-11-30  Roland McGrath  <roland@hack.frob.com>
17221         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17222         second, differently-typed declaration, rather than a cast.
17224 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17226         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17227         * include/rpc/svc.h: ... here.
17229 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
17231         [BZ #13013]
17232         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17233         depending n and resplen2 to catch cases where answer
17234         equals answerp2.
17236 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
17238         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17239         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17241 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
17243         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17245 2012-11-29  Roland McGrath  <roland@hack.frob.com>
17247         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17249 2012-11-28  Jeff Law  <law@redhat.com>
17251         [BZ #13761]
17252         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17253         dataset_temporary.  Track alloca usage into alloca_used.
17254         If dataset is large allocate and release it via malloc/free.
17256 2012-06-04  Florian Weimer  <fweimer@redhat.com>
17258         [BZ #14197]
17259         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17261 2012-11-28  David S. Miller  <davem@davemloft.net>
17263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17265 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
17267         [BZ #14803]
17268         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17269         of pi/2 rounded to nearest to 64 bits.
17270         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17271         nearest to 64 bits.
17272         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17273         bits.
17275 2012-11-28  Jeff Law <law@redhat.com>
17276             Martin Osvald <mosvald@redhat.com>
17278         [BZ #14889]
17279         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17280         * sunrpc/svc.c: Include time.h.
17281         (__svc_accept_failed): New function.
17282         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17283         any reason other than EINTR, call __svc_accept_failed.
17284         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17285         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17287 2012-11-28  Andreas Schwab  <schwab@suse.de>
17289         * scripts/abilist.awk: Also handle indirect functions in .opd
17290         section.
17292 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
17294         [BZ #13881]
17295         * sysdeps/x86/fpu/powl_helper.c: New file.
17296         * sysdeps/x86/fpu/Makefile: Likewise.
17297         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17298         (p3): New object.
17299         (__ieee754_powl): Use __powl_helper for finite arguments except
17300         integer exponents below 8.
17301         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17302         (p3): New object.
17303         (__ieee754_powl): Use __powl_helper for finite arguments except
17304         integer exponents below 8.
17305         * math/libm-test.inc (pow_test): Add more tests and enable some
17306         previously disabled tests.
17307         * sysdeps/i386/fpu/libm-test-ulps: Update.
17308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17310 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17311             Carlos O'Donell  <carlos_odonell@mentor.com>
17313         * nss/makedb.c (is_prime): Assert that input is odd and greater
17314         than 4.  Note that fact in a comment too.
17315         (next_prime): Add 4 to input.
17317 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17319         [BZ #11741]
17320         * libio/Makefile (tests): Add test case tst-fwrite-error.
17321         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17322         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17323         * libio/tst-fwrite-error.c: New test case.
17325 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
17327         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17328         before casting to void *.
17329         * include/libc-internal.h (__pointer_type): New macro.
17330         (__integer_if_pointer_type_sub): Likewise.
17331         (__integer_if_pointer_type): Likewise.
17332         (cast_to_integer): Likewise.
17333         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17334         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17335         before casting to atomic64_t.
17336         (atomic_exchange_acq): Likewise.
17337         (__arch_exchange_and_add_body): Likewise.
17338         (__arch_add_body): Likewise.
17339         (atomic_add_negative): Likewise.
17340         (atomic_add_zero): Likewise.
17342 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
17344         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17345         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17346         (add_fdes): Likewise.
17347         (linear_search_fdes): Likewise.
17348         (binary_search_unencoded_fdes): Likewise.
17350 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
17352         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17354 2012-11-24  Adam Conrad  <adconrad@0c3.net>
17356         * configure.in: Autodetect C++ header directories.
17357         * configure: Regenerated.
17359 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
17361         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17363 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
17365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17367 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
17369         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17370         LDBL_MANT_DIG == 106]: Disable some tests.
17371         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17372         Likewise.
17373         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17374         Likewise.
17376         [BZ #14871]
17377         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17378         input for small inputs.  Return +/- pi/2 for large inputs.
17379         * math/libm-test.inc (atan_test): Add more tests.
17381         * sysdeps/generic/unwind-dw2-fde-glibc.c
17382         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17383         __attribute__ ((unused)).
17385         [BZ #14645]
17386         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17387         x * y if x and y are nonzero and z is zero.
17389         [BZ #14811]
17390         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17391         nonzero exponents with absolute value below 0x1p-117 to +/-
17392         0x1p-117.
17394         [BZ #14869]
17395         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17396         up arguments below 2**-450, not just those below 2**-500.
17397         * math/libm-test.inc (hypot_test): Add another test.
17399         [BZ #14868]
17400         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17401         Return a+b for ratio over 2**120, not 2**60.
17402         * math/libm-test.inc (hypot_test): Add another test.
17404         * math/libm-test.inc (clog_test): Use
17405         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17406         (clog10_test): Likewise.
17408         [BZ #6778]
17409         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17411 2012-11-22  Andreas Schwab  <schwab@suse.de>
17413         * sysdeps/i386/fpu/libm-test-ulps: Update.
17415 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
17417         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17418         printf output with newline.
17420 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
17422         [BZ #14865]
17423         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17424         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17425         -z nodlopen, -z initfirst and -z execstack support.
17426         * configure: Regenerated.
17428         * elf/elf.h (DF_1_NODIRECT): New macro.
17429         (DF_1_IGNMULDEF): Likewise.
17430         (DF_1_NOKSYMS): Likewise.
17431         (DF_1_NOHDR): Likewise.
17432         (DF_1_EDITED): Likewise.
17433         (DF_1_NORELOC): Likewise.
17434         (DF_1_SYMINTPOSE): Likewise.
17435         (DF_1_GLOBAUDIT): Likewise.
17436         (DF_1_SINGLETON): Likewise.
17437         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17438         DT_1_SUPPORTED_MASK bits.
17439         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17441 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
17443         * sysdeps/unix/make-syscalls.sh: Document prefixes.
17445 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
17447         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17448         macro.
17450         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17451         (sendmmsg): Move declarations...
17452         * socket/sys/socket.h: ... here.
17453         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17454         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17455         include it from...
17456         * socket/recvmmsg.c: ... this new file.
17457         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17458         (sendmmsg): Rename to __sendmmsg, create weak alias and make
17459         definition of __sendmmsg hidden.
17460         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17461         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17462         Move ENOSYS stub into and include it from...
17463         * socket/sendmmsg.c: ... this new file.
17464         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17465         (sysdep_routines): Move recvmmsg and sendmmsg...
17466         * socket/Makefile (routines): ... here.
17467         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17468         (GLIBC_PRIVATE): Add __sendmmsg.
17469         * include/sys/socket.h (__sendmmsg): Add declarations.
17470         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17471         sendmmsg.
17473 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
17475         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17476         variable I1 with __attribute__ ((unused)).
17477         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17479 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
17481         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17482         DUMMY variables with __attribute__ ((unused)).
17484         * bits/byteswap.h: Include <bits/types.h>.
17485         (__bswap_64): Use __uint64_t instead of unsigned long long int.
17487 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
17489         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17490         string_t.  Do not manually set errno.
17491         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17492         length with __strnlen.  Make sure to both set errno and return it on
17493         failure.
17495 2012-11-19  David S. Miller  <davem@davemloft.net>
17497         With help from Joseph Myers.
17498         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17499         very large arguments properly.
17500         * math/libm-test.inc (atan_test): New tests.
17501         (atan2_test): New tests.
17502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17503         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17505 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
17507         [BZ #14856]
17508         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17509         Define to 3.
17511         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17512         [POSIX] (EADDRNOTAVAIL): Likewise.
17513         [POSIX] (EAFNOSUPPORT): Likewise.
17514         [POSIX] (EALREADY): Likewise.
17515         [POSIX] (ECONNABORTED): Likewise.
17516         [POSIX] (ECONNREFUSED): Likewise.
17517         [POSIX] (ECONNRESET): Likewise.
17518         [POSIX] (EDESTADDRREQ): Likewise.
17519         [POSIX] (EDQUOT): Likewise.
17520         [POSIX] (EHOSTUNREACH): Likewise.
17521         [POSIX] (EIDRM): Likewise.
17522         [POSIX] (EISCONN): Likewise.
17523         [POSIX] (ELOOP): Likewise.
17524         [POSIX] (EMULTIHOP): Likewise.
17525         [POSIX] (ENETDOWN): Likewise.
17526         [POSIX] (ENETUNREACH): Likewise.
17527         [POSIX] (ENOBUFS): Likewise.
17528         [POSIX] (ENODATA): Likewise.
17529         [POSIX] (ENOLINK): Likewise.
17530         [POSIX] (ENOMSG): Likewise.
17531         [POSIX] (ENOPROTOOPT): Likewise.
17532         [POSIX] (ENOSR): Likewise.
17533         [POSIX] (ENOSTR): Likewise.
17534         [POSIX] (ENOTCONN): Likewise.
17535         [POSIX] (ENOTSOCK): Likewise.
17536         [POSIX] (EOPNOTSUPP): Likewise.
17537         [POSIX] (EOVERFLOW): Likewise.
17538         [POSIX] (EPROTO): Likewise.
17539         [POSIX] (EPROTONOSUPPORT): Likewise.
17540         [POSIX] (EPROTOTYPE): Likewise.
17541         [POSIX] (ESTALE): Likewise.
17542         [POSIX] (ETIME): Likewise.
17543         [POSIX] (ETXTBSY): Likewise.
17544         [POSIX] (EWOULDBLOCK): Likewise.
17545         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17546         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17547         [POSIX] (SEEK_CUR): Likewise.
17548         [POSIX] (SEEK_END): Likewise.
17549         [POSIX || UNIX98] (mode_t): Do not require.
17550         [POSIX] (off_t): Likewise.
17551         [POSIX] (pid_t): Likewise.
17552         [POSIX] (sys/stat.h): Do not allow header.
17553         [POSIX] (unistd.h): Likewise.
17554         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17555         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17556         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17557         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17558         require.
17559         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17560         sigevent): Specify elements.
17561         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17562         entry.
17563         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17564         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17566         * conform/data/cpio.h-data [POSIX]: Disable whole file.
17567         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17568         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17569         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17570         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17571         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17572         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17573         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17574         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17575         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17576         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17577         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17578         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17579         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17580         Likewise.
17581         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17582         Likewise.
17583         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17584         Likewise.
17585         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17586         Likewise.
17587         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17588         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17589         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17590         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17591         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17592         Specify lower bound on value.
17593         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17594         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17595         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17596         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17597         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17598         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17599         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17600         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17601         value.
17602         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17603         as optional.
17604         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17605         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17606         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17607         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17608         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17609         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17610         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17611         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17612         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17613         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17614         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17615         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17616         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17617         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17618         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17619         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17620         entry.
17621         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17622         optional.
17623         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17624         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17625         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17626         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17627         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17628         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17629         Likewise.
17630         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17631         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17632         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17633         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17634         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
17635         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17636         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17637         as optional.
17638         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17639         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17640         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17641         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17642         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17643         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17644         specify as optional.
17645         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17646         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17647         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17648         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17649         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17650         [XPG3] (NL_LANGMAX): Likewise.
17651         [POSIX || XPG3] (NL_MSGMAX): Likewise.
17652         [POSIX || XPG3] (NL_NMAX): Likewise.
17653         [POSIX || XPG3] (NL_SETMAX): Likewise.
17654         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17655         [XPG3] (NZERO): Likewise.
17656         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17657         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17658         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17659         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17660         (REG_ERANGE): Expect.
17661         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17662         optional-constant.
17663         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17664         Use (void) in prototype.
17665         [POSIX] (*_t): Allow.
17666         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17667         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17668         (WRDE_BADVAL): Expect.
17670         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17671         expect.
17672         [XPG3 || XPG4] (O_RSYNC): Likewise.
17673         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17674         Likewise.
17675         [XPG3 || XPG4] (pthread_sigmask): Likewise.
17676         [XPG3 || XPG4] (sigqueue): Likewise.
17677         [XPG3 || XPG4] (sigtimedwait): Likewise.
17678         [XPG3 || XPG4] (sigwaitinfo): Likewise.
17679         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17680         [XPG3 || XPG4] (vsnprintf): Likewise.
17681         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17682         Likewise.
17683         [XPG3 || XPG4] (blksize_t): Likewise.
17684         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17685         Likewise.
17686         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17687         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17688         [XPG3 || XPG4] (struct itimerspec): Likewise.
17689         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17690         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17691         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17692         [XPG3 || XPG4] (clockid_t): Likewise.
17693         [XPG3 || XPG4] (timer_t): Likewise.
17694         [XPG3 || XPG4] (clock_getres): Likewise.
17695         [XPG3 || XPG4] (clock_gettime): Likewise.
17696         [XPG3 || XPG4] (clock_settime): Likewise.
17697         [XPG3 || XPG4] (nanosleep): Likewise.
17698         [XPG3 || XPG4] (timer_create): Likewise.
17699         [XPG3 || XPG4] (timer_delete): Likewise.
17700         [XPG3 || XPG4] (timer_gettime): Likewise.
17701         [XPG3 || XPG4] (timer_getoverrun): Likewise.
17702         [XPG3 || XPG4] (timer_settime): Likewise.
17703         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17704         [XPG3 || XPG4] (getlogin_r): Likewise.
17705         [XPG3 || XPG4] (pread): Likewise.
17706         [XPG3 || XPG4] (pthread_atfork): Likewise.
17707         [XPG3 || XPG4] (pwrite): Likewise.
17709         [BZ #14835]
17710         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17711         <bits/siginfo.h>.
17713 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
17715         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17716         finalizing MALLSTREAM.
17718         * sysdeps/mach/hurd/syncfs.c: New file.
17720 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17722         [BZ #14719]
17723         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17724         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17725         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17726         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17727         (_nss_dns_gethostbyname4_r): Likewise.
17728         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17729         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17731 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
17733         [BZ #13763]
17734         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17736 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
17738         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17739         * elf/cache.c (print_entry): Print ",AArch64" for
17740         FLAG_AARCH64_LIB64
17742         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17743         * elf/cache.c (print_entry): Print ",hard-float" for
17744         FLAG_ARM_LIBHF.
17746 2012-11-18  David S. Miller  <davem@davemloft.net>
17748         With help from Joseph Myers.
17749         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17750         cutoff to 2**-13.
17751         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17752         cutoff to 2**-25.
17753         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17754         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17755         small.
17756         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17757         * math/libm-test.inc (y0_test): New tests.
17758         (y1_test): New tests.
17759         * sysdeps/i386/fpu/libm-test-ulps: Update.
17760         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17763 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
17765         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17766         64-bit targets.
17767         * configure: Regenerated.
17769 2012-11-17  David S. Miller  <davem@davemloft.net>
17771         [BZ #14811]
17772         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17773         nonzero exponents with absolute value below 0x1p-128 to +/-
17774         0x1p-128.
17776 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
17778         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17780         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17782         * posix/getconf-speclist.c: New file.
17783         * posix/posix-envs.def: Likewise.
17784         * posix/confstr.c (START_ENV_GROUP): New macro.
17785         (END_ENV_GROUP): Likewise.
17786         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17787         (KNOWN_PRESENT_ENV_STRING): Likewise.
17788         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17789         (UNKNOWN_ENVIRONMENT): Likewise.
17790         (confstr): Include posix-envs.def instead of handling
17791         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17792         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17793         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17794         (END_ENV_GROUP): Likewise.
17795         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17796         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17797         (UNKNOWN_ENVIRONMENT): Likewise.
17798         (__sysconf): Include posix-envs.def instead of handling associated
17799         cases directly here.
17800         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17801         preprocessing getconf-speclist.c rather than running getconf or
17802         generating empty file.
17804 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
17806         * scripts/check-local-headers.sh: Ignore 'mach' headers.
17808 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
17810         [BZ #14672]
17811         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17813 2012-11-16  David S. Miller  <davem@davemloft.net>
17815         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17816         smaller than LDBL_EPSILON/2.0L, just return xm1.
17818 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
17820         * elf/tst-array1.c (init): Set constructor priority to 1000.
17821         (fini): Set destructor priority to 1000.
17822         * elf/tst-array2dep.c: Likewise.
17824 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17826         [BZ #11741]
17827         * libio/fileops.c (_IO_new_file_write): Correctly return error.
17828         (_IO_new_file_xsputn): Also return EOF if none of the input
17829         data was written when overflow failed.
17830         * libio/iopadn.c (_IO_padn): Likewise.
17831         * libio/iowpadn.c (_IO_wpadn): Likewise.
17832         * stdio-common/tst-put-error.c: Add copyright notice.
17833         (do_test): Add case for printing padded string.
17834         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17835         _IO_padn returned error.
17836         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17837         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17838         return EOF.
17840 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17842         * libio/libioP.h: Add comment note that the references to C++
17843         bits are now obsolete.
17845 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17847         * math/libm-test.inc (check_complex): Use asprintf.
17849 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
17851         * debug/pcprofiledump.c (print_version): Update copyright year.
17852         * malloc/memusagestat.c (print_version): Likewise.
17854 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17856         [BZ #14831]
17857         * elf/Makefile (tests): Add tst-audit8.
17858         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17859         ($(objpfx)tst-audit8.out): New target.
17860         (tst-audit8-ENV): New variable.
17861         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17862         audit if l_reloc_result is NULL.
17863         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17864         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17865         * elf/tst-audit8.c: New file.
17867 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17869         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17870         * misc/Makefile (CFLAGS-select.c): Define.
17871         * posix/Makefile (CFLAGS-pause.c): Define.
17873 2012-11-13  David S. Miller  <davem@davemloft.net>
17875         * crypt/Makefile: Move test targets after toplevel Rules
17876         inclusion.  Grab any necessary sysdep routines when linking.
17877         * crypt/md5.c (md5_process_block): Remove define, we will always
17878         name it __md5_process_block.
17879         (md5_finish_ctx): Update md5_process_block call.
17880         (md5_stream): Likewise.
17881         (md5_process_bytes): Likewise.
17882         (md5_process_block): Rename to __md5_process_block and move to ...
17883         * crypt/md5-block.c: ... here.
17884         * crypt/sha256.c (sha256_process_block): Move to ...
17885         * crypt/sha256-block.c: ... here.
17886         * crypt/sha512.c (sha512_process_block): Move to ...
17887         * crypt/sha512-block.c: ... here.
17888         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17889         path.
17890         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17891         * sysdeps/sparc/sparc64/multiarch/Makefile
17892         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17893         crypt subdir.
17894         (localedef-aux): Add md5 crypto assembler when in locale subdir.
17895         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17896         multiarch changes.
17897         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17898         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17899         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17900         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17901         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17902         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17903         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17904         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17905         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17906         file.
17907         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17908         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17909         file.
17910         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17912 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
17914         * timezone/tzselect.ksh: Update from tzcode git revision
17915         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17916         * timezone/zdump.c: Likewise.
17917         * timezone/zic.c: Likewise.
17918         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17919         in TZVERSION setting, not $(PKGVERSION).
17920         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
17921         REPORT_BUGS_TO settings.
17923         [BZ #14838]
17924         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17925         macro.
17927 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17929         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17930         detection to immediately after _FP_ROUND().
17931         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17932         bits are 0.
17934 2012-11-11  David S. Miller  <davem@davemloft.net>
17936         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17937         inttypes.h
17938         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17939         __close rather than their public counterparts.
17941 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
17943         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17944         file.
17945         [UNIX98] (sem_timedwait): Do not expect.
17946         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17947         [XPG4 || UNIX98] (sockatmark): Do not expect.
17948         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17949         (clock_getcpuclockid): Do not expect.
17950         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17951         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17952         Do not expect.
17953         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17954         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17955         [UNIX98] (vwscanf): Likewise.
17956         [UNIX98] (vswscanf): Likewise.
17958 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
17960         * timezone/version.h: Remove file.
17961         * timezone/README: Do not refer to version.h.
17962         * timezone/Makefile ($(objpfx)zic.o): New dependency on
17963         $(objpfx)version.h.
17964         ($(objpfx)zdump.o): Likewise.
17965         ($(objpfx)version.h): New target.
17967         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17968         2012i.
17969         * timezone/README: Don't mention modification to tzselect.ksh.
17970         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17971         work on unmodified tzselect.ksh.  Substitute version numbers in
17972         tzselect.ksh.
17974         * Makefile (format-me): Remove.
17975         (INSTALL): Adjust indentation.  Use commands directly instead of
17976         using $(format-me).
17978         * aclocal.m4 (ACX_PKGVERSION): New macro.
17979         (ACX_BUGURL): Likewise.
17980         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17981         (PKGVERSION): New AC_DEFINE_UNQUOTED.
17982         (REPORT_BUGS_TO): Likewise.
17983         * configure: Regenerated.
17984         * config.h.in (PKGVERSION): New macro.
17985         (REPORT_BUGS_TO): Likewise.
17986         * config.make.in (PKGVERSION): New variable.
17987         (PKGVERSION_TEXI): Likewise.
17988         (REPORT_BUGS_TO): Likewise.
17989         (REPORT_BUGS_TEXI): Likewise.
17990         * Makefile (format-me): Use -I$(common-objpfx)manual.
17991         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17992         ($(common-objpfx)manual/%): New target.
17993         (manual/%): Remove target.
17994         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17995         (print_version): Use PKGVERSION.
17996         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17997         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17998         and REPORT_BUGS_TO.
17999         ($(objpfx)xtrace): Likewise.
18000         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
18001         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
18002         (print_version): Use PKGVERSION.
18003         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
18004         (do_version): Use PKGVERSION.
18005         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
18006         REPORT_BUGS_TO.
18007         (common-ldd-rewrite): Likewise.
18008         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
18009         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
18010         (print_version): Use PKGVERSION.
18011         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
18012         * elf/pldd.c (argp_program_bug_address): Remove variable.
18013         (more_help): New function.
18014         (argp): Use more_help.
18015         (print_version): Use PKGVERSION.
18016         * elf/sln.c (main): Use PKGVERSION.
18017         (usage): Use REPORT_BUGS_TO.
18018         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
18019         (top level): Use PKGVERSION.
18020         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
18021         (print_version): Use PKGVERSION.
18022         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
18023         (print_version): Use PKGVERSION.
18024         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
18025         (print_version): Use PKGVERSION.
18026         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
18027         (print_version): Use PKGVERSION.
18028         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
18029         (print_version): Use PKGVERSION.
18030         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
18031         (print_version): Use PKGVERSION.
18032         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
18033         and BUGURL.
18034         ($(objpfx)memusage): Likewise.
18035         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
18036         (do_version): Use PKGVERSION.
18037         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18038         (print_version): Use PKGVERSION.
18039         * malloc/mtrace.pl ($PACKAGE): Remove variable.
18040         ($PKGVERSION): New variable.
18041         ($REPORT_BUGS_TO): Likewise.
18042         (usage): Use $REPORT_BUGS_TO.
18043         (top level): Use $PKGVERSION.
18044         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18045         ($(objpfx)pkgvers.texi): New rule.
18046         ($(objpfx)stamp-pkgvers): Likewise.
18047         * manual/install.texi: Include pkgvers.texi.
18048         (--with-pkgversion): Document new configure option.
18049         (--with-bugurl): Likewise.
18050         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18051         than necessarily for this particular distribution.  Use
18052         REPORT_BUGS_TO for where to report bugs.
18053         * INSTALL: Regenerated.
18054         * manual/libc.texinfo: Include pkgvers.texi.
18055         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18056         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18057         (print_version): Use PKGVERSION.
18058         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18059         (print_version): Use PKGVERSION.
18060         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18061         (print_version): Use PKGVERSION.
18062         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18063         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18064         macro.
18065         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18066         (print_version): Use PKGVERSION.
18067         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18068         (print_version): Use PKGVERSION.
18069         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18070         and PKGVERSION.
18072         * timezone/checktab.awk: Update from tzcode 2012i.
18073         * timezone/ialloc.c: Likewise.
18074         * timezone/private.h: Likewise.
18075         * timezone/scheck.c: Likewise.
18076         * timezone/tzfile.h: Likewise.
18077         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18078         (TZVERSION): Hardcode tzcode version number.
18079         * timezone/zdump.c: Update from tzcode 2012i.
18080         * timezone/zic.c: Likewise.
18081         * timezone/version.h: New file.
18082         * timezone/README: Describe version.h.  Update upstream location.
18084         [BZ #14824]
18085         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18086         (mktemp): Enable declaration.
18087         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18088         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18089         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18090         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18091         Likewise.
18092         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18093         Likewise.
18094         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18095         Likewise.
18096         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18097         Likewise.
18098         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18099         Likewise.
18100         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18101         Likewise.
18103         [BZ #14821]
18104         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18105         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
18106         for copies of such integer values.
18107         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18108         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18110 2012-11-09  Andreas Jaeger  <aj@suse.de>
18112         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18113         definitions and declarations that are provided by
18114         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18116 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18118         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
18119         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18120         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18121         definition.
18123 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18125         * elf/elf.h: Update comment before AArch64 relocations.
18127 2012-11-07  David S. Miller  <davem@davemloft.net>
18129         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18130         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18131         (__start_context): Declare.
18132         (__makecontext_ret): Delete.
18133         (__makecontext): Hook up __start_context instead of
18134         __makecontext_ret.
18135         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18136         (sysdep_routines): Add __start_context when in stdlib.
18138 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
18140         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18141         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18142         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
18143         hardcoded "nm".
18144         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
18145         (READELF): New variable.  Use it instead of hardcoded "readelf".
18147 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
18149         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18150         * sysdeps/x86/Makefile: Here.
18151         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18152         * sysdeps/x86/tst-xmmymm.sh: This.
18154 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
18156         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18157         expectations.
18158         [UNIX98] (pthread_barrier_t): Do not expect.
18159         [UNIX98] (pthread_barrierattr_t): Likewise.
18160         [UNIX98] (pthread_spinlock_t): Likewise.
18161         [UNIX98] (pthread_barrier_destroy): Likewise.
18162         [UNIX98] (pthread_barrier_init): Likewise.
18163         [UNIX98] (pthread_barrier_wait): Likewise.
18164         [UNIX98] (pthread_barrierattr_destroy): Likewise.
18165         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18166         [UNIX98] (pthread_barrierattr_init): Likewise.
18167         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18168         [UNIX98] (pthread_getcpuclockid): Likewise.
18169         [UNIX98] (pthread_mutex_timedlock): Likewise.
18170         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18171         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18172         [UNIX98] (pthread_sigmask): Likewise.
18173         [UNIX98] (pthread_spin_destroy): Likewise.
18174         [UNIX98] (pthread_spin_init): Likewise.
18175         [UNIX98] (pthread_spin_lock): Likewise.
18176         [UNIX98] (pthread_spin_trylock): Likewise.
18177         [UNIX98] (pthread_spin_unlock): Likewise.
18178         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18179         Do not expect.
18180         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18181         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18182         [XPG3 || XPG4] (pthread_cond_t): Likewise.
18183         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18184         [XPG3 || XPG4] (pthread_key_t): Likewise.
18185         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18186         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18187         [XPG3 || XPG4] (pthread_once_t): Likewise.
18188         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18189         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18190         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18191         [XPG3 || XPG4] (pthread_t): Likewise.
18193         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18194         not expect.
18195         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18197         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18198         Change function return type to int.
18200         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18201         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18202         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18203         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18204         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18205         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18206         [!POSIX] (posix_madvise): Likewise.
18207         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18208         && !UNIX98].
18209         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18210         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18211         (mode_t): Likewise.
18212         (posix_mem_offset): Likewise.
18213         (posix_typed_mem_get_info): Likewise.
18214         (posix_typed_mem_open): Likewise.
18216         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18217         Change condition to [XOPEN2K8].
18219         * conform/conformtest.pl: Preprocess allow-header data with -x c
18220         instead of from stdin.
18221         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18222         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18223         [C99-based standards] (cerfc): Likewise.
18224         [C99-based standards] (cexp2): Likewise.
18225         [C99-based standards] (cexpm1): Likewise.
18226         [C99-based standards] (clog10): Likewise.
18227         [C99-based standards] (clog1p): Likewise.
18228         [C99-based standards] (clog2): Likewise.
18229         [C99-based standards] (clgamma): Likewise.
18230         [C99-based standards] (ctgamma): Likewise.
18231         [C99-based standards] (cerff): Likewise.
18232         [C99-based standards] (cerfcf): Likewise.
18233         [C99-based standards] (cexp2f): Likewise.
18234         [C99-based standards] (cexpm1f): Likewise.
18235         [C99-based standards] (clog10f): Likewise.
18236         [C99-based standards] (clog1pf): Likewise.
18237         [C99-based standards] (clog2f): Likewise.
18238         [C99-based standards] (clgammaf): Likewise.
18239         [C99-based standards] (ctgammaf): Likewise.
18240         [C99-based standards] (cerfl): Likewise.
18241         [C99-based standards] (cerfcl): Likewise.
18242         [C99-based standards] (cexp2l): Likewise.
18243         [C99-based standards] (cexpm1l): Likewise.
18244         [C99-based standards] (clog10l): Likewise.
18245         [C99-based standards] (clog1pl): Likewise.
18246         [C99-based standards] (clog2l): Likewise.
18247         [C99-based standards] (clgammal): Likewise.
18248         [C99-based standards] (ctgammal): Likewise.
18249         * conform/data/inttypes.h-data [C99-based standards]: Include
18250         stdint.h-data.  Remove all expectations for stdint.h contents.
18251         [C99-based standards] (PRI*): Do not allow.
18252         [C99-based standards] (SCN*): Likewise.
18253         [C99-based standards] (*_t): Likewise.
18254         [C99-based-standards] (PRId8): Expect macro.
18255         [C99-based-standards] (PRIi8): Likewise.
18256         [C99-based-standards] (PRIo8): Likewise.
18257         [C99-based-standards] (PRIu8): Likewise.
18258         [C99-based-standards] (PRIx8): Likewise.
18259         [C99-based-standards] (PRIX8): Likewise.
18260         [C99-based-standards] (SCNd8): Likewise.
18261         [C99-based-standards] (SCNi8): Likewise.
18262         [C99-based-standards] (SCNo8): Likewise.
18263         [C99-based-standards] (SCNu8): Likewise.
18264         [C99-based-standards] (SCNx8): Likewise.
18265         [C99-based-standards] (PRIdLEAST8): Likewise.
18266         [C99-based-standards] (PRIiLEAST8): Likewise.
18267         [C99-based-standards] (PRIoLEAST8): Likewise.
18268         [C99-based-standards] (PRIuLEAST8): Likewise.
18269         [C99-based-standards] (PRIxLEAST8): Likewise.
18270         [C99-based-standards] (PRIXLEAST8): Likewise.
18271         [C99-based-standards] (SCNdLEAST8): Likewise.
18272         [C99-based-standards] (SCNiLEAST8): Likewise.
18273         [C99-based-standards] (SCNoLEAST8): Likewise.
18274         [C99-based-standards] (SCNuLEAST8): Likewise.
18275         [C99-based-standards] (SCNxLEAST8): Likewise.
18276         [C99-based-standards] (PRIdFAST8): Likewise.
18277         [C99-based-standards] (PRIiFAST8): Likewise.
18278         [C99-based-standards] (PRIoFAST8): Likewise.
18279         [C99-based-standards] (PRIuFAST8): Likewise.
18280         [C99-based-standards] (PRIxFAST8): Likewise.
18281         [C99-based-standards] (PRIXFAST8): Likewise.
18282         [C99-based-standards] (SCNdFAST8): Likewise.
18283         [C99-based-standards] (SCNiFAST8): Likewise.
18284         [C99-based-standards] (SCNoFAST8): Likewise.
18285         [C99-based-standards] (SCNuFAST8): Likewise.
18286         [C99-based-standards] (SCNxFAST8): Likewise.
18287         [C99-based-standards] (PRId16): Likewise.
18288         [C99-based-standards] (PRIi16): Likewise.
18289         [C99-based-standards] (PRIo16): Likewise.
18290         [C99-based-standards] (PRIu16): Likewise.
18291         [C99-based-standards] (PRIx16): Likewise.
18292         [C99-based-standards] (PRIX16): Likewise.
18293         [C99-based-standards] (SCNd16): Likewise.
18294         [C99-based-standards] (SCNi16): Likewise.
18295         [C99-based-standards] (SCNo16): Likewise.
18296         [C99-based-standards] (SCNu16): Likewise.
18297         [C99-based-standards] (SCNx16): Likewise.
18298         [C99-based-standards] (PRIdLEAST16): Likewise.
18299         [C99-based-standards] (PRIiLEAST16): Likewise.
18300         [C99-based-standards] (PRIoLEAST16): Likewise.
18301         [C99-based-standards] (PRIuLEAST16): Likewise.
18302         [C99-based-standards] (PRIxLEAST16): Likewise.
18303         [C99-based-standards] (PRIXLEAST16): Likewise.
18304         [C99-based-standards] (SCNdLEAST16): Likewise.
18305         [C99-based-standards] (SCNiLEAST16): Likewise.
18306         [C99-based-standards] (SCNoLEAST16): Likewise.
18307         [C99-based-standards] (SCNuLEAST16): Likewise.
18308         [C99-based-standards] (SCNxLEAST16): Likewise.
18309         [C99-based-standards] (PRIdFAST16): Likewise.
18310         [C99-based-standards] (PRIiFAST16): Likewise.
18311         [C99-based-standards] (PRIoFAST16): Likewise.
18312         [C99-based-standards] (PRIuFAST16): Likewise.
18313         [C99-based-standards] (PRIxFAST16): Likewise.
18314         [C99-based-standards] (PRIXFAST16): Likewise.
18315         [C99-based-standards] (SCNdFAST16): Likewise.
18316         [C99-based-standards] (SCNiFAST16): Likewise.
18317         [C99-based-standards] (SCNoFAST16): Likewise.
18318         [C99-based-standards] (SCNuFAST16): Likewise.
18319         [C99-based-standards] (SCNxFAST16): Likewise.
18320         [C99-based-standards] (PRId32): Likewise.
18321         [C99-based-standards] (PRIi32): Likewise.
18322         [C99-based-standards] (PRIo32): Likewise.
18323         [C99-based-standards] (PRIu32): Likewise.
18324         [C99-based-standards] (PRIx32): Likewise.
18325         [C99-based-standards] (PRIX32): Likewise.
18326         [C99-based-standards] (SCNd32): Likewise.
18327         [C99-based-standards] (SCNi32): Likewise.
18328         [C99-based-standards] (SCNo32): Likewise.
18329         [C99-based-standards] (SCNu32): Likewise.
18330         [C99-based-standards] (SCNx32): Likewise.
18331         [C99-based-standards] (PRIdLEAST32): Likewise.
18332         [C99-based-standards] (PRIiLEAST32): Likewise.
18333         [C99-based-standards] (PRIoLEAST32): Likewise.
18334         [C99-based-standards] (PRIuLEAST32): Likewise.
18335         [C99-based-standards] (PRIxLEAST32): Likewise.
18336         [C99-based-standards] (PRIXLEAST32): Likewise.
18337         [C99-based-standards] (SCNdLEAST32): Likewise.
18338         [C99-based-standards] (SCNiLEAST32): Likewise.
18339         [C99-based-standards] (SCNoLEAST32): Likewise.
18340         [C99-based-standards] (SCNuLEAST32): Likewise.
18341         [C99-based-standards] (SCNxLEAST32): Likewise.
18342         [C99-based-standards] (PRIdFAST32): Likewise.
18343         [C99-based-standards] (PRIiFAST32): Likewise.
18344         [C99-based-standards] (PRIoFAST32): Likewise.
18345         [C99-based-standards] (PRIuFAST32): Likewise.
18346         [C99-based-standards] (PRIxFAST32): Likewise.
18347         [C99-based-standards] (PRIXFAST32): Likewise.
18348         [C99-based-standards] (SCNdFAST32): Likewise.
18349         [C99-based-standards] (SCNiFAST32): Likewise.
18350         [C99-based-standards] (SCNoFAST32): Likewise.
18351         [C99-based-standards] (SCNuFAST32): Likewise.
18352         [C99-based-standards] (SCNxFAST32): Likewise.
18353         [C99-based-standards] (PRId64): Likewise.
18354         [C99-based-standards] (PRIi64): Likewise.
18355         [C99-based-standards] (PRIo64): Likewise.
18356         [C99-based-standards] (PRIu64): Likewise.
18357         [C99-based-standards] (PRIx64): Likewise.
18358         [C99-based-standards] (PRIX64): Likewise.
18359         [C99-based-standards] (SCNd64): Likewise.
18360         [C99-based-standards] (SCNi64): Likewise.
18361         [C99-based-standards] (SCNo64): Likewise.
18362         [C99-based-standards] (SCNu64): Likewise.
18363         [C99-based-standards] (SCNx64): Likewise.
18364         [C99-based-standards] (PRIdLEAST64): Likewise.
18365         [C99-based-standards] (PRIiLEAST64): Likewise.
18366         [C99-based-standards] (PRIoLEAST64): Likewise.
18367         [C99-based-standards] (PRIuLEAST64): Likewise.
18368         [C99-based-standards] (PRIxLEAST64): Likewise.
18369         [C99-based-standards] (PRIXLEAST64): Likewise.
18370         [C99-based-standards] (SCNdLEAST64): Likewise.
18371         [C99-based-standards] (SCNiLEAST64): Likewise.
18372         [C99-based-standards] (SCNoLEAST64): Likewise.
18373         [C99-based-standards] (SCNuLEAST64): Likewise.
18374         [C99-based-standards] (SCNxLEAST64): Likewise.
18375         [C99-based-standards] (PRIdFAST64): Likewise.
18376         [C99-based-standards] (PRIiFAST64): Likewise.
18377         [C99-based-standards] (PRIoFAST64): Likewise.
18378         [C99-based-standards] (PRIuFAST64): Likewise.
18379         [C99-based-standards] (PRIxFAST64): Likewise.
18380         [C99-based-standards] (PRIXFAST64): Likewise.
18381         [C99-based-standards] (SCNdFAST64): Likewise.
18382         [C99-based-standards] (SCNiFAST64): Likewise.
18383         [C99-based-standards] (SCNoFAST64): Likewise.
18384         [C99-based-standards] (SCNuFAST64): Likewise.
18385         [C99-based-standards] (SCNxFAST64): Likewise.
18386         [C99-based-standards] (PRIdMAX): Likewise.
18387         [C99-based-standards] (PRIiMAX): Likewise.
18388         [C99-based-standards] (PRIoMAX): Likewise.
18389         [C99-based-standards] (PRIuMAX): Likewise.
18390         [C99-based-standards] (PRIxMAX): Likewise.
18391         [C99-based-standards] (PRIXMAX): Likewise.
18392         [C99-based-standards] (SCNdMAX): Likewise.
18393         [C99-based-standards] (SCNiMAX): Likewise.
18394         [C99-based-standards] (SCNoMAX): Likewise.
18395         [C99-based-standards] (SCNuMAX): Likewise.
18396         [C99-based-standards] (SCNxMAX): Likewise.
18397         [C99-based-standards] (PRIdPTR): Likewise.
18398         [C99-based-standards] (PRIiPTR): Likewise.
18399         [C99-based-standards] (PRIoPTR): Likewise.
18400         [C99-based-standards] (PRIuPTR): Likewise.
18401         [C99-based-standards] (PRIxPTR): Likewise.
18402         [C99-based-standards] (PRIXPTR): Likewise.
18403         [C99-based-standards] (SCNdPTR): Likewise.
18404         [C99-based-standards] (SCNiPTR): Likewise.
18405         [C99-based-standards] (SCNoPTR): Likewise.
18406         [C99-based-standards] (SCNuPTR): Likewise.
18407         [C99-based-standards] (SCNxPTR): Likewise.
18408         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18409         allow.
18410         * conform/data/stdint.h-data: Update comments to clarify
18411         requirements.
18412         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
18413         type.
18414         [C99-based standards] (INT8_MAX): Likewise.
18415         [C99-based standards] (INT16_MIN): Likewise.
18416         [C99-based standards] (INT16_MAX): Likewise.
18417         [C99-based standards] (INT32_MIN): Likewise.
18418         [C99-based standards] (INT32_MAX): Likewise.
18419         [C99-based standards] (INT64_MIN): Likewise.
18420         [C99-based standards] (INT64_MAX): Likewise.
18421         [C99-based standards] (UINT8_MAX): Likewise.
18422         [C99-based standards] (UINT16_MAX): Likewise.
18423         [C99-based standards] (UINT32_MAX): Likewise.
18424         [C99-based standards] (UINT64_MAX): Likewise.
18425         [C99-based standards] (INT_LEAST8_MIN): Likewise.
18426         [C99-based standards] (INT_LEAST8_MAX): Likewise.
18427         [C99-based standards] (INT_LEAST16_MIN): Likewise.
18428         [C99-based standards] (INT_LEAST16_MAX): Likewise.
18429         [C99-based standards] (INT_LEAST32_MIN): Likewise.
18430         [C99-based standards] (INT_LEAST32_MAX): Likewise.
18431         [C99-based standards] (INT_LEAST64_MIN): Likewise.
18432         [C99-based standards] (INT_LEAST64_MAX): Likewise.
18433         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18434         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18435         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18436         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18437         [C99-based standards] (INT_FAST8_MIN): Likewise.
18438         [C99-based standards] (INT_FAST8_MAX): Likewise.
18439         [C99-based standards] (INT_FAST16_MIN): Likewise.
18440         [C99-based standards] (INT_FAST16_MAX): Likewise.
18441         [C99-based standards] (INT_FAST32_MIN): Likewise.
18442         [C99-based standards] (INT_FAST32_MAX): Likewise.
18443         [C99-based standards] (INT_FAST64_MIN): Likewise.
18444         [C99-based standards] (INT_FAST64_MAX): Likewise.
18445         [C99-based standards] (UINT_FAST8_MAX): Likewise.
18446         [C99-based standards] (UINT_FAST16_MAX): Likewise.
18447         [C99-based standards] (UINT_FAST32_MAX): Likewise.
18448         [C99-based standards] (UINT_FAST64_MAX): Likewise.
18449         [C99-based standards] (INTPTR_MIN): Likewise.
18450         [C99-based standards] (INTPTR_MAX): Likewise.
18451         [C99-based standards] (UINTPTR_MAX): Likewise.
18452         [C99-based standards] (INTMAX_MIN): Likewise.
18453         [C99-based standards] (INTMAX_MAX): Likewise.
18454         [C99-based standards] (UINTMAX_MAX): Likewise.
18455         [C99-based standards] (PTRDIFF_MIN): Likewise.
18456         [C99-based standards] (PTRDIFF_MAX): Likewise.
18457         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18458         [C99-based standards] (SIZE_MAX): Likewise.
18459         [C99-based standards] (WCHAR_MAX): Likewise.
18460         [C99-based standards] (WINT_MAX): Likewise.
18461         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
18462         constraint on value.
18463         [C99-based standards] (WCHAR_MIN): Likewise.
18464         [C99-based standards] (WINT_MIN): Likewise.
18465         [C99-based standards] (*_t): Allow.
18466         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18467         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18468         Include math.h-data and complex.h-data.  Remove all expectations
18469         of math.h and complex.h contents.
18470         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18471         at end of line.
18472         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18473         (struct tm): Expect tag.
18474         [C99-based-standards] (wcstof): Expect function.
18475         [C99-based-standards] (wcstold): Likewise.
18476         [C99-based-standards] (wcstoll): Likewise.
18477         [C99-based-standards] (wcstoull): Likewise.
18478         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18479         macro-int-constant.  Specify type.
18480         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
18481         constraint on value.
18482         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18483         Specify type.
18484         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18485         Specify value.
18486         [ISO C standards]: Do not allow headers.
18487         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18488         wcs[abcdefghijklmnopqrstuvwxyz]*.
18489         [ISO C standards] (*_t): Do not allow.
18490         * conform/data/wctype.h-data [C99-based standards] (iswblank):
18491         Expect function.
18492         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18493         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18494         Specify type.
18495         [ISO C standards]: Do not allow headers.
18496         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18497         is[abcdefghijklmnopqrstuvwxyz]*.
18498         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18499         to[abcdefghijklmnopqrstuvwxyz]*.
18500         [ISO C standards] (*_t): Do not allow.
18501         * conform/data/stdalign.h-data: New file.
18502         * conform/data/stdbool.h-data: Likewise.
18503         * conform/data/stdnoreturn.h-data: Likewise.
18505 2012-11-07  Roland McGrath  <roland@hack.frob.com>
18507         [BZ #14815]
18508         * manual/filesys.texi (Directory Entries): Typo fix.
18509         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18511 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18513         * elf/elf.h (EM_AARCH64): New macro.
18514         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18515         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18516         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18517         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18518         (R_AARCH64_TLSDESC): Likewise.
18519         (NT_ARM_TLS): Likewise.
18520         (NT_ARM_HW_BREAK): Likewise.
18521         (NT_ARM_HW_WATCH): Likewise.
18523 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
18525         [BZ #14811]
18526         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18527         (__ieee754_powl): Saturate nonzero exponents with absolute value
18528         below 0x1p-79 to +/- 0x1p-79.
18529         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18530         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18531         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18532         nonzero exponents with absolute value below 0x1p-32 to +/-
18533         0x1p-32.
18534         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18535         (__ieee754_powl): Saturate nonzero exponents with absolute value
18536         below 0x1p-79 to +/- 0x1p-79.
18537         * math/libm-test.inc (pow_test): Add more tests.
18539 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18541         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18542         _dl_s390_cap_flags with kernel. Increase string length.
18543         (_dl_s390_platforms): Add z196 and zEC12.
18545 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
18547         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18548         Change XOPEN21K to XOPEN2K.
18550 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
18552         * string/memmove.c: Use memcpy when possible.
18554 2012-11-06  Andreas Jaeger  <aj@suse.de>
18556         * po/eo.po: Update from translation team.
18558 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
18560         [BZ #14793]
18561         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18562         exponent and small x and y exponents, scale x or y up.  Increase
18563         by 2 the exponent used in scaling up.
18564         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18565         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18566         * math/libm-test.inc (fma_test): Add more tests.
18567         (fma_test_towardzero): Likewise.
18568         (fma_test_downward): Likewise.
18569         (fma_test_upward): Likewise.
18571 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
18573         [BZ #14805]
18574         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18575         fenv_t *.
18577         [BZ #14801]
18578         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18579         namespace for names of struct fields.
18580         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18581         fenv_t fields.
18582         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18583         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18585 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18587         [BZ #3665]
18588         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18590 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
18592         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18593         PTR_DEMANGLE.
18595         [BZ #5246]
18596         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18597         PTR_DEMANGLE.
18599 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
18601         [BZ #14797]
18602         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18603         definitely overflow as x * y not x * y + z.
18604         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18605         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18606         * math/libm-test.inc (fma_test): Add more tests.
18607         (fma_test_towardzero): Likewise.
18608         (fma_test_downward): Likewise.
18609         (fma_test_upward): Likewise.
18611 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
18613         [BZ #157]
18615         * include/stub-tag.h: Remove file.
18616         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18617         '#include' of it.
18618         * manual/maint.texi (Porting): Don't reference it.
18619         * Makerules ($(objpfx)stubs): Likewise.
18620         * dirent/closedir.c: Don't include <stub-tag.h>.
18621         * dirent/dirfd.c: Likewise.
18622         * dirent/fdopendir.c: Likewise.
18623         * dirent/getdents.c: Likewise.
18624         * dirent/getdents64.c: Likewise.
18625         * dirent/opendir.c: Likewise.
18626         * dirent/readdir.c: Likewise.
18627         * dirent/readdir64.c: Likewise.
18628         * dirent/readdir64_r.c: Likewise.
18629         * dirent/readdir_r.c: Likewise.
18630         * dirent/rewinddir.c: Likewise.
18631         * dirent/seekdir.c: Likewise.
18632         * dirent/telldir.c: Likewise.
18633         * gmon/profil.c: Likewise.
18634         * grp/setgroups.c: Likewise.
18635         * inet/if_index.c: Likewise.
18636         * io/access.c: Likewise.
18637         * io/chdir.c: Likewise.
18638         * io/chmod.c: Likewise.
18639         * io/chown.c: Likewise.
18640         * io/close.c: Likewise.
18641         * io/dup.c: Likewise.
18642         * io/dup2.c: Likewise.
18643         * io/dup3.c: Likewise.
18644         * io/euidaccess.c: Likewise.
18645         * io/faccessat.c: Likewise.
18646         * io/fchdir.c: Likewise.
18647         * io/fchmod.c: Likewise.
18648         * io/fchmodat.c: Likewise.
18649         * io/fchown.c: Likewise.
18650         * io/fchownat.c: Likewise.
18651         * io/fcntl.c: Likewise.
18652         * io/flock.c: Likewise.
18653         * io/fstatfs.c: Likewise.
18654         * io/fstatfs64.c: Likewise.
18655         * io/fstatvfs.c: Likewise.
18656         * io/fstatvfs64.c: Likewise.
18657         * io/futimens.c: Likewise.
18658         * io/fxstat.c: Likewise.
18659         * io/fxstat64.c: Likewise.
18660         * io/fxstatat.c: Likewise.
18661         * io/fxstatat64.c: Likewise.
18662         * io/getcwd.c: Likewise.
18663         * io/isatty.c: Likewise.
18664         * io/lchmod.c: Likewise.
18665         * io/lchown.c: Likewise.
18666         * io/link.c: Likewise.
18667         * io/linkat.c: Likewise.
18668         * io/lseek.c: Likewise.
18669         * io/lseek64.c: Likewise.
18670         * io/lxstat64.c: Likewise.
18671         * io/mkdir.c: Likewise.
18672         * io/mkdirat.c: Likewise.
18673         * io/mkfifo.c: Likewise.
18674         * io/mkfifoat.c: Likewise.
18675         * io/open.c: Likewise.
18676         * io/open64.c: Likewise.
18677         * io/openat.c: Likewise.
18678         * io/openat64.c: Likewise.
18679         * io/pipe.c: Likewise.
18680         * io/pipe2.c: Likewise.
18681         * io/poll.c: Likewise.
18682         * io/posix_fadvise.c: Likewise.
18683         * io/posix_fadvise64.c: Likewise.
18684         * io/posix_fallocate.c: Likewise.
18685         * io/posix_fallocate64.c: Likewise.
18686         * io/read.c: Likewise.
18687         * io/readlink.c: Likewise.
18688         * io/readlinkat.c: Likewise.
18689         * io/rmdir.c: Likewise.
18690         * io/sendfile.c: Likewise.
18691         * io/sendfile64.c: Likewise.
18692         * io/statfs.c: Likewise.
18693         * io/statfs64.c: Likewise.
18694         * io/statvfs.c: Likewise.
18695         * io/statvfs64.c: Likewise.
18696         * io/symlink.c: Likewise.
18697         * io/symlinkat.c: Likewise.
18698         * io/ttyname.c: Likewise.
18699         * io/ttyname_r.c: Likewise.
18700         * io/umask.c: Likewise.
18701         * io/unlink.c: Likewise.
18702         * io/unlinkat.c: Likewise.
18703         * io/utime.c: Likewise.
18704         * io/utimensat.c: Likewise.
18705         * io/write.c: Likewise.
18706         * io/xmknod.c: Likewise.
18707         * io/xmknodat.c: Likewise.
18708         * io/xstat.c: Likewise.
18709         * io/xstat64.c: Likewise.
18710         * login/getpt.c: Likewise.
18711         * login/grantpt.c: Likewise.
18712         * login/unlockpt.c: Likewise.
18713         * math/e_acoshl.c: Likewise.
18714         * math/e_acosl.c: Likewise.
18715         * math/e_asinl.c: Likewise.
18716         * math/e_atan2l.c: Likewise.
18717         * math/e_atanhl.c: Likewise.
18718         * math/e_coshl.c: Likewise.
18719         * math/e_expl.c: Likewise.
18720         * math/e_fmodl.c: Likewise.
18721         * math/e_gammal_r.c: Likewise.
18722         * math/e_hypotl.c: Likewise.
18723         * math/e_j0l.c: Likewise.
18724         * math/e_j1l.c: Likewise.
18725         * math/e_jnl.c: Likewise.
18726         * math/e_lgammal_r.c: Likewise.
18727         * math/e_log10l.c: Likewise.
18728         * math/e_log2l.c: Likewise.
18729         * math/e_logl.c: Likewise.
18730         * math/e_powl.c: Likewise.
18731         * math/e_rem_pio2l.c: Likewise.
18732         * math/e_sinhl.c: Likewise.
18733         * math/e_sqrtl.c: Likewise.
18734         * math/fclrexcpt.c: Likewise.
18735         * math/fedisblxcpt.c: Likewise.
18736         * math/feenablxcpt.c: Likewise.
18737         * math/fegetenv.c: Likewise.
18738         * math/fegetexcept.c: Likewise.
18739         * math/fegetround.c: Likewise.
18740         * math/feholdexcpt.c: Likewise.
18741         * math/fesetenv.c: Likewise.
18742         * math/fesetround.c: Likewise.
18743         * math/feupdateenv.c: Likewise.
18744         * math/fgetexcptflg.c: Likewise.
18745         * math/fraiseexcpt.c: Likewise.
18746         * math/fsetexcptflg.c: Likewise.
18747         * math/ftestexcept.c: Likewise.
18748         * math/k_cosl.c: Likewise.
18749         * math/k_rem_pio2l.c: Likewise.
18750         * math/k_sinl.c: Likewise.
18751         * math/k_tanl.c: Likewise.
18752         * math/s_asinhl.c: Likewise.
18753         * math/s_atanl.c: Likewise.
18754         * math/s_cbrtl.c: Likewise.
18755         * math/s_erfl.c: Likewise.
18756         * math/s_expm1l.c: Likewise.
18757         * math/s_log1pl.c: Likewise.
18758         * math/s_tanhl.c: Likewise.
18759         * misc/acct.c: Likewise.
18760         * misc/brk.c: Likewise.
18761         * misc/chflags.c: Likewise.
18762         * misc/chroot.c: Likewise.
18763         * misc/fchflags.c: Likewise.
18764         * misc/fgetxattr.c: Likewise.
18765         * misc/flistxattr.c: Likewise.
18766         * misc/fremovexattr.c: Likewise.
18767         * misc/fsetxattr.c: Likewise.
18768         * misc/fsync.c: Likewise.
18769         * misc/ftruncate.c: Likewise.
18770         * misc/futimes.c: Likewise.
18771         * misc/futimesat.c: Likewise.
18772         * misc/getdomain.c: Likewise.
18773         * misc/getdtsz.c: Likewise.
18774         * misc/gethostid.c: Likewise.
18775         * misc/gethostname.c: Likewise.
18776         * misc/getloadavg.c: Likewise.
18777         * misc/getpagesize.c: Likewise.
18778         * misc/getsysstats.c: Likewise.
18779         * misc/getxattr.c: Likewise.
18780         * misc/gtty.c: Likewise.
18781         * misc/ioctl.c: Likewise.
18782         * misc/lgetxattr.c: Likewise.
18783         * misc/listxattr.c: Likewise.
18784         * misc/llistxattr.c: Likewise.
18785         * misc/lremovexattr.c: Likewise.
18786         * misc/lsetxattr.c: Likewise.
18787         * misc/lutimes.c: Likewise.
18788         * misc/madvise.c: Likewise.
18789         * misc/mincore.c: Likewise.
18790         * misc/mlock.c: Likewise.
18791         * misc/mlockall.c: Likewise.
18792         * misc/mmap.c: Likewise.
18793         * misc/mprotect.c: Likewise.
18794         * misc/msync.c: Likewise.
18795         * misc/munlock.c: Likewise.
18796         * misc/munlockall.c: Likewise.
18797         * misc/munmap.c: Likewise.
18798         * misc/preadv.c: Likewise.
18799         * misc/preadv64.c: Likewise.
18800         * misc/ptrace.c: Likewise.
18801         * misc/pwritev.c: Likewise.
18802         * misc/pwritev64.c: Likewise.
18803         * misc/readv.c: Likewise.
18804         * misc/reboot.c: Likewise.
18805         * misc/remap_file_pages.c: Likewise.
18806         * misc/removexattr.c: Likewise.
18807         * misc/revoke.c: Likewise.
18808         * misc/select.c: Likewise.
18809         * misc/setdomain.c: Likewise.
18810         * misc/setegid.c: Likewise.
18811         * misc/seteuid.c: Likewise.
18812         * misc/sethostid.c: Likewise.
18813         * misc/sethostname.c: Likewise.
18814         * misc/setregid.c: Likewise.
18815         * misc/setreuid.c: Likewise.
18816         * misc/setxattr.c: Likewise.
18817         * misc/sstk.c: Likewise.
18818         * misc/stty.c: Likewise.
18819         * misc/swapoff.c: Likewise.
18820         * misc/swapon.c: Likewise.
18821         * misc/sync.c: Likewise.
18822         * misc/syncfs.c: Likewise.
18823         * misc/syscall.c: Likewise.
18824         * misc/truncate.c: Likewise.
18825         * misc/ualarm.c: Likewise.
18826         * misc/usleep.c: Likewise.
18827         * misc/ustat.c: Likewise.
18828         * misc/utimes.c: Likewise.
18829         * misc/vhangup.c: Likewise.
18830         * misc/writev.c: Likewise.
18831         * posix/_exit.c: Likewise.
18832         * posix/alarm.c: Likewise.
18833         * posix/execve.c: Likewise.
18834         * posix/fexecve.c: Likewise.
18835         * posix/fork.c: Likewise.
18836         * posix/fpathconf.c: Likewise.
18837         * posix/getaddrinfo.c: Likewise.
18838         * posix/getegid.c: Likewise.
18839         * posix/geteuid.c: Likewise.
18840         * posix/getgid.c: Likewise.
18841         * posix/getgroups.c: Likewise.
18842         * posix/getlogin.c: Likewise.
18843         * posix/getlogin_r.c: Likewise.
18844         * posix/getpgid.c: Likewise.
18845         * posix/getpid.c: Likewise.
18846         * posix/getppid.c: Likewise.
18847         * posix/getresgid.c: Likewise.
18848         * posix/getresuid.c: Likewise.
18849         * posix/getsid.c: Likewise.
18850         * posix/getuid.c: Likewise.
18851         * posix/glob64.c: Likewise.
18852         * posix/nanosleep.c: Likewise.
18853         * posix/pathconf.c: Likewise.
18854         * posix/pause.c: Likewise.
18855         * posix/posix_madvise.c: Likewise.
18856         * posix/pread.c: Likewise.
18857         * posix/pread64.c: Likewise.
18858         * posix/pwrite.c: Likewise.
18859         * posix/pwrite64.c: Likewise.
18860         * posix/sched_getaffinity.c: Likewise.
18861         * posix/sched_getp.c: Likewise.
18862         * posix/sched_gets.c: Likewise.
18863         * posix/sched_primax.c: Likewise.
18864         * posix/sched_primin.c: Likewise.
18865         * posix/sched_rr_gi.c: Likewise.
18866         * posix/sched_setaffinity.c: Likewise.
18867         * posix/sched_setp.c: Likewise.
18868         * posix/sched_sets.c: Likewise.
18869         * posix/sched_yield.c: Likewise.
18870         * posix/setgid.c: Likewise.
18871         * posix/setlogin.c: Likewise.
18872         * posix/setpgid.c: Likewise.
18873         * posix/setresgid.c: Likewise.
18874         * posix/setresuid.c: Likewise.
18875         * posix/setsid.c: Likewise.
18876         * posix/setuid.c: Likewise.
18877         * posix/sleep.c: Likewise.
18878         * posix/spawni.c: Likewise.
18879         * posix/sysconf.c: Likewise.
18880         * posix/times.c: Likewise.
18881         * posix/wait.c: Likewise.
18882         * posix/wait3.c: Likewise.
18883         * posix/wait4.c: Likewise.
18884         * posix/waitpid.c: Likewise.
18885         * resolv/gai_sigqueue.c: Likewise.
18886         * resource/getpriority.c: Likewise.
18887         * resource/getrlimit.c: Likewise.
18888         * resource/getrusage.c: Likewise.
18889         * resource/nice.c: Likewise.
18890         * resource/setpriority.c: Likewise.
18891         * resource/setrlimit.c: Likewise.
18892         * resource/ulimit.c: Likewise.
18893         * rt/aio_cancel.c: Likewise.
18894         * rt/aio_fsync.c: Likewise.
18895         * rt/aio_read.c: Likewise.
18896         * rt/aio_sigqueue.c: Likewise.
18897         * rt/aio_suspend.c: Likewise.
18898         * rt/aio_write.c: Likewise.
18899         * rt/clock_getres.c: Likewise.
18900         * rt/clock_gettime.c: Likewise.
18901         * rt/clock_nanosleep.c: Likewise.
18902         * rt/clock_settime.c: Likewise.
18903         * rt/lio_listio.c: Likewise.
18904         * rt/mq_close.c: Likewise.
18905         * rt/mq_getattr.c: Likewise.
18906         * rt/mq_notify.c: Likewise.
18907         * rt/mq_open.c: Likewise.
18908         * rt/mq_receive.c: Likewise.
18909         * rt/mq_send.c: Likewise.
18910         * rt/mq_setattr.c: Likewise.
18911         * rt/mq_timedreceive.c: Likewise.
18912         * rt/mq_timedsend.c: Likewise.
18913         * rt/mq_unlink.c: Likewise.
18914         * rt/shm_open.c: Likewise.
18915         * rt/shm_unlink.c: Likewise.
18916         * rt/timer_create.c: Likewise.
18917         * rt/timer_delete.c: Likewise.
18918         * rt/timer_getoverr.c: Likewise.
18919         * rt/timer_gettime.c: Likewise.
18920         * rt/timer_settime.c: Likewise.
18921         * setjmp/__longjmp.c: Likewise.
18922         * setjmp/setjmp.c: Likewise.
18923         * signal/kill.c: Likewise.
18924         * signal/killpg.c: Likewise.
18925         * signal/raise.c: Likewise.
18926         * signal/sigaction.c: Likewise.
18927         * signal/sigaltstack.c: Likewise.
18928         * signal/sigblock.c: Likewise.
18929         * signal/sigignore.c: Likewise.
18930         * signal/sigintr.c: Likewise.
18931         * signal/signal.c: Likewise.
18932         * signal/sigpause.c: Likewise.
18933         * signal/sigpending.c: Likewise.
18934         * signal/sigqueue.c: Likewise.
18935         * signal/sigreturn.c: Likewise.
18936         * signal/sigset.c: Likewise.
18937         * signal/sigsetmask.c: Likewise.
18938         * signal/sigstack.c: Likewise.
18939         * signal/sigsuspend.c: Likewise.
18940         * signal/sigtimedwait.c: Likewise.
18941         * signal/sigvec.c: Likewise.
18942         * signal/sigwait.c: Likewise.
18943         * signal/sigwaitinfo.c: Likewise.
18944         * signal/sysv_signal.c: Likewise.
18945         * socket/accept.c: Likewise.
18946         * socket/accept4.c: Likewise.
18947         * socket/bind.c: Likewise.
18948         * socket/connect.c: Likewise.
18949         * socket/getpeername.c: Likewise.
18950         * socket/getsockname.c: Likewise.
18951         * socket/getsockopt.c: Likewise.
18952         * socket/isfdtype.c: Likewise.
18953         * socket/listen.c: Likewise.
18954         * socket/recv.c: Likewise.
18955         * socket/recvfrom.c: Likewise.
18956         * socket/recvmsg.c: Likewise.
18957         * socket/send.c: Likewise.
18958         * socket/sendmsg.c: Likewise.
18959         * socket/sendto.c: Likewise.
18960         * socket/setsockopt.c: Likewise.
18961         * socket/shutdown.c: Likewise.
18962         * socket/sockatmark.c: Likewise.
18963         * socket/socket.c: Likewise.
18964         * socket/socketpair.c: Likewise.
18965         * stdio-common/ctermid.c: Likewise.
18966         * stdio-common/cuserid.c: Likewise.
18967         * stdio-common/remove.c: Likewise.
18968         * stdio-common/rename.c: Likewise.
18969         * stdio-common/renameat.c: Likewise.
18970         * stdio-common/tempname.c: Likewise.
18971         * stdlib/getcontext.c: Likewise.
18972         * stdlib/makecontext.c: Likewise.
18973         * stdlib/setcontext.c: Likewise.
18974         * stdlib/swapcontext.c: Likewise.
18975         * stdlib/system.c: Likewise.
18976         * streams/fattach.c: Likewise.
18977         * streams/fdetach.c: Likewise.
18978         * streams/getmsg.c: Likewise.
18979         * streams/getpmsg.c: Likewise.
18980         * streams/putmsg.c: Likewise.
18981         * streams/putpmsg.c: Likewise.
18982         * sysdeps/unix/bsd/getpt.c: Likewise.
18983         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18984         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18985         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18987         Likewise.
18988         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18989         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18990         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18991         * sysvipc/msgctl.c: Likewise.
18992         * sysvipc/msgget.c: Likewise.
18993         * sysvipc/msgrcv.c: Likewise.
18994         * sysvipc/msgsnd.c: Likewise.
18995         * sysvipc/semctl.c: Likewise.
18996         * sysvipc/semget.c: Likewise.
18997         * sysvipc/semop.c: Likewise.
18998         * sysvipc/semtimedop.c: Likewise.
18999         * sysvipc/shmat.c: Likewise.
19000         * sysvipc/shmctl.c: Likewise.
19001         * sysvipc/shmdt.c: Likewise.
19002         * sysvipc/shmget.c: Likewise.
19003         * termios/tcdrain.c: Likewise.
19004         * termios/tcflow.c: Likewise.
19005         * termios/tcflush.c: Likewise.
19006         * termios/tcgetattr.c: Likewise.
19007         * termios/tcgetpgrp.c: Likewise.
19008         * termios/tcsendbrk.c: Likewise.
19009         * termios/tcsetattr.c: Likewise.
19010         * termios/tcsetpgrp.c: Likewise.
19011         * time/adjtime.c: Likewise.
19012         * time/clock.c: Likewise.
19013         * time/getitimer.c: Likewise.
19014         * time/gettimeofday.c: Likewise.
19015         * time/setitimer.c: Likewise.
19016         * time/settimeofday.c: Likewise.
19017         * time/stime.c: Likewise.
19018         * time/time.c: Likewise.
19020 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
19022         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
19023         /usr/old/bin.
19025         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
19026         instead of spaces.
19027         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
19029 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
19031         [BZ #14796]
19032         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
19033         FE_TONEAREST before applying Dekker multiplication and Knuth
19034         addition.  Clear inexact exceptions and check for exact zero
19035         results afterwards.
19036         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19037         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19038         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19039         * math/libm-test.inc (fma_test): Add more tests.
19040         (fma_test_towardzero): Likewise.
19041         (fma_test_downward): Likewise.
19042         (fma_test_upward): Likewise.
19043         * sysdeps/generic/math_private.h (default_libc_fesetround): New
19044         function.
19045         (libc_fesetround): New macro.
19046         (libc_fesetroundf): Likewise.
19047         (libc_fesetroundl): Likewise.
19048         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19049         function.
19050         (libc_fesetround_387): Likewise.
19051         (libc_fesetroundf): New macro.
19052         (libc_fesetround): Likewise.
19053         (libc_fesetroundl): Likewise.
19054         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19055         function.
19056         (libc_fesetroundf): New macro.
19057         (libc_fesetround): Likewise.
19058         (libc_fesetroundl): Likewise.
19059         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19060         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19061         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19062         libm_hidden_ver.
19063         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19064         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19065         libm_hidden_def.
19066         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19067         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19068         libm_hidden_ver.
19069         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19070         libm_hidden_def.
19072         [BZ #3439]
19073         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19074         integer constant usable in #if and use that to give value to enum
19075         constant.
19076         (FE_DIVBYZERO): Likewise.
19077         (FE_UNDERFLOW): Likewise.
19078         (FE_OVERFLOW): Likewise.
19079         (FE_INVALID): Likewise.
19080         (FE_INVALID_SNAN): Likewise.
19081         (FE_INVALID_ISI): Likewise.
19082         (FE_INVALID_IDI): Likewise.
19083         (FE_INVALID_ZDZ): Likewise.
19084         (FE_INVALID_IMZ): Likewise.
19085         (FE_INVALID_COMPARE): Likewise.
19086         (FE_INVALID_SOFTWARE): Likewise.
19087         (FE_INVALID_SQRT): Likewise.
19088         (FE_INVALID_INTEGER_CONVERSION): Likewise.
19089         (FE_TONEAREST): Likewise.
19090         (FE_TOWARDZERO): Likewise.
19091         (FE_UPWARD): Likewise.
19092         (FE_DOWNWARD): Likewise.
19093         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19094         (FE_DIVBYZERO): Likewise.
19095         (FE_OVERFLOW): Likewise.
19096         (FE_UNDERFLOW): Likewise.
19097         (FE_INEXACT): Likewise.
19098         (FE_TONEAREST): Likewise.
19099         (FE_DOWNWARD): Likewise.
19100         (FE_UPWARD): Likewise.
19101         (FE_TOWARDZERO): Likewise.
19102         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19103         (FE_UNDERFLOW): Likewise.
19104         (FE_OVERFLOW): Likewise.
19105         (FE_DIVBYZERO): Likewise.
19106         (FE_INVALID): Likewise.
19107         (FE_TONEAREST): Likewise.
19108         (FE_TOWARDZERO): Likewise.
19109         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19110         (FE_OVERFLOW): Likewise.
19111         (FE_UNDERFLOW): Likewise.
19112         (FE_DIVBYZERO): Likewise.
19113         (FE_INEXACT): Likewise.
19114         (FE_TONEAREST): Likewise.
19115         (FE_TOWARDZERO): Likewise.
19116         (FE_UPWARD): Likewise.
19117         (FE_DOWNWARD): Likewise.
19118         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19119         (FE_DIVBYZERO): Likewise.
19120         (FE_OVERFLOW): Likewise.
19121         (FE_UNDERFLOW): Likewise.
19122         (FE_INEXACT): Likewise.
19123         (FE_TONEAREST): Likewise.
19124         (FE_DOWNWARD): Likewise.
19125         (FE_UPWARD): Likewise.
19126         (FE_TOWARDZERO): Likewise.
19128 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
19130         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19132 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
19134         * scripts/cross-test-ssh.sh (command): Use newlines to separate
19135         commands.  Quote $PWD.
19136         (blacklist_exports): Don't use remove_newlines.  Replace "declare
19137         -x" by "export".
19138         (remove_newlines): Remove.
19140 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
19142         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19143         * stdlib/stdlib.h (atof): Moved to ...
19144         * include/bits/stdlib-float.h: Here.  New file.
19145         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19146         * stdlib/bits/stdlib-float.h: New file.
19147         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19148         -mno-sse -mno-mmx.
19149         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19150         <xmmintrin.h>.
19152 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
19154         * conform/conformtest.pl (@headers): Add fenv.h.
19155         * conform/data/fenv.h-data: New file.
19156         * include/fenv.h [_ISOMAC]: Disable all contents of file except
19157         include of <math/fenv.h>.
19159         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19160         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19161         && !UNIX98].  Enables tests for XOPEN2K8.
19162         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19163         POSIX2008]: Likewise.
19165         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19166         (struct rusage): Do not expect type or its members.
19168         [BZ #3439]
19169         * math/math.h (FP_NAN): Define macro to integer constant usable in
19170         #if and use that to give value to enum constant.
19171         (FP_INFINITE): Likewise.
19172         (FP_ZERO): Likewise.
19173         (FP_SUBNORMAL): Likewise.
19174         (FP_NORMAL): Likewise.
19176 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
19178         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19179         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19180         arguments.
19182 2012-11-02  Roland McGrath  <roland@hack.frob.com>
19184         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19185         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19186         autoconf-time if not.
19187         * configure.in: Remove AC_PREREQ.
19189 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19191         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19192         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19193         of the internal implementation.
19195 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
19197         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19198         except include of <misc/sys/syslog.h>.
19200 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
19202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19203         function returns with a NULL context exit with zero.
19205 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19207         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19209 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
19211         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19212         (run_program_cmd): This.
19213         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19214         (tst_langinfo): New variable.  Use it.
19216 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
19218         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19219         floating point opcodes.
19221 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
19223         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19224         variable.
19226         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19228         * sysdeps/mach/hurd/powerpc: Remove directory.
19229         * sysdeps/mach/powerpc: Likewise.
19231 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
19233         * scripts/check-local-headers.sh: Ignore c++ headers.
19235 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
19237         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19238         __libc_cleanup_region_start argument.
19240 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
19242         [BZ #14784]
19243         [BZ #14785]
19244         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19245         x * y using scaling, not as x * y + z.
19246         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19247         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19248         * math/libm-test.inc (fma_test): Add more tests.
19249         (fma_test_towardzero): Likewise.
19250         (fma_test_downward): Likewise.
19251         (fma_test_upward): Likewise.
19253 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
19255         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19257 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
19259         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19260         New variable.
19262 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
19264         * rt/tst-shm.c (worker): Correct checking for mmap failure.
19266 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
19268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19269         Fix sort order.
19270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19271         Likewise.
19273 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19276         Fix the order of the list for glibc 2.17.
19277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19278         Likewise.
19280 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
19282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19284 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
19286         [BZ #14610]
19287         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19288         for low part of x being zero before using __atanl (y).
19289         * math/libm-test.inc (atan2_test): Add another test.
19291         * manual/install.texi (Configuring and compiling): Document
19292         general use of test-wrapper and test-wrapper-env.
19293         * INSTALL: Regenerated.
19295         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19296         (__fma): Do not extract and scale down low bits on after-rounding
19297         systems when result rounded to normal precision would have normal
19298         exponent.
19299         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19300         (__fmal): Do not extract and scale down low bits on after-rounding
19301         systems when result rounded to normal precision would have normal
19302         exponent.
19303         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19304         (__fmal): Do not extract and scale down low bits on after-rounding
19305         systems when result rounded to normal precision would have normal
19306         exponent.
19307         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19308         macro.
19309         (fma_test): Add more tests.
19310         (fma_test_towardzero): Likewise.
19311         (fma_test_downward): Likewise.
19312         (fma_test_upward): Likewise.
19314 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
19316         * sysdeps/i386/tininess.h: Renamed to ...
19317         * sysdeps/x86/tininess.h: This.
19318         * sysdeps/x86_64/tininess.h: Removed.
19320 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
19322         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19323         input.  Use $(build-program-cmd).
19324         ($(objpfx)tst-array1-static.out): Likewise.
19325         ($(objpfx)tst-array2.out): Likewise.
19326         ($(objpfx)tst-array3.out): Likewise.
19327         ($(objpfx)tst-array4.out): Likewise.
19328         ($(objpfx)tst-array5.out): Likewise.
19329         ($(objpfx)tst-array5-static.out): Likewise.
19331 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
19333         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19334         if defined.
19336         * nss/nsswitch.h (nss_interface_function): Provide new
19337         macro for use with NSS functions.
19338         * grp/initgroups.c: Use new macro.
19339         * nss/getXXbyYY.c: Likewise.
19340         * nss/getXXbyYY_r.c: Likewise.
19341         * nss/getXXent.c: Likewise.
19342         * nss/getXXent_r.c: Likewise.
19343         * sysdeps/posix/getaddrinfo.c: Likewise.
19345 2012-10-30  Andreas Jaeger  <aj@suse.de>
19347         * po/ru.po: Update Russion translation from translation project.
19349 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
19351         [BZ #14152]
19352         [BZ #14783]
19353         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19354         result and shift together with sticky bit instead of replicating
19355         round-to-nearest rounding.
19356         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19357         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19358         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
19359         missing underflow exceptions.
19360         (fma_test_towardzero): Add more tests.
19361         (fma_test_downward): Likewise.
19362         (fma_test_upward): Likewise.
19364         [BZ #14047]
19365         * sysdeps/generic/tininess.h: New file.
19366         * sysdeps/i386/tininess.h: Likewise.
19367         * sysdeps/sh/tininess.h: Likewise.
19368         * sysdeps/x86_64/tininess.h: Likewise.
19369         * stdlib/tst-strtod-underflow.c: Likewise.
19370         * stdlib/tst-tininess.c: Likewise.
19371         * stdlib/strtod_l.c: Include <tininess.h>.
19372         (round_and_return): Do not set errno for exact underflow cases.
19373         Force an underflow exception when setting errno for underflow.
19374         Determine underflow based on rounding to normal precision if
19375         TININESS_AFTER_ROUNDING.
19376         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19377         ERANGE for exact underflow cases.
19378         * stdlib/Makefile (tests): Add tst-tininess and
19379         tst-strtod-underflow.
19380         ($(objpfx)tst-tininess): Use $(link-libm).
19381         ($(objpfx)tst-strtod-underflow): Likewise.
19383 2012-10-30  Andreas Jaeger  <aj@suse.de>
19385         [BZ#14767]
19386         * elf/Makefile (tests): Remove conditional for have-initfini-array
19387         since this is now always required and the variable does not exist
19388         anymore.
19389         (tests-static): Likewise.
19390         (modules-names): Likewise.
19392         * po/eo.po: Add Esperanto translation from translation project.
19394         * elf/tst-array1.c (fini_array): Make writeable so that it can be
19395         merged with constructor/destructor.
19396         (init_array): Likewise.
19397         * elf/tst-array2dep.c (fini_array): Likewise.
19398         (init_array): Likewise.
19400 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
19402         * manual/message.texi: Delete @cartouche tags.
19404 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
19406         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19407         EOPNOTSUPP.
19408         * sysdeps/mach/hurd/fsync.c: Likewise.
19410         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19411         [_POSIX_REALTIME_SIGNALS]: Change condition to
19412         [_POSIX_REALTIME_SIGNALS > 0].
19414 2012-10-27  Andreas Jaeger  <aj@suse.de>
19416         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19417         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19418         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19419         [__WORDSIZE != 64]: Likewise.
19421 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
19423         *  iconvdata/tst-table.sh: Remove ${SHELL}.
19424         *  iconvdata/tst-tables.sh: Likewise.
19426 2012-10-25  David S. Miller  <davem@davemloft.net>
19428         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19429         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19430         of strtoull.
19432         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19433         ifunc-impl-list.c
19434         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19435         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19436         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19437         file.
19439 2012-10-25  Roland McGrath  <roland@hack.frob.com>
19441         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19442         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19443         __getdirentries.
19445 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
19446             Jim Blandy  <jimb@codesourcery.com>
19448         * scripts/cross-test-ssh.sh: New file.
19449         * manual/install.texi (Configuring and compiling): Document use of
19450         cross-test-ssh.sh.
19451         * INSTALL: Regenerated.
19453 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
19455         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19456         EOPNOTSUPP.
19458 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
19460         * Makeconfig (run-program-prefix): Fix comment.
19462 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
19463             Jim Blandy  <jimb@codesourcery.com>
19465         * Makeconfig (test-wrapper): New variable,
19466         (test-wrapper-env): Likewise.
19467         [$(cross-compiling) = yes && $(test-wrapper) != ""]
19468         (run-built-tests): Define to yes.
19469         (run-program-prefix): Use $(test-wrapper).
19470         (built-program-cmd): Likewise.
19471         * Rules (make-test-out): Use $(test-wrapper-env) and
19472         $(host-built-program-cmd).
19473         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19474         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19475         tst-pathopt.sh.
19476         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19477         $(test-wrapper-env) to tst-rtld-load-self.sh.
19478         ($(objpfx)order2.out): Use $(test-wrapper).
19479         ($(objpfx)tst-initorder.out): Likewise.
19480         ($(objpfx)tst-initorder2.out): Likewise.
19481         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19482         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19483         (test_wrapper_env): New variable.  Use it to run ld.so.
19484         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19485         Use it to run ld.so.
19486         (test_wrapper_env): Likewise.
19487         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19488         $(test-wrapper) to run-iconv-test.sh.
19489         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19490         (ICONV): Use $test_wrapper.
19491         * posix/Makefile ($(objpfx)globtest.out): Pass
19492         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19493         globtest.sh, not $(run-program-prefix).
19494         * posix/globtest.sh (run_via_rtld_prefix): New variable.
19495         (test_wrapper): Likewise.
19496         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
19497         set together with run_via_rtld_prefix.
19498         (run_program_prefix): Define in terms of test_wrapper and
19499         run_via_rtld_prefix.
19501 2012-10-24  Roland McGrath  <roland@hack.frob.com>
19503         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19504         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19505         Targets removed.
19507         [BZ #14743]
19508         * include/time.h: Remove librt_hidden_proto (clock_gettime).
19509         Declare __clock_getres, __clock_gettime, __clock_settime,
19510         __clock_nanosleep, and __clock_getcpuclockid.
19511         * rt/clock_gettime.c: Define __clock_gettime as an alias.
19512         Remove librt_hidden_def (clock_gettime).
19513         * sysdeps/unix/clock_gettime.c: Likewise.
19514         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19515         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19516         * rt/clock_getres.c: Define __clock_getres as an alias.
19517         * sysdeps/posix/clock_getres.c: Likewise.
19518         * rt/clock_settime.c: Define __clock_settime as an alias.
19519         * sysdeps/unix/clock_settime.c: Likewise.
19520         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19521         * sysdeps/unix/clock_nanosleep.c: Likewise.
19522         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19523         * rt/clock-compat.c: New file.
19524         * rt/Makefile (librt-routines): Add clock-compat and move
19525         $(clock-routines) to ...
19526         (routines): ... here, new variable.
19527         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19528         Don't add get_clockfreq here.
19529         * rt/Versions (libc: GLIBC_2.17): New version set.
19530         Add clock_* symbols here.
19531         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
19532         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19533         (GLIBC_2.17): Add clock_* symbols.
19534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19535         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19536         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19538         Likewise.
19539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19540         Likewise.
19541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19545         * NEWS: Mention the move.
19547         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19548         Use __open, __read, __close rather than their public counterparts.
19549         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19550         (__get_clockfreq_via_cpuinfo): Likewise.
19551         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19552         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19554         * config.h.in (HAVE_IFUNC): New #undef.
19555         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19556         was successful.
19557         * configure: Regenerated.
19559 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
19561         * configure.in: Move READELF check to start of file.
19562         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19563         libc_cv_asm_gnu_indirect_function in the process.
19564         * configure: Regenerated.
19566 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
19568         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19569         send the output to /dev/null.
19570         (libc_cv_cc_with_libunwind): Likewise.
19571         (libc_cv_as_noexecstack): Likewise.
19572         * configure: Regenerate.
19574 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
19576         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19578         * posix/globtest.sh (TMPDIR): Do not set.
19579         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19580         (testout): Likewise.
19582 2012-10-24  Andreas Jaeger  <aj@suse.de>
19584         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19585         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19586         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19587         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19588         posix_fadvise64, posix_fallocate64.
19590         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19591         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19592         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19593         Likewise.
19594         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19595         Likewise.
19596         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19598         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19599         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19600         <bits/fcntl-linux.h>.
19601         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19603         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19604         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19605         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19606         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19607         [__WORDSIZE != 64]: Likewise.
19609 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
19611         * Makeconfig (run-built-tests): New variable.
19612         * Rules [$(cross-compiling) = yes]: Change condition to
19613         [$(run-built-tests) = no].
19614         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19615         to [$(run-built-tests) = yes].
19616         * elf/Makefile [$(cross-compiling) = no]: Likewise
19617         * grp/Makefile [$(cross-compiling) = no]: Likewise.
19618         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19619         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19620         * intl/Makefile [$(cross-compiling) = no]: Likewise.
19621         * io/Makefile [$(cross-compiling) = no]: Likewise.
19622         * libio/Makefile [$(cross-compiling) = no]: Likewise.
19623         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19624         * misc/Makefile [$(cross-compiling) = no]: Likewise.
19625         * posix/Makefile [$(cross-compiling) = no]: Likewise.
19626         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19627         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19628         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19629         * string/Makefile [$(cross-compiling) = no]: Likewise.
19631         * posix/Makefile ($(objpfx)globtest.out): Pass
19632         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19633         $(rtld-installed-name).
19634         * posix/globtest.sh (elf_objpfx): Remove variable.
19635         (rtld_installed_name): Likewise.
19636         (library_path): Likewise.
19637         (run_program_prefix): New variable.  Use for running globtest
19638         binary.
19640 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
19641             Joseph Myers  <joseph@codesourcery.com>
19643         * Makeconfig (host-built-program-cmd): New variable.
19644         * elf/Makefile (tst-stackguard1-ARGS): Use
19645         $(host-built-program-cmd).
19646         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19647         (tst-spawn-ARGS): Likewise.
19648         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19650 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
19651             Jim Blandy  <jimb@codesourcery.com>
19653         * Makeconfig (run-via-rtld-prefix): New variable.
19654         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19655         (built-program-cmd): Likewise.
19657 2012-10-22  Andreas Jaeger  <aj@suse.de>
19659         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19660         __O_RSYNC if it exists, otherwise to O_SYNC.
19662 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
19663             Joseph Myers  <joseph@codesourcery.com>
19665         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19666         /dev/null.
19667         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19668         from /dev/null
19669         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19670         /dev/null.
19672 2012-10-22  Andreas Jaeger  <aj@suse.de>
19674         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19675         Define always.
19676         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19678         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19679         bits/fcntl-linux.h.
19681         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19682         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19684         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19685         to __O_LARGEFILE.
19686         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19687         to __O_LARGEFILE.
19689 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
19690             Joseph Myers  <joseph@codesourcery.com>
19692         * config.make.in (NM): New variable.
19694 2012-10-21  Andreas Jaeger  <aj@suse.de>
19696         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19697         definitions and declarations that are provided by
19698         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19700 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
19702         [BZ #14683]
19703         * elf/Makefile (tests-static): Add tst-leaks1-static.
19704         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19705         ($(objpfx)tst-leaks1-static): New rule.
19706         ($(objpfx)tst-leaks1-static-mem): Likewise.
19707         (tst-leaks1-static-ENV): New macro.
19708         * elf/dl-open.c (dl_open_worker): Check the main application
19709         only if SHARED is defined.
19710         * elf/tst-leaks1-static.c: New file.
19712 2012-10-20  Andreas Jaeger  <aj@suse.de>
19714         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19715         generic values for Linux.
19716         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19717         and declarations that are provided by <bits/fcntl-linux.h> and
19718         include <bits/fcntl-linux.h>.
19719         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19720         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19722 2012-10-20  Roland McGrath  <roland@hack.frob.com>
19724         * io/fcntl.h: Move include of <bits/types.h> to the top and
19725         include it unconditionally.
19727 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
19729         * wcsmbs/Makefile (tests-ifunc): New variable.
19730         (tests): Add $(tests-ifunc).
19731         * wcsmbs/test-wcschr-ifunc.c: New file.
19732         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19733         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19734         * wcsmbs/test-wcslen-ifunc.c: Likewise.
19735         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19736         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19738         * string/Makefile (tests-ifunc): New variable.
19739         (tests): Add $(tests-ifunc).
19740         * string/test-memccpy.c (TEST_NAME): New macro.
19741         * string/test-memchr.c (TEST_NAME): Likewise.
19742         * string/test-memcmp.c (TEST_NAME): Likewise.
19743         * string/test-memcpy.c (TEST_NAME): Likewise.
19744         * string/test-memmem.c (TEST_NAME): Likewise.
19745         * string/test-memmove.c (TEST_NAME): Likewise.
19746         * string/test-memset.c (TEST_NAME): Likewise.
19747         * string/test-rawmemchr.c (TEST_NAME): Likewise.
19748         * string/test-stpcpy.c (TEST_NAME): Likewise.
19749         * string/test-stpncpy.c (TEST_NAME): Likewise.
19750         * string/test-strcasecmp.c (TEST_NAME): Likewise.
19751         * string/test-strcasestr.c (TEST_NAME): Likewise.
19752         * string/test-strcat.c (TEST_NAME): Likewise.
19753         * string/test-strchr.c (TEST_NAME): Likewise.
19754         * string/test-strcmp.c(TEST_NAME): Likewise.
19755         * string/test-strcpy.c (TEST_NAME): Likewise.
19756         * string/test-strcspn.c (TEST_NAME): Likewise.
19757         * string/test-strlen.c (TEST_NAME): Likewise.
19758         * string/test-strncasecmp.c (TEST_NAME): Likewise.
19759         * string/test-strncmp.c (TEST_NAME): Likewise.
19760         * string/test-strncpy.c (TEST_NAME): Likewise.
19761         * string/test-strnlen.c (TEST_NAME): Likewise.
19762         * string/test-strpbrk.c (TEST_NAME): Likewise.
19763         * string/test-strrchr.c (TEST_NAME): Likewise.
19764         * string/test-strspn.c (TEST_NAME): Likewise.
19765         * string/test-strstr.c (TEST_NAME): Likewise.
19766         * string/test-bcopy-ifunc.c: New file.
19767         * string/test-bzero-ifunc.c: Likewise.
19768         * string/test-memccpy-ifunc.c: Likewise.
19769         * string/test-memchr-ifunc.c: Likewise.
19770         * string/test-memcmp-ifunc.c: Likewise.
19771         * string/test-memcpy-ifunc.c: Likewise.
19772         * string/test-memmem-ifunc.c: Likewise.
19773         * string/test-memmove-ifunc.c: Likewise.
19774         * string/test-mempcpy-ifunc.c: Likewise.
19775         * string/test-memset-ifunc.c: Likewise.
19776         * string/test-rawmemchr-ifunc.c: Likewise.
19777         * string/test-stpcpy-ifunc.c: Likewise.
19778         * string/test-stpncpy-ifunc.c: Likewise.
19779         * string/test-strcasecmp-ifunc.c: Likewise.
19780         * string/test-strcasestr-ifunc.c: Likewise.
19781         * string/test-strcat-ifunc.c: Likewise.
19782         * string/test-strchr-ifunc.c: Likewise.
19783         * string/test-strchrnul-ifunc.c: Likewise.
19784         * string/test-strcmp-ifunc.c: Likewise.
19785         * string/test-strcpy-ifunc.c: Likewise.
19786         * string/test-strcspn-ifunc.c: Likewise.
19787         * string/test-strlen-ifunc.c: Likewise.
19788         * string/test-strncasecmp-ifunc.c: Likewise.
19789         * string/test-strncat-ifunc.c: Likewise.
19790         * string/test-strncmp-ifunc.c: Likewise.
19791         * string/test-strncpy-ifunc.c: Likewise.
19792         * string/test-strnlen-ifunc.c: Likewise.
19793         * string/test-strpbrk-ifunc.c: Likewise.
19794         * string/test-strrchr-ifunc.c: Likewise.
19795         * string/test-strspn-ifunc.c: Likewise.
19796         * string/test-strstr-ifunc.c: Likewise.
19798         * debug/Makefile (tests-ifunc): New variable.
19799         (tests): Add $(tests-ifunc).
19800         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19801         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19802         * debug/test-stpcpy_chk-ifunc.c: New file.
19803         * debug/test-strcpy_chk-ifunc.c: Likewise.
19805 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19807         [BZ #13601]
19808         * elf/dl-load.c (open_verify): Retry read if the entire ELF
19809         header is not read in.
19811 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
19813         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
19814         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
19815         directly.  Pass built executable to script as
19816         $(built-program-cmd).
19817         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
19818         $testprogram without using LD_LIBRARY_PATH and $ldso.
19820         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19821         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19822         $(rtld-installed-name).
19823         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19824         (rtld_installed_name): Likewise.
19825         (library_path): Likewise.
19826         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
19827         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19828         $(run-program-prefix) to tst-tables.sh.
19829         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
19830         it to run tst-table-from and tst-table-to.
19831         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19832         Pass it to tst-table.sh.
19833         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19834         $(run-program-prefix) to tst-gettext.sh.
19835         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19836         tst-translit.sh.
19837         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19838         tst-gettext2.sh.
19839         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
19840         to run tst-gettext.
19841         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
19842         to run tst-gettext2.
19843         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
19844         to run tst-translit.
19845         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19846         $(run-program-prefix) to tst-mtrace.sh.
19847         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
19848         to run tst-mtrace.
19849         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19850         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19851         $(rtld-installed-name).
19852         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19853         (rtld_installed_name): Likewise.
19854         (run_program_prefix): New variable.  Use it to run wordexp-test.
19856         * Makeconfig (ARCH): Remove all definitions.
19857         (machine): Likewise.
19858         [ARCH]: Remove conditional code.
19859         [!objdir]: Give error.
19860         [!objdir] (objpfx): Remove.
19861         [!objdir] (common-objpfx): Likewise.
19862         [!objdir] (common-objdir): Likewise.
19863         * configure.in (config_makefile): Remove.  Hardcode Makefile in
19864         AC_CONFIG_FILES call.
19865         * configure: Regenerated.
19867         [BZ #13888]
19868         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19869         or TMPDIR.
19870         (testout): Likewise.
19872         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19873         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19874         $(rtld-installed-name).
19875         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19876         (rtld_installed_name): Likwise.
19877         (runit): Remove function.
19878         (run_getconf): New variable,  Use it for running getconf binary.
19880 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
19882         [BZ #14716]
19883         * string/test-memmem.c (check_result): New function.
19884         (do_one_test): Use it.
19885         (check1): New function.
19886         (test_main): Use it.
19888 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
19890         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19892 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
19894         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19895         (_G_LSEEK64): Likewise.
19896         (_G_MMAP64): Likewise.
19897         (_G_FSTAT64): Likewise.
19898         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19899         (_G_LSEEK64): Likewise.
19900         (_G_MMAP64): Likewise.
19901         (_G_FSTAT64): Likewise.
19902         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19903         unconditional.  Call __mmap64 directly.
19904         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19905         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
19906         __lseek64 directly.
19907         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19908         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
19909         __mmap64 directly.
19910         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19911         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
19912         __lseek64 directly.
19913         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19914         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
19915         __lseek64 directly.
19916         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19917         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
19918         __lseek64 directly.
19919         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19920         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
19921         __fxstat64 directly.
19922         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19923         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19924         unconditional.
19925         (freopen64) [!_G_OPEN64]: Remove conditional code.
19926         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19927         unconditional.
19928         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19929         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19930         unconditional.
19931         (ftello64) [!_G_LSEEK64]: Remove conditional code.
19932         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19933         unconditional.
19934         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19935         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19936         unconditional.
19937         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19938         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19939         unconditional.
19940         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19941         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19942         unconditional.
19943         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19944         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19945         unconditional.
19946         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19948 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19950         [BZ #12140]
19951         * manual/memory.texi (Malloc Tunable Parameters): Add note
19952         about free list pointers overwriting some perturb bytes.
19953         Wording suggested by Roland McGrath.
19955 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
19957         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19958         (lgamma_test): Likewise.
19959         (tgamma_test): Likewise.
19961 2012-10-16  Florian Weimer  <fweimer@redhat.com>
19963         [BZ #14700]
19964         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19965         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19967 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
19969         * NEWS: Mention BZ #14716.
19970         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19971         when removing AVAILABLE1_USES_J macro.
19973 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
19975         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19976         (__bswap_64): __uint64_t for unsigned 64-bit int.
19978 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
19980         * include/string.h (memmem): Declare libc hidden alias.
19981         * string/memmem.c (memmem): Define libc hidden alias.
19982         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19983         __read, __close instead of open, read, close.
19985 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
19987         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19988         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19989         global and hidden.
19990         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19991         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19992         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19993         Likewise.
19994         (__rawmemchr_sse2): Likewise.
19995         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19996         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19997         (__strchr_sse2): Likewise.
19998         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19999         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
20000         (__strcasecmp_sse2): Likewise.
20001         (__strncasecmp_sse2): Likewise.
20002         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
20003         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
20004         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
20005         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
20006         (__strrchr_sse2): Likewise.
20007         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
20008         ifunc-impl-list.c.
20009         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20010         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20011         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20012         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20013         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20014         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20015         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20016         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20017         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
20018         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
20019         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
20020         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
20021         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
20022         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20023         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20024         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20025         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20026         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20027         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
20028         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
20029         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
20030         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
20031         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
20032         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20033         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
20034         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20035         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20036         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20037         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20038         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20040         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20041         global and hidden.
20042         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20043         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20044         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20045         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20046         Likewise.
20047         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20048         Likewise.
20049         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20050         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20051         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20052         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20053         ifunc-impl-list.c.
20054         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20055         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20056         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20057         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20058         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20059         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20060         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20061         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20062         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20063         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20064         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20065         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20066         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20067         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20068         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20069         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20070         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20071         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20072         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20073         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20074         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20075         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20076         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20077         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20078         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20079         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20080         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20081         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20082         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20083         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20084         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20085         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20086         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20087         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20088         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20089         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20090         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20091         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20092         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20093         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20094         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20096         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20097         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20098         * include/ifunc-impl-list.h: New file.
20099         * misc/ifunc-impl-list.c: Likewise.
20100         * misc/Makefile (routines): Add ifunc-impl-list.
20101         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20102         * string/test-string.h: Include <ifunc-impl-list.h>.
20103         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20104         impl_array): New variables.
20105         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20106         are defined.
20107         (test_init): Call __libc_ifunc_impl_list to initialize
20108         func_list if TEST_IFUNC and TEST_NAME are defined.
20110         * string/Makefile (strop-tests): Add bcopy and bzero.
20111         * string/test-bcopy.c: New file.
20112         * string/test-bzero.c: Likewise.
20113         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20114         defined.
20115         * string/test-memset.c: Support bzero test if TEST_BZERO is
20116         defined.
20117         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20118         __libc_memmove.
20119         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20120         __libc_memset.
20121         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20122         of memset.
20124 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
20126         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20127         * configure: Regenerated.
20129         * Makeconfig (+link-static-before-libc): Don't include
20130         $(link-static-libc).
20132         * libio/libio.h (_IO_pos_t): Remove.
20134 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
20136         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
20137         McGrath.
20139 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
20141         * crypt/crypt-entry.c: Include fips-private.h.
20142         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20143         * crypt/md5c-test.c (main): Tolerate disabled MD5.
20144         * sysdeps/unix/sysv/linux/fips-private.h: New file.
20145         * sysdeps/generic/fips-private.h: New file, dummy fallback.
20147 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
20149         * crypt/crypt-private.h: Include stdbool.h.
20150         (_ufc_setup_salt_r): Return bool.
20151         * crypt/crypt-entry.c: Include errno.h.
20152         (__crypt_r): Return NULL with EINVAL for bad salt.
20153         * crypt/crypt_util.c (bad_for_salt): New.
20154         (_ufc_setup_salt_r): Check that salt is long enough and within
20155         the specified alphabet.
20156         * crypt/badsalttest.c: New file.
20157         * crypt/Makefile (tests): Add it.
20158         ($(objpfx)badsalttest): New.
20160 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
20162         * NEWS: Add entry for BZ #14602.
20164 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
20166         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20167         type-generic.
20168         * math/libm-test.inc: Update comment listing what functions and
20169         macros are tested.
20170         (isgreater_test): New function.
20171         (isgreaterequal_test): Likewise.
20172         (isless_test): Likewise.
20173         (islessequal_test): Likewise.
20174         (islessgreater_test): Likewise.
20175         (isunordered_test): Likewise.
20176         (main): Call the new functions.
20178 2012-10-09  Roland McGrath  <roland@hack.frob.com>
20180         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20181         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20182         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20183         * sysdeps/i386/configure: Regenerated.
20184         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20185         * sysdeps/mach/configure: Regenerated.
20186         * sysdeps/mach/hurd/configure: Regenerated.
20187         * sysdeps/powerpc/configure: Regenerated.
20188         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20189         * sysdeps/powerpc/powerpc64/configure: Regenerated.
20190         * sysdeps/s390/s390-32/configure: Regenerated.
20191         * sysdeps/s390/s390-64/configure: Regenerated.
20192         * sysdeps/sh/configure: Regenerated.
20193         * sysdeps/sparc/configure: Regenerated.
20194         * sysdeps/unix/sysv/linux/configure: Regenerated.
20195         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20196         * sysdeps/x86_64/configure: Regenerated.
20198         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20199         defined.  Don't check if MAP is NULL.
20201 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
20203         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20204         (_G_stat64): Likewise.
20205         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20206         (_G_stat64): Likewise.
20207         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20208         instead of struct _G_stat64.
20209         * libio/fileops.c (mmap_remap_check): Likewise.
20210         (decide_maybe_mmap): Likewise.
20211         (_IO_new_file_seekoff): Likewise.
20212         (_IO_file_stat): Likewise.
20213         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20214         _G_off64_t.
20215         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20216         instead of struct _G_stat64.
20217         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20219 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
20221         [BZ #14602]
20222         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20223         Replace with ...
20224         (CHECK_EOL): New macro.
20225         (two_way_short_needle): Check beginning of haystack for EOL.  Use
20226         CHECK_EOL.
20227         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20228         Replace with CHECK_EOL.
20229         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20230         Replace with CHECK_EOL.
20232 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
20234         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20235         type-generic.
20236         * math/libm-test.inc: Update comment listing what functions and
20237         macros are tested.
20238         (finite_test): New function.
20239         (isinf_test): Likewise.
20240         (isnan_test): Likewise.
20241         (fpclassify_test): Test subnormal input.
20242         (isfinite_test): Likewise.
20243         (isnormal_test): Likewise.
20244         (main): Call the new functions.
20246 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
20248         [BZ #14660]
20249         * Makerules (%.dynsym): Force C locale when running
20250         $(OBJDUMP) --dynamic-syms.
20252 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
20254         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20255         <stdint.h>.
20257 2012-10-06  David S. Miller  <davem@davemloft.net>
20259         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20260         upper 32-bits of the length value in %o2 since we use branch-on-register
20261         tests which consider the entire 64-bit register.
20263 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
20265         * string/test-strstr.c (check2): Add a test for page boundary.
20267 2012-10-05  David S. Miller  <davem@davemloft.net>
20269         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20270         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20271         file.
20272         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20273         sysdep_routines.
20274         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20275         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20276         and bzero when HWCAP_SPARC_CRYPTO is present.
20278 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
20280         [BZ #14602]
20281         * string/test-strstr.c (check2): New function.
20282         (test_main): Call check2.
20284         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20285         and bug-strchr1.
20286         * string/bug-strcasestr1.c (do_test): Moved to ...
20287         * string/test-strcasestr.c (check1): Here.  New function.
20288         (do_one_test): Break out result checking code into ...
20289         (check_result): This.  New function.
20290         (do_one_test): Call check_result.
20291         (test_main): Call check1.
20292         * string/bug-strchr1.c (do_test): Moved to ...
20293         * string/test-strchr.c (check1): Here.  New function.
20294         (do_one_test): Break out result checking code into ...
20295         (check_result): This.  New function.
20296         (do_one_test): Call check_result.
20297         (test_main): Call check1.
20298         * string/bug-strstr1.c (main): Moved to ...
20299         * string/test-strstr.c (check1): Here.  New function.
20300         (do_one_test): Break out result checking code into ...
20301         (check_result): This.  New function.
20302         (do_one_test): Call check_result.
20303         (test_main): Call check1.
20304         * string/bug-strcasestr1.c: Removed.
20305         * string/bug-strchr1.c: Likewise.
20306         * string/bug-strstr1.c: Likewise.
20308         * elf/Makefile (dl-routines): Add hwcaps.
20309         * elf/dl-support.c (_dl_important_hwcaps): Removed.
20310         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20311         (_dl_important_hwcaps): Moved to ...
20312         * elf/dl-hwcaps.c: Here.  New file.
20313         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20315         [BZ #14557]
20316         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20317         if IS_IN_rtld isn't defined.
20319         * elf/dl-support.c (_dl_sysinfo_map): New.
20320         Include "get-dynamic-info.h" and "setup-vdso.h".
20321         (_dl_non_dynamic_init): Call setup_vdso.
20322         * elf/dynamic-link.h: Don't include <assert.h>.
20323         (elf_get_dynamic_info): Moved to ...
20324         * elf/get-dynamic-info.h: Here.  New file.
20325         * elf/dynamic-link.h: Include "get-dynamic-info.h".
20326         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20327         * elf/setup-vdso.h: Here.  New file.
20328         * elf/rtld.c: Include "setup-vdso.h".
20329         (dl_main): Call setup_vdso.
20331 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
20333         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20334         creal in comment listing functions tested.  List finite, isinf,
20335         isnan, isless, islessequal, isgreater, isgreaterequal,
20336         islessgreater, isunordered, lgamma_r and pow10 as functions and
20337         macros not tested.  Mention which functions not tested are aliases
20338         for other functions.  Fix typo.  Note that signs of NaNs are not
20339         tested.
20341         * scripts/config.guess: Update from config.git.
20342         * scripts/config.sub: Likewise.
20344 2012-10-04  Roland McGrath  <roland@hack.frob.com>
20346         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20347         * misc/madvise.c (madvise): Renamed to __madvise.
20348         Make madvise a weak alias.
20349         * include/sys/mman.h: Declare __madvise.
20350         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20351         * sysdeps/unix/syscalls.list
20352         (madvise): Make __madvise the strong name, and madvise a weak alias.
20353         * sysdeps/unix/sysv/linux/syscalls.list
20354         (madvise, mmap): Remove redundant entries.
20355         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20356         * malloc/malloc.c (mtrim): Likewise.
20357         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20359 2012-10-03  Roland McGrath  <roland@hack.frob.com>
20361         * sysdeps/mach/hurd/dl-cache.c: File removed.
20362         * config.h.in (USE_LDCONFIG): New #undef.
20363         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20364         * configure: Regenerated.
20365         * elf/Makefile (dl-routines): Add dl-cache only under
20366         [$(use-ldconfig) = yes].
20367         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20368         cache on [USE_LDCONFIG].
20369         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20370         [USE_LDCONFIG].
20371         * elf/rtld.c (dl_main): Likewise.
20373 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
20375         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20376         _SC_LEVEL4_CACHE_LINESIZE.
20378 2012-10-03  Roland McGrath  <roland@hack.frob.com>
20380         * sysdeps/unix/bsd/confstr.h: File removed.
20382 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
20384         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20385         sys/sdt-config.h.
20387 2012-10-02  Roland McGrath  <roland@hack.frob.com>
20389         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20390         Make 'mapoff' field ElfW(Off) rather than off_t.
20392 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
20394         * nscd/Makefile: Remove nscd-cflags and all its users.
20395         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20396         (CFLAGS-nonlib): Add compiler flags for nscd modules.
20398         [BZ #10631]
20399         * malloc.c (malloc_printerr): Clarify error message.
20401 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
20403         [BZ #14648]
20404         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20405         Set bit_FMA_Usable if FMA is supported.
20406         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20407         macro.
20408         (bit_FMA4_Usable): Updated.
20409         (index_FMA_Usable): New macro.
20410         (CPUID_FMA): Likewise
20411         (HAS_FMA): Defined with bit_FMA_Usable.
20413 2012-10-01  Roland McGrath  <roland@hack.frob.com>
20415         * bits/types.h (__swblk_t): Type removed.
20416         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20417         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20418         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20419         (__SWBLK_T_TYPE): Likewise.
20420         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20421         (__SWBLK_T_TYPE): Likewise.
20422         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20423         (__SWBLK_T_TYPE): Likewise.
20424         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20425         (__SWBLK_T_TYPE): Likewise.
20427 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
20428             Honza Horak <hhorak@redhat.com>
20430         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20431         (xdr_mapname): Use YPMAXMAP as maxsize.
20432         (xdr_peername): Use YPMAXPEER as maxsize.
20433         (xdr_keydat): Use YPAXRECORD as maxsize.
20434         (xdr_valdat): Use YPMAXRECORD as maxsize.
20436 2012-10-01  Roland McGrath  <roland@hack.frob.com>
20438         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20440         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20441         * csu/init-first.c: ... here.
20442         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20443         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20444         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20445         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20446         * sysdeps/i386/init-first.c: File removed.
20447         * sysdeps/sh/init-first.c: File removed.
20449 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
20451         [BZ #14645]
20452         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20453         if x * y might underflow to zero and z is zero.
20454         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20455         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20456         * math/libm-test.inc (min_subnorm_value): New variable.
20457         (fma_test): Add more tests.
20458         (fma_test_towardzero): Likewise.
20459         (fma_test_downward): Likewise
20460         (fma_test_upward): Likewise.
20461         (initialize): Set min_subnorm_value.
20463 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
20465         [BZ #14638]
20466         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20467         0 + 0.
20468         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20469         mode for addition resulting in exact zero.
20470         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20471         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20472         exact 0 + 0.
20473         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20474         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20475         * math/libm-test.inc (fma_test): Add more tests.
20476         (fma_test_towardzero): New function.
20477         (fma_test_downward): Likewise.
20478         (fma_test_upward): Likewise.
20479         (main): Call the new functions.
20481 2012-09-28  David S. Miller  <davem@davemloft.net>
20483         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20485 2012-09-28  Roland McGrath  <roland@hack.frob.com>
20487         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20488         instead of SIGALRM.
20490         * sysdeps/gnu/_G_config.h: Moved to ...
20491         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20492         * sysdeps/mach/hurd/_G_config.h: Moved to ...
20493         * sysdeps/generic/_G_config.h: ... here.
20495         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
20497         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20499         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20500         Conditionalize target on [libnss_test1.so-version].
20502         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20504         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20505         (elfobjdir): Move out of conditionals.
20507         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20508         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20509         (__nss_lookup_function): Conditionalize label remove_from_tree on
20510         [!DO_STATIC_NSS || SHARED], matching its only use.
20512 2012-09-28  David S. Miller  <davem@davemloft.net>
20514         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20515         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20516         file.
20517         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20518         sysdep_routines.
20519         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20520         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20521         when HWCAP_SPARC_CRYPTO is present.
20523 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
20525         * io/tst-mknodat.c: Create a FIFO instead of a socket.
20527 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
20529         [BZ #6530]
20530         * stdio-common/vfprintf.c (process_string_arg): Revert
20531         2000-07-22 change.
20533 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
20535         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20536         for testcase.
20537         * stdio-common/tst-sprintf.c: Include <locale.h>
20538         (main): Test sprintf's handling of incomplete multibyte
20539         characters.
20541 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
20543         * elf/dl-runtime.c (VERSYMIDX): Removed.
20544         * elf/dl-version.c (VERSYMIDX): Likewise.
20545         * elf/do-rel.h (VERSYMIDX): Likewise.
20546         (VALIDX): Likewise.
20547         * elf/dynamic-link.h (VERSYMIDX): Likewise.
20548         * elf/rtld.c (VALIDX): Likewise.
20549         (ADDRIDX): Likewise.
20550         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20551         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20552         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
20553         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20554         (VALIDX): Likewise.
20555         (ADDRIDX): Likewise.
20557 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
20559         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20561 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
20563         [BZ #11438]
20564         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20565         to global scope.
20566         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20567         addresses are in the same scope as 192.0.2/24.
20568         * posix/gai.conf: Document new scope table defaults.
20570 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20572         [BZ #5298]
20573         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20574         for ftell.  Compute offsets from write pointers instead.
20575         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20577 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20579         [BZ #14543]
20580         * libio/Makefile (tests): New test case tst-fseek.
20581         * libio/tst-fseek.c: New test case to verify that fseek/ftell
20582         combination works in wide mode.
20583         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20584         state when the external buffer state changes.
20586 2012-09-27  David S. Miller  <davem@davemloft.net>
20588         [BZ #14376]
20589         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20590         pass reloc->r_addend in as the 'high' argument to
20591         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20595 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
20597         * rt/tst-aio2.c: Include <pthread.h>.
20598         * rt/tst-aio3.c: Likewise.
20600 2012-09-27  Steve Ellcey  <sellcey@mips.com>
20602         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20604 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
20606         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20607         contents on [SHARED].
20609 2012-09-26  Marek Polacek  <polacek@redhat.com>
20611         [BZ #14530]
20612         [BZ #13741]
20613         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20614         for C++ and GCC <4.3 as well as for non GCC compilers.
20616 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20618         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20620 2012-09-25  Roland McGrath  <roland@hack.frob.com>
20622         * Makefile.in (all, install): Declare with .PHONY.
20623         Reported by Michael Hope <michael.hope@linaro.org>.
20625 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20627         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20628         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20629         system header.
20630         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20631         Likewise.
20632         (sydep_routines): Add the new and the internal functions.
20633         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20634         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20636         (GLIBC_2.17): Add the new function.
20637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20638         (GLIBC_2.17): Likewise.
20639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20640         (GLIBC_2.17): Likewise.
20641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20642         (GLIBC_2.17): Likewise.
20643         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20645 2012-09-25  Alan Modra  <amodra@gmail.com>
20647         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20648         Add release barrier before setting once_control to say
20649         initialisation is done.  Add hints on lwarx.  Use macro in
20650         place of isync.
20651         (clear_once_control): Add release barrier.
20653 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
20655         [BZ #13629]
20656         * math/s_clog.c (__clog): Handle more values close to |z| = 1
20657         specially.
20658         * math/s_clog10.c (__clog10): Likewise.
20659         * math/s_clog10f.c (__clog10f): Likewise.
20660         * math/s_clog10l.c (__clog10l): Likewise.
20661         * math/s_clogf.c (__clogf): Likewise.
20662         * math/s_clogl.c (__clogl): Likewise.
20663         * math/Makefile (libm-calls): Add x2y2m1.
20664         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20665         (__x2y2m1): Likewise.
20666         (__x2y2m1l): Likewise.
20667         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20668         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20669         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20670         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20671         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20672         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20673         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20674         * sysdeps/i386/fpu/libm-test-ulps: Update.
20675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20677         [BZ #14621]
20678         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20679         int as type of variable DEPTH.
20680         (glob): Use size_t instead of int as type of variables NEWCOUNT
20681         and OLD_PATHC.
20683 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20685         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20686         Add s_sincosf-sse2.
20687         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20688         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20689         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20690         macros for using routine as __sincosf_ia32.
20691         Use macro for function declaration and weak_alias.
20692         * sysdeps/i386/fpu/libm-test-ulps: Update.
20694         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20697         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
20698         subnormal argument.
20699         * math/s_cexpf.c (__cexpf): Likewise.
20700         * math/s_csinf.c (__csinf): Likewise.
20701         * math/s_csinhf.c (__csinhf): Likewise.
20702         * math/s_ctanf.c (__ctanf): Likewise.
20703         * math/s_ctanhf.c (__ctanhf): Likewise.
20704         * math/s_ccosh.c (__ccoshf): Likewise.
20705         * math/s_cexp.c (__cexpl): Likewise.
20706         * math/s_csin.c (__csin): Likewise.
20707         * math/s_csinh.c (__csinh): Likewise.
20708         * math/s_ctan.c (__ctan): Likewise.
20709         * math/s_ctanh.c (ctanh): Likewise.
20710         * math/s_ccoshl.c (__ccoshl): Likewise.
20711         * math/s_cexpl.c (__cexpl): Likewise.
20712         * math/s_csinl.c (__csinl): Likewise.
20713         * math/s_csinhl.c (__csinhl): Likewise.
20714         * math/s_ctanl.c (__ctanl): Likewise.
20715         * math/s_ctanhl.c (__ctanhl): Likewise.
20717 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
20719         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20720         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20721         (_IO_off_t): Define to __off_t, not _G_off_t.
20722         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20723         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20724         (_IO_wint_t): Define to wint_t, not _G_wint_t.
20725         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20726         type of __dummy and __dummy2 fields.
20727         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20728         (_G_ssize_t): Likewise.
20729         (_G_off_t): Likewise.
20730         (_G_pid_t): Likewise.
20731         (_G_uid_t): Likewise.
20732         (_G_wchar_t): Likewise.
20733         (_G_wint_t): Likewise.
20734         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20735         (_G_ssize_t): Likewise.
20736         (_G_off_t): Likewise.
20737         (_G_pid_t): Likewise.
20738         (_G_uid_t): Likewise.
20739         (_G_wchar_t): Likewise.
20740         (_G_wint_t): Likewise.
20741         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20742         (_G_ssize_t): Likewise.
20743         (_G_off_t): Likewise.
20744         (_G_pid_t): Likewise.
20745         (_G_uid_t): Likewise.
20746         (_G_wchar_t): Likewise.
20747         (_G_wint_t): Likewise.
20749 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20751         * malloc/arena.c: Include malloc-sysdep.h.
20752         (shrink_heap): Use check_may_shrink_heap to decide if madvise
20753         is sufficient to shrink the heap or an unmap is needed.
20754         * sysdeps/generic/malloc-sysdep.h: New file.  Define
20755         new function check_may_shrink_heap.
20756         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
20757         new function check_may_shrink_heap.
20759 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20761         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20762         comments.
20764 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
20766         * catgets/test-gencat.sh: Add "set -e".
20767         * elf/tst-pathopt.sh: Likewise.
20768         * grp/tst_fgetgrent.sh: Likewise.
20769         * iconvdata/run-iconv-test.sh: Likewise.
20770         * intl/tst-gettext.sh: Likewise.
20771         * intl/tst-gettext2.sh: Likewise.
20772         * intl/tst-gettext4.sh: Likewise.
20773         * intl/tst-gettext6.sh: Likewise.
20774         * intl/tst-translit.sh: Likewise.
20775         * io/ftwtest-sh: Likewise.
20776         * libio/test-freopen.sh: Likewise.
20777         * malloc/tst-mtrace.sh: Likewise.
20778         * posix/globtest.sh: Likewise.
20779         * posix/tst-getconf.sh: Likewise.
20780         * posix/wordexp-tst.sh: Likewise.
20781         * stdio-common/tst-printf.sh: Likewise.
20782         * stdio-common/tst-unbputc.sh: Likewise.
20783         * stdlib/tst-fmtmsg.sh: Likewise.
20784         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20785         * catgets/Makefile: Do not specify -e option when running
20786         testsuite shell scripts.
20787         * elf/Makefile: Likewise.
20788         * grp/Makefile: Likewise.
20789         * iconvdata/Makefile: Likewise.
20790         * intl/Makefile: Likewise.
20791         * io/Makefile: Likewise.
20792         * libio/Makefile: Likewise.
20793         * malloc/Makefile: Likewise.
20794         * posix/Makefile: Likewise.
20795         * stdio-common/Makefile: Likewise.
20796         * stdlib/Makefile: Likewise.
20797         * sysdeps/x86_64/Makefile: Likewise.
20799         * io/ftwtest-sh: Add copyright header.
20800         * posix/globtest.sh: Likewise.
20801         * posix/tst-getconf.sh: Likewise.
20802         * posix/wordexp-tst.sh: Likewise.
20803         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20805 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
20807         [BZ #13679]
20808         * Makeconfig (+link): Defined as $(+link-static) if
20809         $(build-shared) isn't yes.
20810         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20811         isn't yes.
20812         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20814         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20816         [BZ #14562]
20817         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20818         new chunk size with MALLOC_ALIGN_MASK.
20820 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
20822         [BZ #5044]
20823         * stdio-common/printf_fphex.c: Include <stdbool.h> and
20824         <rounding-mode.h>.
20825         (__printf_fphex): Determine rounding using get_rounding_mode and
20826         round_away.
20827         * stdio-common/tst-printf-round.c (struct hex_test): New
20828         structure.
20829         (hex_tests): New variable.
20830         (test_hex_in_one_mode): New function.
20831         (do_test): Also run tests for hex float output.
20833 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
20835         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20836         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20837         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20838         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20839         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20840         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20841         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20842         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20844 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
20846         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20847         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20848         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20849         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20851 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
20853         [BZ #14579]
20854         * elf/rtld.c (dl_main): Limit the check for self loading to normal
20855         mode only.
20856         * elf/tst-rtld-load-self.sh: New test.
20857         * elf/Makefile: Run it.
20859 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
20861         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20862         (tst-writev-ENV): Remove.
20863         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20865 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
20867         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20869 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
20871         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20872         unconditional.
20873         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20874         Likewise.
20875         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20876         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20877         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20878         Likewise.
20880 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
20882         [BZ #14587]
20883         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20884         * config.make.in (have-cpp-asm-debuginfo): Removed.
20885         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20886         * configure: Regenerated.
20888 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
20890         [BZ #5044]
20891         * stdio-common/printf_fp.c: Include <stdbool.h> and
20892         <rounding-mode.h>.
20893         (___printf_fp): Determine rounding using get_rounding_mode and
20894         round_away.
20895         * stdio-common/tst-printf-round.c: New file.
20896         * stdio-common/Makefile (tests): Add tst-printf-round.
20897         (link-libm): New variable.
20898         ($(objpfx)tst-printf-round): Depend in $(link-libm).
20900 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
20902         [BZ #14576]
20903         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20904         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20905         Likewise.
20906         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20907         Likewise.
20909 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
20911         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20912         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20913         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20914         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20916 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
20918         [BZ #14518]
20919         * include/rounding-mode.h: New file.
20920         * sysdeps/generic/get-rounding-mode.h: Likewise.
20921         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20922         * stdlib/strtod_l.c: Include <rounding-mode.h>.
20923         (MAX_VALUE): New macro.
20924         (MIN_VALUE): Likewise.
20925         (overflow_value): New function.
20926         (underflow_value): Likewise.
20927         (round_and_return): Use overflow_value and underflow_value to
20928         determine return values in overflow and underflow cases.  Use
20929         round_away to determine rounding depending on rounding mode.
20930         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20931         determine return values in overflow and underflow cases.
20932         * stdlib/tst-strtod-round.c: Include <fenv.h>.
20933         (struct test_results): New structure.
20934         (struct test): Use struct test_results to store expected results
20935         for all rounding modes.
20936         (TEST): Include expected results for all rounding modes.
20937         (test_in_one_mode): New function.
20938         (do_test): Use test_in_one_mode to compute and check results.
20939         Check results for all rounding modes.
20940         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20941         $(link-libm).
20943 2012-12-09  Allan McRae  <allan@archlinux.org>
20945         * sysdeps/i386/fpu/libm-test-ulps: Update
20947 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
20949         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20950         (_G_int32_t): Likewise.
20951         (_G_uint16_t): Likewise.
20952         (_G_uint32_t): Likewise.
20953         (_G_HAVE_BOOL): Likewise.
20954         (_G_HAVE_ATEXIT): Likewise.
20955         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20956         (_G_HAVE_IO_FILE_OPEN): Likewise.
20957         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20958         (_G_int32_t): Likewise.
20959         (_G_uint16_t): Likewise.
20960         (_G_uint32_t): Likewise.
20961         (_G_HAVE_BOOL): Likewise.
20962         (_G_HAVE_ATEXIT): Likewise.
20963         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20964         (_G_HAVE_IO_FILE_OPEN): Likewise.
20965         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20966         (_G_int32_t): Likewise.
20967         (_G_uint16_t): Likewise.
20968         (_G_uint32_t): Likewise.
20969         (_G_HAVE_BOOL): Likewise.
20970         (_G_HAVE_ATEXIT): Likewise.
20971         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20972         (_G_HAVE_IO_FILE_OPEN): Likewise.
20974 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
20976         * csu/libc-tls.c: Update copyright years.
20978 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
20980         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20981         [!_G_USING_THUNKS]: Remove conditional code.
20982         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20983         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20985         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20986         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20987         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20988         (_G_VTABLE_LABEL_PREFIX): Likewise.
20989         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20990         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20991         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20992         (_G_VTABLE_LABEL_PREFIX): Likewise.
20993         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20994         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20995         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20996         (_G_VTABLE_LABEL_PREFIX): Likewise.
20997         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20999 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
21001         * libio/Makefile: Include ../Makeconfig before tests.
21002         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
21003         only if $(build-shared) is yes.
21005         * iconv/gconv_db.c: Update copyright years.
21007 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21009         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
21010         unwind info if defined PIC. Fix special cases description.
21011         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
21013         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
21014         DP_HI_MASK entry.
21015         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
21017 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
21019         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
21021         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
21022         is NULL.
21024         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
21025         (LDLIBS-tst-chk4): This.
21026         (LDFLAGS-tst-chk5): Renamed to ...
21027         (LDLIBS-tst-chk5): This.
21028         (LDFLAGS-tst-chk6): Renamed to ...
21029         (LDLIBS-tst-chk6): This.
21030         (LDFLAGS-tst-lfschk4): Renamed to ...
21031         (LDLIBS-tst-lfschk4): This.
21032         (LDFLAGS-tst-lfschk5): Renamed to ...
21033         (LDLIBS-tst-lfschk5): This.
21034         (LDFLAGS-tst-lfschk6): Renamed to ...
21035         (LDLIBS-tst-lfschk6): This.
21037         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21038         on $(common-objpfx)soversions.mk.
21040 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
21042         [BZ #10014]
21043         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21044         example host name.
21046 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21048         * malloc/arena.c (arena_get_retry): New function that gets
21049         another arena for the caller to try its request on.
21050         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21051         current arena cannot fulfill the request.
21052         (__libc_memalign): Likewise.
21053         (__libc_memalign): Likewise.
21054         (__libc_pvalloc): Likewise.
21055         (__libc_calloc): Likewise.
21057 2012-09-05  John Tobey  <john.tobey@gmail.com>
21059         [BZ #13542]
21060         * manual/arith.texi (Operations on Complex): Fix description
21061         of carg branch cut.
21063 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
21065         [BZ #10014]
21066         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21067         host name.
21069         [BZ #10038]
21070         * manual/memory.texi (Memory): Make order of menu items match
21071         order of sections.
21073 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
21075         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21076         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
21077         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21079 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
21081         * csu/libc-tls.c (static_dtv): Renamed to ...
21082         (_dl_static_dtv): This.  Make it global.
21083         (_dl_initial_dtv): Removed.
21084         (__libc_setup_tls): Updated.
21085         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21086         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21087         DL_INITIAL_DTV.
21089 2012-09-06  Petr Machata  <pmachata@redhat.com>
21091         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21092         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21093         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21094         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21096 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
21098         [BZ #14545]
21099         * csu/libc-tls.c (_dl_initial_dtv): New variable.
21100         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21101         freeing dtv[-1].
21103 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
21105         [BZ #14544]
21106         * Makeconfig (link-static-before-libc): Replace $(+prector)
21107         with $(+prectorT).
21108         (link-static-after-libc): Replace $(+postctor) with
21109         $(+postctorT).
21110         (link-bounded): Replace $(+prector)/$(+postctor) with
21111         $(+prectorT)/$(+postctorT).
21112         (+prectorT): New macro.
21113         (+postctorT): Likewise.
21115 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
21117         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21118         (round_str): Handle values above the maximum for IBM long double
21119         as inexact.
21120         * stdlib/tst-strtod-round.c (tests): Regenerated.
21122 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21124         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21125         assembler flag.
21126         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21127         zarch_nohighgprs around the zarch optimized routines.
21128         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21129         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21130         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21131         for zarch.
21133 2012-09-05  David S. Miller  <davem@davemloft.net>
21135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21137         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21138         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21139         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21140         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21141         entries.
21143 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
21145         * malloc/arena.c: Fold copyright years.
21146         * malloc/mcheck.c, malloc/memusage.c: Likewise.
21148 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
21150         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21152 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
21154         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
21156 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
21158         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21159         change internal state upon failure.
21161 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
21163         * malloc/mcheck.c (mcheck_check_all): Fix typo.
21164         * malloc/memusage.c (mmap): Likewise.
21165         (mmap64, mremap): Likewise.  Adjust name in comment.
21167 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21169         * libio/fileops.c: Fix typos in comments.
21170         * libio/oldfileops.c: Likewise.
21171         * libio/wfileops.c: Likewise.
21173 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21175         [BZ #1349]
21176         * malloc/Makefile (tests): Add tst-malloc-usable test case.
21177         (tst-malloc-usable-ENV): Set environment for test case.
21178         * malloc/hooks.c (malloc_check_get_size): New function to get
21179         requested size.
21180         * malloc/malloc.c (musable): Use malloc_check_get_size.
21181         * malloc/tst-malloc-usable.c: New test case.
21183 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
21185         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21187 2012-09-05  Allan McRae  <allan@archlinux.org>
21189         [BZ #13966]
21190         * configure.in (CXX_SYSINCLUDES): Use compiler output to
21191         determine header location.
21192         * configure: Regenerated.
21194 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
21196         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21197         float format.
21198         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
21199         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21200         format.
21201         (test): Regenerate.
21203 2012-09-04  David S. Miller  <davem@davemloft.net>
21205         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21206         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21207         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21209 2012-09-04  Florian Weimer  <fweimer@redhat.com>
21211         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21212         failures.
21214         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21216 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
21218         [BZ #9914]
21219         * libio/iogetdelim.c: Include <limits.h>.
21220         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21221         + len + 1 would overflow.
21223 2012-09-03  Andreas Jaeger  <aj@suse.de>
21225         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21226         * sysdeps/i386/fpu/libm-test-ulps: Update.
21228 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21230         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21231         Add s_sinf-sse2, s_conf-sse2.
21233         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21234         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21235         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21236         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21238         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21239         for using routine as __sinf_ia32.
21240         Use macro for function declaration and weak_alias.
21241         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21242         for using routine as __cosf_ia32.
21243         Use macro for function declaration and weak_alias.
21245         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21246         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21248         * sysdeps/x86_64/fpu/s_sinf.S: New file.
21249         * sysdeps/x86_64/fpu/s_cosf.S: New file.
21250         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21252         * math/libm-test.inc (cos_test): Add more test cases.
21253         (sin_test): Likewise.
21254         (sincos_test): Likewise.
21256 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21258         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21259         (IFUNC_RESOLVE): Make pointers to the specialized implementations
21260         hidden.
21261         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21263 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
21265         [BZ #14538]
21266         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21267         first element of the GOT.
21268         (elf_machine_load_address): Return the difference between
21269         the runtime address of _DYNAMIC and elf_machine_dynamic ().
21271 2012-09-01  Allan McRae  <allan@archlinux.org>
21273         [BZ #13412]
21274         * configure.in (AWK): Require gawk version 3.0 or later.
21275         * configure: Regenerated.
21277 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
21279         * sysdeps/unix/sysv/linux/kernel-features.h
21280         (__ASSUME_POSIX_CPU_TIMERS): Remove.
21281         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21282         [__NR_clock_getres]: Make code unconditional.
21283         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21284         (clock_getcpuclockid): Remove code left unreachable by removal of
21285         conditionals.
21286         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21287         code unconditional.
21288         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21289         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21290         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21291         Make code unconditional.
21292         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21293         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21294         * sysdeps/unix/sysv/linux/clock_settime.c
21295         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21296         conditional code.
21297         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21298         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21300 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
21302         [BZ #14476]
21303         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21304         scripts/test-installation.pl.
21306         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21307         and $ld_so_version if it is set.
21309 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21311         [BZ #14516]
21312         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21313         failure if reading from procfs failed.
21314         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21316 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
21318         * sysdeps/unix/sysv/linux/kernel-features.h
21319         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21320         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21321         Remove conditional code.
21322         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21323         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21324         Remove conditional code.
21325         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21326         * sysdeps/unix/sysv/linux/i386/fxstat.c
21327         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21328         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21329         * sysdeps/unix/sysv/linux/i386/fxstatat.c
21330         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21331         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21332         * sysdeps/unix/sysv/linux/i386/lxstat.c
21333         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21334         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21335         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21336         Remove conditional code.
21337         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21338         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21339         Remove conditional code.
21340         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21341         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21342         <kernel-features.h>.
21343         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21344         Remove.
21345         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21346         Remove conditional code.
21347         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21348         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21349         Remove conditional.
21351 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
21353         [BZ #5400]
21354         * NEWS: Add fixed bug number.
21356 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
21358         [BZ #14519]
21359         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21360         underflowing exponent in case of negative sign.
21361         * stdlib/tst-strtod-round-data: Add more tests.
21362         * stdlib/tst-strtod-round.c (tests): Regenerated.
21364         [BZ #3479]
21365         * stdlib/strtod_l.c (NDIG): Remove.
21366         (HEXNDIG): Likewise.
21367         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21368         smallest representable value.
21369         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21370         lie within an exact representation of 1/2 ulp of the result.
21371         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21372         unconditionally.
21373         (TENS_P9_IDX): Define unconditionally.
21374         (TENS_P9_SIZE): Likewise.
21375         (TENS_P10_IDX): Likewise.
21376         (TENS_P10_SIZE): Likewise.
21377         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21378         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21379         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21380         entries for 10^2^13 and 10^2^14.
21381         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21382         (TENS_P13_IDX): Define.
21383         (TENS_P13_SIZE): Likewise.
21384         (TENS_P14_IDX): Likewise.
21385         (TENS_P14_SIZE): Likewise.
21386         (_fpioconst_pow10): Change array size to
21387         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
21388         unconditional.
21389         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21390         1024]: Add entries for 10^2^13 and 10^2^14.
21391         [LAST_POW10 > _LAST_POW10]: Remove #error.
21392         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21393         (_fpioconst_pow10): Change array size to
21394         FPIOCONST_POW10_ARRAY_SIZE.
21395         * stdlib/gen-fpioconst.c: New file.
21396         * stdlib/gen-tst-strtod-round.c: Likewise.
21397         * stdlib/tst-strtod-round-data: Likewise.
21398         * stdlib/tst-strtod-round.c: Likewise.
21399         * stdlib/Makefile (tests): Add tst-strtod-round.
21401         [BZ #14459]
21402         * stdlib/strtod_l.c: Include <stdint.h>.
21403         (NDEBUG): Do not define.
21404         (round_and_return): Change EXPONENT parameter to type intmax_t.
21405         Rearrange calculations to avoid internal overflow possibilities.
21406         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21407         Rearrange calculations to avoid internal overflow possibilities.
21408         Assert that number fits inside MPNSIZE limbs.
21409         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21410         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
21411         calculations and add assertions to avoid internal overflow
21412         possibilities.  Add casts to avoid signed/unsigned operations.
21413         * stdlib/tst-strtod-overflow.c: New file.
21414         * stdlib/Makefile (tests): Add tst-strtod-overflow.
21416 2012-08-25  Marek Polacek  <polacek@redhat.com>
21418         * time/time.h: Fix some typos in comments.
21420 2012-08-23  Roland McGrath  <roland@hack.frob.com>
21422         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21423         * posix/tst-rfc3484-2.c: Likewise.
21424         * posix/tst-rfc3484-3.c: Likewise.
21426 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
21428         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21429         (EF_ARM_ABI_FLOAT_HARD): Likewise.
21431 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
21433         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21434         #include of fxstatat64.c.
21436 2012-08-22  Roland McGrath  <roland@hack.frob.com>
21438         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21439         * shadow/getspent_r.c: Likewise.
21440         * shadow/getspnam.c: Likewise.
21441         * shadow/getspnam_r.c: Likewise.
21442         * gshadow/getsgent.c: Likewise.
21443         * gshadow/getsgent_r.c: Likewise.
21444         * gshadow/getsgnam.c: Likewise.
21445         * gshadow/getsgnam_r.c: Likewise.
21446         * inet/getnetbyad.c: Likewise.
21447         * inet/getnetbyad_r.c: Likewise.
21448         * inet/getnetbynm.c: Likewise.
21449         * inet/getnetbynm_r.c: Likewise.
21450         * inet/getnetent.c: Likewise.
21451         * inet/getnetent_r.c: Likewise.
21452         * inet/getproto.c: Likewise.
21453         * inet/getproto_r.c: Likewise.
21454         * inet/getprtent.c: Likewise.
21455         * inet/getprtent_r.c: Likewise.
21456         * inet/getprtname.c: Likewise.
21457         * inet/getprtname_r.c: Likewise.
21458         * inet/getrpcbyname.c: Likewise.
21459         * inet/getrpcbyname_r.c: Likewise.
21460         * inet/getrpcbynumber.c: Likewise.
21461         * inet/getrpcbynumber_r.c: Likewise.
21462         * inet/getrpcent.c: Likewise.
21463         * inet/getrpcent_r.c: Likewise.
21464         * inet/getaliasent.c: Likewise.
21465         * inet/getaliasent_r.c: Likewise.
21466         * inet/getaliasname.c: Likewise.
21467         * inet/getaliasname_r.c: Likewise.
21468         * nscd/getgrgid_r.c: Likewise.
21469         * nscd/getgrnam_r.c: Likewise.
21470         * nscd/gethstbyad_r.c: Likewise.
21471         * nscd/gethstbynm3_r.c: Likewise.
21472         * nscd/getpwnam_r.c: Likewise.
21473         * nscd/getpwuid_r.c: Likewise.
21474         * nscd/getsrvbynm_r.c: Likewise.
21475         * nscd/getsrvbypt_r.c: Likewise.
21476         * nscd/gai.c: Likewise.
21478         * configure.in (build_nscd): New substituted variable, set
21479         by --disable-build-nscd and defaults to $use_nscd.
21480         * configure: Regenerated.
21481         * config.make.in (build-nscd): New substituted variable.
21482         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21483         Change conditional to require [$(build-nscd) = yes] as well.
21484         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21486         [BZ# 13696]
21487         * configure.in (use_nscd): New substituted variable, set by
21488         --disable-nscd.  If enabled, define USE_NSCD.
21489         * configure: Regenerated.
21490         * config.h.in: Add USE_NSCD.
21491         * config.make.in (use-nscd): New substituted variable.
21492         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21493         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21494         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21495         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21496         (CFLAGS-getgrnam_r.c): Likewise.
21497         (CFLAGS-initgroups.c): Likewise.
21498         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21499         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21500         Variables removed.
21501         * inet/getnetgrent_r.c
21502         (nscd_setnetgrent): New function, broken out of ...
21503         (setnetgrent): ... here.  Call it.
21504         (innetgr): Conditionalize nscd bits on [USE_NSCD].
21505         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21506         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21507         * nscd/Makefile (routines, aux): Move definitions after include of
21508         Makeconfig.  Conditionalize on [$(use-nscd) != no].
21509         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21510         Conditionalize on [USE_NSCD].
21511         (is_nscd, nscd_init_cb): Likewise.
21512         (nss_load_library): Conditionalize init callback on [USE_NSCD].
21513         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21514         * nss/nss_db/db-init.c: Likewise.
21515         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21516         [USE_NSCD].
21517         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21518         (make_request): Use it.
21519         (cache_valid_p): New function.
21520         (__check_pf): Use it.
21521         * NEWS: Add item for --disable-nscd.
21523 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
21525         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21526         to support sed >= 4.2.1-20-ga9bf076.
21527         * configure: Regenerated.
21529 2012-08-22  Roland McGrath  <roland@hack.frob.com>
21531         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21532         Conditionalize whole body on [IREL].
21534 2012-08-22  Jeff Law <law@redhat.com>
21536         [BZ #14505]
21537         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21538         if the family is PF_UNSPEC.
21540 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
21542         * Makerules (lib-version): Rename from V.
21543         (install-lib-nosubdir): Change V to lib-version.
21545 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
21547         [BZ #14252]
21548         * powerpc32/power6/wcschr.c: New file.
21549         * powerpc32/power6/wcscpy.c: New file.
21550         * powerpc32/power6/wcsrchr.c: New file.
21551         * powerpc64/power6/wcschr.c: New file.
21552         * powerpc64/power6/wcscpy.c: New file.
21553         * powerpc64/power6/wcsrchr.c: New file.
21555 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
21557         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21558         (two_way_short_needle): Use it.
21559         * string/strstr.c (AVAILABLE1_USES_J): Define.
21560         * string/strcasestr.c: Likewise.
21562         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21563         array references.
21564         * string/strcasestr.c (TOLOWER): Make side-effect safe.
21566         [BZ #11607]
21567         * NEWS: Add an entry.
21568         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21569         define their defaults.
21570         (two_way_short_needle): Detect end-of-string on-the-fly.
21571         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21572         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21573         * string/bug-strcasestr1.c: New test.
21574         * string/Makefile: Run it.
21576 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
21578         [BZ #11607]
21579         * string/str-two-way.h (two_way_short_needle): Optimize matching of
21580         the first character.
21582 2012-08-21  Roland McGrath  <roland@hack.frob.com>
21584         * csu/elf-init.c (__libc_csu_irel): Function removed.
21585         * csu/libc-start.c (apply_irel): New function.
21586         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21588 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
21590         * sysdeps/unix/sysv/linux/kernel-features.h
21591         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21592         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21593         <kernel-features.h>.
21594         [__NR_fadvise64_64]: Make code unconditional.
21595         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21596         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21597         !__NR_fadvise64_64)]: Likewise.
21598         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21599         !__NR_fadvise64_64))]: Likewise.
21600         [__NR_fadvise64]: Make code unconditional.
21601         [!__NR_fadvise64]: Remove conditional code.
21602         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21603         <kernel-features.h>.
21604         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21605         unconditional.
21606         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21607         conditional code.
21608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21609         not include <kernel-features.h>.
21610         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21611         unconditional.
21612         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21613         conditional code.
21614         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21615         include <kernel-features.h>.
21616         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21617         unconditional.
21618         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21619         conditional code.
21621 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
21623         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21624         slight instruction rearrangements per scrollpipe analysis.
21625         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21627 2012-08-20  Roland McGrath  <roland@hack.frob.com>
21629         * manual/syslog.texi (syslog; vsyslog, closelog):
21630         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21631         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21633         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21634         DSOCAPS to match condition on defining it.
21636 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
21638         * sysdeps/unix/sysv/linux/kernel-features.h
21639         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21641         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21642         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21644         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21645         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21647         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21648         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21650         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21651         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21653         * sysdeps/unix/sysv/linux/kernel-features.h
21654         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21655         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21656         unconditional.
21657         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21658         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21659         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21660         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21661         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21662         Make code unconditional.
21663         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21664         (__mmap64) [!__NR_mmap2]: Likewise.
21665         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21666         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21667         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21668         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21669         [__NR_mmap2]: Make code unconditional.
21670         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21671         (__mmap64) [!__NR_mmap2]: Likewise.
21673 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21675         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21677 2012-08-18  Andreas Jaeger  <aj@suse.de>
21679         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21681 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
21683         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21684         * include/unistd.h (__have_sock_cloexec): Likewise.
21685         (__have_pipe2): Likewise.
21686         (__have_dup3): Likewise.
21688 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
21690         [BZ #9685]
21691         * include/unistd.h (__have_pipe2): Change define into an extern int.
21692         (__have_dup3): Likewise.
21693         * socket/have_sock_cloexec.c: Include fcntl.h.
21694         (__have_pipe2): New variable.
21695         (__have_dup3): Likewise.
21697 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
21699         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21701 2012-08-17  Marek Polacek  <polacek@redhat.com>
21703         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21704         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21706 2012-08-17  Roland McGrath  <roland@hack.frob.com>
21708         * configure.in: Add AC_SUBST for sysheaders.
21709         * configure: Regenerated.
21710         * config.make.in (sysheaders): New substituted variable.
21712         * sysdeps/unix/mkfifo.c: Moved ...
21713         * sysdeps/posix/mkfifo.c: ... here.
21714         * sysdeps/unix/mkfifoat.c: Moved ...
21715         * sysdeps/posix/mkfifoat.c: ... here.
21717         * sysdeps/unix/utime.c: Moved ...
21718         * sysdeps/posix/utime.c: ... here.
21720         * sysdeps/unix/time.c: Moved ...
21721         * sysdeps/posix/time.c: ... here.
21722         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21723         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
21725         * sysdeps/unix/nice.c: Moved ...
21726         * sysdeps/posix/nice.c: ... here.
21728         * sysdeps/unix/alarm.c: Moved ...
21729         * sysdeps/posix/alarm.c: ... here.
21731         * intl/Makefile ($(codeset_mo)): Depend on the input file.
21733 2012-08-17  Jeff Law <law@redhat.com>
21735         * intl/Makefile (codeset_mo): New variable.
21736         ($(codeset_mo)): New target.
21737         (tst-codeset.out): Depend on that.  Remove explicit rule.
21738         (tst-gettext3.out, tst-gettext5.out): Likewise.
21739         (LOCPATH-ENV, tst-codeset-ENV): New variables.
21740         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21741         * intl/tst-codeset.sh: Remove.
21742         * intl/tst-gettext3.sh: Likewise.
21743         * intl/tst-gettext5.sh: Likewise.
21745 2012-08-17  Roland McGrath  <roland@hack.frob.com>
21747         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
21748         * sysdeps/unix/syscalls.list: ... here.
21750         * sysdeps/posix/getaddrinfo.c
21751         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21752         (gaiconf_init, gaiconf_reload): Use them.
21753         [!_STATBUF_ST_NSEC]
21754         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21755         Define using time_t rather than struct timespec.
21757         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21758         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21759         Macros removed.
21760         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21761         [!NO_THREADS].
21762         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21763         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21764         Likewise.
21766         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21767         __libc_cleanup_push argument.
21769         * bits/param.h: New file.
21770         * misc/sys/param.h: New file.
21771         * include/sys/param.h: New file.
21772         * misc/Makefile (headers): Add bits/param.h.
21773         * sysdeps/generic/sys/param.h: File removed.
21774         * sysdeps/unix/sysv/linux/bits/param.h: New file.
21775         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21776         * sysdeps/mach/hurd/bits/param.h: New file.
21777         * sysdeps/mach/hurd/sys/param.h: File removed.
21779         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21780         last change.
21782         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21783         [_IO_MTSAFE_IO].
21784         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21785         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21786         New macros.
21788         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21789         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21790         rather than -D_IO_MTSAFE_IO conditionally.
21791         * stdio-common/Makefile (CPPFLAGS): Likewise.
21792         * wcsmbs/Makefile (CPPFLAGS): Likewise.
21793         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21794         Use $(libio-mtsafe).
21795         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21796         of -D_IO_MTSAFE_IO.
21797         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21798         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21799         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21800         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21801         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21802         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21803         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21804         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21805         (CFLAGS-fread_u_chk.c): Likewise.
21806         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21807         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21808         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21809         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21810         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21811         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21812         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21813         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21814         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21816         * libio/Makefile: Test [$(libc-reentrant) = yes]
21817         instead of [$(filter %REENTRANT, $(defines)) nonempty].
21819         * Makeconfig
21820         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21821         * sysdeps/pthread/configure: File removed.
21822         * sysdeps/pthread/Makeconfig: New file.
21823         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21824         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21826 2012-08-16  Gary Benson  <gbenson@redhat.com>
21828         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21829         unmapping the first object in a namespace.
21831 2012-08-16  Roland McGrath  <roland@hack.frob.com>
21833         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21834         (__internal_setnetgrent): ... this.  Add internal_function to
21835         definition.  Add libc_hidden_def.
21836         (setnetgrent): Update caller.
21837         (internal_endnetgrent): Renamed to ...
21838         (__internal_endnetgrent): ... this.  Add internal_function to
21839         definition.  Add libc_hidden_def.
21840         (endnetgrent): Update caller.
21841         (internal_getnetgrent_r): Renamed to ...
21842         (__internal_getnetgrent_r): ... this.  Add internal_function to
21843         definition.  Add libc_hidden_def.
21844         (__getnetgrent_r): Update caller.
21845         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
21847 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
21849         * stdlib/longlong.h: Update from GCC.
21851 2012-08-16  Roland McGrath  <roland@hack.frob.com>
21853         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21854         on _QL, which is set by umul_ppmm but never used.
21855         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21856         variables, which are set by GMP macros but never used.
21857         * stdio-common/_itowa.c (_itowa): Likewise.
21858         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21859         * stdlib/mod_1.c (mpn_mod_1): Likewise.
21861 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
21863         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21864         struct La_sh_regs is not constant.
21865         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21866         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21867         and struct La_sparc64_regs are not constant.
21869 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
21871         * sysdeps/unix/sysv/linux/kernel-features.h
21872         (__ASSUME_POSIX_TIMERS): Remove.
21873         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21874         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21875         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21876         Make code unconditional.
21877         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21878         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21879         Make code unconditional.
21880         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21881         * sysdeps/unix/sysv/linux/clock_nanosleep.c
21882         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21883         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21884         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21885         Make code unconditional.
21886         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21887         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21888         (__libc_missing_posix_timers): Remove.
21890 2012-08-15  Roland McGrath  <roland@hack.frob.com>
21892         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21893         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21895         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21897         * elf/dl-sym.c: Include <stdlib.h>.
21899         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21900         constants, which avoids warnings in 32-bit builds.
21902         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21903         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21905         * misc/lseek.c: File moved to ...
21906         * io/lseek.c: ... here.
21908         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21910         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21911         shifting LEN more than 31 bits at once.
21913 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21915         [BZ #14195]
21916         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21917         segmentation fault for a case of two empty input strings.
21918         * string/test-strncasecmp.c (check1): Renamed to...
21919         (bz12205): ...this.
21920         (bz14195): Add new testcase for two empty input strings and N > 0.
21921         (test_main): Call new testcase, adapt for renamed function.
21923 2012-08-15  Andreas Jaeger  <aj@suse.de>
21925         [BZ #14090]
21926         * crypt/md5test2.c: New test, based on test supplied by Serge
21927         Belyshev <belyshev@depni.sinp.msu.ru>.
21928         * crypt/Makefile (xtests): Add md5test-giant..
21929         * crypt/Makefile ($(objpfx)md5test-giant): Add.
21931 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
21933         [BZ #14090]
21934         * crypt/md5.c (md5_process_block): Don't assume the buffer
21935         length is less than 2**32.
21936         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21937         length is less than 2**64.
21939 2012-08-15  Roland McGrath  <roland@hack.frob.com>
21941         * string/str-two-way.h: Include <sys/param.h>.
21942         (MAX): Macro removed.
21944         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21945         Move #define and #undef of memmove to just before and after
21946         including <string.h>.
21948         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21949         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21950         and after including <string.h>.  Move declarations of
21951         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21952         to before #include "string/memmove.c".
21954         * include/dirent.h: Declare __getdirentries.
21956         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21957         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21959 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
21961         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21962         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21963         * sysdeps/i386/configure: Regenerated.
21964         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21965         STABS_CURRENT_FILE, and STABS_FUN.
21966         (END): Remove call to STABS_FUN_END.
21967         (STABS_CURRENT_FILE1): Delete.
21968         (STABS_CURRENT_FILE): Likewise.
21969         (STABS_FUN): Likewise.
21970         (STABS_FUN_END): Likewise.
21971         (STABS_FUN2): Likewise.
21972         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21973         * sysdeps/x86_64/configure: Regenerated.
21975 2012-08-14  Roland McGrath  <roland@hack.frob.com>
21977         * elf/dl-open.c: Include <atomic.h>.
21978         * elf/dl-lookup.c: Likewise.
21980 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
21982         * sysdeps/unix/sysv/linux/kernel-features.h
21983         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21984         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21985         unconditionally.
21986         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21987         unconditionally.
21988         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21989         condition on __ASSUME_CLONE_THREAD_FLAGS.
21991 2012-08-14  Andreas Jaeger  <aj@suse.de>
21993         * sysdeps/i386/fpu/libm-test-ulps: Update.
21995 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
21997         * include/atomic.h (atomic_exchange_and_add): Split into ...
21998         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21999         New atomic macros.
22001 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
22003         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22005 2012-08-13  Jeff Law <law@redhat.com>
22007         * manual/stdio.texi (snprintf): Clarify handling of the trailing
22008         null byte in the output string.
22010 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
22012         * sysdeps/unix/sysv/linux/kernel-features.h
22013         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
22014         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
22015         (__ASSUME_ARG_MAX_STACK_BASED): Define.
22016         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22017         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
22018         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
22019         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
22021 2012-08-09  Jeff Law <law@redhat.com>
22023         [BZ #13939]
22024         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
22025         When avoid_arena is set, don't retry in the that arena.  Pick the
22026         next one, whatever it might be.
22027         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
22028         (arena_lock): Pass in new parameter to arena_get2.
22029         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
22030         arena_get2.
22031         (__libc_malloc): Unify retrying after main arena failure with
22032         __libc_memalign version.
22033         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
22035 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
22037         [BZ #14166]
22038         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22039         to __redirect_strstr.
22040         (__strstr_sse42): Use typeof __redirect_strstr.
22041         (__strstr_ia32): Likewise.
22042         (__libc_strstr): New prototype.
22043         (strstr): Renamed to ...
22044         (__libc_strstr): This.
22045         (strstr): New strong alias of __libc_strstr.
22046         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22047         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22048         __redirect_time.
22049         Include <time.h>.
22050         (__libc_time): New prototype.
22051         (time_ifunc): Replace time with __libc_time.
22052         (time): New strong alias and hidden definition of __libc_time.
22053         (__GI_time): Remove strong alias.
22054         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22055         Include <stddef.h>.
22056         (memmove): Redefined to __redirect_memmove.
22057         (__memmove_sse2): Use typeof __redirect_memmove.
22058         (__memmove_ssse3): Likewise.
22059         (__memmove_ssse3_back): Likewise.
22060         (__libc_memmove): New prototype.
22061         (memmove): Renamed to ...
22062         (__libc_memmove): This.
22063         (memmove): New strong alias of __libc_memmove.
22065 2012-08-08  Mark Salter  <msalter@redhat.com>
22067         * elf/elf.h
22068         (R_MN10300_TLS_GD): Define.
22069         (R_MN10300_TLS_LD): Likewise.
22070         (R_MN10300_TLS_LDO): Likewise.
22071         (R_MN10300_TLS_GOTIE): Likewise.
22072         (R_MN10300_TLS_IE): Likewise.
22073         (R_MN10300_TLS_LE): Likewise.
22074         (R_MN10300_TLS_DTPMOD): Likewise.
22075         (R_MN10300_TLS_DTPOFF): Likewise.
22076         (R_MN10300_TLS_TPOFF): Likewise.
22077         (R_MN10300_SYM_DIFF): Likewise.
22078         (R_MN10300_ALIGN): Likewise.
22079         (R_MN10300_NUM): Update.
22081 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
22083         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22084         Remove.
22086 2012-08-08  Roland McGrath  <roland@hack.frob.com>
22088         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22090         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22091         sysdeps/unix -> sysdeps/posix move.
22092         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22094 2012-08-07      Allan McRae     <allan@archlinux.org>
22096         [BZ #14303]
22097         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22098         (SUNOS_CPP): Likewise.
22099         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22100         not found.
22101         (open_input): Call CPP using execvp.
22103 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
22105         * sysdeps/unix/sysv/linux/kernel-features.h
22106         (__ASSUME_PROT_GROWSUPDOWN): Remove.
22107         (__ASSUME_NO_CLONE_DETACHED): Likewise.
22108         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22109         (__ASSUME_WAITID_SYSCALL): Likewise.
22110         * sysdeps/unix/sysv/linux/dl-execstack.c
22111         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22112         code unconditional.
22113         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22114         conditional code.
22115         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22116         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22117         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22118         code.
22119         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22120         unconditional.
22121         [__ASSUME_WAITID_SYSCALL]: Likewise.
22122         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22124 2012-08-07  Roland McGrath  <roland@hack.frob.com>
22126         * sysdeps/unix/closedir.c: Renamed to ...
22127         * sysdeps/posix/closedir.c: ... here.
22128         * sysdeps/unix/dirfd.c: Renamed to ...
22129         * sysdeps/posix/dirfd.c: ... here.
22130         * sysdeps/unix/dirstream.h: Renamed to ...
22131         * sysdeps/posix/dirstream.h: ... here.
22132         * sysdeps/unix/fdopendir.c: Renamed to ...
22133         * sysdeps/posix/fdopendir.c: ... here.
22134         * sysdeps/unix/opendir.c: Renamed to ...
22135         * sysdeps/posix/opendir.c: ... here.
22136         * sysdeps/unix/readdir.c: Renamed to ...
22137         * sysdeps/posix/readdir.c: ... here.
22138         * sysdeps/unix/readdir_r.c: Renamed to ...
22139         * sysdeps/posix/readdir_r.c: ... here.
22140         * sysdeps/unix/rewinddir.c: Renamed to ...
22141         * sysdeps/posix/rewinddir.c: ... here.
22142         * sysdeps/unix/seekdir.c: Renamed to ...
22143         * sysdeps/posix/seekdir.c: ... here.
22144         * sysdeps/unix/telldir.c: Renamed to ...
22145         * sysdeps/posix/telldir.c: ... here.
22146         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22147         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22148         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22149         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22151         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22152         * bits/fcntl.h: ... here.
22154         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22155         not 0.
22156         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22157         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22158         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22159         (struct flock): Move l_start, l_len to the beginning.
22160         Use __pid_t for l_pid.
22161         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22162         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22163         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22164         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22165         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22166         [__USE_LARGEFILE64] (struct flock64): New type.
22167         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22169         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22170         * bits/dirent.h: ... here.
22172         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22173         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22175 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
22177         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22178         Change from 2.6.0 to 2.6.16.
22179         * sysdeps/unix/sysv/linux/configure: Regenerated.
22180         * sysdeps/unix/sysv/linux/kernel-features.h
22181         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22182         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22183         version.
22184         (__ASSUME_UTIMES): Likewise.
22185         (__ASSUME_CLONE_STOPPED): Remove.
22186         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22187         architectures, not kernel version.
22188         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22189         (__ASSUME_NO_CLONE_DETACHED): Likewise.
22190         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22191         (__ASSUME_WAITID_SYSCALL): Likewise.
22192         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22193         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22194         * README: State 2.6.16 as minimum Linux kernel version.  Do not
22195         refer to older versions.
22197 2012-08-06  Roland McGrath  <roland@hack.frob.com>
22199         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22200         Define alphasort64 as an alias.
22201         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22202         Define versionsort64 as an alias.
22203         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22204         Define scandir64 as an alias.
22205         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22206         Define scandirat64 as an alias.
22207         * dirent/alphasort64.c (alphasort64):
22208         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22209         * dirent/versionsort64.c: Likewise.
22210         * dirent/scandir64.c: Likewise.
22211         * dirent/scandirat64.c: Likewise.
22212         * sysdeps/wordsize-64/alphasort.c: File removed.
22213         * sysdeps/wordsize-64/alphasort64.c: File removed.
22214         * sysdeps/wordsize-64/scandir.c: File removed.
22215         * sysdeps/wordsize-64/scandir64.c: File removed.
22216         * sysdeps/wordsize-64/scandirat.c: File removed.
22217         * sysdeps/wordsize-64/scandirat64.c: File removed.
22218         * sysdeps/wordsize-64/versionsort.c: File removed.
22219         * sysdeps/wordsize-64/versionsort64.c: File removed.
22220         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22221         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22222         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22223         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22224         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22225         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22226         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22227         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22229         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22230         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22231         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22232         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22233         [defined __arch64__ || defined __sparcv9]
22234         (__INO_T_MATCHES_INO64_T): New macro.
22235         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22236         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22237         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22238         * sysdeps/unix/sysv/linux/bits/dirent.h
22239         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22240         (_DIRENT_MATCHES_DIRENT64): New macro.
22242         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22243         Define lockf64 as an alias.
22244         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22245         Define fseeko64 as an alias.
22246         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22247         Define ftello64 as an alias.
22248         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22249         Define _IO_fgetpos64 and fgetpos64 as aliases.
22250         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22251         Define _IO_fsetpos64 and fsetpos64 as aliases.
22252         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22253         Conditionalize body on this.
22254         * libio/fseeko64.c: Likewise.
22255         * libio/ftello64.c: Likewise.
22256         * libio/iofgetpos64.c: Likewise.
22257         * libio/iofsetpos64.c: Likewise.
22258         * sysdeps/wordsize-64/lockf.c: File removed.
22259         * sysdeps/wordsize-64/lockf64.c: File removed.
22260         * sysdeps/wordsize-64/fseeko.c: File removed.
22261         * sysdeps/wordsize-64/fseeko64.c: File removed.
22262         * sysdeps/wordsize-64/ftello.c: File removed.
22263         * sysdeps/wordsize-64/ftello64.c: File removed.
22264         * sysdeps/wordsize-64/iofgetpos.c: File removed.
22265         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22266         * sysdeps/wordsize-64/iofsetpos.c: File removed.
22267         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22268         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22269         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22270         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22271         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22272         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22273         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22274         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22275         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22276         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22277         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22279         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22280         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22281         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22282         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22283         [defined __arch64__ || defined __sparcv9]
22284         (__OFF_T_MATCHES_OFF64_T): New macro.
22285         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22286         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22287         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22288         (__OFF_T_MATCHES_OFF64_T): New macro.
22290 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
22292         * stdlib/secure-getenv.c (__secure_getenv): Replace
22293         GLIBC_2_16 with GLIBC_2_17.
22295 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
22297         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22298         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22300 2012-08-03  David S. Miller  <davem@davemloft.net>
22302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22304 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
22306         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22307         Remove.
22308         (__ASSUME_CORRECT_SI_PID): Likewise.
22309         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22310         (__ASSUME_TMPFS_NAME): Likewise.
22311         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22312         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22313         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22314         (HAVE_AUX_SECURE): Make definition unconditional.
22315         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22316         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22318 2012-08-03  Roland McGrath  <roland@hack.frob.com>
22320         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22321         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22322         * sysdeps/mach/hurd/eloop-threshold.h: New file.
22323         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22324         __eloop_threshold instead of SYMLOOP_MAX.
22326         * sysdeps/generic/eloop-threshold.h: New file.
22327         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22328         of MAXSYMLINKS.
22329         * elf/chroot_canon.c (chroot_canon): Likewise.
22331 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
22333         [BZ #13717]
22334         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22335         Change to 2.6.0 everywhere.
22336         * sysdeps/unix/sysv/linux/configure: Regenerated.
22337         * sysdeps/unix/sysv/linux/kernel-features.h
22338         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22339         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22340         kernel versions.
22341         (__ASSUME_POSIX_TIMERS): Define unconditionally.
22342         (__ASSUME_FUTEX_REQUEUE): Remove.
22343         (__ASSUME_STATFS64): Define unconditionally.
22344         (__ASSUME_AT_SECURE): Likewise.
22345         (__ASSUME_CORRECT_SI_PID): Likewise.
22346         (__ASSUME_TGKILL): Define without depending on kernel version for
22347         i386.
22348         (__ASSUME_UTIMES): Likewise.
22349         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22350         kernel version.
22351         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22352         (__ASSUME_TMPFS_NAME): Likewise.
22353         * README: Update reference to Linux kernel versions.
22355 2012-08-02  Marek Polacek  <polacek@redhat.com>
22357         [BZ# 14150]
22358         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
22359         libc_cv_asm_type_prefix with %.
22360         * configure: Regenerated.
22361         * include/libc-symbols.h: Remove comment about
22362         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22363         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22364         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22365         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22366         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22367         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22368         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22369         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22370         * elf/tst-unique2mod1.c: Likewise.
22371         * elf/tst-unique1mod2.c: Likewise.
22372         * elf/tst-unique1mod1.c: Likewise.
22373         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22374         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22375         Replace ASM_TYPE_DIRECTIVE with .type.
22376         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22377         * sysdeps/i386/sysdep.h: Likewise.
22378         * sysdeps/x86_64/sysdep.h: Likewise.
22379         * sysdeps/sh/sysdep.h: Likewise.
22380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22381         Do not define ASM_TYPE_DIRECTIVE.
22382         * sysdeps/powerpc/sysdep.h: Likewise.
22383         * sysdeps/powerpc/powerpc32/sysdep.h:
22384         Replace ASM_TYPE_DIRECTIVE with .type.
22385         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22386         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22387         * sysdeps/i386/fpu/e_powf.S: Likewise.
22388         * sysdeps/i386/fpu/e_expl.S: Likewise.
22389         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22390         * sysdeps/i386/fpu/e_acosh.S: Likewise.
22391         * sysdeps/i386/fpu/e_pow.S: Likewise.
22392         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22393         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22394         * sysdeps/i386/fpu/s_expm1.S: Likewise.
22395         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22396         * sysdeps/i386/fpu/e_log2.S: Likewise.
22397         * sysdeps/i386/fpu/e_log2l.S: Likewise.
22398         * sysdeps/i386/fpu/e_scalb.S: Likewise.
22399         * sysdeps/i386/fpu/e_powl.S: Likewise.
22400         * sysdeps/i386/fpu/e_log10f.S: Likewise.
22401         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22402         * sysdeps/i386/fpu/e_logl.S: Likewise.
22403         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22404         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22405         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22406         * sysdeps/i386/fpu/e_log2f.S: Likewise.
22407         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22408         * sysdeps/i386/fpu/e_log.S: Likewise.
22409         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22410         * sysdeps/i386/fpu/e_logf.S: Likewise.
22411         * sysdeps/i386/fpu/e_log10l.S: Likewise.
22412         * sysdeps/i386/fpu/e_atanh.S: Likewise.
22413         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22414         * sysdeps/i386/fpu/e_log10.S: Likewise.
22415         * sysdeps/i386/fpu/s_frexp.S: Likewise.
22416         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22417         * sysdeps/i386/fpu/s_asinh.S: Likewise.
22418         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22419         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22420         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22421         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22422         * sysdeps/i386/i686/strtok.S: Likewise.
22423         * sysdeps/i386/i386-mcount.S: Likewise.
22424         * sysdeps/i386/strtok.S: Likewise.
22425         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22426         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22427         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22428         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22429         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22430         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22431         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22432         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22433         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22434         * sysdeps/x86_64/_mcount.S: Likewise.
22435         * sysdeps/x86_64/strtok.S: Likewise.
22436         * sysdeps/sh/_mcount.S: Likewise.
22438 2012-08-01  Roland McGrath  <roland@hack.frob.com>
22440         * libio/iofopen.c: Include <fcntl.h>.
22441         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22442         (_IO_fopen64, fopen64): Define as aliases.
22443         * libio/iofopen64.c: Include <fcntl.h>.
22444         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22445         Conditionalize body on this.
22446         * sysdeps/wordsize-64/iofopen.c: File removed.
22447         * sysdeps/wordsize-64/iofopen64.c: File removed.
22449 2012-08-01  Marek Polacek  <polacek@redhat.com>
22451         * libc/Makeconfig: Use elf in place of binfmt-subdir.
22452         Use dlfcn directly instead of a variable.
22453         (binfmt-subdir): Do not define.
22454         (dlfcn): Likewise.
22456 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
22458         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22459         Remove all definitions.
22460         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22461         <kernel-features.h>.
22462         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22463         (miss_F_GETOWN_EX): Remove all definitions.
22464         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22465         macro definition.
22466         [!__ASSUME_FCNTL64]: Remove conditional code.
22467         [__ASSUME_FCNTL64]: Make code unconditional.
22468         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22469         <kernel-features.h>.
22470         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22471         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22472         (lockf64) [__NR_fcntl64]: Make code unconditional.
22473         (lockf64) [__ASSUME_FCNTL64]: Likewise.
22475         * sysdeps/unix/sysv/linux/kernel-features.h
22476         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22477         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22478         Make code unconditional.
22479         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22480         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22482         [__NR_vfork]: Make code unconditional.
22483         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22484         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22486         [__NR_vfork]: Make code unconditional.
22487         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22488         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22490 2012-08-01  Roland McGrath  <roland@hack.frob.com>
22492         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22493         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22495         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22496         Define mkstemp64 as an alias.
22497         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22498         Define mkstemps64 as an alias.
22499         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22500         Define mkostemp64 as an alias.
22501         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22502         Define mkostemps64 as an alias.
22503         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22504         Conditionalize body on this.
22505         * misc/mkostemp64.c: Likewise.
22506         * misc/mkostemps64.c: Likewise.
22507         * misc/mkstemps64.c: Likewise.
22508         * sysdeps/wordsize-64/mkstemp64.c: File removed.
22509         * sysdeps/wordsize-64/mkostemp64.c: File removed.
22510         * sysdeps/wordsize-64/mkostemp.c: File removed.
22511         * sysdeps/wordsize-64/mkstemp.c: File removed.
22512         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22513         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22514         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22515         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22517         [BZ #14138]
22518         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22519         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22520         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22521         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22523         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22524         compat_symbol macros from <shlib-compat.h> rather than the underlying
22525         default_symbol_version and symbol_version macros, so that DEFAULT
22526         lines in shlib-versions are respected.
22527         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22529 2012-08-01  Florian Weimer  <fweimer@redhat.com>
22531         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22532         Declare with warn_unused_result.
22533         (setgid, setregid, setegid, setresgid): Likewise.
22534         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22535         Likewise.
22536         * WUR-REPORT: Remove set*id functions.
22538 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
22540         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22542 2012-07-31  Roland McGrath  <roland@hack.frob.com>
22544         [BZ #10191]
22545         * include/sys/socket.h (__libc_accept, __libc_accept4):
22546         Add attribute_hidden.
22547         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22549         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22550         use of PTR_MANGLE.
22551         * inet/getnetgrent_r.c (setup): Likewise.
22553         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22555 2012-07-31  David S. Miller  <davem@davemloft.net>
22557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22559 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
22561         [BZ #13629]
22562         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22563         value between 1.0 and 2.0 and smaller part has absolute value less
22564         than 1.0.
22565         * math/s_clog10.c (__clog10): Likewise.
22566         * math/s_clog10f.c (__clog10f): Likewise.
22567         * math/s_clog10l.c (__clog10l): Likewise.
22568         * math/s_clogf.c (__clogf): Likewise.
22569         * math/s_clogl.c (__clogl): Likewise.
22570         * math/libm-test.inc (clog_test): Add more tests.
22571         (clog10_test): Likewise.
22572         * sysdeps/i386/fpu/libm-test-ulps: Update.
22573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22575 2012-07-31  Florian Weimer  <fweimer@redhat.com>
22577         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22578         Exit with zero in case no suitable GID is found, and write a
22579         message to standard error.
22581 2012-07-30  Roland McGrath  <roland@hack.frob.com>
22583         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22584         rather than to 1.
22585         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22586         (MAXPATHLEN): Removed.
22587         (NOGROUP, NODEV): New macros.
22588         (setbit, clrbit, isset, isclr): New macros.
22589         (howmany, roundup, powerof2): New macros.
22590         (DEV_BSIZE): New macro.
22592         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22593         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22595         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22596         definition on [!__NO_LONG_DOUBLE_MATH].
22598         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22599         PTR_MANGLE and PTR_DEMANGLE.
22601         * socket/accept4.c (accept4): Rename to __libc_accept4.
22602         Define accept4 as a weak alias.
22604         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22605         on [_DIRENT_HAVE_D_TYPE].
22606         * io/ftw.c (ftw_dir): Likewise.
22608         * io/xmknod.c (__xmknod): Don't check PATH for being null.
22610         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22612         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22613         Use the BSD numbers rather than the arbitrary ones we had.
22614         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22615         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22616         (SIGXCPU, SIGXFSZ): New macros.
22617         (_NSIG): Now 32.
22619         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22620         initializer on [_LIBC_REENTRANT].
22622         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22623         definitions inside [_POSIX_MAPPED_FILES].
22625         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22627         * dirent/opendir.c: Include <fcntl.h>.
22629         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22630         (__libc_getspecific): Likewise.
22631         (__libc_key_create): Likewise.
22633         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22634         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22635         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22636         (tmpfile64): Define as alias.
22637         * sysdeps/wordsize-64/tmpfile.c: File removed.
22638         * sysdeps/wordsize-64/tmpfile64.c: File removed.
22639         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22640         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22642         * stdio-common/vfscanf.c: Include <stdbool.h>.
22643         * nss/makedb.c: Likewise.
22644         * stdio-common/_i18n_number.h: Likewise.
22645         * argp/argp-help.c: Likewise.
22646         * posix/wordexp.c: Likewise.
22647         * sysdeps/posix/spawni.c: Likewise.
22648         * nss/nss_files/files-initgroups.c: Likewise.
22649         * stdio-common/reg-modifier.c: Include <stdlib.h>.
22650         * nss/nss_files/files-initgroups.c: Likewise.
22651         * nss/nss_db/db-netgrp.c: Likewise.
22652         * nss/nss_db/db-initgroups.c: Likewise.
22653         * io/fchmodat.c: Include <sys/stat.h>.
22655         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22656         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22658         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22659         [HAVE_MMAP].
22661         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22662         Add multiple inclusion protection.
22664 2012-07-27  David S. Miller  <davem@davemloft.net>
22666         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22668 2012-07-27  Gary Benson  <gbenson@redhat.com>
22670         [BZ #14298]
22671         * elf/rtld.c: Include <stap-probe.h>.
22672         (dl_main): Added static probes "init_start" and "init_complete".
22673         * elf/dl-load.c: Include <stap-probe.h>.
22674         (lose): Take new parameter "nsid".
22675         Added static probe "map_failed".
22676         (_dl_map_object_from_fd): Pass namespace id to lose.
22677         Added static probe "map_start".
22678         (open_verify): Pass namespace id to lose.
22679         * elf/dl-open.c: Include <stap-probe.h>.
22680         (dl_open_worker) Added static probes "map_complete", "reloc_start"
22681         and "reloc_complete".
22682         * elf/dl-close.c: Include <stap-probe.h>.
22683         (_dl_close_worker): Added static probes "unmap_start" and
22684         "unmap_complete".
22685         * elf/rtld-debugger-interface.txt: New file documenting the above.
22687 2012-07-26  Roland McGrath  <roland@hack.frob.com>
22689         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22690         rather than a string variable.
22691         * sunrpc/rpc_main.c (h_output): Likewise.
22692         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22694 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
22696         * inet/check_native.c: New file.
22698 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
22700         [BZ #13629]
22701         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22702         if larger part has absolute value 1.0.
22703         * math/s_clog10.c (__clog10): Likewise.
22704         * math/s_clog10f.c (__clog10f): Likewise.
22705         * math/s_clog10l.c (__clog10l): Likewise.
22706         * math/s_clogf.c (__clogf): Likewise.
22707         * math/s_clogl.c (__clogl): Likewise.
22708         * math/libm-test.inc (clog_test): Add more tests.
22709         (clog10_test): Likewise.
22710         * sysdeps/i386/fpu/libm-test-ulps: Update.
22711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22713         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22714         (pltexit): Likewise.
22715         (La_regs): Likewise.
22716         (La_retval): Likewise.
22717         (int_retval): Likewise.
22718         Update #error for removed macros to refer only to definitions in
22719         tst-audit.h.
22720         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22721         macro.
22722         (pltexit): Likewise.
22723         (La_regs): Likewise.
22724         (La_retval): Likewise.
22725         (int_retval): Likewise.
22726         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22727         macro.
22728         (pltexit): Likewise.
22729         (La_regs): Likewise.
22730         (La_retval): Likewise.
22731         (int_retval): Likewise.
22732         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22733         macro.
22734         (pltexit): Likewise.
22735         (La_regs): Likewise.
22736         (La_retval): Likewise.
22737         (int_retval): Likewise.
22738         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22739         macro.
22740         (pltexit): Likewise.
22741         (La_regs): Likewise.
22742         (La_retval): Likewise.
22743         (int_retval): Likewise.
22744         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22745         macro.
22746         (pltexit): Likewise.
22747         (La_regs): Likewise.
22748         (La_retval): Likewise.
22749         (int_retval): Likewise.
22750         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22751         macro.
22752         (pltexit): Likewise.
22753         (La_regs): Likewise.
22754         (La_retval): Likewise.
22755         (int_retval): Likewise.
22756         * sysdeps/generic/tst-audit.h: Update comment to refer only to
22757         macro definitions in tst-audit.h.
22758         * sysdeps/i386/tst-audit.h: New file.
22759         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22760         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22761         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22762         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22763         * sysdeps/sh/tst-audit.h: Likewise.
22764         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22765         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22766         * sysdeps/x86_64/tst-audit.h: Likewise.
22768 2012-07-26  Andreas Jaeger  <aj@suse.de>
22770         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22771         ptrace.
22773         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22774         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22775         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22776         PTRACE_O_MASK.
22777         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22778         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22779         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22781         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22782         value.
22784         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22785         _sigsys.
22786         (si_call_addr, si_syscall, si_arch): Define new macro.
22787         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22788         _sigsys.
22789         (si_call_addr, si_syscall, si_arch): Define new marcro.
22790         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22791         _sigsys.
22792         (si_call_addr, si_syscall, si_arch): Define new macro.
22793         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22794         _sigsys.
22795         (si_call_addr, si_syscall, si_arch): Define new macro.
22797 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
22799         [BZ #13717]
22800         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22801         Change to 2.4.21 where previously 2.4.1.
22802         * sysdeps/unix/sysv/linux/configure: Regenerated.
22803         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22804         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22805         Linux kernel version.
22806         (__ASSUME_STD_AUXV): Remove.
22807         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22808         kernel version.
22809         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22810         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22811         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22812         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22813         (__ASSUME_NETLINK_SUPPORT): Likewise.
22814         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22815         (__no_netlink_support): Remove conditional definition.
22816         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22817         Remove.
22818         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22819         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22820         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22821         (if_nameindex_ioctl): Remove.
22822         (if_nameindex_netlink): Do not handle __no_netlink_support.
22823         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22824         code.
22825         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22826         Remove conditional code.
22827         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22828         code.
22829         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22830         unconditional.
22831         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22832         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22833         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22834         Remove.
22835         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22836         [!__ASSUME_STD_AUXV]: Remove conditional code.
22837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22838         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22839         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22841         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22842         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22843         code.
22844         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22846         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22847         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22848         conditional code.
22849         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22851         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22852         code.
22853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22854         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22855         conditional code.
22856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22857         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22858         code unconditional.
22859         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22860         conditional code.
22861         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22862         unconditional.
22863         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22864         conditional code.
22865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22866         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22867         unconditional.
22868         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22869         conditional code.
22870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22871         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22872         code unconditional.
22873         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22874         conditional code.
22875         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22876         unconditional.
22877         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22878         conditional code.
22879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22880         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22881         code unconditional.
22882         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22883         conditional code.
22884         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22885         unconditional.
22886         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22887         conditional code.
22889 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
22891         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22892         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22893         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22894         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22895         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22896         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22897         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22898         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22899         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22900         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22901         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22902         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22903         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22904         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22905         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22906         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22907         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22908         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22909         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22910         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22911         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22912         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22913         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22915 2012-07-25  Florian Weimer  <fweimer@redhat.com>
22917         * Versions.def: Add GLIBC_2.17.
22918         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22919         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22920         Introduce __libc_secure_getenv.
22921         * stdlib/Versions (2.17): Add secure_getenv
22922         (GLIBC_PRIVATE): Add __libc_secure_getenv.
22923         * stdlib/secure-getenv.c: Rename __secure_getenv to
22924         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
22925         symbol __secure_getenv for GLIBC_2.0.
22926         * stdlib/tst-secure-getenv.c: New.
22927         * stdlib/Makefile (tests): Add testcase.
22928         * manual/startup.texi (Environment Access): Document
22929         secure_getenv.
22930         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22931         __libc_secure_getenv.
22932         * inet/ruserpass.c (ruserpass): Likewise.
22933         * malloc/mtrace.c (mtrace): Likewise.
22934         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22935         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22936         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22937         * sysdeps/posix/tempname.c: Likewise.  Evaluate
22938         HAVE_SECURE_GETENV.
22939         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22940         __secure_getenv to __libc_secure_getenv.
22941         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22943         Likewise.
22944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22945         Likewise.
22946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22948         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22954 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
22956         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22957         (struct La_i86_retval): Likewise.
22958         (struct La_x86_64_regs): Likewise.
22959         (struct La_x86_64_retval): Likewise.
22960         (struct La_x32_regs): Likewise.
22961         (struct La_x32_retval): Likewise.
22962         (struct La_ppc32_regs): Likewise.
22963         (struct La_ppc32_retval): Likewise.
22964         (struct La_ppc64_regs): Likewise.
22965         (struct La_ppc64_retval): Likewise.
22966         (struct La_sh_regs): Likewise.
22967         (struct La_sh_retval): Likewise.
22968         (struct La_s390_32_regs): Likewise.
22969         (struct La_s390_32_retval): Likewise.
22970         (struct La_s390_64_regs): Likewise.
22971         (struct La_s390_64_retval): Likewise.
22972         (struct La_sparc32_regs): Likewise.
22973         (struct La_sparc32_retval): Likewise.
22974         (struct La_sparc64_regs): Likewise.
22975         (struct La_sparc64_retval): Likewise.
22976         (struct audit_ifaces): Remove architecture-specific pltenter and
22977         pltexit members.
22978         * sysdeps/i386/ldsodefs.h: New file.
22979         * sysdeps/powerpc/ldsodefs.h: Likewise.
22980         * sysdeps/s390/ldsodefs.h: Likewise.
22981         * sysdeps/sh/ldsodefs.h: Likewise.
22982         * sysdeps/sparc/ldsodefs.h: Likewise.
22983         * sysdeps/x86_64/ldsodefs.h: Likewise.
22985 2012-07-25  Marek Polacek  <polacek@redhat.com>
22987         [BZ #6808]
22988         * math/libm-test.inc (yn_test): Add another test.
22989         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22990         to ERANGE when the result is +-Inf.
22991         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22992         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22993         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22994         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22996 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
22998         * conform/data/time.h-data (NULL): Use macro-constant.  Require
22999         equal to 0.
23000         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
23001         clock_t.
23002         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
23004 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
23006         * configure.in <sysdeps resolving>: Correct printing
23007         Implies_before.
23008         * configure: Regenerate.
23010 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
23012         * math/w_ilogb.c: Include <limits.h>.
23013         * math/w_ilogbl.c: Likewise.
23015 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
23017         * manual/lang.texi (__va_copy): Document primarily as ISO C99
23018         va_copy.  Document allowing for unavailable va_copy only as
23019         pre-C99 compatibility.
23020         * manual/string.texi (Copying and Concatenation): Use va_copy
23021         instead of __va_copy in concat example.
23023 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
23025         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
23026         (__sendto): Use create_address_port.  Initialize APORT and deallocate
23027         it if not null.
23029         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
23030         with O_NOLINK passed to __file_name_lookup.
23032         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
23033         with O_NOLINK passed to __file_name_lookup.
23035         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
23036         negative N or less than NGIDS.
23038         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23039         type to string_t.  Set ERANGE as errno and return it if NAME is not big
23040         enough.  Use memcpy instead of strncpy.
23042 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
23044         * elf/Makefile (check-data): Remove.
23045         (localplt.data): New vpath directive.
23046         ($(objpfx)check-localplt.out): Use localplt.data from vpath
23047         instead of $(check-data).
23048         * scripts/data/localplt-generic.data: Move to ...
23049         * sysdeps/generic/localplt.data: ... here.
23050         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23051         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23052         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23054         ... here.
23055         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23057         ... here.
23058         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23060         ... here.
23061         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23063         ... here.
23064         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23066         ... here.
23067         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23069         ... here.
23071 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23073         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23074         PPC32 and PPC64 files.
23075         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23076         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23078 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23080         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23081         __makecontext_ret to ...
23082         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23083         ... here and call exit if uc_link is NULL.  New file.
23084         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23085         __makecontext_ret.S.
23086         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23087         __makecontext_ret to ...
23088         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23089         ... here and call exit if uc_link is NULL.  New file.
23090         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23091         __makecontext_ret.S.
23093 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23095         * elf/elf.h (R_390_IRELATIVE): New definition.
23096         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23097         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
23098         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23099         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23100         (elf_machine_lazy_rel): Likewise.
23101         * sysdeps/s390/dl-irel.h: New file.
23102         * sysdeps/s390/s390-64/memcpy.S: New asm code.
23103         * sysdeps/s390/s390-64/memset.S: New asm code.
23104         * sysdeps/s390/s390-64/memcmp.S: New asm code.
23105         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23106         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23107         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23108         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23109         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23110         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23111         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23112         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23113         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23114         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23115         * sysdeps/s390/s390-32/memcpy.S: New asm code.
23116         * sysdeps/s390/s390-32/memset.S: New asm code.
23117         * sysdeps/s390/s390-32/memcmp.S: New asm code.
23119 2012-07-17  Marek Polacek  <polacek@redhat.com>
23121         [BZ #14349]
23122         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23123         * sysdeps/s390/s390-64/configure.in: Likewise.
23124         * sysdeps/sparc/configure.in: Likewise.
23125         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23126         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23127         * sysdeps/i386/configure.in: Likewise.
23128         * sysdeps/x86_64/configure.in: Likewise.
23129         * sysdeps/sh/configure.in: Likewise.
23130         * sysdeps/s390/s390-32/configure: Regenerated.
23131         * sysdeps/s390/s390-64/configure: Likewise.
23132         * sysdeps/x86_64/configure: Likewise.
23133         * sysdeps/sh/configure: Likewise.
23134         * sysdeps/powerpc/powerpc64/configure: Likewise.
23135         * sysdeps/powerpc/powerpc32/configure: Likewise.
23136         * sysdeps/sparc/configure: Likwise.
23137         * sysdeps/i386/configure: Likewise.
23139         * elf/dl-open.c: Comment fixes.
23141 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
23143         * Makefile [CXX] (check-data): Remove.
23144         [CXX] (c++-types.data): New vpath directive.
23145         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23146         vpath.  Do not allow for C++ type data being missing.
23147         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23148         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23149         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23150         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23151         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23152         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23153         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23155         ... here.
23156         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23158         ... here.
23159         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23161         ... here.
23162         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23164         ... here.
23165         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23167         ... here.
23168         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23170         ... here.
23171         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23173         ... here.
23174         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23175         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23177         * elf/tls-macros.h (TLS_LE): Move architecture-specific
23178         definitions to architecture-specific files.
23179         (TLS_IE): Likewise.
23180         (TLS_LD): Likewise.
23181         (TLS_GD): Likewise.
23182         * sysdeps/i386/tls-macros.h: New file.
23183         * sysdeps/powerpc/tls-macros.h: Likewise.
23184         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23185         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23186         * sysdeps/sh/tls-macros.h: Likewise.
23187         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23188         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23189         * sysdeps/x86_64/tls-macros.h: Likewise.
23191 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
23193         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23194         zero value for regular exit case.
23196         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23197         (__start_context): Preserve zero value for regular exit case.
23199 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
23200             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23202         * manual/setjmp.texi (setcontext): Clarify normal process
23203         termination when uc_link is the null pointer.
23204         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23205         exit call.
23207 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
23209         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23210         preprocessor.  Test for each exception mask separately.
23212 2012-07-16  Andreas Jaeger  <aj@suse.de>
23214         * po/ru.po: Update from translation team.
23216 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
23218         * conform/data/string.h-data (NULL): Use macro-constant.  Require
23219         equal to 0.
23220         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23221         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23222         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23223         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23224         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23226 2012-07-13  Andreas Jaeger  <aj@suse.de>
23228         * po/fr.po: Update from translation team.
23230 2012-07-12  Marek Polacek  <polacek@redhat.com>
23232         [BZ #14173]
23233         * math/libm-test.inc (yn_test): Add test for BZ #14173.
23234         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23235         loop condition.
23237 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
23239         [BZ #13717]
23240         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23241         Change to 2.4.1 where previously 2.4.0.
23242         * sysdeps/unix/sysv/linux/configure: Regenerated.
23243         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23244         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23245         version.
23246         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23247         (__ASSUME_AT_CLKTCK): Remove.
23248         (__ASSUME_AT_PAGESIZE): Likewise.
23249         (__ASSUME_AT_XID): Likewise.
23250         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23251         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23252         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23253         unconditionally.
23254         (HAVE_AUX_PAGESIZE): Likewise.
23255         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23256         [__ASSUME_AT_CLKTCK]: Make code unconditional.
23257         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23259 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
23261         [BZ #14307]
23262         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23263         the temporary buffer used to invoke __gethostbyname2_r,
23264         __gethostbyaddr_r and gethostbyname4_r to make room for struct
23265         host_data / struct gaih_addrtuple.
23266         * resolv/nss_dns/dns-host.c (global scope): Move definition of
23267         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23268         header file nss/nsswitch.h.
23269         * nss/nsswitch.h (global scope): Add definition of implementation
23270         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23271         resolv/nss_dns/dns-host.c).
23273 2012-07-11  Andreas Jaeger  <aj@suse.de>
23275         * po/fr.po: Update from translation team.
23277         * po/sv.po: Update from translation team
23278         * po/fr.po: Another update from translation team.
23280 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23282         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23283         for subnormals or multiply small sinh result by itself.
23284         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23287 2012-07-11  David S. Miller  <davem@davemloft.net>
23289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23291 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
23293         [BZ #14347]
23294         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23295         (INTERNAL_MARK): Shift it here.
23297 2012-07-10  Marek Polacek  <polacek@redhat.com>
23299         [BZ #14151]
23300         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
23301         libc_cv_asm_global_directive with .globl.
23302         * configure: Regenerated.
23303         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23304         with .globl.
23305         * sysdeps/i386/configure: Regenerated.
23306         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23307         with .globl.
23308         * sysdeps/x86_64/configure: Regenerated.
23309         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23310         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23311         * elf/tst-unique2mod2.c: Likewise.
23312         * elf/tst-unique2mod1.c: Likewise.
23313         * elf/tst-unique1mod2.c: Likewise.
23314         * elf/tst-unique1mod1.c: Likewise.
23315         * sysdeps/s390/s390-32/sysdep.h: Likewise.
23316         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23317         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23318         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23319         * sysdeps/mach/sysdep.h: Likewise.
23320         * sysdeps/i386/sysdep.h: Likewise.
23321         * sysdeps/i386/i386-mcount.S: Likewise.
23322         * sysdeps/x86_64/_mcount.S: Likewise.
23323         * sysdeps/x86_64/sysdep.h: Likewise.
23324         * sysdeps/sh/_mcount.S: Likewise.
23325         * sysdeps/sh/sysdep.h: Likewise.
23326         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23327         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23328         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23329         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23330         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23331         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23332         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23333         * locale/localeinfo.h: Likewise.
23334         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23335         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23337 2012-07-09  Roland McGrath  <roland@hack.frob.com>
23339         [BZ #14336]
23340         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23341         system".
23342         * manual/message.texi (The Uniforum approach): Likewise.
23343         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23344         (glibc iconv Implementation): Likewise.
23346 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
23348         [BZ #14337]
23349         * math/s_clog.c (__clog): Avoid scaling a value down where that
23350         could result in underflow.
23351         * math/s_clog10.c (__clog10): Likewise.
23352         * math/s_clog10f.c (__clog10f): Likewise.
23353         * math/s_clog10l.c (__clog10l): Likewise.
23354         * math/s_clogf.c (__clogf): Likewise.
23355         * math/s_clogl.c (__clogl): Likewise.
23356         * math/libm-test.inc (clog_test): Add more tests.
23357         (clog10_test): Likewise.
23358         * sysdeps/i386/fpu/libm-test-ulps: Update.
23359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23361 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
23363         [BZ #14283]
23364         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23365         by 7 not 8 to examine high bit of fractional part.
23367         [BZ #14042]
23368         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23369         for call to __mcount_internal.
23370         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23371         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23372         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23374 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
23376         [BZ #14154]
23377         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23378         approximation for values within 0x1p-13f of an odd multiple of
23379         pi/4.
23380         * math/libm-test.inc (tan_test): Do not allow spurious underflow
23381         exception.  Add more tests.
23382         * sysdeps/i386/fpu/libm-test-ulps: Update.
23384         [BZ #6778]
23385         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23386         inputs and return -1 for them.  Do not check for +Inf in case not
23387         reachable for +Inf.
23388         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23389         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23390         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23391         and return -1 for them.  Do not check for +Inf in case not
23392         reachable for +Inf.
23393         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23394         define.
23395         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23396         and return -1 for them.  Do not check for +Inf in case not
23397         reachable for +Inf.
23398         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
23399         spurious underflow.
23400         * sysdeps/i386/fpu/libm-test-ulps: Update.
23401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23403 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
23405         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23407 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
23409         [BZ #14157]
23410         [BZ #14331]
23411         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23412         could result in spurious underflow.  Scale down values above
23413         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23414         * math/s_csqrtf.c (__csqrtf): Likewise.
23415         * math/s_csqrtl.c (__csqrtl): Likewise.
23416         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
23417         spurious underflow.
23418         * sysdeps/i386/fpu/libm-test-ulps: Update.
23419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23421 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
23423         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23424         xopen-msg.sed.
23425         * catgets/xopen-msg.awk: New file.
23426         * catgets/xopen-msg.sed: Removed.
23428         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23429         po2text.sed.
23430         * intl/po2test.awk: New file.
23431         * intl/po2test.sed: Removed.
23433 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
23435         [BZ #14328]
23436         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23437         or multiply small sinh result by itself.
23438         * math/s_ctanf.c (__ctanf): Likewise.
23439         * math/s_ctanh.c (__ctanh): Likewise.
23440         * math/s_ctanhf.c (__ctanhf): Likewise.
23441         * math/s_ctanhl.c (__ctanhl): Likewise.
23442         * math/s_ctanl.c (__ctanl): Likewise.
23443         * math/libm-test.inc (ctan_test_tonearest): New function.
23444         (ctan_test_towardzero): Likewise.
23445         (ctan_test_downward): Likewise.
23446         (ctan_test_upward): Likewise.
23447         (ctanh_test_tonearest): Likewise.
23448         (ctanh_test_towardzero): Likewise.
23449         (ctanh_test_downward): Likewise.
23450         (ctanh_test_upward): Likewise.
23451         (main): Call these new functions.
23452         * sysdeps/i386/fpu/libm-test-ulps: Update.
23453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23455 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
23457         * .gitignore: Delete /ports entry.
23459 2012-07-03  Andreas Jaeger  <aj@suse.de>
23461         * po/bg.po: Update from translation team.
23462         * po/cs.po: Likewise.
23463         * po/de.po: Likewise.
23464         * po/hr.po: Likewise.
23465         * po/nl.pl: Likewise.
23466         * po/pl.po: Likewise.
23467         * po/vi.po: Likewise.
23469 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
23471         * Makeconfig [!+link] (+link-before-libc): New variable.
23472         [!+link] (+link-after-libc): Likewise.
23473         [!+link] (+link-tests): Likewise.
23474         [!+link] (+link): Define in terms of $(+link-before-libc) and
23475         $(+link-after-libc).
23476         [!+link-static] (+link-static-before-libc): New variable.
23477         [!+link-static] (+link-static-after-libc): Likewise.
23478         [!+link-static] (+link-static-tests): Likewise.
23479         [!+link-static] (+link-static): Define in terms of
23480         $(+link-static-before-libc) and $(+link-static-after-libc).
23481         [build-shared] (link-libc-before-gnulib): New variable.
23482         [build-shared] (link-libc-tests): Likewise.
23483         [build-shared] (link-libc): Define in terms of
23484         $(link-libc-before-gnulib).
23485         [!build-shared] (link-libc-tests): New variable.
23486         (link-libc-static-tests): New variable.
23487         [!gnulib] (gnulib-arch): New variable.
23488         [!gnulib] (gnulib-tests): Likewise.
23489         [!gnulib] (static-gnulib-arch): Likewise.
23490         [!gnulib] (static-gnulib-tests): Likewise.
23491         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
23492         Define with "=" instead of ":=".
23493         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
23494         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
23495         * Rules (binaries-all-notests): New variable.
23496         (binaries-all-tests): Likewise.
23497         (binaries-static-notests): Likewise.
23498         (binaries-static-tests): Likewise.
23499         (binaries-all): Define using $(binaries-all-notests) and
23500         $(binaries-all-tests).
23501         (binaries-static): Define using $(binaries-static-notests) and
23502         $(binaries-static-tests).
23503         (binaries-shared-tests): New variable.
23504         (binaries-shared-notests): Likewise.
23505         (binaries-shared): Remove variable.
23506         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23507         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23508         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23509         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23510         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23511         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23512         * elf/Makefile (sln-modules): New variable.
23513         (extra-objs): Add $(sln-modules:=.o).
23514         (ldconfig-modules): Add static-stubs.
23515         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23516         * elf/static-stubs.c: New file.
23518         [BZ #14283]
23519         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23520         by 7 not 8 to examine high bit of fractional part.  Use volatile
23521         variables when splitting into final array of floats if
23522         __FLT_EVAL_METHOD__ != 0.
23523         * math/libm-test.inc (cos_test): Add another test.
23524         (sin_test): Likewise.
23525         * sysdeps/i386/fpu/libm-test-ulps: Update.
23527         [BZ #14273]
23528         * math/libm-test.inc (cosh_test): Add more tests.
23530         * version.h (RELEASE): Set to "development".
23531         (VERSION): Set to "2.16.90".
23533 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
23535         * NEWS: Update copyright. Remove last-updated date.
23536         Mention math library bug fixes and timezone data changes.
23537         * README: Mention GNU/Hurd, x32, and HPPA support status.
23539 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
23541         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23543 2012-06-27  Andreas Jaeger  <aj@suse.de>
23545         * manual/contrib.texi (Contributors): Add Samuel Thibault.
23547 2012-06-25  Andreas Jaeger  <aj@suse.de>
23549         * sysdeps/s390/fpu/libm-test-ulps: Update.
23551 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
23552             Thomas Schwinge  <thomas@codesourcery.com>
23554         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23555         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23556         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23557         fanotify_mark.
23559 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
23561         * sysdeps/mach/start.c: Remove file.
23562         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23563         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23564         * sysdeps/sh/init-first.c: Likewise.
23566         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23567         registers for frame unwinding purposes, add CFI directives.
23568         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23569         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23570         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23571         Likewise.
23573         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23574         __fortify_fail returning.
23575         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23577         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23578         sysdeps/sh/____longjmp_chk.S.
23579         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23580         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23581         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23582         (gen-as-const-headers): Append sigaltstack-offsets.sym.
23584         * sysdeps/sh/abort-instr.h: New file.
23585         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23586         process in case exit returns.
23588         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23589         initialize the GOT register before use.
23591         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23592         calculation of ARGC > 4.
23594         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23595         meaningful names to some local labels.
23597 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23598             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23600         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23601         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23602         (__arch_compare_and_exchange_val_16_acq): Likewise.
23603         (__arch_compare_and_exchange_val_32_acq): Likewise.
23604         (atomic_exchange_and_add): Fix gUSA sequence.
23605         (atomic_add): Likewise.
23606         (atomic_add_negative): Likewise.
23607         (atomic_add_zero): Likewise.
23608         (atomic_bit_test_set): Likewise.
23610 2012-06-22  Andreas Schwab  <schwab@redhat.com>
23612         [BZ #13579]
23613         * include/link.h (struct link_map): Add l_free_initfini.
23614         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23615         l_initfini.
23616         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23617         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23618         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23619         set.
23621 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
23623         * configure.in: Use AC_LANG_SOURCE.
23624         * configure: Regenerate.
23626 2012-06-22  Roland McGrath  <roland@hack.frob.com>
23628         * configure.in (libc_cv_localstatedir): New substituted variable.
23629         * configure: Regenerated.
23630         * config.make.in (localstatedir): New variable, substituted from
23631         libc_cv_localstatedir.
23632         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23633         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23634         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23635         * sysdeps/gnu/configure: Regenerated.
23637 2012-06-21  Jeff Law  <law@redhat.com>
23639         [BZ #14277]
23640         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23641         free.  Simplify list management for _LIBC case.
23643 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
23645         [BZ #14273]
23646         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23647         Clear sign bit of 64-bit integer value before comparing against
23648         overflow value.
23650         * sysdeps/mach/configure: Regenerated.
23652 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
23654         [BZ #14278]
23655         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23657 2012-06-21  Jeff Law  <law@redhat.com>
23659         [BZ #13882]
23660         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
23661         uint16_t for elements in the "seen" array to avoid char overflows.
23662         * elf/dl-fini.c (_dl_sort_fini): Likewise.
23663         * elf/dl-open.c (dl_open_worker): Likewise.
23665 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
23667         * scripts/list-sources.sh: Scan PORTS for translations.
23668         * po/libc.pot: Regenerated.
23670 2012-06-21  Andreas Jaeger  <aj@suse.de>
23672         [BZ #12194]
23673         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23674         warning.
23675         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23676         * bits/byteswap-16.h (__bswap_16): Likewise.
23677         * bits/byteswap.h (__bswap_constant_16): Likewise.
23679 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
23681         [BZ #14117]
23682         * sysdeps/i386/fpu_control.h: Removed.
23683         * sysdeps/x86_64/fpu_control.h: Moved to ...
23684         * sysdeps/x86/fpu_control.h: Here.
23686         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23687         (_FPU_SETCW): Likewise.
23689 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
23691         [BZ #14117]
23692         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23693         * sysdeps/x86/fpu/bits/mathinline.h: This.
23694         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23696         [BZ #14050]
23697         [BZ #14117]
23698         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23699         functions if __x86_64__ is defined.
23701 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
23703         * string/endian.h: Add !__ASSEMBLER__ condition for including
23704         conversion interfaces.
23706 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
23708         [BZ #14241]
23709         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23710         of ABS(x) in calculating zero to negative powers other than odd
23711         integers.
23712         * math/libm-test.inc (pow_test): Add more tests.
23714 2012-06-15  Andreas Jaeger  <aj@suse.de>
23716         * manual/contrib.texi (Contributors): Update entry of Liubov
23717         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23718         Machado Filho.
23720 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
23722         * string/string.h: Add __wur to GNU version of strerror_r.
23724 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
23726         [BZ #14229]
23727         * string/Makefile (tests): Add tst-strtok_r.
23728         * string/tst-strtok_r.c: New file.
23729         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23730         RAX_LP/RDX_LP on SAVE_PTR.
23732 2012-06-14  Roland McGrath  <roland@hack.frob.com>
23734         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23736 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
23738         * libm_test.inc (csqrt_test): Allow more spurious underflow
23739         exceptions.
23740         (j0_test): Likewise.
23741         (j1_test): Likewise.
23742         (y0_test): Likewise.
23743         (y1_test): Likewise.
23745 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
23747         * po/Makefile (libc.pot): Use UTF-8 charset.
23749 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
23751         [BZ #14210]
23752         Suppress sign-conversion warning from FD_SET.
23753         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23754         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23755         not unsigned long int.
23756         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23758 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
23760         [BZ #14050]
23761         [BZ #14117]
23762         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23763         __extern_always_inline instead of __extern_inline.
23764         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23765         (__signbit): Likewise.
23766         (__signbitl): Support C++ namespace.
23767         (lrintf): New inline function.
23768         (lrint): Likewise.
23769         (llrintf): Likewise.
23770         (llrint): Likewise.
23771         (fmaxf): Likewise.
23772         (fmax): Likewise.
23773         (fminf): Likewise.
23774         (fmin): Likewise.
23775         (rint): Likewise.
23776         (rintf): Likewise.
23777         (ceil): Likewise.
23778         (ceilf): Likewise.
23779         (floor): Likewise.
23780         (floorf): Likewise.
23781         (nearbyint): Likewise.
23782         (nearbyintf): Likewise.
23784 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
23786         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23787         non-default versions.
23789 2012-06-11  Roland McGrath  <roland@hack.frob.com>
23791         [BZ #14218]
23792         * manual/argp.texi (Argp): Reword argp_parse description slightly.
23794 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
23796         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23797         (FE_UPWARD, FE_DOWNWARD): Don't define.
23798         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23799         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23801         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23802         reading it.
23803         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23804         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23806 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23808         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23809         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23810         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23811         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23813 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
23815         [BZ #14117]
23816         * sysdeps/i386/fpu/bits/fenv.h: Removed.
23817         * sysdeps/i386/fpu/Implies: New file.
23818         * sysdeps/x86_64/fpu/Implies: Likewise.
23819         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23820         * sysdeps/x86/fpu/bits/fenv.h: This.
23822         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23823         __SSE_MATH__.
23825 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23827         [BZ #14134]
23828         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23829         character 0xffff that matches the last element of the
23830         conversion table.
23832 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23834         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23835         fmodl commit.
23837 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23839         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23840         values higher than 25.6283.
23842 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23844         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23845         subnormal exponent extraction and add some __builtin_expect.
23846         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23847         Fix for subnormal mantissa calculation.
23849 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
23851         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23852         cpu2 is -1 and errno is not ENOSYS.
23854 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
23856         [BZ #14117]
23857         * sysdeps/i386/i486/bits/string.h: Renamed to ...
23858         * sysdeps/x86/bits/string.h: This.
23859         * sysdeps/x86_64/bits/string.h: Removed.
23861         * sysdeps/i386/i486/bits/string.h: Define inline functions only
23862         if not compiling for x86-64, but compiling for >= i486.
23864         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23865         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23867         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23868         New macro from Linux kernel 3.4.0.
23869         (FP_XSTATE_MAGIC2): Likewise.
23870         (FP_XSTATE_MAGIC2_SIZE): Likewise.
23871         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23872         (struct _fpx_sw_bytes): New struct.
23873         (struct _xsave_hdr): Likewise.
23874         (struct _ymmh_state): Likewise.
23875         (struct _xstate): Likewise.
23877         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23878         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23879         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23880         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23881         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23882         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23884         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23885         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23886         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23887         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23888         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23889         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23891 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23893         [BZ #13743]
23894         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23895         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23896         (sysdep_headers): Include sys/platform/ppc.h.
23897         * sysdeps/powerpc/test-gettimebase.c: Test for
23898         __ppc_get_timebase() to catch future ISA opcode/insn changes.
23899         * manual/Makefile (appendices): Include platform.texi.
23900         * manual/contrib.texi (Contributors): Update @node pointers.
23901         * manual/maint.texi (Maintenance): Likewise.
23902         (Platform): New node.
23903         * manual/platform.texi: New file.  Document the new features.
23905 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23906             Jakub Jelinek  <jakub@redhat.com>
23908         [BZ #14188]
23909         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23910         where __builtin_expect is unavailable.
23912 2012-06-03  David S. Miller  <davem@davemloft.net>
23914         * stdlib/longlong.h: Updated from GCC.
23916 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
23918         [BZ #14042]
23919         * sysdeps/powerpc/powerpc32/mcount.c: New file.
23920         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23921         __mcount_internal.
23922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23923         (GLIBC_2.16): Likewise.
23925 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23927         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23929 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
23931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23932         (default-abi): New variable.
23933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23934         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23935         variable.
23936         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23937         Likewise.
23938         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23939         Likewise.
23940         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23941         Likewise.
23943         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23944         definition.  Document in comment.
23946 2012-06-01  David S. Miller  <davem@davemloft.net>
23948         * stdlib/longlong.h: Updated from GCC.
23950 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23952         [BZ #14117]
23953         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23954         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23955         sys/debugreg.h sys/io.h here.
23956         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23957         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23958         sys/io.h.
23959         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23960         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23961         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23962         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23963         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23964         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23966         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23967         Define only if __x86_64__ is defined.
23969 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
23971         [BZ #14048]
23972         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23973         Use int64_t for variable i.
23974         * math/libm-test.inc (fmod_test): Add more tests.
23976         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23977         z computation is not scheduled after fetestexcept.
23978         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23979         Use math_force_eval instead of asm to ensure calculation scheduled
23980         before exception test.
23981         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23982         Ensure a1 + u.d computation is not scheduled after fetestexcept.
23984 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
23986         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23987         computation is not scheduled after fetestexcept.
23989 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23991         [BZ #14117]
23992         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23993         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23995 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23997         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23998         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24000 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
24002         [BZ #14117]
24003         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
24004         <bits/wordsize.h>.
24005         (__WCHAR_MIN): Support __WORDSIZE == 64.
24006         (__WCHAR_MAX): Likewise.
24008         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
24009         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
24011         [BZ #14183]
24012         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
24013         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
24015         [BZ #14117]
24016         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
24017         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
24019         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
24020         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
24022         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
24023         Defined to 1 if __x86_64__ isn't defined.
24024         (_STAT_VER_LINUX_OLD): New.
24025         (st_atime): Remove duplicate.
24026         (st_mtime): Likewise.
24027         (st_ctime): Likewise.
24029 2012-05-31  David S. Miller  <davem@davemloft.net>
24031         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
24032         entries.
24034 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
24036         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24037         gen-libm-test.pl.
24039         [BZ #14132]
24040         * elf/dl-reloc.c: Include <_itoa.h>.
24041         (_dl_reloc_bad_type): Remove use of INTUSE.
24042         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24043         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24044         * stdio-common/psiginfo.c (psiginfo): Likewise.
24045         * stdio-common/psignal.c (psignal): Likewise.
24046         * string/strsignal.c (strsignal): Likewise.
24047         * include/signal.h (_sys_siglist): Declare hidden proto.
24048         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
24049         INTVARDEF with libc_hidden_data_def.
24050         * stdio-common/itoa-udigits.c: Likewise.
24051         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24052         (_itoa_lower_digits_internal): Remove declaration.
24053         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24054         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24055         (_sys_sigabbrev_internal): Remove aliases.
24056         (_sys_siglist): Define hidden alias.
24058 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
24060         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24061         bits/sysctl.h.
24063 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
24065         [BZ #14117]
24066         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24067         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24069         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24070         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24071         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24072         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24073         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24074         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24076         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24077         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24078         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24080         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24081         with __addr.
24082         (insw): Likewise.
24083         (insl): Likewise.
24084         (outsb): Likewise.
24085         (outsw): Likewise.
24086         (outsl): Likewise.
24088         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24089         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24090         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24092         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24093         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24094         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24095         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24096         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24097         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24099         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24100         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24102         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24103         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24105         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24106         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24107         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24109         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24110         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24111         to ...
24112         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24114         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24115         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24116         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24118         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24119         for x86-64.
24120         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24122 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
24124         * math/math.h (M_El): Use two more decimal places.
24125         (M_LOG2El): Likewise.
24126         (M_LOG10El): Likewise.
24127         (M_LN2l): Likewise.
24128         (M_LN10l): Likewise.
24129         (M_PIl): Likewise.
24130         (M_PI_2l): Likewise.
24131         (M_PI_4l): Likewise.
24132         (M_1_PIl): Likewise.
24133         (M_2_PIl): Likewise.
24134         (M_2_SQRTPIl): Likewise.
24135         (M_SQRT2l): Likewise.
24136         (M_SQRT1_2l): Likewise.
24138 2012-05-31  David S. Miller  <davem@davemloft.net>
24140         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24141         values between float registers.
24142         * sysdeps/sparc/sparc64/memset.S: Likewise.
24143         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24145 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
24147         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24148         -D_FORTIFY_SOURCE=1.
24149         (CPPFLAGS-tst-longjmp_chk.c): Define.
24150         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24151         (CPPFLAGS-tst-longjmp_chk2.c): Define.
24152         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24153         CFLAGS-tst-wchar-h.c.
24155 2012-05-31  Marek Polacek  <polacek@redhat.com>
24157         [BZ #14132]
24158         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24159         __endmntent_internal): Remove declaration.
24160         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24161         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24162         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24164 2012-05-30  David S. Miller  <davem@davemloft.net>
24166         * sysdeps/sparc/sparc32/soft-fp/q_util.c
24167         (___Q_simulate_exceptions): Use real FP ops rather than writing
24168         into the %fsr.
24169         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24170         Likewise.
24172 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
24174         [BZ #14117]
24175         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24176         * sysdeps/x86/bits/xtitypes.h: This.
24178         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24179         * sysdeps/x86/bits/wordsize.h: This.
24181         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24182         * sysdeps/x86/bits/huge_vall.h: This.
24184         * sysdeps/i386/bits/select.h: Removed.
24185         * sysdeps/x86_64/bits/select.h: Renamed to ...
24186         * sysdeps/x86/bits/select.h: This.
24188         * sysdeps/i386/bits/setjmp.h: Removed.
24189         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24190         * sysdeps/x86/bits/setjmp.h: This.
24192         * sysdeps/i386/bits/mathdef.h: Removed.
24193         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24194         * sysdeps/x86/bits/mathdef.h: This.
24196 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
24198         [BZ #14132]
24199         * include/sys/socket.h (__connect_internal)
24200         (__libc_sa_len_internal): Remove declaration.
24201         (__connect, __libc_sa_len): Declare hidden_proto.
24202         (SA_LEN): Remove use of INTUSE.
24203         * socket/connect.c: Add libc_hidden_def.
24204         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24205         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24206         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24207         alias.
24208         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24209         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24210         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24211         of adding _internal alias.
24213 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
24215         [BZ #14117]
24216         * sysdeps/i386/bits/link.h: Removed.
24217         * sysdeps/i386/bits/linkmap.h: Likewise.
24218         * sysdeps/x86_64/bits/link.h: Renamed to ...
24219         * sysdeps/x86/bits/link.h: This.
24220         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24221         * sysdeps/x86/bits/linkmap.h: This.
24223         * sysdeps/i386/bits/endian.h: Removed.
24224         * sysdeps/x86_64/bits/endian.h: Renamed to ...
24225         * sysdeps/x86/bits/endian.h: This.
24227         * sysdeps/i386/bits/byteswap.h: Removed.
24228         * sysdeps/i386/bits/byteswap-16.h: Likewise.
24229         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24230         * sysdeps/x86/bits/byteswap.h: This.
24231         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24232         * sysdeps/x86/bits/byteswap-16.h: This.
24233         * sysdeps/i386/Implies: Add x86.
24234         * sysdeps/x86_64/Implies: Likewise.
24236 2012-05-30  David S. Miller  <davem@davemloft.net>
24238         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24239         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24240         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24241         (FP_TRAPPING_EXCEPTIONS): Define.
24242         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24243         (FP_TRAPPING_EXCEPTIONS): Define.
24244         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24245         subnormals only when inexact has been signalled or underflow
24246         exceptions are enabled.
24247         (_FP_PACK_CANONICAL): Likewise.
24249 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
24251         [BZ #14183]
24252         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24253         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24255 2012-05-30  Richard Henderson  <rth@twiddle.net>
24257         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24258         with #ifndef NOT_IN_libc.
24260         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
24261         marked to avoid plt entry.
24263 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
24265         [BZ #14112]
24266         * Makeconfig (default-abi): New macro.
24267         (abi-includes): Likewise.
24268         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
24269         $(abi-$(default-abi)-lib-soname) for soname if defined.
24270         ($(common-objpfx)gnu/lib-names.stmp): Generate from
24271         abi-variants.
24272         * Makefile (installed-stubs): Likewise.
24273         * include/stubs-biarch.h: Removed.
24274         * scripts/lib-names.awk: Only handle one library at a time.
24275         * scripts/soversions.awk: Remove WORDSIZE support.
24276         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24277         entries.
24278         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24279         Removed.
24280         (syscall-list-default-condition): Likewise.
24281         (syscall-list-default-condition): Likewise.
24282         (syscall-list-includes): Likewise.
24283         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24284         syscall-list-* with abi-*.  Handle undefined abi-variants.
24285         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24286         * sysdeps/unix/sysv/linux/i386/Implies: New file.
24287         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24288         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24289         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24290         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24291         Removed.
24292         (syscall-list-32-options): Likewise.
24293         (syscall-list-32-condition): Likewise.
24294         (syscall-list-64-options): Likewise.
24295         (syscall-list-64-condition): Likewise.
24296         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24297         macro.
24298         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24299         Renamed to ...
24300         (abi-*): This.
24301         (abi-64-ld-soname): New macro.
24302         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24303         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24304         Renamed to ...
24305         (abi-*): This.
24306         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24307         * sysdeps/x86_64/x32/shlib-versions: Likewise.
24309 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
24311         * sysdeps/unix/sysv/linux/kernel-features.h
24312         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24313         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24314         include <kernel-features.h>.
24315         [!__NR_ftruncate64]: Remove conditional code.
24316         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24317         [__NR_ftruncate64]: Make code unconditional.
24318         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24319         * sysdeps/unix/sysv/linux/truncate64.c: Do not
24320         include <kernel-features.h>.
24321         [!__NR_ftruncate64]: Remove conditional code.
24322         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24323         [__NR_ftruncate64]: Make code unconditional.
24324         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24326         include <kernel-features.h>.
24327         [!__NR_ftruncate64]: Remove conditional code.
24328         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24329         [__NR_ftruncate64]: Make code unconditional.
24330         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24332         include <kernel-features.h>.
24333         [!__NR_ftruncate64]: Remove conditional code.
24334         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24335         [__NR_ftruncate64]: Make code unconditional.
24336         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24338         * configure.in (libc_cv_fpie): Weaken to a compile test using
24339         LIBC_TRY_CC_OPTION.
24340         * configure: Regenerated.
24342 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24348         Refreshed.
24349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24355         Refreshed.
24357 2012-05-27  David S. Miller  <davem@davemloft.net>
24359         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24360         (___Q_zero): New.
24361         (__Q_simulate_exceptions): Return void.  Change to simulate
24362         exceptions by writing into the %fsr.
24363         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24364         (__Qp_handle_exceptions): Likewise.
24365         (numbers): Delete.
24366         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24367         __Qp_handle_exceptions.
24368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24369         __Qp_handle_exceptions.
24370         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24371         as unused and give dummy FP_RND_NEAREST initializer.
24372         (FP_INHIBIT_RESULTS): Define.
24373         (___Q_simulate_exceptions): Update declaration.
24374         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24375         formatting.
24376         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24377         as unused and give dummy FP_RND_NEAREST initializer.
24378         (__Qp_handle_exceptions): Update declaration.
24379         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24380         formatting.
24382 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
24384         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24385         the temporary FPU control word.
24386         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24387         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24388         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24389         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24390         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24391         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24392         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24393         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24394         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24395         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24396         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24398 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24400         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24401         fields.
24403 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
24405         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24406         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24407         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24408         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24409         Likewise.
24410         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24411         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24412         Likewise.
24414 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
24416         * po/h.po: Update from translation team.
24418 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
24420         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24422         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24423         handling of denormals.
24424         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24425         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24426         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24427         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24428         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24429         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24430         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24431         Likewise.
24433 2012-05-26  Marek Polacek  <polacek@redhat.com>
24435         [BZ #14152]
24436         * math/libm-test.inc (fma_test): Don't always expect underflow
24437         exception.
24439 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24441         [BZ #12416]
24442         * elf/tst-execstack.c: Include stackinfo.h.
24443         (do_test): Adjust test case to ensure that pthread_getattr_np
24444         behaviour remains the same after marking stack executable.
24446 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
24448         * sysdeps/unix/sysv/linux/kernel-features.h
24449         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24450         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24451         kernel-features.h.
24452         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24453         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24454         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24455         kernel-features.h.
24456         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24457         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24459 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
24461         * configure.in: Define the default includes to being none.
24462         * configure: Regenerated.
24464 2012-05-25  Roland McGrath  <roland@hack.frob.com>
24466         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24467         * sysdeps/x86_64/setjmp.S: Likewise.
24468         * sysdeps/i386/bsd-setjmp.S: Likewise.
24469         * sysdeps/i386/bsd-_setjmp.S: Likewise.
24470         * sysdeps/i386/setjmp.S: Likewise.
24471         * sysdeps/i386/__longjmp.S: Likewise.
24472         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24473         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24475         * include/stap-probe.h: New file.
24476         * configure.in: Handle --enable-systemtap.
24477         * configure: Regenerated.
24478         * config.h.in (USE_STAP_PROBE): New #undef.
24479         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24480         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24481         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24483 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
24485         [BZ #13717]
24486         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24487         to 2.4.0 where earlier.
24488         * sysdeps/unix/sysv/linux/configure: Regenerated.
24489         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24490         <kernel-features.h>.
24491         [__ASSUME_32BITUIDS]: Make code unconditional.
24492         [!__ASSUME_32BITUIDS]: Remove conditional code.
24493         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24494         <kernel-features.h>.
24495         [__ASSUME_32BITUIDS]: Make code unconditional.
24496         [!__ASSUME_32BITUIDS]: Remove conditional code.
24497         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24498         [__ASSUME_32BITUIDS]: Make code unconditional.
24499         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24500         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24501         <kernel-features.h>.
24502         [__ASSUME_32BITUIDS]: Make code unconditional.
24503         [!__ASSUME_32BITUIDS]: Remove conditional code.
24504         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24505         <kernel-features.h>.
24506         [__ASSUME_32BITUIDS]: Make code unconditional.
24507         [!__ASSUME_32BITUIDS]: Remove conditional code.
24508         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24509         <kernel-features.h>.
24510         [__ASSUME_32BITUIDS]: Make code unconditional.
24511         [!__ASSUME_32BITUIDS]: Remove conditional code.
24512         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24513         <kernel-features.h>.
24514         [__ASSUME_32BITUIDS]: Make code unconditional.
24515         [!__ASSUME_32BITUIDS]: Remove conditional code.
24516         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24517         <kernel-features.h>.
24518         [__ASSUME_32BITUIDS]: Make code unconditional.
24519         [!__ASSUME_32BITUIDS]: Remove conditional code.
24520         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24521         <kernel-features.h>.
24522         [__ASSUME_32BITUIDS]: Make code unconditional.
24523         [!__ASSUME_32BITUIDS]: Remove conditional code.
24524         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24525         <kernel-features.h>.
24526         [__ASSUME_32BITUIDS]: Make code unconditional.
24527         [!__ASSUME_32BITUIDS]: Remove conditional code.
24528         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24529         <kernel-features.h>.
24530         [__ASSUME_32BITUIDS]: Make code unconditional.
24531         [!__ASSUME_32BITUIDS]: Remove conditional code.
24532         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24533         <kernel-features.h>.
24534         [__ASSUME_32BITUIDS]: Make code unconditional.
24535         [!__ASSUME_32BITUIDS]: Remove conditional code.
24536         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24537         <kernel-features.h>.
24538         [__ASSUME_32BITUIDS]: Make code unconditional.
24539         [!__ASSUME_32BITUIDS]: Remove conditional code.
24540         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24541         <kernel-features.h>.
24542         [__NR_setresgid] (__setresgid): Do not declare.
24543         [__ASSUME_32BITUIDS]: Make code unconditional.
24544         [!__ASSUME_32BITUIDS]: Remove conditional code.
24545         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24546         <kernel-features.h>.
24547         [__NR_setresuid] (__setresuid): Do not declare.
24548         [__ASSUME_32BITUIDS]: Make code unconditional.
24549         [!__ASSUME_32BITUIDS]: Remove conditional code.
24550         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24551         <kernel-features.h>.
24552         [__ASSUME_32BITUIDS]: Make code unconditional.
24553         [!__ASSUME_32BITUIDS]: Remove conditional code.
24554         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24555         <kernel-features.h>.
24556         [__ASSUME_32BITUIDS]: Make code unconditional.
24557         [!__ASSUME_32BITUIDS]: Remove conditional code.
24558         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24559         <kernel-features.h>.
24560         [__ASSUME_32BITUIDS]: Make code unconditional.
24561         [!__ASSUME_32BITUIDS]: Remove conditional code.
24562         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24563         <kernel-features.h>.
24564         [__ASSUME_32BITUIDS]: Make code unconditional.
24565         [!__ASSUME_32BITUIDS]: Remove conditional code.
24566         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24567         <kernel-features.h>.
24568         [__ASSUME_32BITUIDS]: Make code unconditional.
24569         [!__ASSUME_32BITUIDS]: Remove conditional code.
24570         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24571         <kernel-features.h>.
24572         [__ASSUME_32BITUIDS]: Make code unconditional.
24573         [!__ASSUME_32BITUIDS]: Remove conditional code.
24574         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24575         <kernel-features.h>.
24576         [__ASSUME_32BITUIDS]: Make code unconditional.
24577         [!__ASSUME_32BITUIDS]: Remove conditional code.
24578         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24579         <kernel-features.h>.
24580         [__ASSUME_32BITUIDS]: Make code unconditional.
24581         [!__ASSUME_32BITUIDS]: Remove conditional code.
24582         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24583         <kernel-features.h>.
24584         [__ASSUME_32BITUIDS]: Make code unconditional.
24585         [!__ASSUME_32BITUIDS]: Remove conditional code.
24586         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24587         <kernel-features.h>.
24588         [__ASSUME_32BITUIDS]: Make code unconditional.
24589         [!__ASSUME_32BITUIDS]: Remove conditional code.
24590         * sysdeps/unix/sysv/linux/kernel-features.h
24591         (__ASSUME_SETRESUID_SYSCALL): Remove.
24592         (__ASSUME_SETRESGID_SYSCALL): Likewise.
24593         (__ASSUME_32BITUIDS): Likewise.
24594         (__ASSUME_LDT_WORKS): Likewise.
24595         (__ASSUME_O_DIRECTORY): Likewise.
24596         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24597         architecture but not kernel version.
24598         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24599         (__ASSUME_MMAP2_SYSCALL): Likewise.
24600         (__ASSUME_STAT64_SYSCALL): Likewise.
24601         (__ASSUME_IPC64): Likewise.
24602         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24603         <kernel-features.h>.
24604         [__ASSUME_32BITUIDS]: Make code unconditional.
24605         [!__ASSUME_32BITUIDS]: Remove conditional code.
24606         * sysdeps/unix/sysv/linux/opendir.c: Do not include
24607         <kernel-features.h>.
24608         [__ASSUME_O_DIRECTORY]: Make code unconditional.
24609         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24610         132096]: Remove conditional code.
24611         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24612         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24613         <kernel-features.h>.
24614         [__ASSUME_32BITUIDS]: Make code unconditional.
24615         [!__ASSUME_32BITUIDS]: Remove conditional code.
24616         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24617         <kernel-features.h>.
24618         [__ASSUME_32BITUIDS]: Make code unconditional.
24619         [!__ASSUME_32BITUIDS]: Remove conditional code.
24620         * sysdeps/unix/sysv/linux/setegid.c: Do not include
24621         <kernel-features.h>.
24622         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24623         unconditional.
24624         (__setresgid): Do not declare.
24625         [__ASSUME_32BITUIDS]: Make code unconditional.
24626         [!__ASSUME_32BITUIDS]: Remove conditional code.
24627         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24628         <kernel-features.h>.
24629         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24630         unconditional.
24631         (__setresuid): Do not declare.
24632         [__ASSUME_32BITUIDS]: Make code unconditional.
24633         [!__ASSUME_32BITUIDS]: Remove conditional code.
24634         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24635         <kernel-features.h>.
24636         [__ASSUME_32BITUIDS]: Make code unconditional.
24637         [!__ASSUME_32BITUIDS]: Remove conditional code.
24638         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24639         <kernel-features.h>.
24640         [__ASSUME_32BITUIDS]: Make code unconditional.
24641         [!__ASSUME_32BITUIDS]: Remove conditional code.
24643 2012-05-25  Richard Henderson  <rth@twiddle.net>
24645         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24646         dl_hwcap to ifunc resolver.
24647         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24648         elf_ifunc_invoke.
24649         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24650         dl_hwcap to ifunc resolver.
24651         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24653 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
24655         [BZ #14153]
24656         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24657         for |x| <= 2**-26, not 2**-57.
24658         * math/libm-test.inc (acos_test): Do not allow spurious underflow
24659         exception.
24661 2012-05-24  Jeff Law  <law@redhat.com>
24663         * stdio-common/Makefile (tests): Add bug25.
24664         * stdio-common/bug25.c: New test.
24666 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
24668         [BZ #13576]
24669         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24670         multiple of MALLOC_ALIGNMENT in size.
24671         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24673 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
24675         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24676         Require >= 256.
24677         (FILENAME_MAX): Use macro-int-constant.
24678         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
24679         (_IOFBF): Use macro-int-constant.
24680         (_IOLBF): Likewise.
24681         (_IONBF): Likewise.
24682         (SEEK_CUR): Likewise.
24683         (SEEK_END): Likewise.
24684         (SEEK_SET): Likewise.
24685         (TMP_MAX): Likewise.
24686         (EOF): Use macro-int-constant.  Require < 0.
24687         (NULL): Use macro-constant.  Require == 0.
24688         (stdin): Require type to be FILE *.
24689         (stdout): Likewise.
24690         (stderr): Likewise.
24691         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24692         macro-int-constant.
24693         (EXIT_SUCCESS): Likewise.
24694         (NULL): Use macro-constant.  Require == 0.
24695         (RAND_MAX): Use macro-int-constant.
24696         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24697         [C99-based standards] (strtof): Require function.
24698         [C99-based standards] (strtold): Likewise.
24699         [C99-based standards] (strtoll): Likewise.
24700         [C99-based standards] (strtoull): Likewise.
24701         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24702         [ISO || ISO99 || ISO11] (limits.h): Likewise.
24703         [ISO || ISO99 || ISO11] (math.h): Likewise.
24704         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24705         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24706         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24708 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
24710         [BZ #14132]
24711         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24712         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24713         * intl/dgettext.c (DCGETTEXT): Likewise.
24714         * intl/gettext.c (DCGETTEXT): Likewise.
24715         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24716         * posix/regex_internal.h (gettext): Likewise.
24717         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24718         Remove declaration.
24719         * include/argz.h (__argz_count_internal)
24720         (__argz_stringify_internal): Remove declaration.
24721         (__argz_count, __argz_stringify): Declare hidden proto.
24722         * intl/dcgettext.c: Remove use of INTDEF.
24723         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24724         * string/argz-stringify.c: Likewise.
24725         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24726         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24727         Declare hidden proto.
24728         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24729         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24730         Declare hidden proto.
24731         * include/stdio.h (__asprintf_internal): Don't declare.
24732         (__asprintf): Don't define as macro.  Declare hidden proto.
24733         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24734         (__fsetlocking): Declare hidden proto.
24735         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24736         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24737         hidden proto.
24738         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24739         (_IO_setlinebuf): Remove use of INTUSE.
24740         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24741         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24742         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24743         Remove declaration.
24744         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24745         (_IO_do_flush): Remove use of INTUSE.
24746         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24747         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24748         (_IO_adjust_column, _IO_least_wmarker)
24749         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24750         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24751         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24752         (_IO_default_doallocate, _IO_wdefault_doallocate)
24753         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24754         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24755         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24756         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24757         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24758         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24759         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24760         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24761         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24762         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24763         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24764         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24765         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24766         proto.
24767         (_IO_flush_all_internal, _IO_adjust_column_internal)
24768         (_IO_default_uflow_internal, _IO_default_finish_internal)
24769         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24770         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24771         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24772         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24773         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24774         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24775         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24776         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24777         (_IO_file_close_internal, _IO_file_close_it_internal)
24778         (_IO_file_underflow_internal, _IO_file_overflow_internal)
24779         (_IO_file_init_internal, _IO_file_attach_internal)
24780         (_IO_file_fopen_internal, _IO_file_read_internal)
24781         (_IO_file_sync_internal, _IO_file_seek_internal)
24782         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24783         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24784         (_IO_str_underflow_internal, _IO_str_overflow_internal)
24785         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24786         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24787         (_IO_list_all_internal, _IO_link_in_internal)
24788         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24789         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24790         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24791         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24792         (_IO_do_write_internal, _IO_padn_internal)
24793         (_IO_getline_info_internal, _IO_getline_internal)
24794         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24795         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24796         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24797         (_IO_vfscanf_internal, _IO_vfprintf_internal)
24798         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24799         (_IO_init_internal, _IO_un_link_internal): Don't declare.
24800         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24801         with libc_hidden_ver, remove use of INTUSE.
24802         * libio/genops.c: Likewise.
24803         * libio/freopen.c: Likewise.
24804         * libio/freopen64.c: Likewise.
24805         * libio/iofclose.c: Likewise.
24806         * libio/iofdopen.c: Likewise.
24807         * libio/iofflush.c: Likewise.
24808         * libio/iofflush_u.c: Likewise.
24809         * libio/iofgets.c: Likewise.
24810         * libio/iofgets_u.c: Likewise.
24811         * libio/iofopen.c: Likewise.
24812         * libio/iofopncook.c: Likewise.
24813         * libio/iofread.c: Likewise.
24814         * libio/iofread_u.c: Likewise.
24815         * libio/ioftell.c: Likewise.
24816         * libio/iofwrite.c: Likewise.
24817         * libio/iogetline.c: Likewise.
24818         * libio/iogets.c: Likewise.
24819         * libio/iogetwline.c: Likewise.
24820         * libio/iopadn.c: Likewise.
24821         * libio/iopopen.c: Likewise.
24822         * libio/ioseekoff.c: Likewise.
24823         * libio/ioseekpos.c: Likewise.
24824         * libio/iosetbuffer.c: Likewise.
24825         * libio/iosetvbuf.c: Likewise.
24826         * libio/ioungetc.c: Likewise.
24827         * libio/ioungetwc.c: Likewise.
24828         * libio/iovdprintf.c: Likewise.
24829         * libio/iovsprintf.c: Likewise.
24830         * libio/iovsscanf.c: Likewise.
24831         * libio/memstream.c: Likewise.
24832         * libio/obprintf.c: Likewise.
24833         * libio/oldfileops.c: Likewise.
24834         * libio/oldiofclose.c: Likewise.
24835         * libio/oldiofdopen.c: Likewise.
24836         * libio/oldiofopen.c: Likewise.
24837         * libio/oldiopopen.c: Likewise.
24838         * libio/oldstdfiles.c: Likewise.
24839         * libio/putc.c: Likewise.
24840         * libio/setbuf.c: Likewise.
24841         * libio/setlinebuf.c: Likewise.
24842         * libio/stdfiles.c: Likewise.
24843         * libio/strops.c: Likewise.
24844         * libio/vasprintf.c: Likewise.
24845         * libio/vscanf.c: Likewise.
24846         * libio/vsnprintf.c: Likewise.
24847         * libio/vswprintf.c: Likewise.
24848         * libio/wfiledoalloc.c: Likewise.
24849         * libio/wfileops.c: Likewise.
24850         * libio/wgenops.c: Likewise.
24851         * libio/wmemstream.c: Likewise.
24852         * libio/wstrops.c: Likewise.
24853         * libio/__fpurge.c: Likewise.
24854         * libio/__fsetlocking.c: Likewise.
24855         * assert/assert.c: Likewise.
24856         * debug/fgets_chk.c: Likewise.
24857         * debug/fgets_u_chk.c: Likewise.
24858         * debug/fread_chk.c: Likewise.
24859         * debug/fread_u_chk.c: Likewise.
24860         * debug/gets_chk.c: Likewise.
24861         * debug/obprintf_chk.c: Likewise.
24862         * debug/vasprintf_chk.c: Likewise.
24863         * debug/vdprintf_chk.c: Likewise.
24864         * debug/vsnprintf_chk.c: Likewise.
24865         * debug/vsprintf_chk.c: Likewise.
24866         * malloc/mtrace.c: Likewise.
24867         * misc/error.c: Likewise.
24868         * misc/syslog.c: Likewise.
24869         * stdio-common/asprintf.c: Likewise.
24870         * stdio-common/fxprintf.c: Likewise.
24871         * stdio-common/getw.c: Likewise.
24872         * stdio-common/isoc99_fscanf.c: Likewise.
24873         * stdio-common/isoc99_scanf.c: Likewise.
24874         * stdio-common/isoc99_vfscanf.c: Likewise.
24875         * stdio-common/isoc99_vscanf.c: Likewise.
24876         * stdio-common/isoc99_vsscanf.c: Likewise.
24877         * stdio-common/printf-prs.c: Likewise.
24878         * stdio-common/printf_fp.c: Likewise.
24879         * stdio-common/printf_fphex.c: Likewise.
24880         * stdio-common/printf_size.c: Likewise.
24881         * stdio-common/putw.c: Likewise.
24882         * stdio-common/scanf.c: Likewise.
24883         * stdio-common/sprintf.c: Likewise.
24884         * stdio-common/tmpfile.c: Likewise.
24885         * stdio-common/vfprintf.c: Likewise.
24886         * stdio-common/vfscanf.c: Likewise.
24887         * stdlib/strfmon_l.c: Likewise.
24888         * sunrpc/openchild.c: Likewise.
24889         * sunrpc/xdr_stdio.c: Likewise.
24890         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24891         * sysdeps/mach/hurd/tmpfile.c: Likewise.
24893 2012-05-24  Roland McGrath  <roland@hack.frob.com>
24895         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24897         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24898         in the third column, to generate for the shared library an IFUNC
24899         that uses _dl_vdso_vsym.
24900         * Makerules (COMPILE.c, compile-stdin.c): New variables.
24901         * Makeconfig (object-suffixes-noshared): New variable.
24903         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24904         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24905         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24906         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24908         [BZ #14132]
24909         * include/sys/time.h (__gettimeofday): Remove macro.
24910         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24911         * time/gettimeofday.c (__gettimeofday): Remove #undef.
24912         Remove INTDEF.
24913         (__gettimeofday): Add libc_hidden_def.
24914         (gettimeofday): Add libc_hidden_weak.
24915         * sysdeps/mach/gettimeofday.c: Likewise.
24916         * sysdeps/posix/gettimeofday.c: Likewise.
24917         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24918         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24919         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24920         (__gettimeofday_internal): Remove strong_alias.
24921         (__gettimeofday): Add libc_hidden_def.
24922         (gettimeofday): Add libc_hidden_weak.
24923         * sysdeps/unix/syscalls.list (gettimeofday):
24924         Remove __gettimeofday_internal alias.
24926 2012-05-24  Daniel Jacobowitz  <drow@false.org>
24927             H.J. Lu  <hongjiu.lu@intel.com>
24929         [BZ #12495]
24930         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24931         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24932         (largebin_index_32_big): New.
24933         (largebin_index): Use it for 16-byte alignment.
24934         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
24935         correction with front_misalign.
24937 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
24939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24941         Likewise.
24942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24943         Likewise.
24944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24945         Likewise.
24946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24947         Likewise.
24948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24949         Likewise.
24950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24951         Likewise.
24952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24953         Likewise.
24954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24955         Likewise.
24956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24957         Likewise.
24958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24959         Likewise.
24960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24961         Likewise.
24962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24963         Likewise.
24965         * scripts/data/c++-types-x32-linux-gnu.data: New file.
24966         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24968 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
24970         [BZ #10846]
24971         [BZ #14036]
24972         * math/libm-test.inc (exp_test): Add test from bug 14036.
24973         (pow_test): Add test from bug 10846.
24975         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24976         and other flags.
24977         (special_function): Do not include flags in test name.
24978         (parse_args): Likewise.
24979         * sysdeps/i386/fpu/libm-test-ulps: Update.
24980         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24981         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24982         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24985         * math/gen-libm-test.pl (%beautify): Add entries for underflow
24986         exceptions.
24987         * math/libm-test.inc ("Philosophy"): Update comment about
24988         exception testing.
24989         (UNDERFLOW_EXCEPTION): New macro.
24990         (UNDERFLOW_EXCEPTION_OK): Likewise.
24991         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24992         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24993         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24994         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24995         (INVALID_EXCEPTION_OK): Update value.
24996         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24997         (OVERFLOW_EXCEPTION_OK): Likewise.
24998         (IGNORE_ZERO_INF_SIGN): Likewise.
24999         (test_exceptions): Handle underflow exceptions.
25000         (acos_test): Update for underflow exception expectations.
25001         (cexp_test): Likewise.
25002         (clog_test): Likewise.
25003         (clog10_test): Likewise.
25004         (csqrt_test): Likewise.
25005         (ctan_test): Likewise.
25006         (ctanh_test): Likewise.
25007         (exp_test): Likewise.
25008         (exp10_test): Likewise.
25009         (exp2_test): Likewise.
25010         (expm1_test): Likewise.
25011         (fma_test): Likewise.
25012         (j0_test): Likewise.
25013         (jn_test): Likewise.
25014         (nexttoward_test): Likewise.
25015         (pow_test): Likewise.
25016         (scalbn_test): Likewise.
25017         (scalbln_test): Likewise.
25018         (tan_test): Likewise.
25019         (y1_test): Likewise.
25020         * sysdeps/i386/fpu/libm-test-ulps: Update.
25021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25023 2012-05-23  David S. Miller  <davem@davemloft.net>
25025         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25026         (__libc_sigaction): Remove unused local variables.
25028 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
25030         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
25032 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
25034         mktime: avoid signed integer overflow
25035         * time/mktime.c (__mktime_internal): Do not mishandle the case
25036         where diff == INT_MIN.
25038         mktime: simplify computation of average
25039         * time/mktime.c (ranged_convert): Use new time_t_avg function
25040         instead of rolling our own (probably-slower) code.
25042         mktime: do not assume signed right shift propagates sign bit
25043         * time/mktime.c (isdst_differ): New static function.
25044         (__mktime_internal): No need to normalize tm_isdst now.
25045         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25046         tm_isdst values.
25048         mktime: merge another wrapv change from gnulib
25049         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25050         from some compilers.
25052         mktime: remove incorrect attempt at unusual arithmetics
25053         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25054         The code didn't really work on such machines anyway.
25055         (TYPE_MINIMUM): Assume two's complement.
25056         (twos_complement_arithmetic): Verify that long_int and time_t
25057         are two's complement (or unsigned, in the latter case).
25059         mktime: check signed shifts on long_int and time_t, too
25060         * time/mktime.c (SHR): Check that shifts work as desired
25061         on the types long_int and time_t too, as SHR is used on
25062         such types.
25064         mktime: do not assume 'long' is wide enough
25065         * time/mktime.c (verify): Move decl up.
25066         (long_int): New type.
25067         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25068         to remove assumption in the code that 'long' is wide enough to
25069         store year values.  This assumption is not true on x32 and on
25070         some non-glibc platforms.
25072         mktime: merge wrapv change from gnulib
25073         * time/mktime.c (WRAPV): New macro.
25074         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25075         (guess_time_tm, __mktime_internal): Do not assume that signed
25076         integer overflow wraps around; modern compilers generate code
25077         where this assumption is no longer valid.
25079 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
25081         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25082         Replace "jmp L(pseudo_end)" with "ret".
25083         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25084         Likewise.
25086 2012-05-23  Andreas Jaeger  <aj@suse.de>
25088         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25089         * sysdeps/unix/sysv/linux/poll.c: Remove file.
25091 2012-05-23  Andreas Jaeger  <aj@suse.de>
25092             Maximilian Attems  <max@stro.at>
25094         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25095         New macros.
25097 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
25099         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25100         code so that pseudo_end is just ret and the stack pointer is
25101         correct also for static library in error case.
25103 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
25105         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25106         move to syscalls.list.
25107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25112         * manual/install.texi (Running make install): Do not mention Linux
25113         kernel version for which pt_chown is not needed.
25114         (Linux): Do not mention problems with nscd with 2.0 kernels.
25115         * INSTALL: Regenerated.
25117 2012-05-23  Andreas Jaeger  <aj@suse.de>
25119         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25120         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25121         macro.
25122         * sysdeps/unix/sysv/linux/s390/bits/mman.h
25123         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25124         * sysdeps/unix/sysv/linux/sh/bits/mman.h
25125         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25126         * sysdeps/unix/sysv/linux/i386/bits/mman.h
25127         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25128         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25129         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25130         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25131         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25132         * sysdeps/unix/sysv/linux/bits/in.h
25133         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25135 2012-05-22  Roland McGrath  <roland@hack.frob.com>
25137         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25138         (PREPARE_VERSION): Just use assert instead, it will be elided
25139         under [NDEBUG] anyway.
25141 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
25143         * sysdeps/unix/sysv/linux/Makefile: Include
25144         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
25145         (sysdep_routines): Remove sysctl.
25146         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25147         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25148         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25149         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25150         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25152 2012-05-22  Andreas Jaeger  <aj@suse.de>
25154         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25155         that pseudo_end is just ret and the stack pointer is correct also
25156         for static library in error case.
25158 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
25160         [BZ #14122]
25161         * nss/nsswitch.c (defconfig_entries): New variable.
25162         (__nss_database_lookup): Don't leak defconfig entries.
25163         (nss_parse_service_list): Don't leak on error paths.
25164         (free_database_entries): New function.
25165         (free_defconfig): New function.
25166         (free_mem): Move common code to free_database_entries.
25168 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
25170         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25171         Add arch_prctl.
25172         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25174         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25175         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25176         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25177         New macro.
25178         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25179         (INTERNAL_SYSCALL_TYPES): Likewise.
25180         (LOAD_ARGS_TYPES_[1-6]): Likewise.
25181         (LOAD_REGS_TYPES_[1-6]): Likewise.
25182         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25183         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25185 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25187         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25188         copysignl for GLIBC_2_0.
25189         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25190         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25191         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25192         logbl for GLIBC_2_0.
25193         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25194         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25196 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
25198         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25199         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25201         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25202         Use "neg %eax".
25204         * time/mktime.c: Update copyright years.
25206 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
25208         mktime: merge comment-quoting-style change from gnulib
25209         * time/mktime.c: Quote 'like this' in comments.
25210         The GNU coding standards suggest that we no longer quote `like this',
25211         as "`" and "'" are typically rendered asymmetrically nowadays.
25212         The typical gnulib style is to quote 'like this' when quoting
25213         code, and "like this" when quoting English.
25215         * time/mktime.c (compile-command): Add "-I.".
25217         mktime: merge mktime-internal.h change from gnulib
25218         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25220         mktime: merge time_r change from gnulib
25221         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25223         mktime: merge DEBUG change from gnulib
25224         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25225         case system <time.h> has a #define.
25227         mktime: merge <sys/types.h> change from gnulib
25228         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25229         since <time.t> is now guaranteed to define time_t.
25231         mktime: merge HAVE_CONFIG_H change from gnulib
25232         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25234 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
25236         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25237         Use "neg %eax".
25239         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25240         __rlim_t cast.
25241         (struct rusage): Use anonymous union to pad each field to
25242         __syscall_slong_t.
25244 2012-05-21  David S. Miller  <davem@davemloft.net>
25246         * Makefules (o-iterator): Remove .s cases.
25247         (compile-command.s): Delete.
25248         (COMPILE.s): Delete.
25249         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25251 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
25253         * configure.in (libc_cv_predef_stack_protector): Only consider
25254         "foobar" and "__stack_chk_fail" lines in libc_undefs.
25255         * configure: Regenerated.
25257 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
25259         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25260         New macro.  Use R*LP on int and pointer.
25261         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
25262         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25263         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
25264         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25266         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25267         [__WORDSIZE_TIME64_COMPAT32] instead of
25268         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25269         (struct utmp): Likewise.
25270         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25271         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25272         Renamed to ...
25273         (__WORDSIZE_TIME64_COMPAT32): This.
25274         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25275         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25276         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25277         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25278         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25279         (__WORDSIZE_TIME64_COMPAT32): New macro.
25281 2012-05-21  Andreas Jaeger  <aj@suse.de>
25283         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25284         only if [SHARED]. Add prototype for __wcschr_ia32.
25286 2012-05-21  Roland McGrath  <roland@hack.frob.com>
25288         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25289         of %rbp unmolested in the jmp_buf while mangling the low bits.
25290         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25291         unmolested high bits of %rbp while demangling the low bits.
25292         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25294 2012-05-21  Andreas Jaeger  <aj@suse.de>
25296         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25297         * sunrpc/svc_simple.c: Use it for registerrpc.
25298         * sunrpc/xcrypt.c: Use it for passwd2des.
25300         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25302 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
25304         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25305         Don't define if [__SYSCALL_WORDSIZE != 32].
25306         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25307         New macro.
25309 2012-05-21  Bruno Haible  <bruno@clisp.org>
25310             Andreas Jaeger  <aj@suse.de>
25312         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25313         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25314         inptr and inend for must_buffer_ch.
25315         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25316         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25317         * stdio-common/Makefile (tests): Remove bug15.
25318         (bug15-ENV): Remove macro.
25319         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25320         anymore.
25322 2012-05-19  Andreas Jaeger  <aj@suse.de>
25323             Roland McGrath  <roland@hack.frob.com>
25325         * manual/contrib.texi: Completely rewritten. It contains now an
25326         alphabetical list of contributors and their contributions.
25328 2012-05-21  Richard Henderson  <rth@twiddle.net>
25330         * misc/getauxval.c (__getauxval): Use unsigned long int.
25331         * misc/sys/auxv.h: Include <sys/cdefs.h>.
25332         (getauxval): Use unsigned long int.
25334 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
25336         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25338 2012-05-21  Roland McGrath  <roland@hack.frob.com>
25340         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25341         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25342         __alignof__ (long double).
25344 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25348 2012-05-20  Richard Henderson  <rth@twiddle.net>
25350         * misc/getauxval.c: New file.
25351         * misc/sys/auxv.h: New file.
25352         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25353         (routines): Add getauxval.
25354         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25355         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25356         * elf/dl-sysdep.c (_dl_auxv): Remove.
25357         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25358         * elf/dl-support.c (_dl_auxv): New variable.
25359         (_dl_aux_init): Initialize it.
25360         * manual/startup.texi (Auxiliary Vector): New node.
25361         * sysdeps/generic/bits/hwcap.h: New file.
25362         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25363         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
25364         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25365         * sysdeps/sparc/sysdep.h: ... here.  Include it.
25366         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25367         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
25368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25369         Update.
25370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25373         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25379 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25383 2012-05-19  David S. Miller  <davem@davemloft.net>
25385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25387 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
25389         [BZ #14123]
25390         * math/s_ccosh.c: Include <float.h>
25391         (__ccosh): Avoid internal overflow calculating sinh and cosh
25392         values before multiplying by sin and cos values.
25393         * math/s_ccoshf.c: Likewise.
25394         * math/s_ccoshl.c: Likewise.
25395         * math/s_csin.c: Likewise.
25396         * math/s_csinf.c: Likewise.
25397         * math/s_csinl.c: Likewise.
25398         * math/s_csinh.c: Likewise.
25399         * math/s_csinhf.c: Likewise.
25400         * math/s_csinhl.c: Likewise.
25401         * math/libm-test.inc (ccos_test): Add more tests.
25402         (ccosh_test): Likewise.
25403         (csin_test): Likewise.
25404         (csinh_test): Likewise.
25405         * sysdeps/i386/fpu/libm-test-ulps: Update.
25406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25408 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
25410         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25411         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25413         * sysdeps/x86_64/x32/_itoa.h: Add comment.
25415 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
25417         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25418         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25419         * sysdeps/powerpc/soft-fp/Versions: Likewise.
25420         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25421         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25422         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25423         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25424         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25425         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25426         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25427         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25428         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25429         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25430         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25431         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25432         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25433         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25434         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25435         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25436         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25437         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25438         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25439         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25440         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25441         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25442         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25443         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25444         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25445         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25446         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25447         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25449 2012-05-18  Andreas Jaeger  <aj@suse.de>
25451         * csu/.gitignore: Delete.
25453 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
25455         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25456         (timex): Use __syscall_slong_t.
25458 2012-05-18  Andreas Jaeger  <aj@suse.de>
25459             Carlos O'Donell  <carlos_odonell@mentor.com>
25461         * manual/install.texi (Configuring and compiling): Update
25462         description about files modified in the source directory.
25463         * INSTALL: Regenerated.
25465 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
25467         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25468         value.  Use "or" to set return value to -1.
25469         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25470         negate return value.
25472 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25474         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25475         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25476         failure if the compiler has Graphite support disabled.
25477         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25478         Likewise.
25479         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25480         CFLAGS-memmove.c): Likewise.
25481         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25482         Likewise.
25484 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
25486         * sysdeps/x86_64/x32/_itoa.h: New file.
25488         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25489         getdents system call only if kernel and user dirents have the
25490         same d_ino and d_off.
25492         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25493         LLONG_MAX != LONG_MAX.
25494         (_itoa_word): Use _ITOA_WORD_TYPE on value.
25495         (_fitoa_word): Likewise.
25497         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25498         years.
25499         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25500         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25501         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25503         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25504         include <bits/wordsize.h>.  Check __x86_64__ instead of
25505         __WORDSIZE.
25506         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25507         if __x86_64__ is defined.  Use anonymous union on fpstate.
25509         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25510         anonymous union.
25512 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
25514         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25515         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25516         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25517         Refer to _rtld_local_ro instead of _rtld_global_ro.
25518         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25519         Likewise.
25520         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25521         Likewise.
25522         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25523         Likewise.
25524         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25525         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25526         of _rtld_global, and rtld_progname instead of _dl_argv[0].
25528         * sysdeps/powerpc/powerpc32/dl-machine.c
25529         (__elf_machine_runtime_setup) [PROF]: Don't reference
25530         _dl_prof_resolve.
25532 2012-05-18  Andreas Jaeger  <aj@suse.de>
25534         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25535         function only available for GCCs before 3.4 since GCC 3.4
25536         introduced a builtin.
25537         (lrint): Likewise.
25538         (llrintf): Likewise.
25539         (llrint): Likewise.
25540         (fmaxf): Likewise.
25541         (fmax): Likewise.
25542         (fminf): Likewise.
25543         (fmin): Likewise.
25544         (rint): Likewise.
25545         (rintf): Likewise.
25546         (nearbyint): Likewise.
25547         (nearbyintf): Likewise.
25548         (ceil): Likewise.
25549         (ceilf): Likewise.
25550         (floor): Likewise.
25551         (floorf): Likewise.
25553 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25555         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25556         on both fields and cast pointer to __syscall_ulong_t.
25558         * bits/types.h (__fsword_t): New type.
25559         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25560         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25561         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25562         (__FSWORD_T_TYPE): Likewise.
25563         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25564         (__FSWORD_T_TYPE): Likewise.
25565         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25566         (__FSWORD_T_TYPE): Likewise.
25567         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25568         (__FSWORD_T_TYPE): Likewise.
25569         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25570         __SWORD_TYPE with __fsword_t.
25571         (statfs64): Likewise.
25573 2012-05-17  David S. Miller  <davem@davemloft.net>
25575         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25577 2012-05-17  Andreas Jaeger  <aj@suse.de>
25579         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25580         warning.
25582 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25584         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25586 2012-05-17  Andreas Jaeger  <aj@suse.de>
25588         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25589         when it is used.
25591 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
25593         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25595 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25597         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25598         * sysdeps/x86_64/tst-mallocalign1.c: New file.
25600 2012-05-17  Andreas Jaeger  <aj@suse.de>
25601             Carlos O'Donell  <carlos_odonell@mentor.com>
25603         [BZ #14059]
25604         * sysdeps/x86_64/multiarch/init-arch.h
25605         (bit_YMM_Usable): Rename to...
25606         (bit_AVX_Usable): ... this.
25607         (bit_FMA4_Usable): New macro.
25608         (bit_XMM_state): New macro.
25609         (bit_YMM_state): New macro.
25610         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25611         [__ASSEMBLER__] (index_AVX_Usable): ... this.
25612         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25613         (CPUID_OSXSAVE): New macro.
25614         (CPUID_AVX): New macro.
25615         (CPUID_FMA4): New macro.
25616         (index_YMM_Usable): Rename to...
25617         (index_AVX_Usable): ... this.
25618         (HAS_AVX): Use HAS_ARCH_FEATURE.
25619         (HAS_FMA4): Likewise.
25620         (HAS_YMM_USABLE): Remove.
25621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25622         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25623         are present.
25624         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25625         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25626         * sysdeps/x86_64/multiarch/Makefile: Likewise.
25627         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25628         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25630 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
25632         * math/libm-test.c: Support platforms without multiple rounding modes.
25633         * math/bug-nextafter.c: Support platforms without FP exceptions.
25634         * math/bug-nexttoward.c: Likewise.
25635         * math/test-fenv.c: Likewise.
25636         * math/test-misc.c: Likewise.
25637         * stdlib/bug-getcontext.c: Likewise.
25639 2012-05-17  Andreas Jaeger  <aj@suse.de>
25641         * manual/examples/search.c (critter_cmp): Change signature to
25642         avoid warnings.
25643         * manual/string.texi (Collation Functions): Likewise.
25645 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25647         * bits/types.h: Fold copyright years.
25648         * bits/typesizes.h: Likewise.
25649         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25650         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25651         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25652         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25653         * time/time.h: Likewise.
25655 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
25657         [BZ #208]
25658         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25659         in instead of returning them.  Return void.
25660         (__libc_mallinfo): Accumulate over all arenas.
25661         (__malloc_stats): Adjust for change in int_mallinfo interface.
25663 2012-05-16  Roland McGrath  <roland@hack.frob.com>
25665         [BZ #10375]
25666         * configure.in (NM): Add AC_CHECK_TOOL for it.
25667         (libc_extra_cflags): New substituted variable.
25668         Check for -fstack-protector being used implicitly.
25669         * configure: Regenerated.
25670         * config.make.in (config-extra-cflags): New variable,
25671         gets @libc_extra_cflags@.
25672         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25674         [BZ #10375]
25675         * configure.in: Check for _FORTIFY_SOURCE being predefined.
25676         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25677         * configure: Regenerated.
25678         * config.make.in (CPPUNDEFS): New substituted variable.
25679         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25680         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25681         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25683 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25685         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25686         (mq_attr): Use __syscall_slong_t.
25688 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25690         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25691         Check __x86_64__ instead of __WORDSIZE.
25692         (_STAT_VER_LINUX): Likewise.
25693         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
25694         __syscall_ulong_t and __syscall_slong_t.
25695         (stat64): Likewise.
25697 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25699         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25701 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25703         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25705 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25707         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25708         __syscall_ulong_t.
25710         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25711         include <bits/wordsize.h>.  Check __x86_64__ instead of
25712         __WORDSIZE.
25713         (greg_t): Use "__extension__ long long int" if __x86_64__ is
25714         defined.
25715         (mcontext_t): Replace "unsigned long" with "unsigned long long".
25717         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25718         include <bits/wordsize.h>.  Check __x86_64__ instead of
25719         __WORDSIZE.
25720         (user_regs_struct): Use "__extension__ unsigned long long"
25721         instead of "unsigned long" if __x86_64__ is defined.
25722         (user): Likewise.  Pad after pointer field if __ILP32__ is
25723         defined.
25725 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
25727         * configure.in (makeinfo): Require version 4.5 or later.  Allow
25728         versions 5 to 9.
25729         * configure: Regenerated.
25730         * manual/install.texi (texinfo): Increase version requirement to
25731         4.5 or later.
25732         * INSTALL: Regenerated.
25734         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25736 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25738         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25740         * sysdeps/x86_64/x32/ffs.c: New file.
25742         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25743         __syscall_ulong_t.
25744         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25745         defined.  Use __syscall_ulong_t.
25746         (shminfo): Use __syscall_ulong_t.
25747         (shm_info): Likewise.
25749         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25750         __syscall_ulong_t.
25752         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25753         <bits/wordsize.h>.
25754         (msgqnum_t): Use __syscall_ulong_t.
25755         (msglen_t): Likewise.
25756         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
25757         __syscall_ulong_t.
25759         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25760         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25762         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25764         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25765         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25767         * sysvipc/sys/msg.h (msgbuf): Replace long int with
25768         __syscall_slong_t.
25770         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25771         include <bits/wordsize.h>.  Check __x86_64__ instead of
25772         __WORDSIZE.
25774         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25775         "unsigned long long int" if __x86_64__ is defined.
25776         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25778         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25779         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25780         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25782         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25783         <stdint.h>.
25784         (GET_PC): Cast to uintptr_t first.
25785         (GET_FRAME): Likewise.
25786         (GET_STACK): Likewise.
25788         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25789         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25790         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25791         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25792         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25793         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25794         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25795         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25796         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25797         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25798         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25799         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25800         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25801         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25802         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25803         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25804         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25805         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25806         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25807         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25808         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25809         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25810         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25811         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25812         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25813         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25814         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25815         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25816         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25818 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
25820         * Makerules (+depfiles): Also collect depfiles from .oS in
25821         $(extra-objs).
25822         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25823         .oS, $(libnldbl-routines)).
25825         * Makerules (native-compile-mkdep-flags): Define.
25826         * sunrpc/Makefile (extra-objs): Add $(addprefix
25827         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25828         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25829         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
25830         calling $(make-target-directory).
25832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25834         * bits/types.h (__snseconds_t): Removed.
25835         * time/time.h (struct timespec): Replace __snseconds_t with
25836         __syscall_slong_t.
25837         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25838         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25839         Likewise.
25840         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25841         (__SNSECONDS_T_TYPE): Likewise.
25842         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25843         (__SNSECONDS_T_TYPE): Likewise.
25844         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25845         (__SNSECONDS_T_TYPE): Likewise.
25847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25849         * sysdeps/mach/hurd/bits/typesizes.h
25850         (__SYSCALL_SLONG_TYPE): New macro.
25851         (__SYSCALL_ULONG_TYPE): Likewise.
25853 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25855         * bits/types.h (__syscall_slong_t): New type.
25856         (__syscall_ulong_t): Likewise.
25858         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25859         (__SYSCALL_ULONG_TYPE): Likewise.
25860         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25861         (__SYSCALL_SLONG_TYPE): Likewise.
25862         (__SYSCALL_ULONG_TYPE): Likewise.
25863         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25864         (__SYSCALL_SLONG_TYPE): Likewise.
25865         (__SYSCALL_ULONG_TYPE): Likewise.
25866         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25867         (__SYSCALL_SLONG_TYPE): Likewise.
25868         (__SYSCALL_ULONG_TYPE): Likewise.
25870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25872         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25873         Add sigaltstack-offsets.sym.
25874         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25875         <sigaltstack-offsets.h>.
25876         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
25877         longjmp_msg pointer.
25878         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
25879         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25880         signal stack.
25881         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25883 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
25885         * elf/stackguard-macros.h: Remove file.
25886         * sysdeps/generic/stackguard-macros.h: New file.
25887         * sysdeps/i386/stackguard-macros.h: Likewise.
25888         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25889         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25890         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25891         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25892         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25893         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25894         * sysdeps/x86_64/stackguard-macros.h: Likewise.
25895         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25896         <elf/stackguard-macros.h>.
25898         [BZ #14109]
25899         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25900         __aligned__ in attribute.
25901         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25902         (gregset_t): Likewise.
25904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25906         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25907         * sysdeps/x86_64/64/Implies-after: Here.  New file.
25908         * sysdeps/x86_64/x32/Implies-after: New file.
25910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25912         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25913         and access return value for _dl_profile_fixup.  Use R10_LP to
25914         load frame size.
25916 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25918         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25920 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25922         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25923         * sysdeps/x86_64/x32/sysdep.h: New file.
25925 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25927         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25928         * sysdeps/x86_64/setjmp.S: Likewise.
25930 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25932         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25933         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25934         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25935         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25936         remove unused global constant.
25938 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
25940         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25941         include of <not-cancel.h>.
25943 2012-05-15  Roland McGrath  <roland@hack.frob.com>
25945         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25947 2012-05-15  Jeff Law  <law@redhat.com>
25948             Andreas Jaeger  <aj@suse.de>
25950         [BZ #13594]
25951         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25952         out from...
25953         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25954         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25955         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25956         code changing __hst_map_handle.map.
25958 2012-05-15  Roland McGrath  <roland@hack.frob.com>
25960         * configure.in (sysnames): Look for Implies-before and Implies-after
25961         files.
25962         * configure: Regenerated.
25964 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25966         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25967         8-byte data alignment with LP_SIZE alignment.
25969 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25971         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25972         into R10_LP.
25974 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25976         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25978 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25980         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25981         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25982         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25983         Likewise.
25984         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25986 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25988         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25989         (stackinfo_sub_sp): Likewise.
25991 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25993         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25994         RAX_LP.
25996 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25998         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25999         into R*_LP.
26001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26003         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
26004         sizes into R*_LP.
26006 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26008         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
26010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26012         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
26013         into R11_LP and load __x86_64_shared_cache_size_half into
26014         R8_LP.
26016 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26018         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
26019         R8_LP.
26021 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26023         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
26024         logb for POWER7.
26025         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
26026         logbf for POWER7.
26027         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
26028         logbl for POWER7.
26029         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
26030         powerpc32/power7/fpu/s_logb.c via #include.
26031         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
26032         powerpc32/power7/fpu/s_logbf.c via #include.
26033         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
26034         powerpc32/power7/fpu/s_logbl.c via #include.
26036 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
26038         * README.libm: Remove file.
26040 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26042         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26043         count for x32.  Use R*_LP and omit operand-size suffix.
26045 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26047         * shlib-versions: Move x86_64-.*-linux.* entries to ...
26048         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
26049         * sysdeps/x86_64/x32/shlib-versions: New file.
26051 2012-05-14  Roland McGrath  <roland@hack.frob.com>
26053         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26054         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26055         Use _dl_fatal_printf instead.
26057 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
26059         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26060         set if not set by the user.  Do not allow for being unset.
26061         * sysdeps/unix/sysv/linux/configure: Regenerated.
26063 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26065         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26066         the `q' suffix from lea and replace .quad with ASM_ADDR.
26068 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26070         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26071         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
26072         instead of $17.
26073         (PTR_DEMANGLE): Likewise.
26075 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26077         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26078         (LP_OP): Likewise.
26079         (ASM_ADDR): Likewise.
26080         (RAX_LP): Likewise.
26081         (RBP_LP): Likewise.
26082         (RBX_LP): Likewise.
26083         (RCX_LP): Likewise.
26084         (RDI_LP): Likewise.
26085         (RSI_LP): Likewise.
26086         (RSP_LP): Likewise.
26087         (R8_LP): Likewise.
26088         (R9_LP): Likewise.
26089         (R10_LP): Likewise.
26090         (R10_LP): Likewise.
26091         (R11_LP): Likewise.
26092         (R12_LP): Likewise.
26093         (R13_LP): Likewise.
26094         (R14_LP): Likewise.
26095         (R15_LP): Likewise.
26097 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26099         * sysdeps/x86_64/x32/dl-machine.h: New file.
26101 2012-05-14  Andreas Jaeger  <aj@suse.de>
26103         * manual/Makefile (subdir): Remove export of subdir.
26104         (all): Remove target.
26105         (.PHONY): Remove all from list.
26106         (mkinstalldirs): Remove.
26107         (.PHONY): Remove installdirs from list.
26108         ($(inst_infodir)/libc.info): Use make-target-directory.
26109         (installdirs): Remove.
26110         (subdir_%): Remove.
26111         (glibc-targets): Remove.
26112         (lib): Remove.
26113         (stubs): Remove.
26114         ($(objpfx)stubs ../po/manual.pot): Remove.
26115         ($(objpfx)stamp%): Remove.
26116         (make-target-directory): Remove.
26117         (subdir_install): Remove.
26118         (routines): Remove.
26119         (aux): Remove.
26120         (sources): Remove.
26121         (objects): Remove.
26122         (headers): Remove.
26124         [BZ #13750]
26125         * manual/.gitignore: Remove, it's not needed anymore.
26126         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26127         all files in it.
26128         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26129         directory.
26130         (texis): Renamed to $(objpfx)texis.
26131         (texis-path): New, contains path to generated files.
26132         (chapters.%): Use texis-path for complete path, add extra argument
26133         libc-texinfo.sh.
26134         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26135         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26136         (summary,texi, stamp-summary): Use complete path of
26137         files. Generate files in build dir.
26138         (dir-add.texi): Build in build dir.
26139         (libm-err.texi,stamp-libm-err): Likewise.
26140         (version.texi, stamp-version): Likewise.
26141         (.%c.texi): Likewise.
26142         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26143         (mostlyclean): Remove target.
26144         (realclean): Remove target.
26145         (generated): Add new variable with contents from mostlyclean and
26146         realclean, remove entries duplicated in common-mostlyclean, add
26147         stamp-libm-err and stamp-version.
26148         (generated-dirs): Add libc directory.
26149         ($(inst_infodir)/libc.info): Install files from build dir.
26151         * manual/install.texi (Configuring and compiling): Adjust since
26152         the info files are not part of the tar ball anymore.
26154 2012-05-14  Andreas Jaeger  <aj@suse.de>
26156         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26157         variable.
26159 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
26161         [BZ #13717]
26162         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26163         to 2.2.0 where earlier.
26164         * sysdeps/unix/sysv/linux/configure: Regenerated.
26165         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26166         Remove conditional code.
26167         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26168         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26169         Remove conditional code.
26170         [!__NR_lchown]: Likewise.
26171         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26172         [__NR_lchown]: Likewise.
26173         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26174         comment referencing __ASSUME_LCHOWN_SYSCALL.
26175         * sysdeps/unix/sysv/linux/i386/sigaction.c
26176         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26177         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26178         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26179         Remove conditional code.
26180         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26181         (__protocol_available): Remove #if 0 code.
26182         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26183         conditional code.
26184         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26185         * sysdeps/unix/sysv/linux/kernel-features.h
26186         (__ASSUME_GETCWD_SYSCALL): Don't define.
26187         (__ASSUME_REALTIME_SIGNALS): Likewise.
26188         (__ASSUME_PREAD_SYSCALL): Likewise.
26189         (__ASSUME_PWRITE_SYSCALL): Likewise.
26190         (__ASSUME_POLL_SYSCALL): Likewise.
26191         (__ASSUME_LCHOWN_SYSCALL): Likewise.
26192         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26193         non-SPARC.
26194         (__ASSUME_SIOCGIFNAME): Don't define.
26195         (__ASSUME_MSG_NOSIGNAL): Likewise.
26196         (__ASSUME_SENDFILE): Define unconditionally.
26197         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26198         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26199         conditional code.
26200         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26201         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26202         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26203         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26204         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26205         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26206         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26208         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26209         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26211         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26212         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26214         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26215         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26217         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26218         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26220         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26221         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26223         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26224         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26226         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26227         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26229         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26230         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26231         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26232         Remove conditional code.
26233         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26234         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26235         Remove conditional code.
26236         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26237         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26238         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26239         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26240         Remove conditional code.
26241         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26242         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26243         Remove conditional code.
26244         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26245         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26246         Remove conditional code.
26247         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26248         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26249         Remove conditional code.
26250         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26251         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26252         Remove conditional code.
26253         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26254         * sysdeps/unix/sysv/linux/sh/pwrite64.c
26255         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26256         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26257         * sysdeps/unix/sysv/linux/sigaction.c
26258         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26259         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26260         * sysdeps/unix/sysv/linux/sigpending.c
26261         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26262         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26263         * sysdeps/unix/sysv/linux/sigprocmask.c
26264         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26265         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26266         * sysdeps/unix/sysv/linux/sigsuspend.c
26267         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26268         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26269         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26270         (__libc_missing_rt_sigs): Remove.
26271         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26272         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26273         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26274         Remove conditional code.
26275         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26276         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26277         return 1.
26278         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26279         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26280         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26281         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26283 2012-05-14  Andreas Jaeger  <aj@suse.de>
26285         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26286         it's not used in glibc.
26287         (__coshm1): Likewise.
26288         (__acosh1p): Likewise.
26289         (__sgn): Likewise.
26291         * manual/string.texi (Copying and Concatenation): Add missing
26292         variable in concat example.
26293         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26295 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26297         [BZ #14103]
26298         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26299         __builtin_clzl with __builtin_clzll.
26301 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26303         [BZ #14104]
26304         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26305         libc_freeres_ptr.
26307 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26309         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26310         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26311         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26312         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26314 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
26316         * NEWS: Update ia64 info.
26318 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
26320         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26321         used as bcopy.
26323 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
26325         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26326         * sysdeps/unix/syscalls.list (dup3): Likewise.
26327         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26328         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26330 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
26332         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26333         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26335 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
26337         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26338         thread pointer.
26339         (TLS_IE): Use mov/add instead of movq/addq to load thread
26340         pointer.
26341         (TLS_GD_PREFIX): New.
26342         (TLS_GD): Use it.
26344 2012-05-11  David S. Miller  <davem@davemloft.net>
26346         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26347         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26348         (_FPU_SETCW): Likewise.
26350 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
26352         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26353         is 32-byte aligned.
26355 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
26357         [BZ #11837]
26358         * iconvdata/gb18030.c: Update tables.
26359         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
26360         characters specially.
26361         (BODY for TO_LOOP): Add encoding of missing ranges.
26363 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
26365         [BZ #13673]
26366         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26367         * sysdeps/mach/hurd/dup3.c: Likewise.
26368         * sysdeps/mach/hurd/readlinkat.c: Likewise.
26369         * sysdeps/powerpc/memmove.c:: Likewise.
26371 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
26373         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26374         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26376 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
26378         * elf/elf.h (R_X86_64_RELATIVE64): New.
26379         (R_X86_64_NUM): Updated.
26380         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26381         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
26382         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26383         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26384         tst-quad1pie tst-quad2pie
26385         (modules-names): Add tst-quadmod1 tst-quadmod2.
26386         ($(objpfx)tst-quad1): New dependency.
26387         ($(objpfx)tst-quad2): Likewise.
26388         ($(objpfx)tst-quad1pie): Likewise.
26389         ($(objpfx)tst-quad2pie): Likewise.
26390         * sysdeps/x86_64/tst-quad1.c: New file.
26391         * sysdeps/x86_64/tst-quad1pie.c: New file.
26392         * sysdeps/x86_64/tst-quad2.c: Likewise.
26393         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26394         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26395         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26396         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26397         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26399 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26401         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26402         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26403         * streams/stropts.h (t_scalar_t): Define type.
26405         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26406         (_PATH_PRESERVE): Set to "/var/lib".
26407         (_PATH_RWHODIR): Set to "/var/spool/rwho".
26409         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26410         instead of int.
26412         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26413         if __dir_mkfile succeeded.
26415         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26416         checking for _hurd_dtablesize.  Unlock it right after having
26417         finished _hurd_dtable allocation.
26419 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26421         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26422         * sysdeps/mach/hurd/configure: Regenerated.
26423         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26424         special-casing to...
26425         * sysdeps/gnu/configure.in: ... this new file.
26426         * sysdeps/unix/sysv/linux/configure: Regenerated.
26427         * sysdeps/gnu/configure: New generated file.
26429         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26430         for Linux: use nsec instead of usec, as well as:
26431         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26432         members of type struct timespec.
26433         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26434         New macros.
26435         (struct stat64): Likewise.
26436         (_STATBUF_ST_NSEC): New macro.
26437         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26439         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26440         __strtoul_internal rather than strtoul.
26442 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26444         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26445         and reject them.
26447 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26449         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26450         which preserves existing values.
26451         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26453 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26455         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26456         TIMEOUT values.  Return EINVAL for NFDS values either negative or
26457         greater than FD_SETSIZE.
26459 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26461         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26462         allocated, call __vm_protect to finish enabling the existing space, and
26463         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26464         allocate the remainder.
26466 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26468         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26469         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
26471 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26473         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26474         sysdeps/mach/hurd/readlink.c.
26476         * posix/tst-sysconf.c (posix_options): Only use
26477         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26478         _POSIX_SYNCHRONIZED_IO when they are defined
26479         * sysdeps/mach/hurd/bits/posix_opt.h:
26480         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26481         (_XOPEN_REALTIME): Undefine macro.
26482         (_XOPEN_REALTIME_THREADS): Undefine macro.
26483         (_XOPEN_SHM): Undefine macro.
26484         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26485         macro to -1.
26486         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26487         macro to -1.
26488         (_POSIX_ASYNC_IO): Undefine macro.
26489         (_POSIX_PRIORITIZED_IO): Undefine macro.
26490         (_POSIX_SPIN_LOCKS): Define macro to -1.
26492         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26493         SA_NODEFER, SA_RESETHAND.
26494         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26495         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26496         F_DUPFD_CLOEXEC.
26498 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26500         * elf/Makefile (pldd-modules): Define unconditionally.
26502 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26504         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26506 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26508         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26509         Return ENOENT when name is empty.
26510         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26512 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26514         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26516         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26518 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26520         Fix mlock in all cases except non-readable pages.
26521         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26522         instead of VM_PROT_ALL as parameter to __vm_wire function.
26524         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26525         (__mkdir): When path is `/', just fail with EEXIST.
26526         * sysdeps/mach/hurd/mkdirat.c: Likewise.
26528 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26530         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26531         <sys/uio.h> (for writev).
26532         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26533         and <sys/param.h> (for MIN).
26535 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26537         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26538         REQUESTED_TIME.  Properly set the remaining time and return EINTR
26539         if interrupted.
26541 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26543         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26544         Depend on against $(link-rpcuserlibs).
26546 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26548         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26549         (__libc_stack_end): Do not use attribute_relro.
26550         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26551         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
26552         to libthread-provided value.
26553         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26554         attribute_relro.
26556 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26558         [BZ #3748]
26559         * bits/libc-lock.h (__libc_once_get): New macro.
26560         * sysdeps/mach/bits/libc-lock.h: Likewise.
26561         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26562         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26563         instead of using implementation details.
26565         * libio/fileops.c: Unconditionally include <kernel-features.h>.
26566         * libio/freopen.c: Likewise.
26567         * libio/freopen64.c: Likewise.
26568         * misc/syslog.c: Likewise.
26569         * nscd/connections.c: Likewise.
26570         * nscd/netgroupcache.c: Likewise.
26571         * sysdeps/posix/getcwd.c: Likewise.
26573 2012-05-10  Roland McGrath  <roland@hack.frob.com>
26575         * math/w_ilogbf.c: Add #include <limits.h>.
26577 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26579         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
26580         path instead of returning without unlocking.
26582         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26583         immediate-write ioctls.
26584         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26586 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26588         * sysdeps/mach/hurd/i386/init-first.c (init): Use
26589         __builtin_frame_address instead of making assumptions about the
26590         location of the return address relative to DATA.  Force early load of
26591         the return address.
26592         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26593         __builtin_frame_address.
26595         dup3 for GNU Hurd.
26596         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26597         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
26598         implement dup3 and do some further code clean-ups.
26599         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26600         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26602 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26604         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26606         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26607         HURD_CRITICAL_END around holding _hurd_dtable_lock.
26608         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26609         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26610         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26611         d->port.lock.
26613         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26614         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
26615         when handler == SIG_ERR, not when handler != SIG_ERR.
26617 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26619         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26620         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26621         definitions.
26623         accept4 for GNU Hurd.
26624         * include/sys/socket.h (__libc_accept4): New prototype.
26625         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
26626         to implement __libc_accept4.
26627         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26628         __libc_accept4.
26629         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26631         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26632         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26633         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26634         signal-defines.sym.
26636 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26638         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
26640 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26642         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26643         assertion on O_CLOEXEC flag.
26644         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26645         * hurd/intern-fd.c: Likewise.
26646         * hurd/port2fd.c: Likewise.
26648 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26650         [BZ #3906]
26651         * bits/in.h (IPV6_PKTINFO): Define new macro.
26652         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26654 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26656         [BZ #13954]
26657         [BZ #13955]
26658         [BZ #13956]
26659         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26660         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26661         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26662         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26663         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26664         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26665         * math/libm-test.inc (logb_test) : Additional logb tests.
26667 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
26668             Andreas Jaeger  <aj@suse.de>
26670         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26671         * configure: Regenerated.
26672         * config.h.in (LINK_OBSOLETE_RPC): New macro.
26673         * config.make.in (link-obsolete-rpc): New substituted variable.
26674         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26675         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26676         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26677         (shared-only-routines): Don't set it under [link-obsolete-rpc],
26678         so that libc.a contains the symbols.
26679         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26680         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26681         * sunrpc/auth_none.c: Likewise.
26682         * sunrpc/auth_unix.c: Likewise.
26683         * sunrpc/authdes_prot.c: Likewise.
26684         * sunrpc/authuxprot.c: Likewise.
26685         * sunrpc/clnt_gen.c: Likewise.
26686         * sunrpc/clnt_perr.c: Likewise.
26687         * sunrpc/clnt_raw.c: Likewise.
26688         * sunrpc/clnt_simp.c: Likewise.
26689         * sunrpc/clnt_tcp.c: Likewise.
26690         * sunrpc/clnt_udp.c: Likewise.
26691         * sunrpc/clnt_unix.c: Likewise.
26692         * sunrpc/des_crypt.c: Likewise.
26693         * sunrpc/des_soft.c: Likewise.
26694         * sunrpc/get_myaddr.c: Likewise.
26695         * sunrpc/key_call.c: Likewise.
26696         * sunrpc/key_prot.c: Likewise.
26697         * sunrpc/netname.c: Likewise.
26698         * sunrpc/pm_getmaps.c: Likewise.
26699         * sunrpc/pm_getport.c: Likewise.
26700         * sunrpc/pmap_clnt.c: Likewise.
26701         * sunrpc/pmap_prot.c: Likewise.
26702         * sunrpc/pmap_prot2.c: Likewise.
26703         * sunrpc/pmap_rmt.c: Likewise.
26704         * sunrpc/publickey.c: Likewise.
26705         * sunrpc/rpc_cmsg.c: Likewise.
26706         * sunrpc/rpc_common.c: Likewise.
26707         * sunrpc/rpc_dtable.c: Likewise.
26708         * sunrpc/rpc_prot.c: Likewise.
26709         * sunrpc/rpc_thread.c: Likewise.
26710         * sunrpc/rtime.c: Likewise.
26711         * sunrpc/svc.c: Likewise.
26712         * sunrpc/svc_auth.c: Likewise.
26713         * sunrpc/svc_raw.c: Likewise.
26714         * sunrpc/svc_run.c: Likewise.
26715         * sunrpc/svc_tcp.c: Likewise.
26716         * sunrpc/svc_udp.c: Likewise.
26717         * sunrpc/svc_unix.c: Likewise.
26718         * sunrpc/svcauth_des.c: Likewise.
26719         * sunrpc/xcrypt.c: Likewise.
26720         * sunrpc/xdr.c: Likewise.
26721         * sunrpc/xdr_array.c: Likewise.
26722         * sunrpc/xdr_float.c: Likewise.
26723         * sunrpc/xdr_intXX_t.c: Likewise.
26724         * sunrpc/xdr_mem.c: Likewise.
26725         * sunrpc/xdr_rec.c: Likewise.
26726         * sunrpc/xdr_ref.c: Likewise.
26727         * sunrpc/xdr_sizeof.c: Likewise.
26728         * sunrpc/xdr_stdio.c: Likewise.
26730 2012-05-10  Roland McGrath  <roland@hack.frob.com>
26732         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26733         change.  Update copyright years.
26735 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
26737         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26739 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
26740             Joseph Myers  <joseph@codesourcery.com>
26741             Paul Pluzhnikov  <ppluzhnikov@google.com>
26743         [BZ #14012]
26744         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26745         requiring rpcgen.
26746         [cross-compiling] (extra-libs): Likewise.
26747         [cross-compiling] (extra-libs-others): Likewise.
26748         [cross-compiling] (librpcsvc-routines): Likewise.
26749         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26750         [cross-compiling] (omit-deps): Likewise.
26751         (sunrpc-CPPFLAGS): New variable.
26752         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26753         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26754         (cross-rpcgen-objs): New variable.
26755         (extra-objs): Append $(cross-rpcgen-objs).
26756         ($(cross-rpcgen-objs)): New rule.
26757         ($(objpfx)cross-rpcgen): Likewise.
26758         (rpcgen-cmd): Define to use $(built-program-file).  Expand
26759         comment.
26760         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26761         ($(objpfx)x%.stmp): Likewise.
26762         * sunrpc/proto.h [IS_IN_build] (_): Define.
26763         [IS_IN_build] (_libc_intl_domainname): Likewise.
26765 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
26767         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26768         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26769         and R_X86_64_TPOFF64.
26771 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
26773         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26774         sysdeps/unix/sysv/syscalls.list.
26775         (stime): Likewise.
26776         (utime): Likewise.
26777         * sysdeps/unix/sysv/syscalls.list: Remove file.
26779 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
26781         [BZ #3440]
26782         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26783         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26784         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26785         (__LC_IDENTIFICATION): Make these macros useful in #if
26786         expressions, as required by C99.
26788 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
26790         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26791         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
26792         after this.
26794 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
26796         * stdlib/longlong.h: Updated from GCC.
26798 2012-05-09  Andreas Jaeger  <aj@suse.de>
26800         * nscd/nscd.c (run_modes): Make named enum, reorder so that
26801         default is first entry.
26802         (run_mode): Set type.
26803         (main): Remove informal message about syslog.
26804         (options): Fix typo.
26806         [BZ #14053]
26807         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26808         to asm.
26809         (lrint): Likewise.
26810         (llrintf): Likewise.
26811         (llrint): Likewise.
26812         (rint): Likewise.
26813         (rintf): Likewise.
26814         (nearbyint): Likewise.
26815         (nearbyintf): Likewise.
26817 2012-05-09  Andreas Jaeger  <aj@suse.de>
26818             Pedro Alves  <palves@redhat.com>
26820         * nscd/nscd.c (run_mode): Use enum.
26821         (main): Cleanup coding style issue.
26823 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
26824             Andreas Jaeger  <aj@suse.de>
26826         * nscd/nscd.c (go_background): Replaced with...
26827         (run_mode): ... this.
26828         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26829         (options): Add -F --foreground.
26830         (main): Implement it.
26831         (parse_opt): Parse it.
26833 2012-05-09  Andreas Jaeger  <aj@suse.de>
26835         [BZ #14083]
26836         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26837         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26838         -Wconversion warning.
26839         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26840         Likewise.
26842 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
26844         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
26845         == 0.
26846         (LC_ALL): Use macro-int-constant.
26847         (LC_COLLATE): Likewise.
26848         (LC_CTYPE): Likewise.
26849         (LC_MESSAGES): Likewise.
26850         (LC_MONETARY): Likewise.
26851         (LC_NUMERIC): Likewise.
26852         (LC_TIME): Likewise.
26853         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26854         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26855         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26856         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26857         Specify type.
26858         [C99-based standards] (float_t): Expect type.
26859         [C99-based standards] (double_t): Expect type.
26860         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
26861         type.
26862         [C99-based standards] (HUGE_VALL): Likewise.
26863         [C99-based standards] (INFINITY): Likewise.
26864         [C99-based standards] (NAN): Likewise.
26865         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26866         [C99-based standards] (FP_NAN): Likewise.
26867         [C99-based standards] (FP_NORMAL): Likewise.
26868         [C99-based standards] (FP_SUBNORMAL): Likewise.
26869         [C99-based standards] (FP_ZERO): Likewise.
26870         [C99-based standards] (FP_FAST_FMA): Use
26871         optional-macro-int-constant.  Specify type.  Require == 1.
26872         [C99-based standards] (FP_FAST_FMAF): Likewise.
26873         [C99-based standards] (FP_FAST_FMAL): Likewise.
26874         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26875         [C99-based standards] (FP_ILOGBNAN): Likewise.
26876         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26877         Specify type.
26878         [C99-based standards] (MATH_ERREXCEPT): Likewise.
26879         [C99-based standards] (math_errhandling): Specify type.
26880         [ISO99 || ISO11] (signgam): Do not allow.
26881         [non-C99-based standards] (copysignf): Do not allow.
26882         [non-C99-based standards] (exp2f): Likewise.
26883         [non-C99-based standards] (log2f): Likewise.
26884         [non-C99-based standards] (modff): Allow.
26885         [non-C99-based standards] (erff): Do not allow.
26886         [non-C99-based standards] (erfcf): Likewise.
26887         [non-C99-based standards] (gammaf): Likewise.
26888         [non-C99-based standards] (hypotf): Likewise.
26889         [non-C99-based standards] (j0f): Likewise.
26890         [non-C99-based standards] (j1f): Likewise.
26891         [non-C99-based standards] (jnf): Likewise.
26892         [non-C99-based standards] (lgammaf): Likewise.
26893         [non-C99-based standards] (tgammaf): Likewise.
26894         [non-C99-based standards] (y0f): Likewise.
26895         [non-C99-based standards] (y1f): Likewise.
26896         [non-C99-based standards] (ynf): Likewise.
26897         [non-C99-based standards] (isnanf): Likewise.
26898         [non-C99-based standards] (acoshf): Likewise.
26899         [non-C99-based standards] (asinhf): Likewise.
26900         [non-C99-based standards] (atanhf): Likewise.
26901         [non-C99-based standards] (cbrtf): Likewise.
26902         [non-C99-based standards] (expm1f): Likewise.
26903         [non-C99-based standards] (ilogbf): Likewise.
26904         [non-C99-based standards] (log1pf): Likewise.
26905         [non-C99-based standards] (logbf): Likewise.
26906         [non-C99-based standards] (nextafterf): Likewise.
26907         [non-C99-based standards] (remainderf): Likewise.
26908         [non-C99-based standards] (rintf): Likewise.
26909         [non-C99-based standards] (scalbf): Likewise.
26910         [non-C99-based standards] (copysignl): Likewise.
26911         [non-C99-based standards] (exp2l): Likewise.
26912         [non-C99-based standards] (log2l): Likewise.
26913         [non-C99-based standards] (modfl): Allow.
26914         [non-C99-based standards] (erfl): Do not allow.
26915         [non-C99-based standards] (erfcl): Likewise.
26916         [non-C99-based standards] (gammal): Likewise.
26917         [non-C99-based standards] (hypotl): Likewise.
26918         [non-C99-based standards] (j0l): Likewise.
26919         [non-C99-based standards] (j1l): Likewise.
26920         [non-C99-based standards] (jnl): Likewise.
26921         [non-C99-based standards] (lgammal): Likewise.
26922         [non-C99-based standards] (tgammal): Likewise.
26923         [non-C99-based standards] (y0l): Likewise.
26924         [non-C99-based standards] (y1l): Likewise.
26925         [non-C99-based standards] (ynl): Likewise.
26926         [non-C99-based standards] (isnanl): Likewise.
26927         [non-C99-based standards] (acoshl): Likewise.
26928         [non-C99-based standards] (asinhl): Likewise.
26929         [non-C99-based standards] (atanhl): Likewise.
26930         [non-C99-based standards] (cbrtl): Likewise.
26931         [non-C99-based standards] (expm1l): Likewise.
26932         [non-C99-based standards] (ilogbl): Likewise.
26933         [non-C99-based standards] (log1pl): Likewise.
26934         [non-C99-based standards] (logbl): Likewise.
26935         [non-C99-based standards] (nextafterl): Likewise.
26936         [non-C99-based standards] (remainderl): Likewise.
26937         [non-C99-based standards] (rintl): Likewise.
26938         [non-C99-based standards] (scalbl): Likewise.
26939         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26940         [non-C99-based standards] (FP_*): Do not allow.
26941         [C99-based standards] (FP_*): Change to
26942         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26943         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26944         allow.
26945         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26946         (SIG_ERR): Likewise.
26947         [X/Open-based standards] (SIG_HOLD): Likewise.
26948         (SIG_IGN): Likewise.
26949         (SIGABRT): Use macro-int-constant.  Specify type.  Require
26950         positive value.
26951         (SIGFPE): Likewise.
26952         (SIGILL): Likewise.
26953         (SIGINT): Likewise.
26954         (SIGSEGV): Likewise.
26955         (SIGTER): Likewise.
26956         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26957         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26958         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26959         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26960         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26961         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26962         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26963         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26964         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26965         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26966         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26967         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26968         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26969         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26970         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26971         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26972         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26973         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26974         [X/Open-based standards] (SIGTRAP): Likewise.
26975         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26976         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26977         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26978         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26979         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26980         allow.
26982 2012-05-08  Ian Wienand  <ianw@vmware.com>
26984         [BZ #14080]
26985         * time/tzset.c (__tzset_parse_tz): Update default rules for
26986         daylight time changes in the Energy Policy Act of 2005.
26988 2012-05-09  Andreas Jaeger  <aj@suse.de>
26990         [BZ #13983]
26991         * elf/ldconfig.c (parse_conf): Change string to make clear that
26992         ldconfig only issued a warning if ld.so.conf does not exist.
26994 2012-05-08  David S. Miller  <davem@davemloft.net>
26996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26997         movxtod instead of popping the value on the stack.
26999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27001 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
27003         * config.h.in: Add HAVE_ARM_PCS_VFP.
27005 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
27007         [BZ #13979]
27008         * include/features.h: Warn if user requests __FORTIFY_SOURCE
27009         checking but the checks are disabled for any reason.
27011 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
27013         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
27014         and ELF64_R_TYPE with ELFW(R_TYPE).
27016 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
27018         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
27019         (ulimit): Likewise.
27021         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
27022         (settimeofday): Likewise.
27024 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
27026         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
27027         a struct th_u2 inside the union, and move tu_block/tu_code into
27028         a new th_u3 union of tu_block/tu_code inside of that.  Move
27029         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
27030         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
27031         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
27032         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
27033         (th_stuff): Change to th_u1.tu_stuff.
27034         (th_data): Define.
27035         (th_msg): Change to th_u1.th_u2.tu_data.
27037 2012-05-07  David S. Miller  <davem@davemloft.net>
27039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27041         [BZ #14074]
27042         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27043         (SETUP_PIC_REG): Use it.
27044         (SETUP_PIC_REG_LEAF): Use it.
27046 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
27048         [BZ #13885]
27049         [BZ #13923]
27050         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27051         USE_AS_EXPM1L.
27052         (EXPL_FINITE): Likewise.
27053         (FLDLOG): Likewise.
27054         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27055         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27056         e_expl.S.
27057         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27058         USE_AS_EXPM1L.
27059         (EXPL_FINITE): Likewise.
27060         (FLDLOG): Likewise.
27061         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27062         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27063         e_expl.S.
27064         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
27065         test of -max_value argument for long double.
27066         * sysdeps/i386/fpu/libm-test-ulps: Update.
27067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27069 2012-05-06  David S. Miller  <davem@davemloft.net>
27071         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27072         quad soft-float symbols whose references which are compiler
27073         generated.
27074         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27076 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
27078         [BZ #13884]
27079         [BZ #13914]
27080         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27081         USE_AS_EXP10L.
27082         (EXPL_FINITE): Likewise.
27083         (FLDLOG): Likewise.
27084         (c0): Likewise.
27085         (c1): Likewise.
27086         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
27087         Adjust comments for base varying.
27088         (__expl_finite): Change alias to EXPL_FINITE.
27089         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27090         e_expl.S.
27091         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27092         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27093         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27094         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27095         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27096         USE_AS_EXP10L.
27097         (EXPL_FINITE): Likewise.
27098         (FLDLOG): Likewise.
27099         (c0): Likewise.
27100         (c1): Likewise.
27101         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
27102         Adjust comments for base varying.
27103         (__expl_finite): Change alias to EXPL_FINITE.
27104         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
27105         tests for bugs.
27106         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27108         [BZ #14064]
27109         * math/libm-test.inc (check_float_internal): Correct ulp
27110         calculation for subnormal expected results.
27112 2012-05-06  Andreas Jaeger  <aj@suse.de>
27114         * Makeconfig (+math-flags): New, set to -frounding-math.
27115         (+cflags): Add +math-flags so that all of glibc gets compiled with
27116         it.
27118         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27120 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
27122         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27123         Disable one test.
27125         [BZ #13787]
27126         [BZ #13922]
27127         [BZ #14036]
27128         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27129         (__ieee754_expl): Allow for and saturate large arguments.
27130         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27131         (u_threshold): Likewise.
27132         (__exp): Call __ieee754_exp before checking for overflow and
27133         underflow.
27134         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27135         (u_threshold): Likewise.
27136         (__expf): Call __ieee754_expf before checking for overflow and
27137         underflow.
27138         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27139         (u_threshold): Likewise.
27140         (__expl): Call __ieee754_expl before checking for overflow and
27141         underflow.
27142         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27143         (__ieee754_expl): Allow for and saturate large arguments.
27144         * math/libm-test.inc (exp_test): Add another test.  Do not allow
27145         missing overflow exception on overflow.
27146         (expm1_test): Do not allow missing overflow exception on overflow.
27148         * sysdeps/i386/fpu/e_expl.c: Move to ...
27149         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
27150         rather than using inline asm.
27151         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27152         * sysdeps/x86_64/fpu/e_expl.S: Copy from
27153         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27155         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27156         (nice): Likewise.
27157         (poll): Likewise.
27158         (signal): Likewise.
27159         (time): Likewise.
27160         (times): Likewise.
27162 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
27164         * sysdeps/unix/syscalls.list (adjtime): Add entry from
27165         sysdeps/unix/common/syscalls.list.
27166         (fchmod): Likewise.
27167         (fchown): Likewise.
27168         (ftruncate): Likewise.
27169         (getrusage): Likewise.
27170         (gettimeofday): Likewise.
27171         (setpgid): Likewise.
27172         (setregid): Likewise.
27173         (setreuid): Likewise.
27174         (sigaction): Likewise.
27175         (truncate): Likewise.
27176         (vhangup): Likewise.
27177         * sysdeps/unix/common/syscalls.list: Remove file.
27178         * sysdeps/unix/bsd/Implies: Don't include unix/common.
27179         * sysdeps/unix/sysv/linux/Implies: Likewise.
27181 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
27183         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27185         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27186         Moved to ...
27187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27188         Here.
27189         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27190         to ...
27191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27192         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27193         to ...
27194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27195         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27196         to ...
27197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27198         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27199         to ...
27200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27201         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27202         to ...
27203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27204         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27205         to ...
27206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27207         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27208         to ...
27209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27210         Here.
27211         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27212         to ...
27213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27214         Here.
27215         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27216         to ...
27217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27218         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27219         Moved to ...
27220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27221         Here.
27222         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27223         to ...
27224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27226 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
27228         * sysdeps/unix/common/bits/dirent.h: Remove file.
27229         * sysdeps/unix/common/bits/fcntl.h: Likewise.
27231         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27232         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27233         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27234         * sysdeps/unix/bsd/isatty.c: Likewise.
27235         * sysdeps/unix/bsd/tcdrain.c: Likewise.
27236         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27237         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27239 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27241         [BZ #13563]
27242         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27243         long double comparison inaccuracies.
27244         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27247 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
27249         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27250         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27252 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
27254         [BZ #14049]
27255         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27256         nonzero digits before rounding a hex value.
27257         * stdlib/tst-strtod.c (tests): Add another test.
27259 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27261         * sysdeps/s390/fpu/libm-test-ulps: Update.
27263 2012-05-03  Andreas Jaeger  <aj@suse.de>
27265         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27266         does not get optimized out.
27267         (malloc_opt_barrier): New.
27269 2012-05-03  Andreas Jaeger  <aj@suse.de>
27270             Roland McGrath  <roland@hack.frob.com>
27272         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
27273         intermediate file deletion.
27274         (generated): Add .symlist files.
27276 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
27278         [BZ #13775]
27279         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27280         Redirect under this condition.
27281         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27282         [__USE_GNU] (__dprintf_chk): Not under this condition.
27283         [__USE_GNU] (__vdprintf_chk): Likewise.
27284         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27285         under this condition.
27286         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27287         [__USE_XOPEN2K8] (dprintf): Define under this condition.
27288         [__USE_XOPEN2K8] (vdprintf): Likewise.
27289         [__USE_GNU] (__dprintf_chk): Not under this condition.
27290         [__USE_GNU] (__vdprintf_chk): Likewise.
27291         [__USE_GNU] (dprintf): Likewise.
27292         [__USE_GNU] (vdprintf): Likewise.
27294 2012-05-03  Roland McGrath  <roland@hack.frob.com>
27296         * elf/Makefile (common-generated): Set this instead of generated for
27297         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
27298         $(all-built-dso)-derived lists.
27300 2012-05-03  Andreas Jaeger  <aj@suse.de>
27302         * sysdeps/i386/fpu/libm-test-ulps: Update.
27304         * FAQ: Removed.
27305         * FAQ.in: Likewise.
27306         * scripts/gen-FAQ.pl: Likewise.
27307         * manual/install.texi (Installation): Point to online location of
27308         FAQ.
27309         * Makefile (files-for-dist): Remove FAQ.
27310         (FAQ): Remove.
27312 2012-05-02  Allan McRae  <allan@archlinux.org>
27314         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27315         (LDFLAGS-reldepmod5.so): Likewise.
27316         (LDFLAGS-reldep6mod1.so): Likewise.
27317         (LDFLAGS-reldep6mod4.so): Likewise.
27318         (LDFLAGS-reldep8mod3.so): Likewise.
27319         (LDFLAGS-unload4mod1.so): Likewise.
27320         (LDFLAGS-unload4mod2.so): Likewise.
27321         (LDFLAGS-tst-initorder): Likewise.
27322         (LDFLAGS-tst-initordera2.so): Likewise.
27323         (LDFLAGS-tst-initordera3.so): Likewise.
27324         (LDFLAGS-tst-initordera4.so): Likewise.
27325         (LDFLAGS-tst-initorderb2.so): Likewise.
27326         (LDFLAGS-noload): Likewise.
27327         (LDFLAGS-next): Likewise.
27328         (LDFLAGS-order2mod1.so): Likewise.
27329         (LDFLAGS-order2mod2.so): Likewise.
27330         (LDFLAGS-tst-initorder2): Likewise.
27331         (LDFLAGS-tst-initorder2a.so): Likewise.
27332         (LDFLAGS-tst-initorder2b.so): Likewise.
27333         (LDFLAGS-tst-initorder2c.so): Likewise.
27334         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27336 2012-05-02  David S. Miller  <davem@davemloft.net>
27338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27340 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
27342         [BZ #14055]
27343         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27345 2012-05-02  Andreas Jaeger  <aj@suse.de>
27347         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27348         since we manipulate rounding mode.
27349         (CPPFLAGS-test-idouble.c): Likewise.
27350         (CPPFLAGS-test-ifloat.c): Likewise.
27351         (CFLAGS-test-ldouble.c): Likewise.
27352         (CFLAGS-test-double.c): Likewise.
27353         (CFLAGS-test-float.c): Likewise.
27354         (CFLAGS-test-misc.c): Likewise.
27355         (CFLAGS-test-test-fenv.c): Likewise.
27357 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27359         [BZ #2550]
27360         [BZ #2570]
27361         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27362         comparisons to determine direction to adjust input.
27364 2012-05-01  Roland McGrath  <roland@hack.frob.com>
27366         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27367         output to the target.
27369         * scripts/localplt.awk: New file.
27370         * elf/Makefile ($(objpfx)check-localplt): Target removed.
27371         (check-localplt-CFLAGS): Variable removed.
27372         ($(all-built-dso:=.jmprel)): New static pattern rule.
27373         (generated): Add those targets.
27374         (localplt-built-dso): New variable.
27375         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27377         * elf/check-localplt.c: File removed.
27379         * scripts/check-execstack.awk: New file.
27380         * elf/Makefile ($(objpfx)check-execstack): Target removed.
27381         (check-execstack-CFLAGS): Variable removed.
27382         ($(objpfx)check-execstack.h): Target removed.
27383         ($(objpfx)execstack-default): New target.
27384         (generated): Add that instead of check-execstack.h.
27385         ($(all-built-dso:=.phdr)): New static pattern rule.
27386         (generated): Add those targets.
27387         * elf/check-execstack.c: File removed.
27389         * scripts/check-textrel.awk: New file.
27390         * elf/Makefile ($(objpfx)check-textrel): Target removed.
27391         (check-textrel-CFLAGS): Variable removed.
27392         (all-built-dso): Use := to define.o
27393         ($(all-built-dso:=.dyn)): New static pattern rule.
27394         (generated): Add those targets.
27395         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27396         * config.make.in (READELF): New substituted variable.
27397         * elf/check-textrel.c: File removed.
27399 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
27401         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27402         allow.
27403         * conform/data/ctype.h-data [C99-based standards] (isblank):
27404         Expect function.
27405         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27406         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27407         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27408         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27409         Specify type.  Require positive value.
27410         (EILSEQ): Likewise.
27411         (ERANGE): Likewise.
27412         [ISO || POSIX] (EILSEQ): Do not expect.
27413         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27414         Specify type.  Require positive value.
27415         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27416         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27417         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27418         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27419         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27420         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27421         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27422         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27423         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27424         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27425         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27426         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27427         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27428         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27429         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27430         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27431         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27432         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27433         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27434         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27435         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27436         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27437         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27438         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27439         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27440         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27441         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27442         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27443         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27444         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27445         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27446         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27447         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27448         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27449         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27450         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27451         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27452         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27453         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27454         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27455         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27456         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27457         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27458         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27459         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27460         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27461         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27462         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27463         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27464         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27465         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27466         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27467         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27468         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27469         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27470         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27471         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27472         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27473         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27474         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27475         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27476         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27477         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27478         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27479         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27480         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27481         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27482         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27483         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27484         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27485         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27486         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27487         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27488         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27489         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27490         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27491         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27492         Require >= 2.
27493         (FLT_ROUNDS): Expect as macro, not constant.
27494         (FLT_MANT_DIG): Use macro-int-constant.
27495         (DBL_MANT_DIG): Likewise.
27496         (LDBL_MANT_DIG): Likewise.
27497         (FLT_DIG): Likewise.
27498         (DBL_DIG): Likewise.
27499         (LDBL_DIG): Likewise.
27500         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
27501         (DBL_MIN_EXP): Likewise.
27502         (LDBL_MIN_EXP): Likewise.
27503         (FLT_MAX_EXP): Use macro-int-constant.
27504         (DBL_MAX_EXP): Likewise.
27505         (LDBL_MAX_EXP): Likewise.
27506         (FLT_MAX_10_EXP): Likewise.
27507         (DBL_MAX_10_EXP): Likewise.
27508         (LDBL_MAX_10_EXP): Likewise.
27509         (FLT_MAX): Use macro-constant.
27510         (DBL_MAX): Likewise.
27511         (LDBL_MAX): Likewise.
27512         (FLT_EPSILON): Use macro-constant.  Give upper bound.
27513         (DBL_EPSILON): Likewise.
27514         (LDBL_EPSILON): Likewise.
27515         (FLT_MIN): Likewise.
27516         (DBL_MIN): Likewise.
27517         (LDBL_MIN): Likewise.
27518         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27519         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27520         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27521         [ISO11] (FLT_HAS_SUBNORM): Likewise.
27522         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27523         [ISO11] (DBL_DECIMAL_DIG): Likewise.
27524         [ISO11] (FLT_DECIMAL_DIG): Likewise.
27525         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27526         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27527         [ISO11] (FLT_TRUE_MIN): Likewise.
27528         [ISO11] (LDBL_TRUE_MIN): Likewise.
27529         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27530         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27531         (SCHAR_MIN): Use macro-int-constant.  Specify type.
27532         (SCHAR_MAX): Likewise.
27533         (UCHAR_MAX): Likewise.
27534         (CHAR_MIN): Likewise.
27535         (CHAR_MAX): Likewise.
27536         (MB_LEN_MAX): Use macro-int-constant.
27537         (SHRT_MIN): Use macro-int-constant.  Specify type.
27538         (SHRT_MAX): Likewise.
27539         (USHRT_MAX): Likewise.
27540         (INT_MAX): Likewise.
27541         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
27542         bound negative.
27543         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
27544         bound with "U".
27545         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
27546         bound with "L".
27547         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
27548         bound negative.  Suffix upper bound with "L".
27549         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
27550         bound with "UL".
27551         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27552         Specify type.
27553         [C99-based standards] (LLONG_MAX): Likewise.
27554         [C99-based standards] (ULLONG_MAX): Likewise.
27555         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
27556         == 0.
27557         [ISO11] (max_align_t): Require type.
27558         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27560         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27561         from $CFLAGS, without defining away __attribute__ calls.
27562         (checknamespace): Use $CFLAGS_namespace.
27564         * conform/conformtest.pl (@keywords): Only include C99 keywords
27565         for standards based on C99 or C11.
27567         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27568         Disable tests.
27569         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27570         UNIX98]: Likewise.
27572         * conform/conformtest.pl: Handle "macro-int-constant" and test for
27573         usability of symbols in #if.
27575         * conform/conformtest.pl: If macro or constant types start
27576         "promoted:", expect the symbol to be of the following type
27577         promoted by the integer promotions.
27579         * conform/conformtest.pl: Parse all "constant" and "macro" lines
27580         in one place.  Also handle "macro-constant".
27582         * conform/conformtest.pl: Only accept expected macro values with
27583         "==".  Parse all "macro" lines in one place.
27584         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27586         * conform/conformtest.pl: Handle braced types on "constant" lines
27587         instead of handling "typed-constant".
27588         * conform/data/signal.h-data: Use "constant" instead of
27589         "typed-constant".
27591         * conform/conformtest.pl: Handle "optional-" at start of lines in
27592         one place rather than duplicating several cases.  Handle each
27593         format of "macro" line with initial "optional-".
27595         * conform/conformtest.pl: Only accept expected constant or
27596         optional-constant values with "==".  Parse all "constant" lines in
27597         one place.  Parse all "optional-constant" lines in one place.
27598         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27599         * conform/data/fmtmsg.h-data: Likewise.
27600         * conform/data/netinet/in.h-data: Likewise.
27601         * conform/data/tar.h-data: Likewise.
27602         * conform/data/limits.h-data: Use "==" form on "constant" and
27603         "optional-constant" lines.
27605         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27606         Use -std=c99 for XOPEN2K.
27607         (@knownproblems): Remove.
27608         (newtoken): Don't check %isknown.
27610         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27611         Do not expect macro.
27612         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27613         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27614         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27615         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27616         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27617         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27618         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27619         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27620         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27621         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27622         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27623         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27624         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27625         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27626         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27627         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27628         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27629         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27630         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27631         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27632         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27633         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27634         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27635         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27636         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27637         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27638         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27639         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27640         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27641         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27642         [XPG3] (acosh): Likewise.
27643         [XPG3] (asinh): Likewise.
27644         [XPG3] (atanh): Likewise.
27645         [XPG3] (cbrt): Likewise.
27646         [XPG3] (expm1): Likewise.
27647         [XPG3] (ilogb): Likewise.
27648         [XPG3] (log1p): Likewise.
27649         [XPG3] (logb): Likewise.
27650         [XPG3] (nextafter): Likewise.
27651         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27652         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27653         [XPG3] (remainder): Likewise.
27654         [XPG3] (rint): Likewise.
27655         [XPG3 || XPG4 || UNIX98] (round): Likewise.
27656         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27657         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27658         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27659         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27660         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27661         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27662         [UNIX98 || XOPEN2K] (scalb): Expect.
27663         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27664         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27665         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27666         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27667         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27668         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27669         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27670         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27671         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27672         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27673         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27674         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27675         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27676         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27677         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27678         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27679         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27680         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27681         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27682         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27683         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27684         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27685         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27686         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27687         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27688         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27689         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27690         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27691         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27692         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27693         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27694         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27695         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27696         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27697         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27698         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27699         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27700         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27701         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27702         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27703         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27704         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27705         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27706         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27707         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27708         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27709         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27710         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27711         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27712         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27713         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27714         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27715         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27716         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27717         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27718         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27719         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27720         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27721         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27722         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27723         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27724         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27725         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27726         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27727         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27728         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27729         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27730         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27731         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27732         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27733         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27734         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27735         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27736         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27737         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27738         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27739         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27740         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27741         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27742         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27743         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27744         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27745         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27746         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27747         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27748         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27749         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27750         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27751         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27752         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27753         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27754         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27755         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27756         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27757         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27758         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27759         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27760         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27761         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27762         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27763         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27764         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27765         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27766         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27767         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27768         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27769         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27770         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27771         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27772         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27773         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27774         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27775         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27776         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27777         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27778         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27779         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27780         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27781         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27782         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27783         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27784         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27785         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27786         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27787         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27788         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27789         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27790         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27791         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27792         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27793         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27794         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27795         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27796         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27797         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27798         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27799         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27801         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27802         _XOPEN_SOURCE_EXTENDED for XPG4.
27804         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27806         * Makeconfig (localtime): Remove variable.
27807         (inst_localtime-file): Likewise.
27809 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27812         Update.
27813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27814         Update.
27815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27816         Update.
27817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27818         Update.
27819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27820         Update.
27821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27822         Update.
27823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27824         Update.
27825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27826         Update.
27827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27828         Update.
27830 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
27832         [BZ #2550]
27833         [BZ #2570]
27834         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27835         comparisons to determine direction to adjust input.
27836         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27837         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27838         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27839         Likewise.
27840         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27841         Likewise.
27842         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27843         Likewise.
27844         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27845         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27846         Likewise.
27847         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27848         Likewise.
27849         * math/libm-test.inc (nexttoward_test): Add more tests.
27851 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27853         [BZ #14040]
27854         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27855         in version GLIBC_2.1, not GLIBC_2.0.
27856         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27857         Likewise.
27859 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
27861         [BZ #13942]
27862         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27863         (1 - x) * (1 + x).
27864         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27865         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27866         * math/libm-test.inc (acos_test): Add more tests.
27867         (asin_test): Likewise.
27868         * sysdeps/i386/fpu/libm-test-ulps: Update.
27869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27871         [BZ #14034]
27872         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27873         of square root.
27874         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27875         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27876         * math/libm-test.inc (acos_test_tonearest): New function.
27877         (acos_test_towardzero): Likewise.
27878         (acos_test_downward): Likewise.
27879         (acos_test_upward): Likewise.
27880         (asin_test_tonearest): Likewise.
27881         (asin_test_towardzero): Likewise.
27882         (asin_test_downward): Likewise.
27883         (asin_test_upward): Likewise.
27884         (main): Call the new functions.
27885         * sysdeps/i386/fpu/libm-test-ulps: Update.
27886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27888         [BZ #13884]
27889         [BZ #13924]
27890         * math/e_exp10.c: Include <float.h>.
27891         (__ieee754_exp10): Handle underflow here rather than multiplying
27892         large negative argument by M_LN10.
27893         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27894         of __ieee754_expf.
27895         * math/e_exp10l.c: Include <float.h>.
27896         (__ieee754_exp10l): Handle underflow here rather than multiplying
27897         large negative argument by M_LN10l.
27898         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
27899         spurious overflow exception on underflow.
27901 2012-04-29  Marek Polacek  <polacek@redhat.com>
27903         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27904         (__fortify_function): New macro.
27905         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27906         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27907         __extern_always_inline.
27908         * libio/bits/stdio2.h: Likewise.
27909         * libio/bits/stdio.h: Likewise.
27910         * string/string.h: Likewise.
27911         * string/bits/string3.h: Likewise.
27912         * include/stdio.h: Likewise.
27913         * stdlib/bits/stdlib.h: Likewise.
27914         * stdlib/stdlib.h: Likewise.
27915         * rt/bits/mqueue2.h: Likewise.
27916         * rt/mqueue.h: Likewise.
27917         * posix/bits/unistd.h: Likewise.
27918         * posix/unistd.h: Likewise.
27919         * io/bits/poll2.h: Likewise.
27920         * io/bits/fcntl2.h: Likewise.
27921         * io/fcntl.h: Likewise.
27922         * io/sys/poll.h: Likewise.
27923         * misc/bits/syslog.h: Likewise.
27924         * misc/bits/syslog-ldbl.h: Likewise.
27925         * misc/sys/syslog.h: Likewise.
27926         * socket/bits/socket2.h: Likewise.
27927         * socket/sys/socket.h: Likewise.
27928         * debug/tst-chk1.c: Likewise.
27929         * wcsmbs/bits/wchar2.h: Likewise.
27930         * wcsmbs/bits/wchar-ldbl.h: Likewise.
27931         * wcsmbs/wchar.h: Likewise.
27933 2012-04-29  Andreas Jaeger  <aj@suse.de>
27935         * Makerules (tests): Remove enable-check-abi protection.
27936         (check-abi-warn): Remove.
27937         (check-abi-%): Remove check-abi-warn usage.
27939         * configure.in: Remove check-abi configure option.
27940         * configure: Regenerated.
27941         * config.make.in (enable-check-abi): Remove.
27943 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
27945         [BZ #14033]
27946         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27947         double functions to double *_finite functions.
27949         [BZ #13941]
27950         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27951         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27952         LDBL_MIN_EXP.
27953         * stdio-common/Makefile (tests): Add tst-sprintf3.
27954         * stdio-common/tst-sprintf3.c: New file.
27956         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27957         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27959 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
27961         * conform/conformtest.pl: Remove duplicate typed-constant
27962         handling.
27964 2012-04-28  David S. Miller  <davem@davemloft.net>
27966         * Makerules (%.abilist): Add vpath on sysdep_dirs.
27967         (check-abi-%): Remove AWK script prerequisite and explicit
27968         abilist directory.
27969         (check-abi): Rewrite to just diff the symlist with the abilist.
27970         (config-tls, config-abi-config): Delete, no longer used.
27971         (update-abi-%): Remove AWK script and explicit abilist directory.
27972         (update-abi): Rewrite to simply compare and conditionally copy the
27973         symlist and the sysdep abilist file.  Remove update-abi-config
27974         checks.
27975         * abilist/ld.abilist: Remove.
27976         * abilist/libBrokenLocale.abilist: Remove.
27977         * abilist/libanl.abilist: Remove.
27978         * abilist/libcrypt.abilist: Remove.
27979         * abilist/libdl.abilist: Remove.
27980         * abilist/librt.abilist: Remove.
27981         * abilist/libthread_db.abilist: Remove.
27982         * abilist/libutil.abilist: Remove.
27983         * scripts/extract-abilist.awk: Remove.
27984         * scripts/merge-abilist.awk: Remove.
27985         * sysdeps/generic/libcidn.abilist: New file.
27986         * sysdeps/generic/libnss_compat.abilist: New file.
27987         * sysdeps/generic/libnss_db.abilist: New file.
27988         * sysdeps/generic/libnss_dns.abilist: New file.
27989         * sysdeps/generic/libnss_files.abilist: New file.
27990         * sysdeps/generic/libnss_hesiod.abilist: New file.
27991         * sysdeps/generic/libnss_nis.abilist: New file.
27992         * sysdeps/generic/libnss_nisplus.abilist: New file.
27993         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27994         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27995         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27996         file.
27997         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27998         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27999         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
28000         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
28001         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
28002         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
28003         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
28004         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
28005         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
28006         file.
28007         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
28008         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
28009         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
28010         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
28011         file.
28012         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
28013         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
28014         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
28015         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
28016         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
28017         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
28018         file.
28019         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
28020         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
28021         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
28022         file.
28023         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
28024         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
28025         New file.
28026         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
28027         New file.
28028         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
28029         New file.
28030         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
28031         New file.
28032         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
28033         New file.
28034         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
28035         New file.
28036         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28037         New file.
28038         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28039         New file.
28040         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28041         New file.
28042         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28043         New file.
28044         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28045         New file.
28046         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28047         New file.
28048         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28049         New file.
28050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28051         file.
28052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28053         New file.
28054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28055         New file.
28056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28057         file.
28058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28059         New file.
28060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28061         New file.
28062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28063         file.
28064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28065         New file.
28066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28067         New file.
28068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28069         New file.
28070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28071         New file.
28072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28073         New file.
28074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28075         New file.
28076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28078         file.
28079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28080         New file.
28081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28082         file.
28083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28084         file.
28085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28086         file.
28087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28088         file.
28089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28090         file.
28091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28092         New file.
28093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28094         file.
28095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28096         file.
28097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28098         New file.
28099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28100         file.
28101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28103         file.
28104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28105         New file.
28106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28107         file.
28108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28109         file.
28110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28111         file.
28112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28113         file.
28114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28115         file.
28116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28117         New file.
28118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28119         file.
28120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28121         file.
28122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28123         New file.
28124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28125         file.
28126         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28127         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28128         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28129         file.
28130         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28131         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28132         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28133         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28134         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28135         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28136         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28137         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28138         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28139         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28142         file.
28143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28144         New file.
28145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28146         file.
28147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28148         file.
28149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28150         file.
28151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28152         file.
28153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28154         file.
28155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28156         New file.
28157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28158         New file.
28159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28160         file.
28161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28162         New file.
28163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28164         file.
28165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28167         file.
28168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28169         New file.
28170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28171         file.
28172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28173         file.
28174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28175         file.
28176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28177         file.
28178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28179         file.
28180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28181         New file.
28182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28183         New file.
28184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28185         file.
28186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28187         New file.
28188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28189         file.
28191 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
28193         * conform/conformtest.pl: Fix typo in handling typed-constant from
28194         allow-header.
28196 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
28198         * README: Cut down references to pre-2.6 Linux kernels and
28199         Linuxthreads.  Update lists of configurations in libc and ports
28200         and sort alphabetically.  Say "or newer" with Linux kernel version
28201         requirements.
28203         * config.h.in [IS_IN_build]: Allow compiling without optimization.
28205 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28207         [BZ #887]
28208         * math/libm-test.inc (logb_test_downward): New test to expose
28209         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28210         rounding mode.
28212 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
28214         [BZ #14027]
28215         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28216         to be done.
28217         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28218         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28220 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
28222         * sysdeps/unix/i386/brk.S: Remove file.
28223         * sysdeps/unix/i386/dl-brk.S: Likewise.
28224         * sysdeps/unix/i386/pipe.S: Likewise.
28225         * sysdeps/unix/i386/sigreturn.S: Likewise.
28226         * sysdeps/unix/i386/syscall.S: Likewise.
28227         * sysdeps/unix/i386/vfork.S: Likewise.
28228         * sysdeps/unix/i386/wait.S: Likewise.
28230         * sysdeps/unix/common/tcsendbrk.c: Move to ...
28231         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28233         * configure.in (arm*-none*): Do not allow without
28234         --enable-hacker-mode.
28235         (netbsd*): Remove case setting base_os.
28236         (386bsd*): Likewise.
28237         (freebsd*): Likewise.
28238         (bsdi*): Likewise.
28239         (osf*): Likewise.
28240         (sunos*): Likewise.
28241         (ultrix*): Likewise.
28242         (newsos*): Likewise.
28243         (dynix*): Likewise.
28244         (*bsd*): Likewise.
28245         (sysv*): Likewise.
28246         (isc*): Likewise.
28247         (esix*): Likewise.
28248         (sco*): Likewise.
28249         (minix*): Likewise.
28250         (irix4*): Likewise.
28251         (irix6*): Likewise.
28252         (solaris[2-9]*): Likewise.
28253         (none): Likewise.
28254         * configure: Regenerated.
28256 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28258         [BZ #11521]
28259         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28260         overflow or cancellation in calculating denominator.
28261         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28262         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28263         down expression to avoid unexpected rounding in newer GCCs.
28264         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28266 2012-04-26  David S. Miller  <davem@davemloft.net>
28268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28269         long-double compat symbols.
28270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28284 2012-04-25  David S. Miller  <davem@davemloft.net>
28286         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28287         HWCAP_* values only after the memory barriers have been defined.
28288         (atomic_full_barrier): Define.
28289         (atomic_read_barrier): Define.
28290         (atomic_write_barrier): Define.
28292 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28294         * shlib-versions: Add libgcc_s version information.
28295         * sysdeps/generic/libgcc_s.h: Remove.
28296         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28297         libgcc_s.h.
28298         * sysdeps/gnu/unwind-resume.c: Likewise.
28299         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28301 2012-04-25  David S. Miller  <davem@davemloft.net>
28303         * sysdeps/unix/sparc/brk.S: Delete.
28304         * sysdeps/unix/sparc/dl-brk.S: Delete.
28305         * sysdeps/unix/sparc/pipe.S: Delete.
28306         * sysdeps/unix/sparc/sysdep.S: Delete.
28307         * sysdeps/unix/sparc/sysdep.h: Delete.
28308         * sysdeps/unix/sparc/vfork.S: Delete.
28309         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28310         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28311         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28312         ret_ERRVAL, r0, r1, MOVE): Define.
28313         (JUMPTARGET): Remove.
28314         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28315         sysdeps/unix/sparc/sysdep.h
28316         (ENTRY, END): Remove.
28317         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28319 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
28321         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28322         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28323         -DIS_IN_build.
28325         * timezone/README: Update upstream location and email address for
28326         tzcode and tzdata.
28327         * timezone/zdump.c: Update from tzcode 2012b.
28328         * timezone/zic.c: Likewise.
28330         * configure.in (libc_cv_as_needed): Remove test.
28331         * configure: Regenerated.
28332         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28333         conditional definition.
28334         [$(have-as-needed) != yes] (no-as-needed): Likewise.
28335         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28336         * config.make.in (have-as-needed): Remove variable.
28338 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28339             Paul Pluzhnikov  <ppluzhnikov@google.com>
28341         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28342         strings correctly.
28344 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
28346         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28347         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28348         * sysdeps/sh/strlen.S: Likewise.
28350 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
28352         * sysdeps/unix/fork.S: Remove file.
28353         * sysdeps/unix/i386/fork.S: Likewise.
28354         * sysdeps/unix/sparc/fork.S: Likewise.
28356         * sysdeps/unix/system.c: Remove file.
28357         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28359         * sysdeps/unix/getegid.S: Remove file.
28360         * sysdeps/unix/geteuid.S: Likewise.
28362 2012-04-24  Roland McGrath  <roland@hack.frob.com>
28364         * scripts/check-localplt.awk: New file.
28365         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28366         of diff.
28367         * scripts/data/localplt-generic.data: Add a comment.
28369         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28370         NODE when __dir_mkfile failed.
28371         * sysdeps/mach/hurd/symlinkat.c: Likewise.
28372         Reported by Ludovic Courtès <ludo@gnu.org>.
28374 2012-04-24  Andreas Jaeger  <aj@suse.de>
28376         * Makerules (common-clean): Also remove gen-as-const-headers
28377         files.
28379 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
28381         * Makerules (native-compile): Do not change working directory for
28382         build.  Use $(OUTPUT_OPTION) in command.
28383         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28385 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28387         [BZ #13886]
28388         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28389         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28390         * math/libm-test.inc (floor_test): Add more tests.
28391         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28393 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
28395         * sysdeps/unix/getdents.c: Remove file.
28396         * sysdeps/unix/sysv/getdents.c: Likewise.
28397         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28399         * sysdeps/unix/syscalls.list (madvise): Add syscall from
28400         sysdeps/unix/mman/syscalls.list.
28401         (mmap): Likewise.
28402         (mprotect): Likewise.
28403         (msync): Likewise.
28404         (munmap): Likewise.
28405         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28406         * sysdeps/unix/mman/syscalls.list: Remove.
28407         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28409         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28410         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28411         * configure: Regenerated.
28412         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28413         $(libgcc_s_suffix).
28414         * config.make.in (libgcc_s_suffix): Remove variable.
28416 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
28418         * sysdeps/unix/sysv/gethostname.c: Move to ...
28419         * sysdeps/posix/gethostname.c: ... here.
28421         * sysdeps/unix/execve.S: Remove file.
28423         * sysdeps/unix/_exit.S: Remove file.
28425 2012-04-23  Andreas Jaeger  <aj@suse.de>
28427         [BZ #13739]
28428         * manual/Makefile: Remove make dist support, there's no
28429         need for a stand-alone documentation tar ball.
28430         (TEXI2DVI): Define always, it's not in Makeconfig.
28431         (dist): Removed.
28432         (tar-it): Removed.
28433         (edition): Removed.
28434         (glibc-doc-$(edition).tar): Removed
28435         (%.Z): Removed.
28436         (%.gz): Removed.
28437         (%.uu): Removed.
28438         (ETAGS): Remove, it's in Makeconfig.
28439         (move-if-change): Remove, it's in Makeconfig.
28441 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
28443         [BZ #13970]
28444         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28445         (strtod, strtof, strtold, strtol, strtoul, strtoq)
28446         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28447         (strtod_l, strtof_l, strtold_l): Remove __wur.
28448         It is not necessarily an error to ignore strtol's return value.
28449         One can reliably look at the stored endptr to decide whether
28450         the number had valid syntax.
28452 2012-04-21  Andreas Jaeger  <aj@suse.de>
28454         [BZ #13739]
28455         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28457 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
28459         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28460         * sysdeps/unix/sysv/Versions: Remove file.
28462 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
28464         [BZ #13927]
28465         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28467 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
28469         [BZ #7064]
28470         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28471         version from __vm86.
28473 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
28475         * sysdeps/unix/common/lxstat.c: Remove file.
28476         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28478         * sysdeps/unix/sysv/Makefile: Remove file.
28480         * sysdeps/unix/sysv/direct.h: Remove file.
28482         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28483         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28484         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28485         * sysdeps/unix/sysv/bits/signum.h: Likewise.
28486         * sysdeps/unix/sysv/bits/stat.h: Likewise.
28487         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28488         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28490         * sysdeps/unix/sysv/setrlimit.c: Remove file.
28492         * sysdeps/unix/xmknod.c: Remove file.
28493         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28495         * sysdeps/unix/sysv/settimeofday.c: Remove file.
28497         * sysdeps/unix/sysv/i386/time.S: Remove file.
28499         * sysdeps/unix/fxstat.c: Remove file.
28500         * sysdeps/unix/xstat.c: Likewise.
28501         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28503         * sysdeps/unix/sysv/sigaction.c: Remove file.
28505         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28506         (sysdep_headers): Remove variable.
28507         [termio.h not in sysdep_headers] (generated): Likewise.
28508         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28509         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28510         * sysdeps/unix/sysv/tcdrain.c: Likewise.
28511         * sysdeps/unix/sysv/tcflow.c: Likewise.
28512         * sysdeps/unix/sysv/tcflush.c: Likewise.
28513         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28514         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28515         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28516         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28517         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28519         * sysdeps/unix/siglist.c: Remove file.
28521         * sysdeps/unix/getppid.S: Remove file.
28523         * sysdeps/unix/mkdir.c: Remove file.
28524         * sysdeps/unix/rmdir.c: Likewise.
28526 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
28528         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28529         ERR_MAX value.
28530         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28531         errlist-compat value.
28533 2012-04-18  David S. Miller  <davem@davemloft.net>
28535         * sysdeps/generic/memcopy.h (reg_char): Delete.
28536         * debug/strcat_chk.c: Use char, not reg_char.
28537         * debug/strcpy_chk.c: Likewise.
28538         * debug/strncat_chk.c: Likewise.
28539         * debug/strncpy_chk.c: Likewise.
28540         * string/memchr.c: Likewise.
28541         * string/memrchr.c: Likewise.
28542         * string/rawmemchr.c: Likewise.
28543         * string/strcat.c: Likewise.
28544         * string/strchr.c: Likewise.
28545         * string/strchrnul.c: Likewise.
28546         * string/strcmp.c: Likewise.
28547         * string/strcpy.c: Likewise.
28548         * string/strncat.c: Likewise.
28549         * string/strncmp.c: Likewise.
28550         * string/strncpy.c: Likewise.
28552 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
28554         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28555         __builtin_memcopy is called when src and dest ranges are known to not
28556         overlap.
28558 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
28560         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28561         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28562         fwd_align_merge macro call.
28563         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28564         bwd_align_merge macro call.
28565         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28567 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
28569         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28570         bwd_align_merge macros.
28571         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28572         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28573         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28575 2012-04-18  David S. Miller  <davem@davemloft.net>
28577         * sysdeps/sparc/sparc64/memcopy.h: Delete.
28579 2012-04-18  Andreas Jaeger  <aj@suse.de>
28581         [BZ# 6794]
28582         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28583         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28584         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28586         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28587         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28588         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28590         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28591         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28592         Adjust for changed ldbl-128 files.
28594         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28595         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28596         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28598 2012-04-17  David S. Miller  <davem@davemloft.net>
28600         * sysdeps/sparc/sparc32/memcopy.h: Delete.
28602 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
28604         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28605         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28606         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28607         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28608         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28609         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28611 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28613         [BZ #6794]
28614         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28615         * math/libm-test.inc: Add ilogb errno and exception tests.
28616         * math/w_ilogb.c: New file: ilogb wrapper.
28617         * math/w_ilogbf.c: New file: ilogbf wrapper.
28618         * math/w_ilogbl.c: New file: ilogbl wrapper.
28619         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28620         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28621         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28622         exception being thrown with 0.0 as argument.
28623         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28624         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28625         exception being thrown with 0.0 as argument.
28626         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28627         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28628         exception being thrown with 0.0 as argument.
28629         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28630         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28631         exception being thrown with 0.0 as argument.
28632         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28633         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
28634         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
28635         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28636         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28637         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28638         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28639         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28640         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28642 2012-04-17  Petr Baudis  <pasky@ucw.cz>
28644         * include/sys/uio.h: Change __vector to __iovec to avoid clash
28645         with altivec.
28647 2012-04-16  Marek Polacek  <polacek@redhat.com>
28649         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28651 2012-04-16  Marek Polacek  <polacek@redhat.com>
28653         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28654         operands of fdivp instruction.
28656 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
28658         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28659         * elf/tst-auditmod3b.c: Likewise.
28660         * elf/tst-auditmod4b.c: Likewise.
28661         * elf/tst-auditmod5b.c: Likewise.
28662         * elf/tst-auditmod6b.c: Likewise.
28663         * elf/tst-auditmod6c.c: Likewise.
28664         * elf/tst-auditmod7b.c: Likewise.
28665         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28666         * sysdeps/x86_64/preconfigure.in: Likewise.
28667         * sysdeps/x86_64/preconfigure: Regenerated.
28669 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
28671         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28672         __ILP32__.
28674 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
28676         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28677         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28679 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
28681         [BZ #13973]
28682         * locale/iso-639.def: Fix gl language name. Spotted by
28683         Yaron Shahrabani.
28685 2012-04-12  Roland McGrath  <roland@hack.frob.com>
28687         [BZ #2074]
28688         * libio/libio.h (__io_write_fn): Update comment.
28690 2012-04-12  Petr Baudis  <pasky@ucw.cz>
28692         [BZ #2074]
28693         * stdio.texi (Hook Functions): The user provided writer function
28694         is not allowed to return -1.
28696 2012-04-11  David S. Miller  <davem@davemloft.net>
28698         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28700 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
28702         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28703         Add a leading slash to rtkaio.
28705 2012-04-11  Jim Meyering  <meyering@redhat.com>
28707         [BZ #11959]
28708         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28709         It is not necessarily an error to ignore fwrite's return
28710         value.  One can reliably use ferror to test for errors after
28711         the fact.
28713 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
28715         * bits/types.h (__snseconds_t): New type.
28716         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28718         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28719         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28720         (__SNSECONDS_T_TYPE): Likewise.
28721         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28722         (__SNSECONDS_T_TYPE): Likewise.
28723         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28724         (__SNSECONDS_T_TYPE): Likewise.
28726 2012-04-10  Andreas Jaeger  <aj@suse.de>
28728         [BZ #2636]
28729         * manual/time.texi (Processor Time): Return type of times is
28730         elapsed real time since an arbitrary point in the past.
28731         (CPU Time): Move CLK_TCK from here...
28732         (Processor Time): ...to here.  Correct description.
28733         * manual/conf.texi (Constants for Sysconf): Correct description of
28734         _SC_CLK_TCK.
28736 2012-04-10  David S. Miller  <davem@davemloft.net>
28738         [BZ #13967]
28739         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28740         where the is a gap between DT_REL(A) and DT_JMPREL.
28742 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
28744         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28745         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28746         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28748 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28750         * elf/dl-support.c (_dl_inhibit_cache): New variable.
28751         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28752         (dl_main): Handle --inhibit-cache.
28753         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28754         _dl_inhibit_cache.
28755         * elf/dl-load.c (_dl_map_object): Use it.
28756         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28758 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
28760         [BZ #13872]
28761         * sysdeps/i386/fpu/e_powl.S (p78): New object.
28762         (__ieee754_powl): Saturate large exponents rather than testing for
28763         overflow of y*log2(x).
28764         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28765         * math/libm-test.inc (pow_test): Do not permit spurious overflow
28766         exceptions.
28768         [BZ #11521]
28769         * math/s_ctan.c: Include <float.h>.
28770         (__ctan): Avoid internal overflow or cancellation in calculating
28771         denominator.
28772         * math/s_ctanf.c: Likewise.
28773         * math/s_ctanl.c: Likewise.
28774         * math/s_ctanh.c: Likewise.
28775         * math/s_ctanhf.c: Likewise.
28776         * math/s_ctanhl.c: Likewise.
28777         * math/libm-test.inc (ctan_test): Add more tests.
28778         (ctanh_test): Likewise.
28779         * sysdeps/i386/fpu/libm-test-ulps: Update.
28780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28782 2012-04-09  Andreas Jaeger  <aj@suse.de>
28784         [BZ #6894]
28785         * manual/filesys.texi (Directory Entries): Mention that d_namlen
28786         is an optional BSD extension.
28788         [BZ #10254]
28789         * manual/stdio.texi (Opening Streams): Document additional fopen
28790         parameters.
28792 2012-04-09  Roland McGrath  <roland@hack.frob.com>
28794         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28795         %eax without telling the compiler.
28797 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
28799         [BZ # 13963]
28800         * manual/install.texi: Use sourceware.org.
28802 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
28804         [BZ #13873]
28805         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28806         (__ieee754_pow): Generate overflow and underflow using huge*huge
28807         and tiny*tiny rather than just returning constant infinity or zero
28808         for large exponents.
28809         * math/libm-test.inc (pow_test): Require overflow exceptions for
28810         applicable cases of large exponents.
28812         [BZ #706]
28813         * sysdeps/i386/fpu/e_pow.S (p10): New object.
28814         (__ieee754_pow): Use iterative multiplication algorithm only for
28815         integer exponents with absolute value below 1024.  Check for odd
28816         integer exponents when using algorithm for real exponents.
28817         * math/libm-test.inc (pow_test): Add more tests.
28818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28820 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
28822         [BZ #13705]
28823         * math/libm-test.inc (exp_test): Do not allow overflow exception
28824         on underflow test.
28826 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
28828         [BZ #13705]
28829         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28830         instead of __kernel_standard_f.
28832 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
28834         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28835         * sysdeps/x86_64/memset_chk.S: Likewise.
28837 2012-04-08  Andreas Jaeger  <aj@suse.de>
28839         [BZ #10153]
28840         * manual/startup.texi (Environment Access): Describe return value
28841         for putenv and setenv.
28843         [BZ #6895]
28844         * manual/filesys.texi (Directory Entries): Add description for
28845         DT_LNK.
28847         [BZ #6890]
28848         * manual/filesys.texi (Directory Entries): Clarify that it's file
28849         system not operating system in the description of DT_UNKNOWN.
28851         [BZ #6578]
28852         * manual/syslog.texi (closelog): Fix reference, it's openlog.
28854 2012-04-08  Stephen Compall  <s11@member.fsf.org>
28856         [BZ #6649]
28857         * manual/llio.texi (Opening and Closing Files): Add cross
28858         reference to explain mode argument.
28860 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
28862         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28863         * sysdeps/x86_64/memset_chk.S: Likewise.
28865 2012-04-07  David S. Miller  <davem@davemloft.net>
28867         * elf/elf.h (R_SPARC_WDISP10): Define.
28868         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28869         R_SPARC_SIZE32.
28870         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28871         R_SPARC_SIZE64 and R_SPARC_H34.
28873 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
28875         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28876         conditions and remove no longer applicable assertion.
28878 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
28880         * bits/byteswap.h: Include <features.h>.
28881         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28882         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28884 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
28886         * bits/byteswap.h (__bswap_16): Removed.
28887         Include <bits/byteswap-16.h> to get __bswap_16.
28888         * sysdeps/i386/bits/byteswap.h: Likewise.
28889         * sysdeps/s390/bits/byteswap.h: Likewise.
28890         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28891         * bits/byteswap-16.h: New file.
28892         * sysdeps/i386/bits/byteswap-16.h: Likewise.
28893         * sysdeps/s390/bits/byteswap-16.h: Likewise.
28894         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28895         * string/Makefile (headers): Add bits/byteswap-16.h.
28897 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28899         [BZ #13895]
28900         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28901         extra indirection.
28902         * nss/Makefile (tests-static, tests): Add tst-nss-static.
28903         * nss/tst-nss-static.c: New.
28905 2012-04-06  Robert Millan  <rmh@gnu.org>
28907         [BZ #6486]
28908         * manual/llio.texi (File Position Primitive): lseek
28909         refers to WHENCE when it really means OFFSET.
28911 2012-04-06  Andreas Jaeger  <aj@suse.de>
28913         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28914         strncmp declarations.
28916         * abilist/libc.abilist: Add __poll and __ppoll.
28918 2012-04-05  David S. Miller  <davem@davemloft.net>
28920         * scripts/check-local-headers.sh: Accept a host triplet in the
28921         path matched by the exclude regexp.
28923         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28924         definition.
28925         * sysdeps/powerpc/powerpc32/dl-machine.h
28926         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28927         * sysdeps/s390/s390-32/dl-machine.h
28928         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28929         * sysdeps/sparc/sparc32/dl-machine.h
28930         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28931         * sysdeps/sparc/sparc64/dl-machine.h
28932         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28934         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28935         lazy binding.
28936         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28937         undefined symbol errors.
28939         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28940         DT_NEEDED entries.
28942 2012-04-05  Michael Matz  <matz@suse.de>
28944         [BZ #13592]
28945         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28947 2012-04-05  Andreas Jaeger  <aj@suse.de>
28949         [BZ #13908]
28950         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28951         comment.
28953 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28955         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28956         which ROUND is no valid rounding mode.
28958 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28960         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28961         read again.
28962         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28964 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28966         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28967         an exception using FPU order intentionally.
28969 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28971         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28972         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28973         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28974         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28976 2012-04-05  Simon Josefsson  <simon@josefsson.org>
28978         [BZ #12340]
28979         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28980         EINVAL when BUFLEN is too smal.
28982 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28984         [BZ #13553]
28985         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28986         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28988 2012-04-03  Andreas Jaeger  <aj@suse.de>
28990         [BZ #13938]
28991         * manual/setjmp.texi (System V contexts): Fix sentence.
28993         [BZ #13926]
28994         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28995         New macro for this case.
28996         [!__GNUC__] (__bswap_64): New inline function for this case.
28997         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28998         * bits/byteswap.h: Likewise.
28999         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
29000         ull, guard with __GLIBC_HAVE_LONG_LONG.
29002         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
29003         __GLIBC_HAVE_LONG_LONG.
29005         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
29006         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
29008 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29010         [BZ #13691]
29011         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
29012         inptr and inend, rather than using last_ch.
29014 2012-04-02  David S. Miller  <davem@davemloft.net>
29016         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
29017         * stdio-common/printf-parse.h (read_int): Change return type to
29018         'int', return -1 on INT_MAX overflow.
29019         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
29020         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
29021         overflows INT_MAX.  Check for overflow of in-format-string precision
29022         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
29023         SIZE_MAX not INT_MAX for integer overflow test.
29024         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
29025         skip the construct in the format string but do not record anything.
29026         * stdio-common/bug22.c: Adjust to test both width/prevision
29027         INT_MAX overflow as well as total length INT_MAX overflow.  Check
29028         explicitly for proper errno values.
29030 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
29032         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
29033         CHAR_MAX.
29034         * string/test-strcmp.c [! WIDE]: Likewise.
29035         * time/tst-mktime2.c: Likewise for INT_MAX.
29036         * string/test-string.h: #include <sys/param.h> for MIN.
29038         * csu/init-first.c (__libc_init_first): Call __ctype_init.
29039         * sysdeps/i386/init-first.c (init): Likewise.
29040         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29041         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29042         * sysdeps/sh/init-first.c (init): Likewise.
29044 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
29046         * po/ru.po: Update from translation team.
29047         * po/vi.po: Likewise.
29049 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
29051         * resolv/nss_dns/dns-host.c: Merge copyright years.
29053 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29055         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29056         Optimize memcpy with prefetch if
29057         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
29058         src, dst pointers have unequal 16 byte alignments.
29060 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29062         [BZ #13928]
29063         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29064         from a CNAME entry and return the minimum ttl for the query.
29065         (gaih_getanswer_slice): Likewise.
29067 2012-03-30  Jeff Law  <law@redhat.com>
29069         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29070         due to long keys.
29071         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29072         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29074         * resolv/nss_dns/dns-host.c: Update copyright year.
29076 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
29078         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
29079         requests to save a system call.  Fix check that all bytes are sent.
29081         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29082         comments for sendmmsg.
29084 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29086         [BZ #13691]
29087         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29088         with only 1 character between 0x0041 and 0x01b0.
29089         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29090         * wcsmbs/tst-mbsnrtowcs.c: New file.
29092 2012-03-29  David S. Miller  <davem@davemloft.net>
29094         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29095         small copies by hand.
29097 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29099         [BZ #13761]
29100         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29101         _nss_compat_initgroups_dyn): Fall back to malloc/free
29102         for large group memberships.
29104 2012-03-28  David S. Miller  <davem@davemloft.net>
29106         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29107         that branches into memcpy.
29108         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29109         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29110         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29111         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29112         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29113         bits.
29114         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29115         implementation too.
29116         * sysdeps/sparc/mempcpy.S: New file.
29118         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29119         the IFUNC routine in the libc case.
29120         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29122         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29123         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29124         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29125         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29126         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29127         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29128         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29129         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29131         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29132         loop to 256 bytes instead of 64 bytes and fix test signedness.
29134         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29135         * sysdeps/sparc/sparc32/Makefile: rather than here...
29136         * sysdeps/sparc/sparc64/Makefile: and here.
29138 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
29140         * malloc/mallocbug.c: Avoid warnings about unused variables.
29142 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29144         [BZ #13760]
29145         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29146         in the right place. Discard and retry query if response is
29147         larger than input buffer size.
29149 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
29151         [BZ #369]
29152         [BZ #2678]
29153         [BZ #3866]
29154         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29155         x for large integer exponent.
29156         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29157         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
29158         sign of result as needed afterwards.
29159         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29160         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29161         result for underflowing pow the same as for overflow.
29162         (__kernel_standard_l): Handle powl overflow and underflow here
29163         rather than calling __kernel_standard.
29164         * math/libm-test.inc (pow_test): Add more tests.
29166         [BZ #3868]
29167         [BZ #13879]
29168         [BZ #13910]
29169         [BZ #13911]
29170         [BZ #13912]
29171         [BZ #13913]
29172         [BZ #13915]
29173         [BZ #13916]
29174         [BZ #13917]
29175         [BZ #13918]
29176         [BZ #13919]
29177         [BZ #13920]
29178         [BZ #13921]
29179         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29180         * sysdeps/ieee754/k_standard.c: Include <float.h>.
29181         (__kernel_standard_l): New function.
29182         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29183         __kernel_standard.
29184         * math/w_acosl.c (__acosl): Likewise.
29185         * math/w_asinl.c (__asinl): Likewise.
29186         * math/w_atan2l.c (__atan2l): Likewise.
29187         * math/w_atanhl.c (__atanhl): Likewise.
29188         * math/w_coshl.c (__coshl): Likewise.
29189         * math/w_exp10l.c (__exp10l): Likewise.
29190         * math/w_exp2l.c (__exp2l): Likewise.
29191         * math/w_fmodl.c (__fmodl): Likewise.
29192         * math/w_hypotl.c (__hypotl): Likewise.
29193         * math/w_j0l.c (__j0l, __y0l): Likewise.
29194         * math/w_j1l.c (__j1l, __y1l): Likewise.
29195         * math/w_jnl.c (__jnl, __ynl): Likewise.
29196         * math/w_lgammal.c (__lgammal): Likewise.
29197         * math/w_log10l.c (__log10l): Likewise.
29198         * math/w_log2l.c (__log2l): Likewise.
29199         * math/w_logl.c (__logl): Likewise.
29200         * math/w_powl.c (__powl): Likewise.
29201         * math/w_remainderl.c (__remainderl): Likewise.
29202         * math/w_scalbl.c (sysv_scalbl): Likewise.
29203         * math/w_sinhl.c (__sinhl): Likewise.
29204         * math/w_sqrtl.c (__sqrtl): Likewise.
29205         * math/w_tgammal.c (__tgammal): Likewise.
29206         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29207         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29208         * math/libm-test.inc (acos_test): Add more tests.
29209         (acosh_test): Likewise.
29210         (asin_test): Likewise.
29211         (atanh_test): Likewise.
29212         (exp_test): Likewise.
29213         (exp10_test): Likewise.
29214         (exp2_test): Likewise.
29215         (expm1_test): Likewise.
29216         (lgamma_test): Likewise.
29217         (log_test): Likewise.
29218         (log10_test): Likewise.
29219         (log1p_test): Likewise.
29220         (log2_test): Likewise.
29221         (pow_test): Do not allow some spurious overflow exceptions.
29222         (sqrt_test): Add more tests.
29223         (tgamma_test): Likewise.
29224         (y0_test): Likewise.
29225         (y1_test): Likewise.
29226         (yn_test): Likewise.
29228 2012-03-27  Anton Blanchard  <anton@samba.org>
29230         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29231         MAP_HUGETLB.
29232         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29233         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29234         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29236 2012-03-27  David S. Miller  <davem@davemloft.net>
29238         * conform/Makefile: Run run-conformtest.sh using $(BASH).
29240         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29241         have-as-vis3 check.
29243 2012-03-27  Andreas Jaeger  <aj@suse.de>
29245         * sysdeps/x86_64/elf/configure.in: Moved to ...
29246         * sysdeps/x86_64/configure.in: ... here.
29247         * sysdeps/x86_64/elf/start.S: Moved to ...
29248         * sysdeps/x86_64/start.S: ... here.
29249         * sysdeps/x86_64/elf/configure: Delete.
29251         * sysdeps/x86_64/configure.in: Merge contents from
29252         sysdeps/i386/configure.in (without i686 check).
29254         * sysdeps/i386/elf/Versions: Merge into ...
29255         * sysdeps/i386/Versions: ... this.
29256         * sysdeps/i386/elf/Versions: Delete file.
29257         * sysdeps/i386/elf/start.S: Moved to ...
29258         * sysdeps/i386/start.S: ...here.
29259         * sysdeps/i386/elf/configure.in: Merge into...
29260         * sysdeps/i386/configure.in: ...here.
29261         * sysdeps/i386/elf/configure.in: Delete file.
29262         * sysdeps/i386/elf/configure: Delete file.
29264         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29265         * debug/backtracesyms.c: ... here.
29266         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29267         * debug/backtracesymsfd.c: ... here.
29268         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29269         * sysdeps/generic/ifunc-sel.h: ... here.
29271         * sysdeps/unix/i386/start.c: Delete file.
29272         * sysdeps/unix/sparc/start.c: Delete file.
29273         * sysdeps/unix/start.c: Delete file.
29275         * sysdeps/sh/elf/configure.in: Moved to ...
29276         * sysdeps/sh/configure.in: ... here.
29277         * sysdeps/sh/elf/start.S: Moved to ...
29278         * sysdeps/sh/start.S: ... here.
29279         * sysdeps/sh/elf/configure: Delete file.
29281         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29282         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29283         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29284         * sysdeps/powerpc/powerpc64/entry.h: ... here.
29285         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29286         * sysdeps/powerpc/powerpc64/start.S: here.
29287         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29288         * sysdeps/powerpc/powerpc64/Makefile: ... this.
29289         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29290         * sysdeps/powerpc/powerpc64/configure.in: ... this.
29291         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29293         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29294         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29295         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29296         * sysdeps/powerpc/powerpc32/start.S: ... here.
29297         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29298         * sysdeps/powerpc/powerpc32/configure.in: ... this.
29299         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29301         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29302         * sysdeps/powerpc/ifunc-sel.h: ... here.
29303         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29304         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29306         * sysdeps/sparc/elf/configure.in: Moved to ...
29307         * sysdeps/sparc/configure.in: ... here.
29308         * sysdeps/sparc/elf/configure: Delete file.
29309         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29310         * sysdeps/sparc/sparc32/start.S: ... here.
29311         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29312         * sysdeps/sparc/sparc64/start.S: ... here.
29313         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29314         * sysdeps/sparc/sparc32/Makefile: ... this.
29315         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29316         * sysdeps/sparc/sparc64/Makefile: ... this.
29318         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29319         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29320         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29321         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29322         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29323         * sysdeps/s390/s390-32/setjmp.S: ... here.
29324         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29325         * sysdeps/s390/s390-32/configure.in: ... here.
29326         * sysdeps/s390/s390-32/elf/configure: Delete file.
29327         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29328         * sysdeps/s390/s390-32/start.S: ... here.
29330         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29331         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29332         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29333         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29334         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29335         * sysdeps/s390/s390-64/setjmp.S: ... here.
29336         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29337         * sysdeps/s390/s390-64/configure.in: ... here
29338         * sysdeps/s390/s390-64/elf/configure: Delete file.
29339         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29340         * sysdeps/s390/s390-64/start.S: ... here.
29341         * sysdeps/s390/s390-64/elf/configure: Delete.
29343         * configure.in: Remove support for elf directories in sysdeps.
29345         * configure: Regenerated.
29346         * sysdeps/i386/configure: Regenerated.
29347         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29348         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29349         * sysdeps/s390/s390-32/configure: Regenerated.
29350         * sysdeps/s390/s390-64/configure: Regenerated.
29351         * sysdeps/sh/configure: Regenerated.
29352         * sysdeps/sparc/configure: Regenerated.
29353         * sysdeps/x86_64/configure: Regenerated.
29355 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
29357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29359         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29360         denormal result into account.
29362 2012-03-25  Roland McGrath  <roland@hack.frob.com>
29364         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29365         Reported by Allan McRae <allan@archlinux.org>.
29367 2012-03-23  Jeff Law  <law@redhat.com>
29369         * nss/getnssent.c (__nss_getent): Fix typo.
29371 2012-03-23  David S. Miller  <davem@davemloft.net>
29373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29375 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
29377         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29378         to pad to uint64_t for each field.
29379         (dl_tls_index): Replace unsigned long with uint64_t.
29381 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
29382         Paul Pluzhnikov  <ppluzhnikov@google.com>
29384         [BZ #6528]
29385         * grp/Makefile (otherlibs): Don't set it.
29386         * inet/Makefile (otherlibs): Likewise.
29387         * login/Makefile (otherlibs): Likewise.
29388         * nscd/Makefile (otherlibs): Likewise.
29389         * posix/Makefile (otherlibs): Likewise.
29390         * pwd/Makefile (otherlibs): Likewise.
29391         * rt/Makefile (otherlibs): Likewise.
29392         * sunrpc/Makefile (otherlibs): Likewise.
29393         * nss/Makefile (otherlibs): Likewise.
29394         Add libnss_files to routines and static-only-routines.
29395         ($(objpfx)getent): Remove rule.
29396         * resolv/Makefile: Add libnss_dns and libresolv to routines and
29397         static-only-routines.
29399 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
29401         [BZ #13892]
29402         * math/s_cexp.c: Include <float.h>.
29403         (__cexp): Handle exp result overflowing not necessarily
29404         overflowing both real and imaginary parts of result.
29405         * math/s_cexpf.c: Likewise.
29406         * math/s_cexpl.c: Likewise.
29407         * math/libm-test.inc (cexp_test): Add more tests.
29408         * sysdeps/i386/fpu/libm-test-ulps: Update.
29409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29411 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
29413         * include/link.h (ELFW): New macro.
29414         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29415         Replace ELF64_R_TYPE with ELFW(R_TYPE).
29417 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
29419         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29420         with uint64_t.
29422 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
29424         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29425         declaration.
29426         (struct La_x32_retval): Likewise.
29428 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
29430         * sysdeps/x86_64/preconfigure.in: New file.
29431         * sysdeps/x86_64/preconfigure: New generated file.
29433 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
29435         [BZ #13824]
29436         * math/e_exp2l.c: Include <float.h>.
29437         (__ieee754_exp2l): Handle overflow and underflow cases
29438         separately.  Only pass fractional part of argument to
29439         __ieee754_expl.
29440         * math/libm-test.inc (exp2_test): Add more tests.
29442         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29443         negating x to take absolute value.
29444         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29445         Likewise.
29446         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29447         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29448         Likewise.
29449         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29450         computing low part if x was negated.
29451         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29453 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
29455         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29456         la_x32_gnu_pltexit.
29457         (pltexit): Cast int_retval to ptrdiff_t.
29458         * elf/tst-auditmod3b.c: Likewise.
29459         * elf/tst-auditmod4b.c: Likewise.
29460         * elf/tst-auditmod5b.c: Likewise.
29461         * elf/tst-auditmod6b.c: Likewise.
29462         * elf/tst-auditmod6c.c: Likewise.
29463         * elf/tst-auditmod7b.c: Likewise.
29465         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29466         and x32_gnu_pltexit.
29468         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29469         __ELF_NATIVE_CLASS.
29470         (La_x32_regs): New macro.
29471         (La_x32_retval): Likewise.
29472         (la_x32_gnu_pltenter): New function prototype.
29473         (la_x32_gnu_pltexit): Likewise.
29475 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
29477         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29478         exponent.
29480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29482         * configure.in (libc_cv_cc_nofma): Check for option to disable
29483         generation of FMA instructions.
29484         * configure: Regenerate.
29485         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29486         * sysdeps/ieee754/dbl-64/Makefile: New file.
29487         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29488         Remove brandred-fma4.
29489         (CFLAGS-brandred-fma4.c): Remove.
29490         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29491         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29492         define.
29493         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29494         define.
29496 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
29498         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29499         LLONG_MAX != LONG_MAX.
29500         (_itoa_word): Use _ITOA_WORD_TYPE on value.
29501         (_fitoa_word): Likewise.
29502         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29503         LLONG_MAX != LONG_MAX.
29504         * stdio-common/_itowa.h: Include <_itoa.h>.
29505         (_itowa_word): Use _ITOA_WORD_TYPE on value.
29506         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
29507         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
29508         only if not defined.
29509         (_ITOA_WORD_TYPE): Likewise.
29510         (_itoa_word): Use _ITOA_WORD_TYPE on value.
29511         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29513 2012-03-21  David S. Miller  <davem@davemloft.net>
29515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29517 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
29519         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29520         of x86_64 when setting libc_cv_slibdir, libdir and
29521         libc_cv_localedir.
29522         * sysdeps/unix/sysv/linux/configure: Regenerated.
29524 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
29526         * manual/lang.texi (Old Varargs): Remove section.
29527         (How Variadic): Update menu.
29528         (va_start): Do not mention varargs.h.
29530 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
29531             Joseph Myers  <joseph@codesourcery.com>
29533         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29534         link test.
29535         * configure: Regenerated.
29537 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
29539         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29540         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29541         conformtest.pl
29543 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
29545         * NOTES: Remove.
29546         * Makefile (files-for-dist): Remove NOTES.
29547         (NOTES): Remove rule.
29548         * README: Don't refer to NOTES.
29549         * manual/creature.texi: Don't include macros.texi.
29550         * manual/intro.texi (creature.texi): Remove comment referring to
29551         NOTES.
29553         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29554         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29555         * configure: Regenerated.
29556         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29557         LIBC_TRY_CC_OPTION.
29558         (libc_cv_as_i686): Likewise.
29559         (libc_cv_cc_avx): Likewise.
29560         (libc_cv_cc_sse2avx): Likewise.
29561         (libc_cv_cc_fma4): Likewise.
29562         (libc_cv_cc_novzeroupper): Likewise.
29563         * sysdeps/i386/configure: Regenerated.
29565         [BZ #13883]
29566         * sysdeps/i386/fpu/s_cexp.S: Remove.
29567         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29568         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29569         * math/libm-test.inc (cexp_test): Add more tests.
29570         * sysdeps/i386/fpu/libm-test-ulps: Update.
29571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29573 2012-03-21  Allan McRae  <allan@archlinux.org>
29575         * timezone/Makefile: Do not install iso3166.tab and zone.tab
29577 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
29579         [BZ #13871]
29580         * math/w_exp2.c: Do not include <float.h>.
29581         (o_threshold, u_threshold): Remove.
29582         (__exp2): Calculate result before checking finiteness and calling
29583         __kernel_standard.
29584         * math/w_exp2f.c: Likewise.
29585         * math/w_exp2l.c: Likewise.
29586         * math/libm-test.inc (exp2_test): Require overflow exception for
29587         1e6 input.
29589         [BZ #3866]
29590         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29591         range of signed 64-bit integers before using fistpll.  Remove
29592         checks for whether integers fit in mantissa bits.
29593         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29594         the range of signed 32-bit integers before using fistpl.  Remove
29595         checks for whether integers fit in mantissa bits.
29596         * sysdeps/i386/fpu/e_powl.S (p64): New object.
29597         (__ieee754_powl): Test for y outside the range of signed 64-bit
29598         integers before using fistpll.  Reduce 64-bit values to 63-bit
29599         ones as needed.
29600         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29601         divide-by-zero is raised for zero to large negative powers.
29602         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29603         (__ieee754_powl): Test for y outside the range of signed 64-bit
29604         integers before using fistpll.  Reduce 64-bit values to 63-bit
29605         ones as needed.
29606         * math/libm-test.inc (pow_test): Add more tests.
29608 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
29610         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29611         <stdio-common/_itoa.h>.
29612         * debug/segfault.c: Likewise.
29613         * elf/dl-cache.c: Likewise.
29614         * elf/dl-minimal.c: Likewise.
29615         * elf/dl-misc.c: Likewise.
29616         * elf/dl-sysdep.c: Likewise.
29617         * elf/dl-version.c: Likewise.
29618         * elf/rtld.c: Likewise.
29619         * hurd/hurdsock.c: Likewise.
29620         * hurd/lookup-retry.c: Likewise.
29621         * malloc/malloc.c: Likewise.
29622         * malloc/mtrace.c: Likewise.
29623         * nscd/nscd_getgr_r.c: Likewise.
29624         * nscd/nscd_getpw_r.c: Likewise.
29625         * nscd/nscd_getserv_r.c: Likewise.
29626         * posix/getopt_init.c: Likewise.
29627         * posix/wordexp.c: Likewise.
29628         * stdio-common/_itoa.c: Likewise.
29629         * stdio-common/printf_fphex.c: Likewise.
29630         * stdio-common/vfprintf.c: Likewise.
29631         * string/_strerror.c: Likewise.
29632         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29633         * sysdeps/i386/i686/hp-timing.h: Likewise.
29634         * sysdeps/mach/_strerror.c: Likewise.
29635         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29636         * sysdeps/mach/hurd/sethostid.c: Likewise.
29637         * sysdeps/mach/hurd/xmknodat.c: Likewise.
29638         * sysdeps/mach/xpg-strerror.c: Likewise.
29639         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29640         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29641         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29642         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29643         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29644         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29645         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29646         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29647         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29648         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29649         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29650         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29651         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29652         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29653         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29654         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29655         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29656         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29657         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29658         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29659         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29661         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29663         * stdio-common/_itoa.h: Moved to ...
29664         * sysdeps/generic/_itoa.h: Here.
29666         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29668         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29669         instead of "_itoa.h" and "_itowa.h".
29670         * stdio-common/vfprintf.: Likewise.
29672 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
29674         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29675         <bits/wordsize.h>.
29676         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29677         (__signbit): Likwise.
29678         (llrintf): Likwise.
29679         (llrint): Likwise.
29681 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
29683         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29684         __WORDSIZE != 64.
29686 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
29688         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29689         OVERFLOW_EXCEPTION_OK.
29690         * math/libm-test.inc ("Philosophy"): Update comment about
29691         exception testing.
29692         (OVERFLOW_EXCEPTION): Define.
29693         (OVERFLOW_EXCEPTION_OK): Likewise.
29694         (INVALID_EXCEPTION_OK): Renumber.
29695         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29696         (IGNORE_ZERO_INF_SIGN): Likewise.
29697         (test_exceptions): Handle FE_OVERFLOW.
29698         (exp10_test): Expect overflow exceptions.
29699         (exp2_test): Likewise.
29700         (expm1_test): Likewise.
29701         (nextafter_test): Likewise.
29702         (pow_test): Likewise.
29703         (scalbn_test): Likewise.
29704         (scalbln_test): Likewise.
29706 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29708         * sysdeps/x86_64/bits/atomic.h
29709         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29710         64bit integer.
29711         (atomic_exchange_acq): Likewise.
29712         (__arch_exchange_and_add_body): Likewise.
29713         (__arch_add_body): Likewise.
29714         (atomic_add_negative): Likewise.
29715         (atomic_add_zero): Likewise.
29717 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29719         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
29720         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29722 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29724         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29725         Check __x86_64__ instead of __WORDSIZE.
29727 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29729         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29731 2012-03-19  David S. Miller  <davem@davemloft.net>
29733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29735         * sysdeps/sparc/fpu/fenv_private.h: New file.
29736         * sysdeps/sparc/fpu/math_private.h: Use it.
29737         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29738         Remove.
29739         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29740         (libc_feholdexcept_setroundl): Remove.
29741         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29742         Remove.
29743         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29744         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29746 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29748         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29749         int64_t instead of long int.
29750         (INSERT_WORDS64): Likwise.
29752 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29754         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29755         _Unwind_GetCFA return to _Unwind_Ptr first.
29757 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
29759         [BZ #13629]
29760         * math/s_clog.c: Include <float.h>.
29761         (__clog): Scale large or subnormal inputs.
29762         * math/s_clogf.c: Likewise.
29763         * math/s_clogl.c: Likewise.
29764         * math/s_clog10.c: Include <float.h>.
29765         (M_LOG10_2): Define.
29766         (__clog10): Scale large or subnormal inputs.
29767         * math/s_clog10f.c: Likewise.
29768         * math/s_clog10l.c: Likewise.
29769         * math/libm-test.inc (clog_test): Add more tests.
29770         (clog10_test): Likewise.
29771         * sysdeps/i386/fpu/libm-test-ulps: Update.
29772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29774         [BZ #11451]
29775         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29776         x and y.
29777         * math/libm-test.inc (atan2_test): Add another test.
29779         * Makerules (common-objdir-compile): Remove.
29780         * sysdeps/unix/Makefile (config-generated): Do not add
29781         $(unix-generated) to variable.
29782         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29783         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29784         Remove rule.
29785         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29786         Likewise.
29787         [generic bits/local_lim.h] (before-compile): Do not append to
29788         variable.
29789         [generic bits/local_lim.h] (common-generated): Likewise.
29790         [generic sys/param.h] (before-compile): Do not append to variable.
29791         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29792         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29793         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29794         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29795         include.
29796         [generic sys/param.h] (sys/param.h-includes): Remove variable.
29797         [generic sys/param.h] (sys/param.h-includes): Remove rule.
29798         [generic sys/param.h] ($(addprefix
29799         $(common-objpfx),$(sys/param.h-includes))): Likewise.
29800         [generic sys/param.h] (common-generated): Do not append to
29801         variable.
29802         [generic sys/param.h] (sysdep_headers): Likewise.
29803         [generic bits/errno.h] (before-compile): Do not append to
29804         variable.
29805         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29806         rule.
29807         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29808         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29809         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29810         [generic bits/errno.h] (common-generated): Do not append to
29811         variable.
29812         [generic bits/ioctls.h] (before-compile): Do not append to
29813         variable.
29814         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29815         rule.
29816         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29817         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29818         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29819         rule.
29820         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29821         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29822         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29823         [generic bits/ioctls.h] (common-generated): Do not append to
29824         variable.
29825         [generic sys/syscall.h] (syscall.h): Remove variable.
29826         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29827         rule.
29828         [generic sys/syscall.h] (before-compile): Do not append to
29829         variable.
29830         [generic sys/syscall.h] (common-generated): Likewise.
29831         * sysdeps/unix/errnos-tmpl.c: Remove file.
29832         * sysdeps/unix/errnos.awk: Likewise.
29833         * sysdeps/unix/ioctls-tmpl.c: Likewise.
29834         * sysdeps/unix/ioctls.awk: Likewise.
29835         * sysdeps/unix/mk-local_lim.c: Likewise.
29836         * sysdeps/unix/snarf-ioctls: Likewise.
29838 2012-03-19  Richard Henderson  <rth@twiddle.net>
29840         * sysdeps/i386/fpu/fenv_private.h: New file.
29841         * sysdeps/i386/fpu/math_private.h: Use it.
29842         (math_opt_barrier, math_force_eval): Remove.
29843         (libc_feholdexcept_setround_53bit): Remove.
29844         (libc_feupdateenv_53bit): Remove.
29845         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29846         (math_opt_barrier, math_force_eval): Remove.
29847         (libc_feholdexcept): Remove.
29848         (libc_feholdexcept_setround): Remove.
29849         (libc_fetestexcept, libc_fesetenv): Remove.
29850         (libc_feupdateenv_test): Remove.
29851         (libc_feupdateenv, libc_feholdsetround): Remove.
29852         (libc_feresetround): Remove.
29854         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29855         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29857         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29858         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29859         (libc_feupdateenv_testl): New.
29860         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29861         (libc_feupdateenv_testf): New.
29862         (libc_feupdateenv): Use libc_feupdateenv_test.
29863         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29864         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29866         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29867         (libc_feholdsetroundf, libc_feholdsetroundl): New.
29868         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29869         (libc_feresetround_noex): New.
29870         (libc_feresetround_noexf): New.
29871         (libc_feresetround_noexl): New.
29872         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29873         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29874         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29875         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29876         SET_RESTORE_ROUND.
29877         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29878         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29879         (__cos): Likewise.
29880         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29881         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29882         SET_RESTORE_ROUND_NOEX.
29883         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29884         SET_RESTORE_ROUND_NOEXF.
29885         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29886         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29887         (libc_feholdsetroundf): New.
29888         (libc_feresetround, libc_feresetroundf): New.
29890         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29891         (libc_feholdexcept_setround_53bit): Convert from macro to function.
29892         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
29894         * sysdeps/generic/math_private.h: Include <fenv.h>.
29895         (default_libc_feholdexcept): New.
29896         (default_libc_feholdexcept_setround): New.
29897         (default_libc_fesetenv, default_libc_feupdateenv): New.
29898         (libc_feholdexcept): Only define if undefined.
29899         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29900         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29901         (libc_feholdexcept_setroundl): Likewise.
29902         (libc_feholdexcept_setround_53bit): Likewise.
29903         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29904         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29905         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29906         (libc_feupdateenv_53bit): Likewise.
29907         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29908         (libc_feholdexcept): Convert from macro to inline function.
29909         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29910         (libc_fesetenv, libc_feupdateenv): Likewise.
29912         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29913         not previously defined.
29914         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29915         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29916         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29917         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29918         * sysdeps/ieee754/flt-32/math_private.h: New file.
29919         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29920         math_private.h below SET_FLOAT_WORD.
29921         (__isnan, __isinf_ns, __finite): Remove.
29922         (__isnanf, __isinf_nsf, __finitef): Remove.
29924 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
29926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29928 2012-03-17  David S. Miller  <davem@davemloft.net>
29930         [BZ #6471]
29931         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29932         for 2.16.
29934 2012-03-16  David S. Miller  <davem@davemloft.net>
29936         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29937         warnings.
29939         [BZ #6471]
29940         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29941         properly.
29942         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29943         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29944         sysdep_routines when subdir is sysvipc.
29945         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29946         __getshmlba helper.
29948         * sysdeps/sparc/fpu/libm-test/ulps: Update.
29950 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29952         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29953         [__LP64__].
29955 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29957         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29958         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29959         (__lround): Renamed to ...
29960         (__llround): This.  Replace long int with long long int.
29961         Define lround functions as aliases of llround functions.
29962         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29964 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29966         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29967         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
29968         adresses to uintptr_t.  Replace "long int" and "unsigned long
29969         int" with "greg_t" on va_arg.
29971 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29973         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29974         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29976         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29977         Move e_machine check before EI_CLASS check.  Handle x32
29978         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29979         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29980         SKIP_EM_IA_64 and include
29981         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29983         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29984         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29985         (add_system_dir): New macro.
29987         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29988         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29990 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
29992         [BZ #2551]
29993         [BZ #2552]
29994         [BZ #2553]
29995         [BZ #2554]
29996         [BZ #2562]
29997         [BZ #2563]
29998         [BZ #2565]
29999         [BZ #2566]
30000         [BZ #2576]
30001         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
30002         (y0): Likewise.
30003         * math/w_j0f.c (j0f): Likewise.
30004         (y0f): Likewise.
30005         * math/w_j0l.c (__j0l): Likewise.
30006         (__y0l): Likewise.
30007         * math/w_j1.c (j1): Likewise.
30008         (y1): Likewise.
30009         * math/w_j1f.c (j1f): Likewise.
30010         (y1f): Likewise.
30011         * math/w_j1l.c (__j1l): Likewise.
30012         (__y1l): Likewise.
30013         * math/w_jn.c (jn): Likewise.
30014         (yn): Likewise.
30015         * math/w_jnf.c (jnf): Likewise.
30016         (ynf): Likewise.
30017         * math/w_jnl.c (__jnl): Likewise.
30018         (__ynl): Likewise.
30019         * math/libm-test.inc (j0_test): Add more tests.
30020         (j1_test): Likewise.
30021         (jn_test): Likewise.  Add trailing semicolon to existing test.
30022         (y0_test): Likewise.
30023         (y1_test): Likewise.
30024         * sysdeps/i386/fpu/libm-test-ulps: Update.
30025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30027         [BZ #13851]
30028         [BZ #13854]
30029         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30030         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
30031         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
30032         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
30033         (__tanl): Set errno for infinite argument.
30034         * sysdeps/i386/fpu/mptan.c: Remove.
30035         * sysdeps/i386/fpu/s_tan.S: Likewise.
30036         * sysdeps/i386/fpu/s_tanl.S: Likewise.
30037         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30038         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30039         * math/libm-test.inc (tan_test): Add more tests and enable more
30040         tests for double and long double.
30041         * sysdeps/i386/fpu/libm-test-ulps: Update.
30042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30044 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
30046         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30047         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30049 2012-03-16  Roland McGrath  <roland@hack.frob.com>
30051         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30052         * configure.in: Use it for both main tree and add-ons.
30053         * configure: Regenerated.
30055 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
30057         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30059 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
30061         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30062         in comment.
30064         [BZ #13851]
30065         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30066         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30067         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30068         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30069         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30070         infinite argument.
30071         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30072         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30073         != 0 for prec == 2.
30074         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30075         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30076         * sysdeps/i386/fpu/s_cosl.S: Likewise.
30077         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30078         * sysdeps/i386/fpu/s_sinl.S: Likewise.
30079         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30080         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30081         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30082         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30083         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30084         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30085         * math/libm-test.inc (cos_test): Add more tests and enable more
30086         tests for long double.
30087         (sin_test): Likewise.
30088         (sincos_test): Likewise.
30089         * sysdeps/i386/fpu/libm-test-ulps: Update.
30090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30092 2012-03-16  David S. Miller  <davem@davemloft.net>
30094         * sysdeps/sparc/fpu/math_private.h: New file.
30096 2012-03-15  David S. Miller  <davem@davemloft.net>
30098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30099         file.
30100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
30101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30102         file.
30103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30104         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30105         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30106         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30107         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30108         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30109         sysdep routines.
30110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30112         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30113         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30115         * sysdeps/sparc/sparc-ifunc.h: New file.
30116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30117         sparc-ifunc.h
30118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30120         Likewise.
30121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30122         Likewise.
30123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30127         Likewise.
30128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
30132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30133         Likewise.
30134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30135         Likewise.
30136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30140         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30141         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30142         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30143         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30144         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30145         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30146         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30150         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30154         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30155         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30156         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30157         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30158         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30159         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30161 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
30163         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30164         scaling.
30165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30167 2012-03-15  Andreas Jaeger  <aj@suse.de>
30169         [BZ #13852]
30170         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30171         ieee754/flt-32 implementation for sin, cos and sincos.
30172         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30173         * sysdeps/i386/fpu/s_cosf.S: Likewise.
30174         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30175         * sysdeps/i386/fpu/s_sinf.S: Likewise.
30176         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30177         ieee754/flt-32 implementation for tan.
30179         * math/libm-test.inc (cos_test): Enable some large input tests for
30180         float as well
30181         (sin_test): Likewise.
30182         (sincos_test): Likewise.
30183         (tan_test): Add tests for large input.
30185         * sysdeps/i386/fpu/libm-test-ulps: Update.
30187 2012-03-15  Andreas Jaeger  <aj@suse.de>
30189         [BZ #13658]
30190         * math/libm-test.inc (cos_test): Add more test cases.
30191         (sin_test): Likewise.
30192         (sincos_test): Likewise.
30194 2012-03-15  Andreas Jaeger  <aj@suse.de>
30196         [BZ #13837]
30197         * math/libm-test.inc (cos_test): Add a test case for large input
30198         value.
30199         (sin_test): Likewise.
30200         (sincos_test): Likewise.
30202 2012-03-15  Andreas Jaeger  <aj@suse.de>,
30203         Joseph Myers  <joseph@codesourcery.com>
30205         [BZ #13658]
30206         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
30207         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30208         * sysdeps/i386/fpu/branred.c: Likewise.
30209         * sysdeps/i386/fpu/dosincos.c: Likewise.
30210         * sysdeps/i386/fpu/mpa.c: Likewise.
30211         * sysdeps/i386/fpu/s_cos.S: Likewise.
30212         * sysdeps/i386/fpu/s_sin.S: Likewise.
30213         * sysdeps/i386/fpu/s_sincos.S: Likewise.
30214         * sysdeps/i386/fpu/sincos32.c: Likewise.
30216         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30217         Define.
30218         (libc_feupdateenv_53bit): Define.
30219         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30220         Define.
30221         (libc_feupdateenv_53bit): Define.
30223         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30224         53 bit (without extend i386 double precision).
30226         * math/libm-test.inc (sincos_test): Add tests for large input.
30227         (sin): Likewise.
30228         (cos): Likewise.
30230         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30232 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
30234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30236 2012-03-15  David S. Miller  <davem@davemloft.net>
30238         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30239         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30240         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30241         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30247         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30248         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30249         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30250         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30251         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
30253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30254         file.
30255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
30256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30257         file.
30258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
30259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30260         file.
30261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
30262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30263         file.
30264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30265         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30266         fmin/fmax sysdep routines.
30267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30269 2012-03-14  David S. Miller  <davem@davemloft.net>
30271         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30272         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30273         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30274         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30275         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30276         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30277         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30278         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30279         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30280         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30281         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30282         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30283         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30284         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30285         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30286         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30287         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30288         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30289         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30290         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30291         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30292         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30293         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30294         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30295         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30296         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30297         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30298         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
30299         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30300         routines.
30301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30302         file.
30303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
30304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30305         file.
30306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
30307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30308         file.
30309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
30310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30311         file.
30312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
30313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30314         file.
30315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
30316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30317         file.
30318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30319         file.
30320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30321         file.
30322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30323         file.
30324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30325         New file.
30326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30327         file.
30328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30329         file.
30330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
30331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30332         file.
30333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
30334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30335         file.
30336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
30337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30338         file.
30339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
30340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30341         VIS3 routines.
30343         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30344         New file.
30346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30348         * sysdeps/sparc/configure.in: New file.
30349         * sysdeps/sparc/configure: Generate.
30350         * configure.in (libc_cv_sparc_as_vis3): Substitute.
30351         * configure: Regenerate.
30352         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30353         * config.make.in (have-as-vis3): New.
30354         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30355         available use -Av9d instead of -Av9a.
30356         * sysdeps/sparc/sparc64/Makefile: Likewise.
30357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
30358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30359         New file.
30360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30361         file.
30362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30363         New file.
30364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30365         file.
30366         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30367         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30368         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30369         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30370         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30372         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30373         fzeros/fnegs to load 0x80000000 into a float register instead of
30374         using the stack.
30375         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30377 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
30379         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30380         bits/syscall.h.
30381         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30382         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30383         ($(inst_includedir)/bits/syscall.h): Remove rule.
30384         ($(objpfx)bits/syscall.d): Include instead of
30385         $(objpfx)syscall-list.d.
30386         (generated): Change syscall-list.h and syscall-list.d to
30387         bits/syscall.h and bits/syscall.d.
30389 2012-03-14  Roland McGrath  <roland@hack.frob.com>
30391         [BZ #13846]
30392         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30394 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
30396         [BZ #13841]
30397         * math/s_csqrt.c: Include <float.h>.
30398         (__csqrt): Scale large or subnormal inputs.
30399         * math/s_csqrtf.c: Likewise.
30400         * math/s_csqrtl.c: Likewise.
30401         * math/libm-test.inc (csqrt_test): Add more tests.
30402         * sysdeps/i386/fpu/libm-test-ulps: Update.
30403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30405         [BZ #13840]
30406         * math/libm-test.inc (hypot_test): Add more tests.
30408 2012-03-13  David S. Miller  <davem@davemloft.net>
30410         [BZ #13840]
30411         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30412         double-precision for the calculation instead of scaling.
30414 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
30416         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30417         manipulate bits before adding and subtracting TWO52[sx].
30418         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30419         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30420         Likewise.
30421         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30423 2012-03-13  David S. Miller  <davem@davemloft.net>
30425         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30426         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30427         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30428         rtld-global-offsets.h
30429         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30431         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30432         large parameters.
30434         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30436         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30437         'err' in the ifdef scope in which it is actually used.
30439         * nss/nss_db/db-init.c: Include string.h
30441 2012-03-12  David S. Miller  <davem@davemloft.net>
30443         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30444         masking out of the most significant byte of random value used.
30445         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30446         Fix coding style in previous change.
30448         * sysdeps/unix/sysv/linux/kernel-features.h
30449         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30450         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30451         expression.
30452         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30453         later.
30455 2012-03-11  David S. Miller  <davem@davemloft.net>
30457         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30458         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30459         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30460         for 'resultvar' otherwise things get truncated on 64-bit.
30462         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30463         Fix masking out of the most significant byte of random value used.
30465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30467 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
30469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30471 2012-03-09  David S. Miller  <davem@davemloft.net>
30473         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30474         variables with appropriate CPP guards.
30475         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30476         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
30477         on resulting framesize and the management of the outregs buffer for pltexit.
30478         Preserve floating point return values across _dl_call_pltexit call.
30479         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30480         framesize and the management of the outregs buffer for pltexit.
30481         Preserve floating point return values across _dl_call_pltexit
30482         call.
30483         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30484         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30485         (print_exit): Fix format string for return register value.
30487 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
30489         * sunrpc/Makefile (others): Add rpcgen.
30490         ($(objpfx)rpcgen): Remove special build rule and dependency on
30491         libc.
30492         * sunrpc/rpcgen.c: New file.
30494 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
30496         [BZ #13673]
30497         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30498         * stdio-common/bug-vfprintf-nargs.c: Likewise.
30499         * sysdeps/i386/crti.S: Likewise.
30500         * sysdeps/i386/crtn.S: Likewise.
30501         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30502         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30503         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30504         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30505         * sysdeps/sh/crti.S: Likewise.
30506         * sysdeps/sh/crtn.S: Likewise.
30507         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30509         [BZ #13673]
30510         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30511         with URL.
30512         * locale/programs/locfile-kw.gperf: Likewise.
30513         * locale/programs/charmap-kw.h: Regenerated.
30514         * locale/programs/locfile-kw.h: Likewise.
30516         [BZ #13673]
30517         * intl/plural.y: Replace FSF snail mail address with URL.
30518         * intl/plural.c: Regenerated.
30520 2012-03-09  Richard Henderson  <rth@twiddle.net>
30522         * include/math_private.h: Remove file.
30523         * math/math_private.h: Move file ...
30524         * sysdeps/generic/math_private.h: ... here.
30526         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30527         * sysdeps/powerpc/fpu/math_private.h: Likewise.
30528         * sysdeps/x86_64/fpu/math_private.h: Likewise.
30530         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
30531         and <math_private.h>.
30532         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30533         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30534         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30535         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30536         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30537         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30538         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30539         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30540         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30541         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30542         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30543         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30544         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30545         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30546         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30547         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30548         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30549         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30550         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30551         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30552         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30553         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30554         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30555         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30556         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30557         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30558         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30559         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30560         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30561         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30562         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30563         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30564         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30565         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30566         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30567         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30568         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30569         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30570         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30571         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30572         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30573         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30574         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30575         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30576         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30577         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30578         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30579         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30580         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30581         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30582         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30583         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30584         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30585         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30586         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30587         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30588         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30589         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30590         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30591         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30592         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30593         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30594         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30595         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30596         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30597         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30598         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30599         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30600         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30601         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30602         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30603         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30604         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30605         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30606         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30607         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30608         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30609         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30610         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30611         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30612         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30613         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30614         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30615         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30616         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30617         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30618         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30619         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30620         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30621         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30622         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30623         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30624         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30625         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30626         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30627         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30628         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30629         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30630         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30631         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30632         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30633         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30634         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30635         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30636         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30637         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30638         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30639         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30640         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30641         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30642         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30643         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30644         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30645         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30646         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30647         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30648         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30649         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30650         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30651         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30652         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30653         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30654         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30655         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30656         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30657         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30658         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30659         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30660         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30661         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30662         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30663         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30664         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30665         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30666         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30667         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30668         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30669         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30670         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30671         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30672         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30673         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30674         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30675         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30676         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30677         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30678         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30679         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30680         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30681         * sysdeps/ieee754/k_standard.c: Likewise.
30682         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30683         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30684         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30685         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30686         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30687         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30688         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30689         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30690         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30691         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30692         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30693         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30694         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30695         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30696         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30697         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30698         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30699         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30700         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30701         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30702         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30703         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30704         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30705         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30706         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30707         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30708         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30709         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30710         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30711         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30712         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30713         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30714         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30715         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30716         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30717         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30718         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30719         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30720         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30721         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30722         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30723         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30724         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30725         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30726         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30727         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30728         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30729         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30730         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30731         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30732         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30733         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30734         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30735         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30736         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30737         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30738         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30739         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30740         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30741         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30742         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30743         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30744         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30745         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30746         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30747         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30748         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30749         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30750         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30751         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30752         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30753         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30754         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30755         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30756         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30757         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30758         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30759         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30760         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30761         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30762         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30763         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30764         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30765         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30766         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30767         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30768         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30769         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30770         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30771         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30772         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30773         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30774         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30775         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30776         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30777         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30778         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30779         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30780         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30781         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30782         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30783         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30784         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30785         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30786         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30787         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30788         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30789         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30790         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30791         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30792         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30793         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30794         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30795         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30796         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30797         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30798         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30799         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30800         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30801         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30802         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30803         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30804         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30805         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30806         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30807         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30808         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30809         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30810         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30811         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30812         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30813         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30814         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30815         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30816         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30817         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30818         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30819         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30820         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30821         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30822         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30823         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30824         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30825         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30826         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30827         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30828         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30829         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30830         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30831         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30832         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30833         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30834         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30835         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30836         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30837         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30838         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30839         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30840         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30841         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30842         * sysdeps/ieee754/s_lib_version.c: Likewise.
30843         * sysdeps/ieee754/s_matherr.c: Likewise.
30844         * sysdeps/ieee754/s_signgam.c: Likewise.
30845         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30846         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30847         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30848         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30849         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30850         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30851         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30852         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30853         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30854         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30855         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30856         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30857         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30858         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30859         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30860         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30861         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30862         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30863         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30864         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30865         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30867 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
30869         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30870         * sunrpc/rpc_main.c: Likewise.
30871         * sunrpc/rpc_svcout.c: Likewise.
30873 2012-03-09  David S. Miller  <davem@davemloft.net>
30875         * include/math_private.h: New file.
30877 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
30879         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30880         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30881         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30882         from <bits/socket_type.h>.
30883         (enum __socket_type): Don't define here.
30884         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30885         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30886         bits/socket_type.h.
30888         [BZ #13566]
30889         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30890         checking __USE_GNU.
30892         * Makerules ($(inst_includedir)/%.h): New rule.
30893         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30894         (install-others): Remove variable setting.
30895         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30897 2012-03-08  Richard Henderson  <rth@twiddle.net>
30899         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30900         from macro to inline function; merge with the
30901         !__LIBC_INTERNAL_MATH_INLINES version.
30902         (__ieee754_sqrtf): Likewise.
30904         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30905         to inline function.
30906         (__rintf, __floor, __floorf): Likewise.
30908         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30909         macro to inline function.
30910         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30912         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30913         not <math/math_private.h>.
30915 2012-03-08  David S. Miller  <davem@davemloft.net>
30917         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30918         copyright year.
30919         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30921 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
30923         * resolv/gai_misc.c (handle_requests): Fix struct timespec
30924         normalization.
30925         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30926         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30928 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
30930         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
30931         be defined individually, they must be defined as a block.  Define
30932         S for printing a string instead of hidint the different by using a
30933         macro for adding the 'l'.
30934         * stdio-common/tst-fphex-wide.c: Adjust.
30936 2012-03-07  Marek Polacek  <polacek@redhat.com>
30938         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30940 2012-03-08  Marek Polacek  <polacek@redhat.com>
30942         [BZ #13806]
30943         * stdio-common/Makefile (tests): Add tst-fphex-wide.
30944         * stdio-common/tst-fphex.c: Define a few macros to make the
30945         test reusable.  Use them.
30946         * stdio-common/tst-fphex-wide.c: New file.
30948 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
30950         [BZ #6911]
30951         * manual/macros.texi (gnusystems): New macro.
30952         (nongnusystems): Likewise.
30953         (gnulinuxhurdsystems): Likewise.
30954         (gnuhurdsystems): Likewise..
30955         (gnulinuxsystems): Likewise.
30956         * manual/charset.texi: Use new macros or @theglibc{} to refer to
30957         variants of the GNU system, not "GNU system".
30958         * manual/conf.texi: Likewise.
30959         * manual/errno.texi: Likewise.  Update example of errno macro
30960         expansion.
30961         * manual/filesys.texi: Likewise.
30962         (getumask): Document as specific to GNU/Hurd.
30963         * manual/install.texi: Likewise.  Reword some references to
30964         GNU/Linux.
30965         * manual/intro.texi: Likewise.
30966         * manual/io.texi: Likewise.
30967         (File Name Portability): Detail which constraints are inapplicable
30968         to all GNU systems and which are only inapplicable to GNU/Hurd.
30969         * manual/job.texi: Likewise.
30970         * manual/llio.texi: Likewise.
30971         (O_NOCTTY): Document as present on GNU/Linux.
30972         * manual/maint.texi: Likewise.
30973         * manual/memory.texi: Likewise.
30974         * manual/pattern.texi: Likewise.
30975         * manual/pipe.texi: Likewise.
30976         * manual/process.texi: Likewise.
30977         * manual/resource.texi: Likewise.
30978         (RUSAGE_CHILDREN): Remove statement about specifying a particular
30979         child on GNU/Hurd.
30980         * manual/setjmp.texi: Likewise.
30981         * manual/signal.texi: Likewise.
30982         * manual/startup.texi: Likewise.
30983         * manual/stdio.texi: Likewise.
30984         * manual/terminal.texi: Likewise.
30985         (ONLCR): Document as POSIX.
30986         (OXTABS): Document availability on GNU/Linux as XTABS.
30987         (ONOEOT): Document availability separately from other bits.
30988         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30989         * manual/time.texi: Likewise.
30990         * manual/users.texi: Likewise.
30991         * INSTALL: Regenerated.
30992         * sysdeps/gnu/errlist.c: Regenerated.
30994         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30995         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30996         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
30997         puts.
30998         * configure: Regenerated.
31000 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
31002         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
31003         default includes instead of AC_HEADER_CHECK.
31004         * sysdeps/i386/configure: Regenerated.
31006         [BZ #10716]
31007         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
31008         * math/s_cacoshf.c (__cacoshf): Likewise.
31009         * math/s_cacoshl.c (__cacoshl): Likewise.
31010         * math/s_casinh.c (__casinh): Set signs of result from argument.
31011         * math/s_casinhf.c (__casinhf): Likewise.
31012         * math/s_casinhl.c (__casinhl): Likewise.
31013         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
31014         (casinh_test): Add more tests.
31015         * sysdeps/i386/fpu/libm-test-ulps: Update.
31016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31018 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
31020         * po/zh_TW.po: Update from translation team.
31022         * login/Makefile (distribute): Remove variable.
31023         * catgets/Makefile: Likewise.
31024         * mach/Makefile: Likewise.
31025         * malloc/Makefile: Likewise.
31026         * misc/Makefile: Likewise.
31027         * iconv/Makefile: Likewise.
31028         * nscd/Makefile: Likewise.
31029         * hurd/Makefile: Likewise.
31030         * manual/Makefile: Likewise.
31031         * locale/Makefile: Likewise.
31032         * intl/Makefile: Likewise.
31033         * conform/Makefile: Likewise.
31034         * nss/Makefile: Likewise.
31035         * time/Makefile: Likewise.
31036         * soft-fp/Makefile: Likewise.
31037         * dirent/Makefile: Likewise.
31038         * gmon/Makefile: Likewise.
31039         * po/Makefile: Likewise.
31040         * rt/Makefile: Likewise.
31041         * socket/Makefile: Likewise.
31042         * math/Makefile: Likewise.
31043         * signal/Makefile: Likewise.
31044         * debug/Makefile: Likewise.
31045         * elf/Makefile: Likewise.
31046         * timezone/Makefile: Likewise.
31047         * stdlib/Makefile: Likewise.
31048         * iconvdata/Makefile: Likewise.
31049         * sunrpc/Makefile: Likewise.
31050         * io/Makefile: Likewise.
31051         * argp/Makefile: Likewise.
31052         * inet/Makefile: Likewise.
31053         * hesiod/Makefile: Likewise.
31054         * grp/Makefile: Likewise.
31055         * csu/Makefile: Likewise.
31056         * wctype/Makefile: Likewise.
31057         * crypt/Makefile: Likewise.
31058         * libio/Makefile: Likewise.
31059         * string/Makefile: Likewise.
31060         * nis/Makefile: Likewise.
31061         * resolv/Makefile: Likewise.
31062         * stdio-common/Makefile: Likewise.
31063         * wcsmbs/Makefile: Likewise.
31064         * dlfcn/Makefile: Likewise.
31065         * posix/Makefile: Likewise.
31067         [BZ #6959]
31068         * timezone/Makefile: Don't install timezone files, just the programs
31069         and scripts.
31071 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
31073         * nss/databases.def: Add missing gshadow entry.
31075         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
31077 2012-03-06  Marek Polacek  <polacek@redhat.com>
31079         [BZ #13726]
31080         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31081         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31082         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31083         * stdio-common/tst-long-dbl-fphex.c: New file.
31085 2012-03-06  David S. Miller  <davem@davemloft.net>
31087         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31088         (set_obp_int): New function.
31089         (get_obp_int): New function.
31090         (__get_clockfreq_via_dev_openprom): Likewise.
31091         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31092         Avoid unused variable warnings on 'val' and use builtin_expect.
31093         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31094         __builtin_expect.
31095         (INLINE_CLONE_SYSCALL): Likewise.
31097 2012-03-05  David S. Miller  <davem@davemloft.net>
31099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31101 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
31103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31105         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31106         only for |x| >= 40.
31107         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31109 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
31111         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31112         Replace gettimeofday with __vdso_gettimeofday.
31114         * sysdeps/unix/sysv/linux/x86_64/init-first.c
31115         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31116         __vdso_clock_gettime and __vdso_getcpu.
31118         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31119         time with __vdso_time.
31121 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
31123         * manual/lang.texi (size_t): Note types to which size_t may be
31124         equivalent with the GNU C Library, but do not describe when
31125         differences between them are significant.
31127 2012-03-05  Andreas Jaeger  <aj@suse.de>
31129         * sysdeps/i386/fpu/libm-test-ulps: Update.
31131 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
31133         [BZ #3976]
31134         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31135         (__ieee754_pow): Save and restore rounding mode and use
31136         round-to-nearest for main computations.
31137         * math/libm-test.inc (pow_test_tonearest): New function.
31138         (pow_test_towardzero): Likewise.
31139         (pow_test_downward): Likewise.
31140         (pow_test_upward): Likewise.
31141         (main): Call the new functions.
31142         * sysdeps/i386/fpu/libm-test-ulps: Update.
31143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31145         [BZ #3976]
31146         * math/libm-test.inc (cosh_test_tonearest): New function.
31147         (cosh_test_towardzero): Likewise.
31148         (cosh_test_downward): Likewise.
31149         (cosh_test_upward): Likewise.
31150         (sinh_test_tonearest): Likewise.
31151         (sinh_test_towardzero): Likewise.
31152         (sinh_test_downward): Likewise.
31153         (sinh_test_upward): Likewise.
31154         (main): Call the new functions.
31155         * sysdeps/i386/fpu/libm-test-ulps: Update.
31156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31158 2012-03-05  Tom de Vries  <tom@codesourcery.com>
31160         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31161         default stack guard is set in last bytes.
31162         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31164 2012-03-05  Kees Cook  <keescook@chromium.org>
31166         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
31168         [BZ #13656]
31169         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31170         possibly allocate from heap instead of stack.
31171         * stdio-common/bug-vfprintf-nargs.c: New file.
31172         * stdio-common/Makefile (tests): Add nargs overflow test.
31174 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
31176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31178 2012-03-03  Marek Polacek  <polacek@redhat.com>
31180         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31181         * math/math_private.h: Likewise.
31182         * stdlib/tst-strtod.c: Likewise.
31183         * sysdeps/i386/i486/bits/atomic.h: Likewise.
31184         * sysdeps/x86_64/bits/atomic.h: Likewise.
31186 2012-03-02  David S. Miller  <davem@davemloft.net>
31188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31192         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31193         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31194         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31195         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31197 2012-03-02  Roland McGrath  <roland@hack.frob.com>
31199         [BZ #13792]
31200         * manual/examples/README: New file, says the example source files
31201         can be used under GPL>=2.
31202         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31203         line containing just "*/".
31204         * manual/examples/add.c: Add copyright header (GPL>=2).
31205         * manual/examples/argp-ex1.c: Likewise.
31206         * manual/examples/argp-ex2.c: Likewise.
31207         * manual/examples/argp-ex3.c: Likewise.
31208         * manual/examples/argp-ex4.c: Likewise.
31209         * manual/examples/atexit.c: Likewise.
31210         * manual/examples/db.c: Likewise.
31211         * manual/examples/dir.c: Likewise.
31212         * manual/examples/dir2.c: Likewise.
31213         * manual/examples/execinfo.c: Likewise.
31214         * manual/examples/filecli.c: Likewise.
31215         * manual/examples/filesrv.c: Likewise.
31216         * manual/examples/fmtmsgexpl.c: Likewise.
31217         * manual/examples/genpass.c: Likewise.
31218         * manual/examples/inetcli.c: Likewise.
31219         * manual/examples/inetsrv.c: Likewise.
31220         * manual/examples/isockad.c: Likewise.
31221         * manual/examples/longopt.c: Likewise.
31222         * manual/examples/memopen.c: Likewise.
31223         * manual/examples/memstrm.c: Likewise.
31224         * manual/examples/mkfsock.c: Likewise.
31225         * manual/examples/mkisock.c: Likewise.
31226         * manual/examples/mygetpass.c: Likewise.
31227         * manual/examples/pipe.c: Likewise.
31228         * manual/examples/popen.c: Likewise.
31229         * manual/examples/rprintf.c: Likewise.
31230         * manual/examples/search.c: Likewise.
31231         * manual/examples/select.c: Likewise.
31232         * manual/examples/setjmp.c: Likewise.
31233         * manual/examples/sigh1.c: Likewise.
31234         * manual/examples/sigusr.c: Likewise.
31235         * manual/examples/stpcpy.c: Likewise.
31236         * manual/examples/strdupa.c: Likewise.
31237         * manual/examples/strftim.c: Likewise.
31238         * manual/examples/strncat.c: Likewise.
31239         * manual/examples/subopt.c: Likewise.
31240         * manual/examples/swapcontext.c: Likewise.
31241         * manual/examples/termios.c: Likewise.
31242         * manual/examples/testopt.c: Likewise.
31243         * manual/examples/testpass.c: Likewise.
31244         * manual/examples/timeval_subtract.c: Likewise.
31246         [BZ #13792]
31247         * manual/time.texi (Elapsed Time): Move timeval_subtract example
31248         function to ...
31249         * manual/timeval_subtract.c.texi: ... here, new file.
31251 2012-03-02  David S. Miller  <davem@davemloft.net>
31253         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31255 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
31257         [BZ #3976]
31258         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31259         (__sin): Save and restore rounding mode and use round-to-nearest
31260         for all computations.
31261         (__cos): Save and restore rounding mode and use round-to-nearest
31262         for all computations.
31263         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31264         <fenv.h>.
31265         (tan): Save and restore rounding mode and use round-to-nearest for
31266         all computations.
31267         * math/libm-test.inc (cos_test_tonearest): New function.
31268         (cos_test_towardzero): Likewise.
31269         (cos_test_downward): Likewise.
31270         (cos_test_upward): Likewise.
31271         (sin_test_tonearest): Likewise.
31272         (sin_test_towardzero): Likewise.
31273         (sin_test_downward): Likewise.
31274         (sin_test_upward): Likewise.
31275         (tan_test_tonearest): Likewise.
31276         (tan_test_towardzero): Likewise.
31277         (tan_test_downward): Likewise.
31278         (tan_test_upward): Likewise.
31279         (main): Call the new functions.
31280         * sysdeps/i386/fpu/libm-test-ulps: Update.
31281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31283         [BZ #10135]
31284         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31285         small n, then large n, before computing and testing k+n.
31286         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31287         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31288         Likewise.
31289         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31290         Likewise.
31291         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31292         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31293         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31294         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31295         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31296         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31297         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31298         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31299         * math/libm-test.inc (scalbn_test): Add more tests.
31300         (scalbln_test): Likewise.
31302         * manual/filesys.texi (mode_t): Describe constraints on size and
31303         signedness, not exact equivalence to a particular type.
31304         (ino_t): Likewise.
31305         (ino64_t): Likewise.
31306         (dev_t): Likewise.
31307         (nlink_t): Likewise.
31308         (blkcnt_t): Likewise.
31309         (blkcnt64_t): Likewise.
31310         * manual/llio.texi (off_t): Likewise.
31312         [BZ #3976]
31313         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31314         (__ieee754_exp): Save and restore rounding mode and use
31315         round-to-nearest for all computations.
31316         * math/libm-test.inc (exp_test_tonearest): New function.
31317         (exp_test_towardzero): Likewise.
31318         (exp_test_downward): Likewise.
31319         (exp_test_upward): Likewise.
31320         (main): Call the new functions.
31321         * sysdeps/i386/fpu/libm-test-ulps: Update.
31322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31324 2012-03-01  Chris Demetriou  <cgd@google.com>
31326         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31327         have predictable order.
31329 2012-03-01  David S. Miller  <davem@davemloft.net>
31331         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31333         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31334         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31335         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31336         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31338         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31339         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31340         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31342         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31343         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31344         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31345         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31346         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31350         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31351         * sysdeps/sparc/fpu/libm-test-ulps: to here.
31352         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31354         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31355         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31356         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31357         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31358         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31359         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31360         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31361         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31362         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31363         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31364         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31365         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31366         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31367         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31368         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31369         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31370         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31371         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31372         * sysdeps/sparc/elf/configure: Regenerated.
31374 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
31376         * configure.in (AS, LD): Require binutils 2.20 or later.
31377         * configure: Regenerated.
31378         * manual/install.texi (Tools for Compilation): Give binutils 2.20
31379         as required minimum version.
31380         * INSTALL: Regenerated.
31382         [BZ #2541]
31383         [BZ #4108]
31384         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31385         before squaring exponent.
31386         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31387         bottom long double and 27 bits of top long double before squaring
31388         exponent.
31389         * math/libm-test.inc (erfc_test): Add more tests.
31390         * sysdeps/i386/fpu/libm-test-ulps: Update.
31391         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31394 2012-03-01  Kai Tietz  <ktietz@redhat.com>
31396         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31397         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31398         containing bit-fields.
31399         * soft-fp/extended.h (_FP_UNION_E): Likewise.
31400         * soft-fp/single.h (_FP_UNION_S): Likewise.
31401         * soft-fp/double.h (_FP_UNION_D): Likewise.
31403 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
31405         [BZ #13786]
31406         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31407         not include ../strcmp.S.
31408         [USE_AS_STRNCASECMP_L]: Likewise.
31409         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31410         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31411         * sysdeps/i386/i686/multiarch/strncase_l-c.c
31412         (__strncasecmp_l_ia32): Define as alias to
31413         __strncasecmp_l_nonascii.
31415         [BZ #5794]
31416         * math/libm-test.inc (expm1_test): Add test for bug 5794.
31417         * sysdeps/i386/fpu/libm-test-ulps: Update.
31418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31420         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31423 2012-02-29  Jeff Law  <law@redhat.com>
31425         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31426         out of bounds read.
31428 2012-02-29  Marek Polacek  <polacek@redhat.com>
31430         [BZ #13706]
31431         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31432         * elf/Makefile: Add rules to run tst-unused-dep.out.
31434 2012-02-28  David S. Miller  <davem@davemloft.net>
31436         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31437         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31438         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31439         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31440         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31441         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31443 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
31445         * math/libm-test.inc (llround_test): Move one test from
31446         lround_test.  Use TEST_f_L in moved test.
31447         (lround_test): Move misplaced test to llround_test.  Add testcase
31448         from bug 2561.
31450 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
31452         * sysdeps/x86_64/fpu/e_expf.S: New file.
31453         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31455 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
31457         [BZ #13637]
31458         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31459         of remain_len that may cause incomplete multi-byte character and
31460         false match.
31461         * posix/bug-regex33.c: New file.
31462         * posix/Makefile (tests): Add bug-regex33.
31464 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
31466         * manual/macros.texi: New file.
31467         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31468         * manual/libc.texinfo: Include macros.texi.
31469         * manual/creatute.texi: Likewise.
31470         * manual/install.texi: Likewise.
31471         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31472         @glibcadj{} in references to the GNU C Library.
31473         * manual/charset.texi: Likewise.
31474         * manual/conf.texi: Likewise.
31475         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
31476         when not using those macros.
31477         * manual/creature.texi: Likewise.
31478         * manual/crypt.texi: Likewise.
31479         * manual/errno.texi: Likewise.
31480         * manual/filesys.texi: Likewise.
31481         * manual/header.texi: Likewise.
31482         * manual/install.texi: Likewise.
31483         * manual/intro.texi: Likewise.
31484         * manual/io.texi: Likewise.
31485         * manual/job.texi: Likewise.
31486         * manual/lang.texi: Likewise.
31487         * manual/libc.texiinfo: Likewise.
31488         * manual/llio.texi: Likewise.
31489         * manual/locale.texi: Likewise.
31490         * manual/maint.texi: Likewise.
31491         * manual/math.texi: Likewise.
31492         * manual/memory.texi: Likewise.
31493         * manual/message.texi: Likewise.
31494         * manual/nss.texi: Likewise.
31495         * manual/pattern.texi: Likewise.
31496         * manual/process.texi: Likewise.
31497         * manual/resource.texi: Likewise.
31498         * manual/search.texi: Likewise.
31499         * manual/setjmp.texi: Likewise.
31500         * manual/signal.texi: Likewise.
31501         * manual/socket.texi: Likewise.
31502         * manual/startup.texi: Likewise.
31503         * manual/stdio.texi: Likewise.
31504         * manual/string.texi: Likewise.
31505         * manual/sysinfo.texi: Likewise.
31506         * manual/syslog.texi: Likewise.
31507         * manual/terminal.texi: Likewise.
31508         * manual/time.texi: Likewise.
31509         * manual/users.texi: Likewise.
31510         * INSTALL: Regenerated.
31511         * NOTES: Regenerated.
31512         * sysdeps/gnu/errlist.c: Regenerated.
31514 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
31516         * include/dirent.h: Include <dirstream.h> before
31517         <dirent/dirent.h>.
31519 2012-02-28  David S. Miller  <davem@davemloft.net>
31521         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31522         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31523         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31524         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31526 2012-02-27  David S. Miller  <davem@davemloft.net>
31528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31530         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31531         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31534         frame pointer instead of stack pointer relative arg slot.
31535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31536         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31537         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31539 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
31541         [BZ #3992]
31542         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31544 2012-02-27  David S. Miller  <davem@davemloft.net>
31546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31550         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31551         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31552         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31553         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31555 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
31557         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31558         later.  Allow versions 5-9.
31559         * configure: Regenerated.
31560         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31561         required minimum version and 4.6 as recommended version.  Do not
31562         mention bugs in GCC 2.7 and 2.8.
31563         * INSTALL: Regenerated.
31565 2012-02-27  David S. Miller  <davem@davemloft.net>
31567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31571         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31572         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31573         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31574         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31576         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31577         manipulate bits before adding and subtracting TWO112[sx].
31578         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31580 2012-02-27  Roland McGrath  <roland@hack.frob.com>
31582         [BZ #13775]
31583         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31584         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31585         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31586         being in POSIX, because they are in 1003.1-2008.
31588         * rt/tst-aio.c: Include <fcntl.h>.
31589         * rt/tst-aio7.c: Likewise.
31590         * rt/tst-aio64.c: Likewise.
31592         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31594 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
31596         * manual/install.texi (--with-headers): Describe headers as
31597         interface headers, not private headers.
31598         (Specific advice for GNU/Linux systems): Describe use of headers
31599         from "make headers_install", not private headers from older
31600         kernels.
31601         * INSTALL: Regenerated.
31602         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31603         Change to 2.6.19.
31604         * sysdeps/unix/sysv/linux/configure: Regenerated.
31606         * manual/llio.texi (fclean): Remove documentation.
31608         * manual/Makefile (libc-texi-generated): New variable.  Include
31609         version.texi.
31610         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31611         $(libc-texi-generated), not duplicated list of files.
31612         (version.texi, stamp-version): New rules.
31613         (realclean): Remove $(libc-texi-generated), not individual files
31614         from that list.  Do not remove dir-add.texinfo.
31615         * manual/libc.texinfo: Comment out uses of edition numbers and
31616         references to printed manual.  Remove last-updated dates.
31617         (EDITION): Comment out.
31618         (ISBN): Likewise.
31619         (VERSION, UPDATED): Remove.
31620         (version.texi): Include.
31622 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
31624         * sysdeps/posix/spawni.c: Include <signal.h>.
31625         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31626         * sysdeps/pthread/aio_fsync.c: Likewise.
31628 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
31630         * conform/Makefile (tests): Run only when not cross-compiling and
31631         when fast-check is not defined.
31633         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31634         * conform/data/limits.h-data: Fixes for POSIX2008.
31635         * conform/run-conformtest.sh: Run all tests.
31636         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31637         headers.
31638         * include/bits/dlfcn.h: Likewise.
31639         * include/langinfo.h: Likewise.
31640         * include/monetary.h: Likewise.
31641         * include/sys/poll.h: Likewise.
31643         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31644         for __USE_GNU.
31645         * posix/spawn.h: Define __need_sigset_t.
31646         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31647         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31648         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
31649         to get sigevent_t only.
31650         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31651         only for __USE_GNU.
31652         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31653         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31654         process_vm_writev only for __USE_GNU.
31655         * termios/termios.h: Declare tcgetsid also for POSIX2008.
31657         * conform/Makefile: For now ignore errors from run-conformtest.
31658         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
31659         POSIX to avoid namespace pollution.  Don't prepend headers.
31660         * conform/data/aio.h-data: Fixes for POSIX testing.
31661         * conform/data/fcntl.h-data: Likewise.
31662         * conform/data/glob.h-data: Likewise.
31663         * conform/data/grp.h-data: Likewise.
31664         * conform/data/pthread.h-data: Likewise.
31665         * conform/data/pwd.h-data: Likewise.
31666         * conform/data/signal.h-data: Likewise.
31667         * conform/data/spawn.h-data: Likewise.
31668         * conform/data/stdio.h-data: Likewise.
31669         * conform/data/stdlib.h-data: Likewise.
31670         * conform/data/stropts.h-data: Likewise.
31671         * conform/data/sys/mman.h-data: Likewise.
31672         * conform/data/sys/stat.h-data: Likewise.
31673         * conform/data/sys/types.h-data: Likewise.
31674         * conform/data/sys/wait.h-data: Likewise.
31675         * conform/data/time.h-data: Likewise.
31676         * conform/data/unistd.h-data: Likewise.
31677         * conform/data/utime.h-data: Likewise.
31679         * io/sys/stat.h: fchmod was always in POSIX.
31680         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31681         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31682         * rt/aio.h: Define __need_timespec before including <time.h>.
31683         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31684         struct.  Add forward declaration of pthread_attr_t and use it in
31685         sigevent.
31686         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31687         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31688         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31689         always remove CLK_TCK definition.
31691 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
31693         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31695 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
31697         * conform/run-conformtest.sh: New file.
31698         * conform/Makefile: Run run-conformtest for tests.
31699         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
31700         support.
31702         * conform/data/uchar.h-data: New file.
31703         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31704         * conform/data/arpa/inet.h-data: Likewise.
31705         * conform/data/assert.h-data: Likewise.
31706         * conform/data/complex.h-data: Likewise.
31707         * conform/data/cpio.h-data: Likewise.
31708         * conform/data/ctype.h-data: Likewise.
31709         * conform/data/dirent.h-data: Likewise.
31710         * conform/data/dlfcn.h-data: Likewise.
31711         * conform/data/errno.h-data: Likewise.
31712         * conform/data/fcntl.h-data: Likewise.
31713         * conform/data/float.h-data: Likewise.
31714         * conform/data/fmtmsg.h-data: Likewise.
31715         * conform/data/fnmatch.h-data: Likewise.
31716         * conform/data/ftw.h-data: Likewise.
31717         * conform/data/glob.h-data: Likewise.
31718         * conform/data/grp.h-data: Likewise.
31719         * conform/data/iconv.h-data: Likewise.
31720         * conform/data/inttypes.h-data: Likewise.
31721         * conform/data/langinfo.h-data: Likewise.
31722         * conform/data/libgen.h-data: Likewise.
31723         * conform/data/limits.h-data: Likewise.
31724         * conform/data/locale.h-data: Likewise.
31725         * conform/data/math.h-data: Likewise.
31726         * conform/data/monetary.h-data: Likewise.
31727         * conform/data/mqueue.h-data: Likewise.
31728         * conform/data/ndbm.h-data: Likewise.
31729         * conform/data/net/if.h-data: Likewise.
31730         * conform/data/netdb.h-data: Likewise.
31731         * conform/data/netinet/in.h-data: Likewise.
31732         * conform/data/nl_types.h-data: Likewise.
31733         * conform/data/poll.h-data: Likewise.
31734         * conform/data/pthread.h-data: Likewise.
31735         * conform/data/pwd.h-data: Likewise.
31736         * conform/data/regex.h-data: Likewise.
31737         * conform/data/sched.h-data: Likewise.
31738         * conform/data/search.h-data: Likewise.
31739         * conform/data/semaphore.h-data: Likewise.
31740         * conform/data/setjmp.h-data: Likewise.
31741         * conform/data/signal.h-data: Likewise.
31742         * conform/data/spawn.h-data: Likewise.
31743         * conform/data/stdarg.h-data: Likewise.
31744         * conform/data/stdio.h-data: Likewise.
31745         * conform/data/stdlib.h-data: Likewise.
31746         * conform/data/string.h-data: Likewise.
31747         * conform/data/strings.h-data: Likewise.
31748         * conform/data/stropts.h-data: Likewise.
31749         * conform/data/sys/ipc.h-data: Likewise.
31750         * conform/data/sys/mman.h-data: Likewise.
31751         * conform/data/sys/msg.h-data: Likewise.
31752         * conform/data/sys/resource.h-data: Likewise.
31753         * conform/data/sys/select.h-data: Likewise.
31754         * conform/data/sys/sem.h-data: Likewise.
31755         * conform/data/sys/shm.h-data: Likewise.
31756         * conform/data/sys/socket.h-data: Likewise.
31757         * conform/data/sys/stat.h-data: Likewise.
31758         * conform/data/sys/statvfs.h-data: Likewise.
31759         * conform/data/sys/time.h-data: Likewise.
31760         * conform/data/sys/timeb.h-data: Likewise.
31761         * conform/data/sys/times.h-data: Likewise.
31762         * conform/data/sys/types.h-data: Likewise.
31763         * conform/data/sys/uio.h-data: Likewise.
31764         * conform/data/sys/un.h-data: Likewise.
31765         * conform/data/sys/utsname.h-data: Likewise.
31766         * conform/data/sys/wait.h-data: Likewise.
31767         * conform/data/syslog.h-data: Likewise.
31768         * conform/data/tar.h-data: Likewise.
31769         * conform/data/termios.h-data: Likewise.
31770         * conform/data/utime.h-data: Likewise.
31771         * conform/data/utmpx.h-data: Likewise.
31772         * conform/data/varargs.h-data: Likewise.
31773         * conform/data/wchar.h-data: Likewise.
31774         * conform/data/wctype.h-data: Likewise.
31775         * conform/data/wordexp.h-data: Likewise.
31777         * include/stropts.h: New file.
31778         * include/uchar.h: New file.
31779         * include/aio.h: Changes to allow conformtest.pl to use the headers.
31780         * include/assert.h: Likewise.
31781         * include/ctype.h: Likewise.
31782         * include/dirent.h: Likewise.
31783         * include/dlfcn.h: Likewise.
31784         * include/fcntl.h: Likewise.
31785         * include/fnmatch.h: Likewise.
31786         * include/glob.h: Likewise.
31787         * include/grp.h: Likewise.
31788         * include/libio.h: Likewise.
31789         * include/locale.h: Likewise.
31790         * include/math.h: Likewise.
31791         * include/net/if.h: Likewise.
31792         * include/netdb.h: Likewise.
31793         * include/netinet/in.h: Likewise.
31794         * include/pthread.h: Likewise.
31795         * include/pwd.h: Likewise.
31796         * include/regex.h: Likewise.
31797         * include/sched.h: Likewise.
31798         * include/search.h: Likewise.
31799         * include/setjmp.h: Likewise.
31800         * include/signal.h: Likewise.
31801         * include/stdio.h: Likewise.
31802         * include/stdlib.h: Likewise.
31803         * include/string.h: Likewise.
31804         * include/sys/cdefs.h: Likewise.
31805         * include/sys/mman.h: Likewise.
31806         * include/sys/msg.h: Likewise.
31807         * include/sys/resource.h: Likewise.
31808         * include/sys/select.h: Likewise.
31809         * include/sys/socket.h: Likewise.
31810         * include/sys/stat.h: Likewise.
31811         * include/sys/statvfs.h: Likewise.
31812         * include/sys/time.h: Likewise.
31813         * include/sys/times.h: Likewise.
31814         * include/sys/uio.h: Likewise.
31815         * include/sys/utsname.h: Likewise.
31816         * include/sys/wait.h: Likewise.
31817         * include/termios.h: Likewise.
31818         * include/time.h: Likewise.
31819         * include/ulimit.h: Likewise.
31820         * include/unistd.h: Likewise.
31821         * include/utime.h: Likewise.
31822         * include/wchar.h: Likewise.
31823         * include/wctype.h: Likewise.
31824         * include/wordexp.h: Likewise.
31826         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31828         * time/time.h: TIME_UTC must be a macro.
31829         Make timespec_get available for ISO C11 only as well.
31831 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
31833         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31834         Reported by Peng Haitao <penght@cn.fujitsu.com>.
31836 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31838         * configure.in: Use -o not -a in test for unsupported multi-arch.
31840 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31842         * manual/texinfo.tex: Update to version 2012-01-19.16.
31844 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31846         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31848 2012-02-24  Roland McGrath  <roland@hack.frob.com>
31850         [BZ #13738]
31851         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31852         * manual/fdl-1.3.texi: New file.
31853         * manual/fdl-1.1.texi: File removed.
31855         [BZ #13738]
31856         * manual/libc.texinfo (FDL_VERSION): New @set.
31857         Use it for mention of FDL in cover text.
31858         (Documentation License): Use it in @include file name.
31860 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31861             Roland McGrath  <roland@hack.frob.com>
31863         [BZ #5461]
31864         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31865         not LONG_LONG_MAX and LONG_LONG_MIN.
31866         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31867         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
31868         name.
31869         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31871 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31873         [BZ #2547]
31874         [BZ #11365]
31875         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31876         manipulate bits before adding and subtracting TWO23[sx].
31877         * math/libm-test.inc (nearbyint_test): Add more tests.
31879 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31881         [BZ #2548]
31882         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31883         bits before adding and subtracting TWO23[sx].
31884         * math/libm-test.inc (rint_test): Add more tests.
31885         (rint_test_tonearest): Likewise.
31886         (rint_test_towardzero): Likewise.
31887         (rint_test_downward): Likewise.
31888         (rint_test_upward: Likewise.
31890 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31892         [BZ #10110]
31893         * include/stdc-predef.h: New file.  Extracted from features.h.
31894         * include/features.h: Include stdc-predef.h.
31895         * Makefile (headers): Add stdc-predef.h.
31896         * CONFORMANCE (Compiler limitations): Update.
31898 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31900         * manual/libc.texinfo (VERSION, UPDATED): Revert.
31902 2012-02-21  David S. Miller  <davem@davemloft.net>
31904         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31905         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31907 2012-02-20  David S. Miller  <davem@davemloft.net>
31909         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31910         using a normal save/restore sequence, rather than allocating a
31911         dummy stack frame just to store a frame pointer and restore.
31912         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31914 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31916         * manual/install.texi: Fix stray word in line-wrapped comment.
31918 2012-02-20  David S. Miller  <davem@davemloft.net>
31920         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31921         both binutils and gcc support GOTDATA.
31923         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31924         "rd %pc" in the PIC register setup sequences.
31926         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31927         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31928         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31929         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31930         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31931         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31932         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31933         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31934         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31935         (SYSCALL_ERROR_HANDLER): Likewise.
31936         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31937         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31938         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31939         (SYSCALL_ERROR_HANDLER): Likewise.
31941         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31942         (HAVE_GCC_GOTDATA): New.
31943         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31944         relocation support in both binutils and gcc.
31945         * sysdeps/sparc/elf/configure: Regenerate.
31947         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31948         * sysdeps/sparc/sparc32/elf/configure: Delete.
31949         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31950         * sysdeps/sparc/sparc64/elf/configure: Delete.
31951         * sysdeps/sparc/elf/configure.in: New file.
31952         * sysdeps/sparc/elf/configure: Generate.
31954         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31955         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31956         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31957         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31958         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31960 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31962         * manual/install.texi: Do not mention specific glibc version
31963         numbers.
31964         * manual/libc.texinfo (VERSION, UPDATED): Update.
31965         (@copying): Use @copyright{} and range of years.
31967 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31969         [BZ #13695]
31970         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31971         [crti.S not in sysdirs] (generated): Do not append.
31972         [crti.S not in sysdirs] (omit-deps): Likewise.
31973         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31974         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31975         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31976         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31977         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31978         Likewise.
31979         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31980         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31981         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31982         * csu/defs.awk: Remove file.
31983         * sysdeps/generic/initfini.c: Likewise.
31984         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31985         variable.
31986         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31987         Likewise.
31989 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31991         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31992         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31993         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31994         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31995         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31996         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31997         <bits/epoll.h>.
31998         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31999         (__EPOLL_PACKED): Define to empty if not defined by
32000         <bits/epoll.h>.
32001         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
32002         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32003         bits/epoll.h.
32005 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
32007         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
32008         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
32009         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
32010         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
32011         <bits/timerfd.h>.
32012         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
32013         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32014         bits/timerfd.h.
32016 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
32018         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
32019         in C locale.
32020         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32021         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32022         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
32023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32025 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
32027         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32028         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32030 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
32032         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
32033         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
32034         defined.
32035         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
32036         Likewise.
32037         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32038         entry for 2.16.
32040 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
32042         * math/w_acos.c: Use non-signaling floating-point comparisons.
32043         * math/w_acosf.c: Likewise.
32044         * math/w_acosh.c: Likewise.
32045         * math/w_acoshf.c: Likewise.
32046         * math/w_acoshl.c: Likewise.
32047         * math/w_acosl.c: Likewise.
32048         * math/w_asin.c: Likewise.
32049         * math/w_asinf.c: Likewise.
32050         * math/w_asinl.c: Likewise.
32051         * math/w_atanh.c: Likewise.
32052         * math/w_atanhf.c: Likewise.
32053         * math/w_atanhl.c: Likewise.
32054         * math/w_exp2.c: Likewise.
32055         * math/w_exp2f.c: Likewise.
32056         * math/w_exp2l.c: Likewise.
32057         * math/w_j0.c: Likewise.
32058         * math/w_j0f.c: Likewise.
32059         * math/w_j0l.c: Likewise.
32060         * math/w_j1.c: Likewise.
32061         * math/w_j1f.c: Likewise.
32062         * math/w_j1l.c: Likewise.
32063         * math/w_jn.c: Likewise.
32064         * math/w_jnf.c: Likewise.
32065         * math/w_log.c: Likewise.
32066         * math/w_log10.c: Likewise.
32067         * math/w_log10f.c: Likewise.
32068         * math/w_log10l.c: Likewise.
32069         * math/w_log2.c: Likewise.
32070         * math/w_log2f.c: Likewise.
32071         * math/w_log2l.c: Likewise.
32072         * math/w_logf.c: Likewise.
32073         * math/w_logl.c: Likewise.
32074         * math/w_sqrt.c: Likewise.
32075         * math/w_sqrtf.c: Likewise.
32076         * math/w_sqrtl.c: Likewise.
32077         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32078         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32079         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32080         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32081         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32083 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
32085         [BZ #9739]
32086         * manual/string.texi (strnlen): Use correct parameter name in
32087         equivalent expression.
32089 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
32091         [BZ #11174]
32092         * manual/users.texi (seteuid): Consistently use neweuid for
32093         argument name.
32095 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
32097         [BZ #13704]
32098         * manual/nss.texi (Services in the NSS configuration): Correct
32099         list of services in example configuration file.
32101 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
32103         [BZ #11322]
32104         * manual/arith.texi: Remove statements about negative zero
32105         behaving identically to zero.
32107 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
32109         [BZ #5993]
32110         * manual/install.texi: Do not document upgrading from libc5.
32112 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
32114         [BZ #4596]
32115         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32117 2012-02-18  David S. Miller  <davem@davemloft.net>
32119         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32120         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32121         %o7 across the call.
32122         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32123         instead.
32124         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32125         SETUP_PIC_REG_LEAF.
32126         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32127         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32128         * sysdeps/sparc/crtn.S: Likewise.
32130 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
32132         * aout/Makefile: Remove.
32134 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
32136         [BZ #13058]
32137         * manual/examples/argp-ex1.c (main): Format definition in GNU
32138         style.
32139         * manual/examples/argp-ex2.c (main): Likewise.
32140         * manual/examples/argp-ex3.c (main): Likewise.
32141         * manual/examples/argp-ex4.c (main): Likewise.
32142         * manual/examples/longopt.c (main): Use new-style prototype
32143         definition.
32144         * manual/examples/strncat.c (main): Specify return type and use
32145         (void) for arguments.
32146         * manual/examples/subopt.c (main): Use char **argv argument.
32148 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
32150         [BZ #5077]
32151         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32152         rounding modes.
32154 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
32156         [BZ #6907]
32157         * manual/string.texi (strchr): Change when strchrnul is
32158         recommended.
32160 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
32162         [BZ #174]
32163         * manual/locale.texi (setlocale): Document LOCPATH.
32165 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
32167         [BZ #10210]
32168         * manual/process.texi (execle): Move @dots{} before last argument.
32170 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
32172         [BZ #12047]
32173         * manual/charset.texi (Generic Charset Conversion): Fix typo
32174         (LC_TYPE -> LC_CTYPE).
32176 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
32178         [BZ #5805]
32179         * manual/arith.texi (scalbn): Use @var{} on parameter names.
32180         (scalbnf): Likewise.
32181         (scalbnl): Likewise.
32182         (scalbln): Likewise.
32183         (scalblnf): Likewise.
32184         (scalblnl): Likewise.
32185         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32186         (vwarnx): Likewise.
32187         (verr): Likewise.
32188         (verrx): Likewise.
32189         * manual/filesys.texi (telldir): Use braces around return type.
32190         * manual/llio.texi (mmap): Add space after comma.
32191         (mmap64): Likewise.
32192         * manual/math.texi (jn): Use @var{} on parameter names.
32193         (jnf): Likewise.
32194         (jnl): Likewise.
32195         (yn): Likewise.
32196         (ynf): Likewise.
32197         (ynl): Likewise.
32198         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32199         line.
32200         * manual/resource.texi (ulimit): Use @dots{} instead of literal
32201         "...".
32202         (sched_get_priority_min): Remove semicolon on @deftypefun line.
32203         (sched_get_priority_max): Likewise.
32204         * manual/signal.texi (sigvec): Add space after comma.
32205         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32206         names.
32207         (if_indextoname): Likewise.
32208         (if_freenameindex): Likewise.
32209         (sendto): Use ',' instead of '.' in prototype.
32210         * manual/startup.texi (syscall): Use @dots{} instead of literal
32211         "...".
32212         * manual/stdio.texi (__fpending): Separate initial words of
32213         paragraph from @deftypefun line.
32214         * manual/syslog.texi (syslog): Use @dots{} instead of literal
32215         "...".
32216         (vsyslog): Use @var{} on parameter names.
32217         * manual/terminal.texi (stty): Use @var{} on parameter names.
32218         * manual/users.texi (getutmp): Use @var{} on parameter names.
32219         (getutmpx): Likewise.
32221 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
32223         [BZ #6884]
32224         * manual/stdio.texi (fopen): Fix typos in description of
32225         ",ccs=STRING".
32227 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
32229         [BZ #4026]
32230         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32231         get clock_id definition.
32233 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
32235         [BZ #4822]
32236         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32237         (madvise): Cast every argument to void on its own.
32239 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
32241         [BZ #9902]
32242         * manual/startup.texi (Exit Status): Fix typo.
32244 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
32246         [BZ #10140]
32247         * manual/examples/argp-ex1.c: Include <stdlib.h>.
32248         * manual/examples/argp-ex2.c: Likewise.
32249         * manual/examples/argp-ex3.c: Likewise.
32251 2012-02-16  Richard Henderson  <rth@redhat.com>
32253         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32254         * sysdeps/s390/s390-32/initfini.c: Remove.
32255         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32256         * sysdeps/s390/s390-64/initfini.c: Remove.
32258 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32260         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32261         compiler output for sysdeps/generic/initfini.c.
32262         * sysdeps/sh/elf/initfini.c: Remove file.
32264 2012-02-16  David S. Miller  <davem@davemloft.net>
32266         [BZ #11494]
32267         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32269         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32270         * sysdeps/sparc/crti.S: New file.
32271         * sysdeps/sparc/crtn.S: New file.
32272         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32273         * sysdeps/sparc/sparc64/Makefile: Likewise.
32275 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
32277         [BZ #3335]
32278         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32280 2012-02-15  Roland McGrath  <roland@hack.frob.com>
32282         [BZ #4822]
32283         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32285         * mach/devstream.c (cookie_io_functions_t): Macro removed.
32286         (write, read, close): Likewise.
32287         Patch by Aurelien Jarno <aurelien@aurel32.net>.
32289 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
32291         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32292         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32293         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32294         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32295         <bits/signalfd.h>.
32296         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32297         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32298         bits/signalfd.h.
32300 2012-02-14  Marek Polacek  <polacek@redhat.com>
32302         * sysdeps/x86_64/crti.S: New file.
32303         * sysdeps/x86_64/crtn.S: New file.
32304         * sysdeps/x86_64/elf/initfini.c: Remove file.
32306 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
32308         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32309         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32310         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32311         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32312         <bits/inotify.h>.
32313         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32314         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32315         bits/inotify.h.
32317 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
32319         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32320         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32321         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32322         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32323         <bits/eventfd.h>.
32324         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32325         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32326         bits/eventfd.h.
32328 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
32330         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32331         __feraiseexcept instead of feraiseexcept.
32333         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32334         nanosleep invocations.
32335         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32336         strings, and add error checking for a nanosleep invocations.
32338 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
32340         Replace FSF snail mail address with URLs, as per GNU coding standards.
32341         Most of the snail mail addresses were wrong anyway, and omitting
32342         them makes the source code easier to maintain.  Almost all of the
32343         changes are to license notices and to locale LC_IDENTIFICATION
32344         addresses, except for this one:
32345         * manual/libc.texinfo: In "Published by", give the FSF's URL,
32346         not its snail mail address.
32348 2012-02-09  Richard Henderson  <rth@twiddle.net>
32350         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32351         of kernel-features.h.
32353         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32355 2012-02-08  Marek Polacek  <polacek@redhat.com>
32357         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32358         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32359         * sysdeps/gnu/_G_config.h: Likewise.
32360         * sysdeps/generic/_G_config.h: Likewise.
32362 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
32364         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32365         tests.
32366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32368         * sysdeps/powerpc/powerpc32/crti.S: New file.
32369         * sysdeps/powerpc/powerpc32/crtn.S: New file.
32370         * sysdeps/powerpc/powerpc64/crti.S: New file.
32371         * sysdeps/powerpc/powerpc64/crtn.S: New file.
32373         * Makeconfig (have-initfini): Don't set.
32374         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32375         * configure.in (nopic_initfini): Don't substitute.
32376         * config.h.in (HAVE_INITFINI): Don't #undef.
32377         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32378         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32380 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
32382         Support crti.S and crtn.S provided directly by architectures.
32383         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32384         [crti.S in sysdirs] (omit-deps): Likewise.
32385         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32386         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32387         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32388         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32389         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32390         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32391         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32392         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32393         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32394         compiler output for sysdeps/generic/initfini.c.
32395         * sysdeps/i386/elf/Makefile: Remove file.
32396         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32398 2012-02-07  Marek Polacek  <polacek@redhat.com>
32400         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32401         * sysdeps/gnu/_G_config.h: Likewise.
32402         * sysdeps/mach/hurd/_G_config.h: Likewise.
32404 2012-02-07  Marek Polacek  <polacek@redhat.com>
32406         * math/Makefile (tests): Add tst-CMPLX2.
32407         * math/tst-CMPLX2.c: New file.
32409 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
32411         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32413         * math/libm-test.inc (jn_test): Add missing L suffix.
32415 2012-02-06  Marek Polacek  <polacek@redhat.com>
32417         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32418         * sysdeps/i386/fpu/e_powf.S: Likewise.
32419         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32420         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32421         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32422         * sysdeps/i386/fpu/e_pow.S: Likewise.
32423         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32424         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32425         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32426         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32427         * sysdeps/i386/fpu/e_log2.S: Likewise.
32428         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32429         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32430         * sysdeps/i386/fpu/e_powl.S: Likewise.
32431         * sysdeps/i386/fpu/s_log1p.S: Likewise.
32432         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32433         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32434         * sysdeps/i386/fpu/e_logl.S: Likewise.
32435         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32436         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32437         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32438         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32439         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32440         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32441         * sysdeps/i386/fpu/e_log.S: Likewise.
32442         * sysdeps/i386/fpu/s_cexp.S: Likewise.
32443         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32444         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32445         * sysdeps/i386/fpu/e_logf.S: Likewise.
32446         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32447         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32448         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32449         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32450         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32451         * sysdeps/i386/fpu/e_log10.S: Likewise.
32452         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32453         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32454         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32455         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32456         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32457         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32458         * sysdeps/i386/asm-syntax.h: Likewise.
32459         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32460         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32461         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32462         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32463         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32464         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32465         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32466         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32467         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32468         * sysdeps/powerpc/sysdep.h: Likewise.
32469         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32470         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32472 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
32474         [BZ #411]
32475         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32477 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
32479         * sysdeps/i386/sysdep.h: Include <features.h>.
32480         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32481         version.
32483 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
32485         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32486         Define.
32487         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32488         LOAD_PIC_REG_STR.
32490 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
32492         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32493         (SETUP_PIC_REG): Use GET_PC_THUNK.
32494         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32495         macro.
32497 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
32499         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32500         for non-PIC compilation.
32501         (SETUP_PIC_REG): Add .p2align directive.
32502         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32503         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32504         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32505         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32506         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32507         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32508         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32509         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32510         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32511         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32512         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32513         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32514         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32515         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32516         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32517         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32518         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32519         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32520         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32521         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32522         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32523         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32524         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32525         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32526         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32527         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32528         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32529         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32530         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32531         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32532         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32533         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32534         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32535         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32536         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32537         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32538         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32539         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32540         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32541         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32542         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32544 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
32546         * math/tst-CMPLX.c: Include <stdio.h>.
32548 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
32550         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32551         float.
32552         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32553         * sysdeps/sparc/bits/mathdef.h: Likewise.
32555 2012-01-31  Marek Polacek  <polacek@redhat.com>
32557         * libio/libio.h: Don't define _PARAMS.
32558         * locale/programs/config.h: Don't define PARAMS.
32559         * stdlib/strtol_l.c: Likewise.
32560         (__strtol_l): Remove PARAMS from the prototype.
32562 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
32564         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
32565         names.  Just use the correct names.  Remove unnecessary wrapper
32566         functions.
32567         * malloc/arena.c: Likewise.
32568         * malloc/hooks.c: Likewise.
32570         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32571         ARENA_TEST says not to.  Simplify test for creation of a new arena.
32572         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32574 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
32576         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32577         into tail calls.
32578         (update_get_addr): New function.
32579         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32580         GET_ADDR_MODULE parameter.
32582 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
32584         * crypt/cert.c: Remove __STDC__ conditionals.
32585         * crypt/crypt-entry.c: Likewise.
32586         * crypt/crypt_util.c: Likewise.
32587         * libio/filedoalloc.c: Likewise.
32588         * libio/fileops.c: Likewise.
32589         * libio/genops.c: Likewise.
32590         * libio/iofclose.c: Likewise.
32591         * libio/iofdopen.c: Likewise.
32592         * libio/iofopen.c: Likewise.
32593         * libio/iofopen64.c: Likewise.
32594         * libio/iogetdelim.c: Likewise.
32595         * libio/iopopen.c: Likewise.
32596         * libio/obprintf.c: Likewise.
32597         * libio/oldfileops.c: Likewise.
32598         * libio/oldiofclose.c: Likewise.
32599         * libio/oldiofdopen.c: Likewise.
32600         * libio/oldiofopen.c: Likewise.
32601         * libio/oldiopopen.c: Likewise.
32602         * libio/wfiledoalloc.c: Likewise.
32603         * libio/wgenops.c: Likewise.
32604         * locale/programs/xmalloc.c: Likewise.
32605         * misc/syslog.c: Likewise.
32606         * stdio-common/xbug.c: Likewise.
32607         * string/memchr.c: Likewise.
32608         * string/memcmp.c: Likewise.
32609         * string/memrchr.c: Likewise.
32610         * string/rawmemchr.c: Likewise.
32611         * sysdeps/posix/getcwd.c: Likewise.
32612         * time/strftime_l.c: Likewise.
32614 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
32616         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
32617         * config.make.in (config-cflags-sse2avx): Define.
32618         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32619         Fix typo.
32621 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
32623         * scripts/config.guess: Update from upstream config git repository.
32624         * scripts/config.sub: Likewise.
32626 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
32628         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32629         (EM_NUM): Update.
32630         (R_TILEPRO_*, R_TILEGX_*): New macros.
32632         * scripts/firstversions.awk: Fix bug in version range handling.
32634         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32636         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32638         * include/sys/epoll.h: New file.
32639         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32640         libc_hidden_def.
32642 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
32644         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32645         Avoid unnecessary __WORDSIZE == 64 test.
32646         (fmaxf): Use VEX format if possible.
32647         (fmax): Likewise.
32648         (fminf): Likewise.
32649         (fmin): Likewise.
32651         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32652         * math/math_private.h: Remove libc_fegetround* and
32653         libc_fesetround*.
32654         * sysdeps/i386/configure.in: Check for -msse2avx.
32655         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32656         also if SSE2AVX is defined.
32657         Remove libc_fegetround* and libc_fesetround*.
32658         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32659         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
32660         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32661         of HAS_YMM_USABLE.
32662         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32663         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32664         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32665         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32666         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32668         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32670 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32672         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32673         size is not set.
32674         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32676 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
32678         [BZ #13618]
32679         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32680         relocation.
32681         * Makeconfig (libm): Define.
32682         * elf/Makefile: Add rules to build and run tst-relsort1.
32683         * elf/tst-relsort1.c: New file.
32684         * elf/tst-relsort1mod1.c: New file.
32685         * elf/tst-relsort1mod2.c: New file.
32687 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
32689         * math/s_ldexp.c: Remove __STDC__ conditionals.
32690         * math/s_ldexpf.c: Likewise.
32691         * math/s_ldexpl.c: Likewise.
32692         * math/s_nextafter.c: Likewise.
32693         * math/s_nexttowardf.c: Likewise.
32694         * math/s_significand.c: Likewise.
32695         * math/s_significandf.c: Likewise.
32696         * math/s_significandl.c: Likewise.
32697         * math/w_jnl.c: Likewise.
32698         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32699         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32700         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32701         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32702         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32703         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32704         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32705         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32706         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32707         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32708         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32709         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32710         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32711         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32712         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32713         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32714         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32715         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32716         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32717         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32718         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32719         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32720         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32721         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32722         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32723         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32724         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32725         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32726         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32727         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32728         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32729         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32730         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32731         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32732         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32733         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32734         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32735         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32736         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32737         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32738         * sysdeps/ieee754/k_standard.c: Likewise.
32739         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32740         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32741         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32742         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32743         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32744         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32745         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32746         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32747         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32748         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32749         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32750         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32751         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32752         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32753         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32754         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32755         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32756         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32757         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32758         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32759         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32760         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32761         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32762         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32763         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32764         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32765         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32766         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32767         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32768         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32769         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32770         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32771         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32772         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32773         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32774         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32775         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32776         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32777         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32778         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32779         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32780         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32781         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32782         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32783         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32784         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32785         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32786         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32787         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32788         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32789         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32790         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32791         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32792         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32793         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32794         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32795         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32796         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32797         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32798         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32799         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32800         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32801         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32802         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32803         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32804         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32805         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32806         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32807         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32808         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32809         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32810         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32811         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32812         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32813         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32814         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32815         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32816         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32817         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32818         * sysdeps/ieee754/s_matherr.c: Likewise.
32819         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32820         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32821         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32822         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32824 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
32826         * crypt/md5.h: Remove __STDC__ conditionals.
32827         * libio/libioP.h: Likewise.
32828         * locale/programs/config.h: Likewise.
32829         * sysdeps/generic/sysdep.h: Likewise.
32830         * sysdeps/i386/asm-syntax.h: Likewise.
32831         * sysdeps/s390/asm-syntax.h: Likewise.
32832         * sysdeps/unix/sysdep.h: Likewise.
32833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32836 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
32838         * libio/libio.h: Remove __STDC__ conditionals.
32839         * malloc/obstack.h: Likewise.
32840         * math/complex.h: Likewise.
32841         * math/math.h: Likewise.
32842         * sysdeps/generic/_G_config.h: Likewise.
32843         * sysdeps/gnu/_G_config.h: Likewise.
32844         * sysdeps/mach/hurd/_G_config.h: Likewise.
32845         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32846         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32847         * sysdeps/sparc/bits/mathdef.h: Likewise.
32849 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
32851         [BZ #13583]
32852         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32853         Clean up HAS_* macros.
32854         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32855         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32856         possible.
32857         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32858         HAS_AVX.
32859         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32860         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32861         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32862         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32863         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32865 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
32867         * elf/tst-unique3.cc (gets): Remove declaration.
32868         * elf/tst-unique3lib.cc (gets): Likewise.
32869         * elf/tst-unique3lib2.cc (gets): Likewise.
32870         * elf/tst-unique4.cc (gets): Likewise.
32872 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
32874         * include/stdio.h: Add C++ protection.  Add gets declarations and
32875         definitions.
32876         * debug/tst-chk1.c: Don't declare gets here.
32877         * stdio-common/tst-gets.c: Likewise.
32879 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
32881         * posix/glob: Remove directory.
32883 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
32885         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32887 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
32889         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32890         of the non-standard EPFNOSUPPORT.
32892 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32894         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32895         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32896         ANYWHERE set to 1 only on KERN_NO_SPACE error.
32898 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
32900         * wcsmbs/uchar.h: Test __STDC_VERSION__.
32902 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
32904         * nscd/aicache.c (addhstaiX): Do not cache negative results of
32905         transient errors.
32906         * nscd/grpcache.c (cache_addgr): Likewise.
32907         * nscd/hstcache.c (cache_addhst): Likewise.
32908         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32909         * nscd/pwdcache.c (cache_addpw): Likewise.
32910         * nscd/servicescache.c (cache_addserv): Likewise.
32912 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
32914         * malloc/malloc.c: Various cleanups.
32915         * malloc/hooks.c: Likewise.
32917         * stdlib/Makefile (tests): Add bug-fmtmsg1.
32918         * stdlib/bug-fmtmsg1.c: New file.
32920         * stdlib/fmtmsg.c (init): Add missing unlock.
32921         Patch by Peng Haitao <penght@cn.fujitsu.com>.
32923 2012-01-12  Marek Polacek  <polacek@redhat.com>
32925         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32926         and _GNU_SOURCE.
32928 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
32930         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32931         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32932         macro to ensure uniqueness of label name.
32933         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32934         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32936 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
32938         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32940         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32941         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32942         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32943         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32945 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
32947         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32949         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32950         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32951         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32953         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32955         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32956         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32957         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32958         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32960         * math/bits/math-finite.h: Add ldexp support.
32962 2012-01-10  Marek Polacek  <polacek@redhat.com>
32964         * locale/programs/localedef.h (show_archive_content): Add noreturn
32965         attribute.
32967 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
32969         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32971 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32973         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32975         * io/Makefile (headers): Add bits/poll2.h.
32977 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
32979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32980         typo #include statement.
32982 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32984         * include/sys/cdefs.h: Define __attribute_alloc_size.
32985         * catgets/gencat.c: Add alloc_size attribute and apply consistently
32986         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32987         * elf/pldd.c: Likewise.
32988         * iconv/iconv_charmap.c: Likewise.
32989         * iconv/iconvconfig.c: Likewise.
32990         * iconv/strtab.c: Likewise.
32991         * locale/programs/locale.c: Likewise.
32992         * locale/programs/localedef.h: Likewise.
32993         * locale/programs/simple-hash.c: Likewise.
32994         * nscd/nscd.h: Likewise.
32995         * nss/makedb.c: Likewise.
32996         * sysdeps/generic/ldconfig.h: Likewise.
32997         * locale/programs/localedef.c: Remove xmalloc prototype.
32998         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
33000 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33002         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
33003         appropriate.
33005 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
33007         * math/Makefile (tests): Add tst-CMPLX.
33008         * math/tst-CMPLX.c: New file.
33010         * math/complex.h (CMPLXL): Fix typo.
33012         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
33013         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
33014         GLIBC_2.16.
33015         * debug/tst-chk1.c: Add poll and ppoll tests.
33016         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
33017         * include/sys/poll.h: Add hidden proto for ppoll.
33018         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
33019         * sysdeps/mach/hurd/ppoll.c: Likewise.
33020         * io/ppoll.c: Likewise.
33021         * debug/poll_chk.c: New file.
33022         * debug/ppoll_chk.c: New file.
33023         * include/bits/poll2.h: New file.
33024         * io/bits/poll2.h: New file.
33026         [BZ #1350]
33027         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
33029         * configure.in: static is always set to yes.  Remove.
33030         * config.make.in: Don't set build-static.
33031         * Makeconfig: Remove use of build-static.
33032         * dlfcn/Makefile: Likewise.
33033         * elf/Makefile: Likewise.
33034         * math/Makefile: Likewise.
33035         * misc/Makefile: Likewise.
33036         * nptl/Makefile: Likewise.
33037         * sysdeps/mach/hurd/Makefile: Likewise.
33039         * configure.in: PWD_P is not used anymore.
33040         * config.make.in: Remove PWD_P entry.
33042         * configure.in: Remove last remnants of RANLIB.
33043         No need to check for signed size_t anymore.
33044         Don't set libc_commonpagesize and libc_relro_required here for Alpha
33045         and IA-64.
33046         Remove __builtin_expect test because we require at least gcc 3.4.
33047         * aclocal.m4: Likewise.
33049         * wcsmbs/mbrtoc16.c: Implement using towc function.
33050         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33051         * wcsmbs/wcsmbsload.c: Likewise.
33052         * iconv/gconv_simple.c: Likewise.
33053         * iconv/gconv_int.h: Likewise.
33054         * iconv/gconv_builtin.h: Likewise.
33055         * iconv/iconv_prog.c: Remove CHAR16 handling.
33057         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33059         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33061         * configure.in: Remove --with-elf and --enable-bounded options.
33062         Dont set base_machine for ia64.  More non-ELF conditions removed.
33063         Remove testing and setting of leading underscore information.
33064         * config.make.in (build-bounded): Set to no.
33065         * config.h.in: Remove NO_UNDERSCORES entry.
33066         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
33067         them.
33068         * csu/start.c: Remove !NO_UNDERSCORE code.
33069         * locale/localeinfo.h: Likewise.
33070         * sysdeps/generic/machine-gmon.h: Likewise.
33071         * sysdeps/generic/sysdep.h: Likewise.
33072         * sysdeps/i386/sysdep.h: Likewise.
33073         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33074         * sysdeps/mach/sysdep.h: Likewise.
33075         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33076         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33077         * sysdeps/sh/sysdep.h: Likewise.
33078         * sysdeps/sparc/sparc32/alloca.S: Likewise.
33079         * sysdeps/unix/i386/sysdep.S: Likewise.
33080         * sysdeps/unix/sparc/start.c: Likewise.
33081         * sysdeps/unix/sparc/sysdep.S: Likewise.
33082         * sysdeps/unix/sparc/sysdep.h: Likewise.
33083         * sysdeps/unix/start.c: Likewise.
33084         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33085         * sysdeps/x86_64/sysdep.h: Likewise.
33087 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
33089         [BZ #13553]
33090         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33091         for non-gcc.
33092         * argp/argp-fmtstream.h: Use const instead __const.
33093         * argp/argp.h: Likewise.
33094         * assert/assert.h: Likewise.
33095         * bits/fenv.h: Likewise.
33096         * bits/sched.h: Likewise.
33097         * bits/sigset.h: Likewise.
33098         * bits/sigthread.h: Likewise.
33099         * catgets/nl_types.h: Likewise.
33100         * conform/data/pthread.h-data: Likewise.
33101         * crypt/crypt-private.h: Likewise.
33102         * crypt/crypt.h: Likewise.
33103         * crypt/crypt_util.c: Likewise.
33104         * ctype/ctype.h: Likewise.
33105         * debug/execinfo.h: Likewise.
33106         * debug/mbsnrtowcs_chk.c: Likewise.
33107         * debug/mbsrtowcs_chk.c: Likewise.
33108         * debug/wcsnrtombs_chk.c: Likewise.
33109         * debug/wcsrtombs_chk.c: Likewise.
33110         * debug/wcstombs_chk.c: Likewise.
33111         * dirent/dirent.h: Likewise.
33112         * dlfcn/dlfcn.h: Likewise.
33113         * elf/neededtest4.c: Likewise.
33114         * grp/grp.h: Likewise.
33115         * gshadow/gshadow.h: Likewise.
33116         * iconv/gconv.h: Likewise.
33117         * iconv/gconv_int.h: Likewise.
33118         * iconv/gconv_simple.c: Likewise.
33119         * iconv/iconv.h: Likewise.
33120         * iconv/loop.c: Likewise.
33121         * iconv/skeleton.c: Likewise.
33122         * include/aio.h: Likewise.
33123         * include/aliases.h: Likewise.
33124         * include/argz.h: Likewise.
33125         * include/arpa/inet.h: Likewise.
33126         * include/assert.h: Likewise.
33127         * include/dirent.h: Likewise.
33128         * include/dlfcn.h: Likewise.
33129         * include/execinfo.h: Likewise.
33130         * include/fcntl.h: Likewise.
33131         * include/fenv.h: Likewise.
33132         * include/glob.h: Likewise.
33133         * include/grp.h: Likewise.
33134         * include/libintl.h: Likewise.
33135         * include/mntent.h: Likewise.
33136         * include/netdb.h: Likewise.
33137         * include/pwd.h: Likewise.
33138         * include/rpc/netdb.h: Likewise.
33139         * include/sched.h: Likewise.
33140         * include/search.h: Likewise.
33141         * include/shadow.h: Likewise.
33142         * include/signal.h: Likewise.
33143         * include/stdio.h: Likewise.
33144         * include/stdlib.h: Likewise.
33145         * include/string.h: Likewise.
33146         * include/sys/socket.h: Likewise.
33147         * include/sys/stat.h: Likewise.
33148         * include/sys/statfs.h: Likewise.
33149         * include/sys/statvfs.h: Likewise.
33150         * include/sys/syslog.h: Likewise.
33151         * include/sys/time.h: Likewise.
33152         * include/sys/uio.h: Likewise.
33153         * include/time.h: Likewise.
33154         * include/unistd.h: Likewise.
33155         * include/utmp.h: Likewise.
33156         * include/wchar.h: Likewise.
33157         * include/wctype.h: Likewise.
33158         * inet/aliases.h: Likewise.
33159         * inet/arpa/inet.h: Likewise.
33160         * inet/netinet/ether.h: Likewise.
33161         * inet/netinet/in.h: Likewise.
33162         * intl/libintl.h: Likewise.
33163         * io/bits/fcntl2.h: Likewise.
33164         * io/fcntl.h: Likewise.
33165         * io/ftw.h: Likewise.
33166         * io/sys/poll.h: Likewise.
33167         * io/sys/stat.h: Likewise.
33168         * io/sys/statfs.h: Likewise.
33169         * io/sys/statvfs.h: Likewise.
33170         * io/utime.h: Likewise.
33171         * libio/bits/stdio.h: Likewise.
33172         * libio/bits/stdio2.h: Likewise.
33173         * libio/libio.h: Likewise.
33174         * libio/libioP.h: Likewise.
33175         * libio/stdio.h: Likewise.
33176         * locale/lc-ctype.c: Likewise.
33177         * locale/locale.h: Likewise.
33178         * login/utmp.h: Likewise.
33179         * malloc/arena.c: Likewise.
33180         * malloc/malloc.c: Likewise.
33181         * malloc/malloc.h: Likewise.
33182         * malloc/mcheck.c: Likewise.
33183         * malloc/mtrace.c: Likewise.
33184         * math/bits/mathcalls.h: Likewise.
33185         * math/fenv.h: Likewise.
33186         * math/math_private.h: Likewise.
33187         * misc/bits/error.h: Likewise.
33188         * misc/bits/syslog.h: Likewise.
33189         * misc/err.h: Likewise.
33190         * misc/error.h: Likewise.
33191         * misc/fstab.h: Likewise.
33192         * misc/mntent.h: Likewise.
33193         * misc/regexp.h: Likewise.
33194         * misc/search.h: Likewise.
33195         * misc/sgtty.h: Likewise.
33196         * misc/sys/mman.h: Likewise.
33197         * misc/sys/syslog.h: Likewise.
33198         * misc/sys/uio.h: Likewise.
33199         * misc/sys/xattr.h: Likewise.
33200         * misc/ttyent.h: Likewise.
33201         * nis/rpcsvc/ypclnt.h: Likewise.
33202         * nss/nss.h: Likewise.
33203         * posix/bits/unistd.h: Likewise.
33204         * posix/fnmatch.h: Likewise.
33205         * posix/glob.h: Likewise.
33206         * posix/sched.h: Likewise.
33207         * posix/spawn.h: Likewise.
33208         * posix/sys/wait.h: Likewise.
33209         * posix/unistd.h: Likewise.
33210         * posix/wordexp.h: Likewise.
33211         * pwd/pwd.h: Likewise.
33212         * resolv/netdb.h: Likewise.
33213         * resource/sys/resource.h: Likewise.
33214         * rt/aio.h: Likewise.
33215         * rt/bits/mqueue2.h: Likewise.
33216         * rt/mqueue.h: Likewise.
33217         * shadow/shadow.h: Likewise.
33218         * signal/signal.h: Likewise.
33219         * socket/send.c: Likewise.
33220         * socket/sendto.c: Likewise.
33221         * socket/sys/socket.h: Likewise.
33222         * stdio-common/printf.h: Likewise.
33223         * stdlib/bits/stdlib.h: Likewise.
33224         * stdlib/fmtmsg.h: Likewise.
33225         * stdlib/monetary.h: Likewise.
33226         * stdlib/stdlib.h: Likewise.
33227         * stdlib/ucontext.h: Likewise.
33228         * streams/stropts.h: Likewise.
33229         * string/argz.h: Likewise.
33230         * string/bits/string2.h: Likewise.
33231         * string/string.h: Likewise.
33232         * string/strings.h: Likewise.
33233         * sunrpc/rpc/auth.h: Likewise.
33234         * sunrpc/rpc/auth_des.h: Likewise.
33235         * sunrpc/rpc/clnt.h: Likewise.
33236         * sunrpc/rpc/netdb.h: Likewise.
33237         * sunrpc/rpc/pmap_clnt.h: Likewise.
33238         * sunrpc/rpc/xdr.h: Likewise.
33239         * sysdeps/generic/inttypes.h: Likewise.
33240         * sysdeps/generic/net/if.h: Likewise.
33241         * sysdeps/generic/sys/swap.h: Likewise.
33242         * sysdeps/gnu/net/if.h: Likewise.
33243         * sysdeps/gnu/utmpx.h: Likewise.
33244         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33245         * sysdeps/i386/i486/bits/string.h: Likewise.
33246         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33247         * sysdeps/s390/bits/string.h: Likewise.
33248         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33249         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33250         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33251         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33252         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33253         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33254         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33255         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33256         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33257         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33258         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33259         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33260         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33261         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33262         * sysdeps/unix/sysv/linux/readv.c: Likewise.
33263         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33264         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33265         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33266         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33267         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33268         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33269         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33270         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33271         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33272         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33273         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33274         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33275         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33276         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33277         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33278         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33279         * sysvipc/sys/ipc.h: Likewise.
33280         * sysvipc/sys/msg.h: Likewise.
33281         * sysvipc/sys/sem.h: Likewise.
33282         * sysvipc/sys/shm.h: Likewise.
33283         * termios/termios.h: Likewise.
33284         * time/sys/time.h: Likewise.
33285         * time/time.h: Likewise.
33286         * wcsmbs/bits/wchar2.h: Likewise.
33287         * wcsmbs/uchar.h: Likewise.
33288         * wcsmbs/wchar.h: Likewise.
33289         * wctype/wctype.h: Likewise.
33291         [BZ #13551]
33292         * Makeconfig: Remove all but ELF support including AIX support.
33293         * Makerules: Likewise.
33294         * config.h.in: Likewise.
33295         * config.make.in: Likewise.
33296         * configure: Likewise.
33297         * configure.in: Likewise.
33298         * csu/Makefile: Likewise.
33299         * csu/version.c: Likewise.
33300         * debug/Makefile: Likewise.
33301         * dlfcn/Makefile: Likewise.
33302         * elf/Makefile: Likewise.
33303         * extra-lib.mk: Likewise.
33304         * iconv/Makefile: Likewise.
33305         * include/libc-symbols.h: Likewise.
33306         * include/shlib-compat.h: Likewise.
33307         * resolv/Makefile: Likewise.
33308         * resolv/res_libc.c: Likewise.
33309         * rt/Makefile: Likewise.
33310         * sysdeps/i386/asm-syntax.h: Likewise.
33311         * sysdeps/i386/sysdep.h: Likewise.
33312         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33313         * sysdeps/mach/sysdep.h: Likewise.
33314         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33315         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33316         * sysdeps/s390/asm-syntax.h: Likewise.
33317         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33318         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33319         * sysdeps/sh/sysdep.h: Likewise.
33320         * sysdeps/unix/sparc/sysdep.h: Likewise.
33321         * sysdeps/wordsize-32/divdi3.c: Likewise.
33322         * sysdeps/x86_64/sysdep.h: Likewise.
33324         * argp/Versions: Remove _argp_unlock_xxx.
33326         [BZ #13559]
33327         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
33328         * abilist/libBrokenLocale.abilist: Likewise.
33329         * abilist/libanl.abilist: Likewise.
33330         * abilist/libc.abilist: Likewise.
33331         * abilist/libcrypt.abilist: Likewise.
33332         * abilist/libdl.abilist: Likewise.
33333         * abilist/libm.abilist: Likewise.
33334         * abilist/libnsl.abilist: Likewise.
33335         * abilist/libpthread.abilist: Likewise.
33336         * abilist/libresolv.abilist: Likewise.
33337         * abilist/librt.abilist: Likewise.
33338         * abilist/libthread_db.abilist: Likewise.
33339         * abilist/libutil.abilist: Likewise.
33340         * abilist/libnss_db.abilist: New file.
33342         * scripts/abilist.awk: Add support for indirect functions.
33344         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33346         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33348         * shlib-versions: Remove entries for ports architectures.
33350         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
33351         files in ports.
33352         * elf/stackguard-macros.h: Remove support for IA-64.
33353         * elf/tst-auditmod1.c: Likewise.
33354         * sysdeps/generic/ldsodefs.h: Likewise.
33356         * sysdeps/unix/sysv/linux/configure.in: Ports should define
33357         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33358         configure files.
33360         [BZ #13552]
33361         * configure.in: Remove --enable-omitfp support.
33362         * FAQ.in: Adjust.
33363         * config.make.in: Likewise.
33364         * Makeconfig: Likewise.
33365         * manual/install.texi: Likewise.
33367         In case anyone cares, the IA-64 architecture could move to ports.
33368         * sysdeps/ia64/*: Removed.
33369         * sysdeps/unix/sysv/linux/ia64/*: Removed.
33370         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
33372         [BZ #13555]
33373         * configure.in: Remove entries for unsupported architectures.
33375         [BZ #13533]
33376         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33377         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
33378         routines.
33379         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33380         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33381         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
33382         fall back to using wcrtomb.
33383         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33384         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
33385         renaming.
33386         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33387         * wcsmbs/tst-c16c32-1.c: New file.
33389         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33390         local variable.
33392         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33394         * elf/tst-unique3.cc: Add explicit declaration of gets.
33395         * elf/tst-unique3lib.cc: Likewise.
33396         * elf/tst-unique3lib2.cc: Likewise.
33397         * elf/tst-unique4.cc: Likewise.
33399         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33401 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
33403         [BZ #13566]
33404         * assert/assert.h (static_assert): Don't define for C++.
33405         * libio/stdio.h (gets): Do declare for C++ <= C++11.
33406         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33408 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
33410         * iconv/loop.c (single loop): Fix assertion in storing of
33411         remaining bytes.
33413         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33415 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
33417         * posix/getconf.c: Update copyright year.
33418         * nss/getent.c: Likewise.
33419         * nss/makedb.c: Likewise.
33420         * iconv/iconvconfig.c: Likewise.
33421         * iconv/iconv_prog.c: Likewise.
33422         * elf/ldconfig.c: Likewise.
33423         * elf/pldd.c: Likewise.
33424         * elf/sotruss.ksh: Likewise.
33425         * catgets/gencat.c: Likewise.
33426         * csu/version.c: Likewise.
33427         * elf/ldd.bash.in: Likewise.
33428         * elf/sprof.c (print_version): Likewise.
33429         * locale/programs/locale.c: Likewise.
33430         * locale/programs/localedef.c: Likewise.
33431         * login/programs/pt_chown.c: Likewise.
33432         * nscd/nscd.c (print_version): Likewise.
33433         * debug/xtrace.sh: Likewise.
33434         * malloc/memusage.sh: Likewise.
33435         * malloc/mtrace.pl: Likewise.
33436         * debug/catchsegv.sh: Likewise.
33438 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
33440         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33441         pure attribute.
33443 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
33445         [BZ #13533]
33446         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33447         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33448         transformations.
33449         * iconv/gconv_int.h: Likewise.
33450         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33451         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33452         from libc for GLIBC_2.16.
33453         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33454         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33455         * wcsmbs/uchar.h: Really define mbstate_t.
33456         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33457         * wcsmbs/c16rtomb.c: New file.
33458         * wcsmbs/mbrtoc16.c: New file.
33459         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33460         for C/POSIX locale.
33461         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33462         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33464         * wcsmbs/wchar.h: Add missing __restrict.
33466 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
33468         [BZ #13532]
33469         * time/Makefile (routines): Add timespec_get.
33470         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33471         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
33472         timespec for ISO C11.
33473         * time/timespec_get.c: New file.
33474         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33475         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33477         [BZ #13531]
33478         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33479         * stdlib/stdlib.h: Declare aligned_alloc.
33480         * Versions.def: Add GLIBC_2.16 for libc.
33481         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33483         [BZ 13527]
33484         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33485         ISO C11.
33487         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
33488         code.
33490         [BZ #13528]
33491         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33493         [BZ #13529]
33494         * assert/assert.h (static_assert): Define.
33496         * version.h: Update for 2.16 development version.
33498         [BZ #13526]
33499         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33500         _ISOC11_SOURCE.
33502         * version.h (RELEASE): Bump for 2.15 release.
33503         * include/features.h (__GLIBC_MINOR__): Bump to 15.
33505         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33506         Patch by Marek Polacek <mpolacek@redhat.com>.
33508         * bits/byteswap.h: Protect long long constants with __extension__.
33509         * sysdeps/i386/bits/byteswap.h: Likewise.
33510         * sysdeps/ia64/bits/byteswap.h: Likewise.
33511         * sysdeps/s390/bits/byteswap.h: Likewise.
33512         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33514 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33516         [BZ #13540]
33517         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33518         destination buffer.
33519         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33521 2011-12-23  Marek Polacek  <polacek@redhat.com>
33523         * elf/dl-addr.c (determine_info): Add inline keyword.
33524         * elf/tst-auditmod4b.c (check_avx): Likewise.
33525         * elf/tst-auditmod6b.c (check_avx): Likewise.
33526         * elf/tst-auditmod6c.c (check_avx): Likewise.
33527         * elf/tst-auditmod7b.c (check_avx): Likewise.
33529 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
33531         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33532         !__SSE_MATH__.
33534 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33536         [BZ #13540]
33537         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33538         processing for last bytes.
33540 2011-08-06  Bruno Haible  <bruno@clisp.org>
33542         [BZ #13061]
33543         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33544         U+0385, not to U+1FEE.
33546         [BZ #13062]
33547         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33548         entry for U+00A5 U+0301.
33550 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
33552         [BZ #13166]
33553         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33554         buffer for the output is too small.
33556         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33557         optimization.
33559         [BZ #13185]
33560         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33561         SSE flags if possible.
33563 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33565         [BZ #13540]
33566         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33567         processing for last bytes.
33569 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
33571         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33572         (syscall-list-default-options, syscall-list-default-condition)
33573         (syscall-list-includes): Define.
33574         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33575         list of ABIs and options and #if conditions for each ABI.  Do not
33576         handle common syscalls between ABIs specially.
33577         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33578         Remove.
33579         (syscall-list-variants, syscall-list-32bit-options)
33580         (syscall-list-32bit-condition, syscall-list-64bit-options)
33581         (syscall-list-64bit-condition): Define.
33582         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33583         (syscall-list-variants, syscall-list-32bit-options)
33584         (syscall-list-32bit-condition, syscall-list-64bit-options)
33585         (syscall-list-64bit-condition): Define.
33586         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33587         Remove.
33588         (syscall-list-variants, syscall-list-32bit-options)
33589         (syscall-list-32bit-condition, syscall-list-64bit-options)
33590         (syscall-list-64bit-condition): Define.
33591         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33592         Remove.
33593         (syscall-list-variants, syscall-list-32bit-options)
33594         (syscall-list-32bit-condition, syscall-list-64bit-options)
33595         (syscall-list-64bit-condition): Define.
33597 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
33599         * locale/iso-639.def: Add brx entry.
33601         [BZ #13328]
33602         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33603         Proposed by Mariusz_Cukr <marcukr@op.pl>.
33605         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33606         __feraiseexcept_renamed.
33608 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
33610         [BZ #13538]
33611         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33612         EPOLLET with unsigned values.
33613         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33614         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33616         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33617         to large cancellation.
33618         * math/s_cacoshf.c: Likewise.
33619         * math/s_cacoshl.c: Likewise.
33621 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
33623         [BZ #13305]
33624         [BZ #12786]
33625         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33626         * math/s_cacoshf.c: Likewise.
33627         * math/s_cacoshl.c: Likewise.
33629 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
33631         [BZ #13439]
33632         * iconv/gconv.h: Define __GCONV_SWAP.
33633         * iconvdata/unicode.c: The swap bit must be stored in __flags.
33634         * iconvdata/utf-16.c: Likewise.
33635         * iconvdata/utf-32.c: Likewise.
33637 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
33639         [BZ #13524]
33640         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33641         numerator after shifting it by one limb.
33643 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
33645         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33646         under [__USE_EXTERN_INLINES].
33648 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
33650         [BZ #13446]
33651         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33653 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33655         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33656         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33657         optimized code.
33658         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33659         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33660         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33661         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33662         for strncasecmp/strncasecmp_l compilation.
33663         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33664         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33666 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
33668         [BZ #13484]
33669         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33670         of __asm__.
33672 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
33674         [BZ #13506]
33675         * time/tzfile.c (__tzfile_read): Check values from file header.
33677 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
33679         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33680         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33681         * powerpc/powerpc32/dl-start.S: Likewise.
33682         * powerpc/powerpc32/elf/start.S: Likewise.
33683         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33684         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33685         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33686         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33687         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33688         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33689         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33690         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33691         * powerpc/powerpc32/fpu/s_round.S: Likewise.
33692         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33693         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33694         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33695         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33696         * powerpc/powerpc32/memset.S: Likewise.
33697         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33698         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33699         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33700         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33701         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33702         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33703         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33704         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33705         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33706         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33707         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33708         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33709         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33711 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33713         * math/libm-test.inc: Added more nearbyint tests.
33714         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33715         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33716         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33717         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33719 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
33721         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33722         FD_CLOEXEC.
33724 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33726         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33727         Add wcscpy-ssse3 wcscpy-c.
33728         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33729         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33730         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33731         * sysdeps/x86_64/wcschr.S: New file.
33732         * sysdeps/x86_64/wcsrchr.S: New file.
33733         * string/test-strcmp.c: Remove checking of wcscmp function for
33734         wrong alignments.
33735         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33736         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33737         wcsrchr-sse2 wcsrchr-c.
33738         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33739         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33740         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33741         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33742         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33743         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33744         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33745         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33746         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33747         * wcsmbc/wcschr.c (WCSCHR): New macro.
33749 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33751         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33752         * wcsmbs/test-wcsrchr.c: New file.
33753         * string/test-strrchr.c: Add wcsrchr support.
33754         (WIDE): New macro.
33755         * wcsmbs/test-wcscpy.c: New file.
33756         * string/test-strcpy.c: Add wcscpy support.
33757         (WIDE): New macro.
33759 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
33761         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33762         the inner loop.
33764 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
33766         [BZ #13472]
33767         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33769 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
33771         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33772         Minor optimizations.
33774         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33775         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33776         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33778 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
33780         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33781         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33782         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33783         for gcc to avoid warnings.
33784         * inet/Makefile (tests): Add tst-checks.
33785         * inet/tst-checks.c: New file.
33787         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33788         warning.
33790         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33791         __wmemcmp_sse2.
33793         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33794         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33796         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33798 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
33800         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33801         problem.
33803         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33805 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
33807         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33808         conditional on GCC version.
33809         (__arch_compare_and_exchange_val_8_acq)
33810         (__arch_compare_and_exchange_val_16_acq)
33811         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33812         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33813         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33815 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
33817         * sysdeps/sh/backtrace.c: New file.
33819 2011-12-02  Andreas Schwab  <schwab@redhat.com>
33821         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
33822         parenthesis.
33824 2011-12-01  Andreas Schwab  <schwab@redhat.com>
33826         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33827         falling back to utime.
33829 2011-11-30  Andreas Schwab  <schwab@redhat.com>
33831         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33832         expectations for float.
33834 2011-11-29  Andreas Schwab  <schwab@redhat.com>
33836         * locale/weight.h (findidx): Add parameter len.
33837         * locale/weightwc.h (findidx): Likewise.
33838         * posix/fnmatch_loop.c (FCT): Adjust caller.
33839         * posix/regcomp.c (build_equiv_class): Likewise.
33840         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33841         * posix/regexec.c (check_node_accept_bytes): Likewise.
33842         * string/strcoll_l.c (STRCOLL): Likewise.
33843         * string/strxfrm_l.c (STRXFRM): Likewise.
33845 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
33847         * Makefile.in: Remove CVSOPT handling.
33848         * configure.in: Remove use of AC_REVISION.
33849         * iconvdata/Makefile (distribute): No need to filter out CVS.
33850         * scripts/list-sources.sh: Remove CVS, subversion and monotone
33851         handling.
33853 2011-11-16  Andreas Schwab  <schwab@redhat.com>
33855         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33856         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33857         [USE_AS_STRNCASECMP_L]: Likewise.
33858         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33859         NO_TLS_DIRECT_SEG_REFS.
33860         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33861         Fix argument offsets for non-PIC.
33862         [USE_AS_STRNCASECMP_L]: Likewise.
33863         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33864         NO_TLS_DIRECT_SEG_REFS.
33866 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
33868         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33869         O_CLOEXEC.
33870         * locale/loadlocale.c (_nl_load_locale): Likewise.
33872 2011-11-15  Andreas Schwab  <schwab@redhat.com>
33874         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33875         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33876         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33877         (SYSCALL_GETTIME): Set errno on error.
33879         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33880         count references to noai6ai_cached.
33882 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
33884         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33886         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33887         FD_CLOEXEC for /proc/self/maps.
33889         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33890         FD_CLOEXEC for /proc/meminfo.
33892         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33893         gai.conf.
33895         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
33896         FD_CLOEXEC for given file.
33898         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33900         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33901         FD_CLOEXEC for /etc/hosts.
33902         (_gethtent): Likewise.
33904         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33906         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33907         cancellation and set FD_CLOEXEC for /etc/netgroup.
33909         * nss/nss_files/files-key.c (search): Don't allow cancellation when
33910         reading /etc/publickey.
33912         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33913         allow cancellation when reading /etc/group.
33915         * nss/nss_files/files-alias.c (internal_setent): Don't allow
33916         cancellation.
33917         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
33919         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33920         when using data file.
33922         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33924         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33925         (write_nis_obj): Use "c" and "e" in fopen.
33927         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33929         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33931         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33933         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33935         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33936         locale.alias.
33938         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33940         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33942         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33944         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33945         file parsing and set FD_CLOEXEC.
33947 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
33949         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33951 2011-11-14  Andreas Schwab  <schwab@redhat.com>
33953         * malloc/arena.c (arena_get2): Don't call reused_arena when
33954         _int_new_arena failed.
33956 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
33958         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33959         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33960         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33961         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33962         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33963         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33964         to compile strcasecmp and strncasecmp.
33965         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33966         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33968         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33970 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
33972         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33973         locale-defines.sym to gen-as-const-headers.
33974         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33975         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33976         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33977         to compile strcasecmp and strncasecmp.
33978         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33979         strcasecmp_l and strncasecmp_l.
33980         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33981         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33982         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33983         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33984         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33985         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33986         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33987         * sysdeps/i386/i686/multiarch/strncase.S: New file.
33988         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33989         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33990         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33992 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
33994         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33995         result of SYSDEP_GETTIME_CPU to retval.
33996         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33997         parameter list to macro.  Remove trailing semicolon.  Adjust users.
33999         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
34000         variable.
34002         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
34003         mantissa words.
34004         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34006         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
34007         from unused variable.
34009         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
34010         DWARF definitions.
34011         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
34012         for assembling.
34014         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
34015         over namespaces.
34017         * sunrpc/rpc_prot.c (rejected): Fix case value.
34019         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
34020         unsigned long long int to avoid warnings in shift.
34022         * posix/regex_internal.c (re_string_reconstruct): Actually use result
34023         of use of trans.
34024         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
34025         variable tmp.
34027         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
34028         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34029         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34031         * nis/nis_table.c (nis_list): Use variable of correct type for
34032         result of __follow_path call.
34034 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34036         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34037         of math functions ceil, trunc, floor, round, and sqrt, when
34038         avaliable on the platform.
34039         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34040         name clash.
34041         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34042         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34043         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34045 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
34047         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34048         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34050 2011-11-11  Roland McGrath  <roland@hack.frob.com>
34052         * include/unistd.h: Fix __readlink return type.
34053         Reported by Chris Metcalf <cmetcalf@tilera.com>.
34055 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
34057         * stdlib/ucontext.h: Undo last change for makecontext.
34059 2011-11-11  Andreas Schwab  <schwab@redhat.com>
34061         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34063         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34064         * setjmp/setjmp.h: Mark functions as non-leaf.
34065         * setjmp/bits/setjmp2.h: Likewise.
34066         * stdlib/ucontext.h: Likewise.
34068 2011-11-10  Andreas Schwab  <schwab@redhat.com>
34070         * malloc/arena.c (_int_new_arena): Don't increment narenas.
34071         (reused_arena): Don't check arena limit.
34072         (arena_get2): Atomically check arena limit.
34074 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
34076         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34077         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34079         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34080         instructions.
34082 2011-11-07  Andreas Schwab  <schwab@redhat.com>
34084         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34085         handler when locking.
34087         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34088         Fix size of allocated buffer.
34090 2011-11-04  Andreas Schwab  <schwab@redhat.com>
34092         [BZ #10103]
34093         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34094         declarations for long double functions.
34095         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34097         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34099 2011-11-03  Andreas Schwab  <schwab@redhat.com>
34101         * nscd/nscd.c (main): Don't start AVC thread until credentials are
34102         installed.
34104         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34105         is disabled.
34107 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34109         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34111 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34113         * include/alloca.h (stackinfo_alloca_round): Define.
34114         (extend_alloca): Use it.
34115         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34116         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34117         here.
34119         * scripts/check-local-headers.sh: Ignore libaudit.h.
34121         * nscd/Makefile (extra-objs): Make recursively expanded.
34123 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
34125         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34126         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34128         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34129         * posix/tst-rfc3484-2.c: Likewise.
34130         * posix/tst-rfc3484-3.c: Likewise.
34132         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34133         process_vm_writev.
34134         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34135         process_vm_writev.
34136         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34137         process_vm_writev from libc using GLIBC_2.15 version.
34139         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34141 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
34143         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34144         stack usage.
34146 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
34148         [BZ #13367]
34149         * nss/getent.c (initgroups_keys): Show error message in case no group
34150         names are given.
34152         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34153         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34154         __bump_nl_timestamp.
34155         * nscd/connections (nscd_init): When host database is served open
34156         netlink socket and request notification about configuration changes.
34157         (main_loop_poll): Track netlink file descriptor and bump timestamp
34158         in case data becomes available.
34159         (main_loop_epoll): Likewise.
34160         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34161         (database_pers_head): Add extra_data fileds.
34162         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34163         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34164         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34165         Adjust caller.
34166         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34167         in6ai data, call __free_in6ai.
34168         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34169         Add -DHAVE_NETLINK.
34170         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
34171         interface information.  Reuse previous data if netlink timestamp
34172         is not changed.
34173         (__bump_nl_timestamp): New function.
34174         (__free_in6ai): New function.
34176 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
34178         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34179         close_not_cancel_no_status here.
34180         (__check_pf): Reorganize code a bit to not call close twice if OOM.
34182 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
34184         [BZ #13276]
34185         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34186         return value.
34188         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
34189         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34190         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34192 2011-07-03  Andreas Jaeger  <aj@suse.de>
34194         [BZ #10709]
34195         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34196         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34197         * math/libm-test.inc (sin_test): Add test case.
34199 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
34201         [BZ #13337]
34202         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34203         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34205         * elf/chroot_canon.c (chroot_canon): Cleanups.
34207         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34209         [BZ #13335]
34210         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34211         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34213         * string/test-strchr.c: Make usable for strchrnul testing.
34214         * string/test-strchrnul.c: New file.
34215         * string/Makefile (strop-tests): Add strchrnul.
34217         * po/it.po: Update from translation team.
34218         * po/es.po: Likewise.
34220 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
34222         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34223         the three constants needed as parameters.  Drop the others.
34224         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34225         __m128i_strloadu_tolower.
34226         Create and initialize variable zero and use it in all the places
34227         where _mm_setzero_si128 was used.
34229         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34230         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34231         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34232         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34233         anymore.
34234         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34235         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34236         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34237         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34238         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34239         __mpranred, __mptan.
34240         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34241         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34242         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34243         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34244         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34245         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34246         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34247         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34248         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34250 2011-10-28  Andreas Schwab  <schwab@redhat.com>
34252         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34253         redefine if SHARED.
34254         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34256         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34257         wide char related routines to wcsmbs subdir.
34259 2011-10-27  Andreas Schwab  <schwab@redhat.com>
34261         [BZ #13344]
34262         * misc/sys/cdefs.h (__THROWNL): Define.
34263         * posix/unistd.h: Use __THREADNL instead of __THREAD
34264         for memory synchronization functions.
34266 2011-10-26  Roland McGrath  <roland@hack.frob.com>
34268         [BZ #13349]
34269         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34270         doesn't exist.
34271         * manual/stdio.texi (Obstack Streams): Node removed.
34273 2011-10-26  Andreas Schwab  <schwab@redhat.com>
34275         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34276         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34277         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34279         * math/math_private.h (math_force_eval): Allow non-addressable
34280         arguments.
34281         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34283 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
34285         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34286         file is not needed.
34288         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34289         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34290         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34291         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34292         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34293         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34294         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34295         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34296         Add AVX variants.
34297         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34298         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34299         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34300         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34301         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34302         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34303         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34304         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34305         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34306         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34307         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34308         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34309         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34310         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34311         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34312         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34313         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34314         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34315         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34317         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34318         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
34320         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34321         place.  Use VEX encoding when compiling for AVX.
34323 2011-10-25  Andreas Schwab  <schwab@redhat.com>
34325         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34326         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34328         * string/test-strchr.c (do_test): Don't generate NUL bytes.
34330 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
34332         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
34333         useless if() expression.
34334         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34335         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34336         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34337         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34338         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34339         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34340         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34341         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34342         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34343         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34344         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34345         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34346         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34347         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34348         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34349         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34350         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34351         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34352         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34354         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34356 2011-10-25  Andreas Schwab  <schwab@redhat.com>
34358         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34359         condition.
34360         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34362 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
34364         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34365         .text section.  Avoid duplicate constants.
34366         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34367         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34368         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34369         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34370         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34371         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34372         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34373         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34374         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34375         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34376         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34377         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34378         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34379         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34380         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34381         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34382         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34383         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34384         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34385         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34386         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34387         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34388         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34389         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34390         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34391         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34392         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34393         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34394         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34395         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34396         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34397         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34398         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34399         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34400         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34401         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34402         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34403         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34404         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34405         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34406         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34407         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34408         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34409         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34410         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34412 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
34414         * sysdeps/x86_64/dla.h: Move to ...
34415         * sysdeps/x86_64/fpu/dla.h: ...here.
34416         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34417         situations.  Use __builtin_fma only for gcc 4.6 and up.
34419         * config.make.in: Add have-mfma4 entry.
34420         * configure.in: Substitute libc_cv_cc_fma4.
34421         * math/Makefile (dbl-only-routines): Add sincostab.
34422         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34423         Use __sincostab not sincos.
34424         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34425         name is a macro.
34426         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34427         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34428         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34429         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
34430         using __copysign.
34431         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
34432         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
34433         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34434         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34435         and __inv.
34436         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34437         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34438         __copysign.
34439         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
34440         define aliases when function name is a macro.
34441         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34442         sysdeps/ieee754/dbl-64/sincos.tbl.
34443         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34444         fma4-enabled routines.
34445         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34446         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34447         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34448         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34449         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34450         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34451         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34452         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34453         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34454         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34455         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34456         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34457         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34458         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34459         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34460         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34461         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34462         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34463         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34464         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34465         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34466         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34467         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34468         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34469         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34470         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34471         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34472         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34473         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34474         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34476         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34477         rename.
34478         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34479         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34480         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34481         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34482         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34483         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34484         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34485         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34487 2011-10-24  Andreas Schwab  <schwab@redhat.com>
34489         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34491 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
34493         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34495         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34496         prediction.
34497         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34499         * string/strnlen.c: Don't define STRNLEN, reverse logic.
34500         Remove unused variable magic_bits.
34501         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34503         * string/strnlen.c: Define and use STRNLEN macro.
34504         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34505         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34506         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34507         * wcsmbs/wcslen.c: Define and use WCSLEN.
34508         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34509         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34510         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34511         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34512         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34513         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34514         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34516 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34518         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34519         strnlen-sse2-no-bsf.
34520         Rename strlen-no-bsf to strlen-sse2-no-bsf.
34521         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34522         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34523         Add strnlen support.
34524         (USE_AS_STRNLEN): New macro.
34525         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34526         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34527         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34528         * sysdeps/x86_64/wcslen.S: New file.
34530 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
34532         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34533         XMM-moves are used for copying on small sizes.
34535 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34537         * wcsmbs/Makefile (strop-tests): Add wcschr.
34538         * wcsmbs/test-wcschr.c: New file.
34539         * string/test-strchr.c: Update.
34540         Add wcschr support.
34541         (WIDE): New macro.
34543 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34545         * wcsmbs/Makefile (strop-tests): Add wcslen.
34546         * wcsmbs/test-wcslen.c: New file.
34547         * string/test-strlen.c: Update.
34548         Add wcslen support.
34549         (WIDE): New macro.
34551 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
34553         * po/it.po: Update from translation team.
34555 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34557         * sysdeps/x86_64/wcscmp.S: Update.
34558         Fix wrong comparison semantics.
34559         wcscmp shall use signed comparison not unsigned.
34560         Don't use substraction to avoid overflow bug.
34561         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34562         * wcsmbc/wcscmp.c: Likewise.
34563         * string/test-strcmp.c: Likewise.
34564         Add new tests to check cases with negative values.
34566 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
34568         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34569         * sysdeps/x86_64/dla.h: ...here.  New file.
34570         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34571         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34572         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34573         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34574         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34575         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34576         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34577         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34578         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34580 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
34582         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34583         __ynl_finite aliases.
34585 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
34587         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34589         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34590         define DLA_FMA.
34591         [DLA_FMA] (EMULV): Use DLA_FMA.
34592         [DLA_FMA] (MUL12): Use EMULV.
34593         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34594         that are not needed.
34595         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34596         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34597         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34598         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34599         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34600         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34601         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34603 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
34605         * math/s_nan.c: Undef __nan.
34606         * math/s_nanf.c: Undef __nanf.
34607         * math/s_nanl.c: Undef __nanl.
34608         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34609         "math_private.h".
34611 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
34613         * math/s_catan.c: Add branch predictions.
34614         * math/s_catanf.c: Likewise.
34615         * math/s_catanh.c: Likewise.
34616         * math/s_catanhf.c: Likewise.
34617         * math/s_catanhl.c: Likewise.
34618         * math/s_catanl.c: Likewise.
34619         * math/s_cexp.c: Likewise.
34620         * math/s_cexpf.c: Likewise.
34621         * math/s_cexpl.c: Likewise.
34622         * math/s_clog.c: Likewise.
34623         * math/s_clog10.c: Likewise.
34624         * math/s_clog10f.c: Likewise.
34625         * math/s_clog10l.c: Likewise.
34626         * math/s_clogf.c: Likewise.
34627         * math/s_clogl.c: Likewise.
34628         * math/s_csqrt.c: Likewise.
34629         * math/s_csqrtf.c: Likewise.
34630         * math/s_csqrtl.c: Likewise.
34631         * math/s_ctanf.c: Likewise.
34632         * math/s_ctanh.c: Likewise.
34633         * math/s_ctanhf.c: Likewise.
34634         * math/s_ctanhl.c: Likewise.
34635         * math/s_ctanl.c: Likewise.
34637         * math/math_private.h: Define __nan, __nanf, __nanl.
34638         * math/s_cacosh.c: Include <math_private.h>.
34639         * math/s_cacoshl.c: Likewise.
34640         * math/s_casinh.c: Likewise.
34641         * math/s_casinhf.c: Likewise.
34642         * math/s_casinhl.c: Likewise.
34643         * math/s_ccos.c: Rely entire on ccosh.
34644         * math/s_ccosf.c: Rely entire on ccoshf.
34645         * math/s_ccosl.c: Rely entirely on ccoshl.
34646         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
34647         Remove tests for FE_INVALID.
34648         * math/s_ccoshf.c: Likewise.
34649         * math/s_ccoshl.c: Likewise.
34650         * math/s_csin.c: Likewise.
34651         * math/s_csinf.c: Likewise.
34652         * math/s_csinh.c Likewise.
34653         * math/s_csinhf.c: Likewise.
34654         * math/s_csinhl.c: Likewise.
34655         * math/s_csinl.c: Likewise.
34656         * math/s_ctan.c: Likewise.
34657         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34658         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34659         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34661 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
34663         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34664         compilation problems.
34666         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34667         __builtin_expect.
34669 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
34671         * sysdeps/i386/configure.in: Test for -mfma4 option.
34672         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34673         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34674         COMMON_CPUID_INDEX_80000001.
34675         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34676         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34677         use it if FMA3 is not supported.
34678         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34680         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34681         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34683 2011-10-20  Andreas Schwab  <schwab@redhat.com>
34685         [BZ #12892]
34686         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34687         it would create a cycle with a link time dependency.
34689 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
34691         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34692         instruction.
34693         * string/Makefile (strop-tests): Add rawmemchr.
34694         * string/test-rawmemchr.c: New file.
34696         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34697         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
34698         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
34699         when compiling str{,n}casecmp and when AVX is available.  Hook up
34700         new optimized code in initializers.
34702 2011-10-19  Andreas Schwab  <schwab@redhat.com>
34704         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34705         __feraiseexcept instead of feraiseexcept.
34707 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
34709         * math/math_private.h: Define defaults for libc_fetestexcept and
34710         libc_feupdateenv.
34711         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34712         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34713         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34714         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34715         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34716         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34717         libc_fetestexcept and libc_feupdateenv.
34719         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34720         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34721         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34722         * sysdeps/x86_64/fpu/math_private.h: Define special version of
34723         libc_feholdexcept_setround.
34725         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34726         Add s_nearbyint-c and s_nearbyintf-c.
34727         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34728         nearbyintf inlines.
34729         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34730         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34731         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34732         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34734         * math/math_private.h: Define defaults for libc_fegetround,
34735         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34736         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34737         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34738         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34739         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34740         standard functions.
34741         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34742         Remove comments and hacks for old compiler versions.
34743         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34744         libc_fegetround, libc_fesetround, libc_feholdexcept, and
34745         libc_feholdexceptl.
34747 2011-10-18  Andreas Schwab  <schwab@redhat.com>
34749         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
34750         (__feraiseexcept_renamed): Add __NTH.
34751         (feraiseexcept): Add __NTH.  Rename local variables to fix
34752         namespace violations.
34754 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
34756         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34758         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34760         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34761         recently added interfaces.
34762         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34764         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34765         about macro parameter expansion.
34767         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34768         __NO_MATH_INLINES is defined.  Cleanups.
34770         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34771         and __floorf is target has SSE4.1.
34772         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34773         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34774         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34775         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34777         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34778         name.
34779         (floorf): Likewise.
34781         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34783 2011-10-17  Andreas Schwab  <schwab@redhat.com>
34785         * misc/sys/cdefs.h: Fix last change.
34787         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34788         database lookup.
34790 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
34792         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34794         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34795         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34796         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34797         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34798         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34799         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34800         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34801         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34802         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34803         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34804         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34805         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34806         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34807         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34808         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34809         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34810         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34811         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34812         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34813         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34814         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34815         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34817         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34818         ceil, ceilf, floor, floorf.
34820         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34821         Perform IRELATIVE relocations last.
34823         * elf/do-rel.h: Add another parameter nrelative, replacing the
34824         local variable with the same name.  Change name of the function
34825         to end in Rel or Rela (uppercase).
34826         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34827         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
34828         elf_dynamic_do_##reloc function.
34830 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
34832         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34833         is sufficient, at least on modern CPUs.
34835         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34837         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34838         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34840         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34841         __expl_finite.
34842         * math/bits/math-finite.h: Add entries for exp.
34843         * math/e_expl.c: Add __*_finite alias.
34844         * sysdeps/i386/fpu/e_exp.S: Likewise.
34845         * sysdeps/i386/fpu/e_expf.S: Likewise.
34846         * sysdeps/i386/fpu/e_expl.c: Likewise.
34847         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34848         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34849         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34850         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34851         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34852         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34853         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34855         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34856         is sufficient, at least on modern CPUs.
34858         * ctype/ctype-info.c (__ctype_init): Define.
34859         * include/ctype.h (__ctype_init): Declare.
34860         (__ctype_b_loc): The variable is always initialized.
34861         (__ctype_toupper_loc): Likewise.
34862         (__ctype_tolower_loc): Likewise.
34863         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34864         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34866 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
34868         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34870         * configure.in: Also look in $cxxmachine/include for C++ system
34871         headers.
34873 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34875         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34876         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34877         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34878         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
34879         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34880         (USE_AS_WMEMCMP): New macro.
34881         Fixing indents.
34882         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34883         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34884         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34885         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34886         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34887         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34888         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34889         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34890         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34891         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34892         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34893         (USE_AS_WMEMCMP): New macro.
34894         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34895         * sysdeps/string/test-memcmp.c: Update.
34896         Fix simple_wmemcmp.
34897         Add new tests.
34898         * wcsmbs/wmemcmp.c: Update.
34899         (WMEMCMP): New macro.
34900         Fix overflow bug.
34902 2011-10-12  Andreas Jaeger  <aj@suse.de>
34904         [BZ #13268]
34905         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34907 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
34909         * libio/iofwide.c (do_length): Avoid warning.
34911         * ctype/ctype.h (__isctype_f): Add missing __THROW.
34913 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
34915         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34917         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34918         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34919         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34920         * sysdeps/i386/i686/fpu/e_log.S: New file.
34921         * sysdeps/i386/i686/fpu/e_logf.S: New file.
34922         * sysdeps/i386/i686/fpu/e_logl.S: New file.
34924         * ctype/ctype.h: Add support for inlined isXXX functions when
34925         compiling C++ code.
34927 2011-10-14  Andreas Schwab  <schwab@redhat.com>
34929         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34931         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34933 2011-10-13  Roland McGrath  <roland@hack.frob.com>
34935         [BZ #13291]
34936         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34938 2011-10-13  Andreas Schwab  <schwab@redhat.com>
34940         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34941         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34942         feraiseexcept.
34944         * sysdeps/x86_64/memrchr.S: Check for zero size.
34946         * string/stratcliff.c: Add memrchr tests.
34948 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34950         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34951         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34952         rawmemchr-sse2 rawmemchr-sse2-bsf.
34953         * sysdeps/i386/i686/multiarch/memchr.S: New file.
34954         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34955         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34956         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34957         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34958         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34959         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34960         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34961         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34962         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34963         * string/memrchr.c (MEMRCHR): New macro.
34965 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
34967         Add integration with gcc's -ffinite-math-only and optimize wrapper
34968         functions in libm.
34969         * Versions.def: Define GLIBC_2.15 version for libm.
34970         * math/Makefile (headers): Add bits/math-finite.h.
34971         * math/bits/math-finite.h: New file.
34972         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34973         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34974         * math/e_acoshl.c: Add __*_finite alias.
34975         * math/e_acosl.c: Likewise.
34976         * math/e_asinl.c: Likewise.
34977         * math/e_atan2l.c: Likewise.
34978         * math/e_atanhl.c: Likewise.
34979         * math/e_coshl.c: Likewise.
34980         * math/e_exp10.c: Likewise.
34981         * math/e_exp10f.c: Likewise.
34982         * math/e_exp10l.c: Likewise.
34983         * math/e_exp2l.c: Likewise.
34984         * math/e_fmodl.c: Likewise.
34985         * math/e_gammal_r.c: Likewise.
34986         * math/e_hypotl.c: Likewise.
34987         * math/e_j0l.c: Likewise.
34988         * math/e_j1l.c: Likewise.
34989         * math/e_jnl.c: Likewise.
34990         * math/e_lgammal_r.c: Likewise.
34991         * math/e_log10l.c: Likewise.
34992         * math/e_log2l.c: Likewise.
34993         * math/e_logl.c: Likewise.
34994         * math/e_powl.c: Likewise.
34995         * math/e_sinhl.c: Likewise.
34996         * math/e_sqrtl.c: Likewise.
34997         * math/e_scalb.c: Completely rewritten and optimized.
34998         * math/e_scalbf.c: Likewise.
34999         * math/e_scalbl.c: Likewise.
35000         * math/w_acos.c: Likewise.
35001         * math/w_acosf.c: Likewise.
35002         * math/w_acosl.c: Likewise.
35003         * math/w_acosh.c: Likewise.
35004         * math/w_acoshf.c: Likewise.
35005         * math/w_acoshl.c: Likewise.
35006         * math/w_asin.c: Likewise.
35007         * math/w_asinf.c: Likewise.
35008         * math/w_asinl.c: Likewise.
35009         * math/w_atan2.c: Likewise.
35010         * math/w_atan2f.c: Likewise.
35011         * math/w_atan2l.c: Likewise.
35012         * math/w_atanh.c: Likewise.
35013         * math/w_atanhf.c: Likewise.
35014         * math/w_atanhl.c: Likewise.
35015         * math/w_exp10.c: Likewise.
35016         * math/w_exp10f.c: Likewise.
35017         * math/w_exp10l.c: Likewise.
35018         * math/w_fmod.c: Likewise.
35019         * math/w_fmodf.c: Likewise.
35020         * math/w_fmodl.c: Likewise.
35021         * math/w_j0.c: Likewise.
35022         * math/w_j0f.c: Likewise.
35023         * math/w_j0l.c: Likewise.
35024         * math/w_j1.c: Likewise.
35025         * math/w_j1f.c: Likewise.
35026         * math/w_j1l.c: Likewise.
35027         * math/w_jn.c: Likewise.
35028         * math/w_jnf.c: Likewise.
35029         * math/w_log.c: Likewise.
35030         * math/w_logf.c: Likewise.
35031         * math/w_logl.c: Likewise.
35032         * math/w_log10.c: Likewise.
35033         * math/w_log10f.c: Likewise.
35034         * math/w_log10l.c: Likewise.
35035         * math/w_log2.c: Likewise.
35036         * math/w_log2f.c: Likewise.
35037         * math/w_log2l.c: Likewise.
35038         * math/w_pow.c: Likewise.
35039         * math/w_powf.c: Likewise.
35040         * math/w_powl.c: Likewise.
35041         * math/w_remainder.c: Likewise.
35042         * math/w_remainderf.c: Likewise.
35043         * math/w_remainderl.c: Likewise.
35044         * math/w_scalb.c: Likewise.
35045         * math/w_scalbf.c: Likewise.
35046         * math/w_scalbl.c: Likewise.
35047         * math/w_sqrt.c: Likewise.
35048         * math/w_sqrtf.c: Likewise.
35049         * math/w_sqrtl.c: Likewise.
35050         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35051         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
35052         used.
35053         * math/math_private.h: Declare __kernel_standard_f.
35054         * math/w_cosh.c: Remove cruft and optimize a bit.
35055         * math/w_coshf.c: Likewise.
35056         * math/w_coshl.c: Likewise.
35057         * math/w_exp2.c: Likewise.
35058         * math/w_exp2f.c: Likewise.
35059         * math/w_exp2l.c: Likewise.
35060         * math/w_hypot.c: Likewise.
35061         * math/w_hypotf.c: Likewise.
35062         * math/w_hypotl.c: Likewise.
35063         * math/w_lgamma.c: Likewise.
35064         * math/w_lgamma_r.c: Likewise.
35065         * math/w_lgammaf.c: Likewise.
35066         * math/w_lgammaf_r.c: Likewise.
35067         * math/w_lgammal.c: Likewise.
35068         * math/w_lgammal_r.c: Likewise.
35069         * math/w_sinh.c: Likewise.
35070         * math/w_sinhf.c: Likewise.
35071         * math/w_sinhl.c: Likewise.
35072         * math/w_tgamma.c: Likewise.
35073         * math/w_tgammaf.c: Likewise.
35074         * math/w_tgammal.c: Likewise.
35075         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35076         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35077         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35078         Minor optimizations.  Pretty printing.  Remove cruft.
35079         * sysdeps/i386/fpu/e_acosf.S: Likewise.
35080         * sysdeps/i386/fpu/e_acosh.S: Likewise.
35081         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35082         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35083         * sysdeps/i386/fpu/e_acosl.c: Likewise.
35084         * sysdeps/i386/fpu/e_asin.S: Likewise.
35085         * sysdeps/i386/fpu/e_asinf.S: Likewise.
35086         * sysdeps/i386/fpu/e_atan2.S: Likewise.
35087         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35088         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35089         * sysdeps/i386/fpu/e_atanh.S: Likewise.
35090         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35091         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35092         * sysdeps/i386/fpu/e_exp10.S: Likewise.
35093         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35094         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35095         * sysdeps/i386/fpu/e_exp2.S: Likewise.
35096         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35097         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35098         * sysdeps/i386/fpu/e_fmod.S: Likewise.
35099         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35100         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35101         * sysdeps/i386/fpu/e_hypot.S: Likewise.
35102         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35103         * sysdeps/i386/fpu/e_log.S: Likewise.
35104         * sysdeps/i386/fpu/e_log10.S: Likewise.
35105         * sysdeps/i386/fpu/e_log10f.S: Likewise.
35106         * sysdeps/i386/fpu/e_log10l.S: Likewise.
35107         * sysdeps/i386/fpu/e_log2.S: Likewise.
35108         * sysdeps/i386/fpu/e_log2f.S: Likewise.
35109         * sysdeps/i386/fpu/e_log2l.S: Likewise.
35110         * sysdeps/i386/fpu/e_logf.S: Likewise.
35111         * sysdeps/i386/fpu/e_logl.S: Likewise.
35112         * sysdeps/i386/fpu/e_pow.S: Likewise.
35113         * sysdeps/i386/fpu/e_powf.S: Likewise.
35114         * sysdeps/i386/fpu/e_powl.S: Likewise.
35115         * sysdeps/i386/fpu/e_remainder.S: Likewise.
35116         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35117         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35118         * sysdeps/i386/fpu/e_scalb.S: Likewise.
35119         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35120         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35121         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35122         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35123         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35124         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35125         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35126         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35127         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35128         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35129         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35130         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35131         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35132         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35133         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35134         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35135         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35136         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35137         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35138         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35139         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35140         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35141         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35142         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35143         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35144         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35145         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35146         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35147         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35148         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35149         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35150         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35151         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35152         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35153         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35154         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35155         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35156         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35157         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35158         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35159         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35160         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35161         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35162         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35163         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35164         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35165         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35166         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35167         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35168         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35169         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35170         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35171         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35172         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35173         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35174         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35175         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35176         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35177         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35178         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35179         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35180         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35181         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35182         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35183         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35184         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35185         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35186         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35187         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35188         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35189         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35190         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35191         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35192         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35193         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35194         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35195         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35196         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35197         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35198         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35199         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35200         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35201         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35202         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35203         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35204         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35205         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35206         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35207         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35208         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35209         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35210         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35211         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35212         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35213         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35214         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35215         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35216         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35217         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35218         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35219         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35220         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35221         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35222         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35223         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35224         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35225         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35226         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35227         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35228         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35229         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35230         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35231         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35232         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35233         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35234         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
35235         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35236         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35237         (__isnanf): Likewise.
35238         (__isinf_ns): Likewise.
35239         (__isinf_nsf): Likewise.
35240         (__finite): Likewise.
35241         (__finitef): Likewise.
35242         (__ieee754_sqrt): Define as macro.
35243         (__ieee754_sqrtf): Define as macro.
35244         (__ieee754_sqrtl): Define as macro.
35245         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35246         inlined copy.
35247         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35248         __FINITE_MATH_ONLY__ consistent.
35249         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35251 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
35253         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35254         of rawmemchr.
35256         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35258 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
35260         * po/ja.po: Update from translation team.
35262 2011-10-08  Roland McGrath  <roland@hack.frob.com>
35264         * locale/programs/locarchive.c (prepare_address_space): New function.
35265         (create_archive, enlarge_archive, open_archive): Use it.
35267         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35268         inside [SHARED], where it is used.
35270         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35272         * nss/getent.c (netgroup_keys): Remove unused variable.
35273         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35275 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
35277         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35278         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35279         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35280         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35281         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35282         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35283         * math/Makefile (libm-calls): Add s_isinf_ns.
35284         * math/divtc3.c: Use __isinf_nsl instead of isinf.
35285         * math/multc3.c: Likewise.
35286         * math/s_casin.c: Likewise.
35287         * math/s_casinf.c: Likewise.
35288         * math/s_casinl.c: Likewise.
35289         * math/s_ccos.c: Likewise.
35290         * math/s_ccosf.c: Likewise.
35291         * math/s_ccosl.c: Likewise.
35292         * math/s_ctan.c: Likewise.
35293         * math/s_ctanf.c: Likewise.
35294         * math/s_ctanh.c: Likewise.
35295         * math/s_ctanhf.c: Likewise.
35296         * math/s_ctanhl.c: Likewise.
35297         * math/s_ctanl.c: Likewise.
35298         * math/w_fmod.c: Likewise.
35299         * math/w_fmodf.c: Likewise.
35300         * math/w_fmodl.c: Likewise.
35301         * math/w_remainder.c: Likewise.
35302         * math/w_remainderf.c: Likewise.
35303         * math/w_remainderl.c: Likewise.
35304         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35305         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35306         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35307         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35308         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35309         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35310         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35311         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35313         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35314         of the number.
35315         * stdio-common/printf_fphex.c: Likewise.
35316         * stdio-common/printf_size.c: Likewise.
35318         * math/e_exp10.c: Include math_private.h using <...> not "...".
35319         * math/e_exp10f.c: Likewise.
35320         * math/e_exp10l.c: Likewise.
35321         * math/e_exp2l.c: Likewise.
35322         * math/e_j0l.c: Likewise.
35323         * math/e_j1l.c: Likewise.
35324         * math/e_jnl.c: Likewise.
35325         * math/e_lgammal_r.c: Likewise.
35326         * math/e_rem_pio2l.c: Likewise.
35327         * math/e_scalb.c: Likewise.
35328         * math/e_scalbf.c: Likewise.
35329         * math/e_scalbl.c: Likewise.
35330         * math/k_cosl.c: Likewise.
35331         * math/k_sinl.c: Likewise.
35332         * math/k_tanl.c: Likewise.
35333         * math/s_cacoshf.c: Likewise.
35334         * math/s_catan.c: Likewise.
35335         * math/s_catanf.c: Likewise.
35336         * math/s_catanh.c: Likewise.
35337         * math/s_catanhf.c: Likewise.
35338         * math/s_catanhl.c: Likewise.
35339         * math/s_catanl.c: Likewise.
35340         * math/s_ccosh.c: Likewise.
35341         * math/s_ccoshf.c: Likewise.
35342         * math/s_ccoshl.c: Likewise.
35343         * math/s_cexp.c: Likewise.
35344         * math/s_cexpf.c: Likewise.
35345         * math/s_cexpl.c: Likewise.
35346         * math/s_clog.c: Likewise.
35347         * math/s_clog10.c: Likewise.
35348         * math/s_clog10f.c: Likewise.
35349         * math/s_clog10l.c: Likewise.
35350         * math/s_clogf.c: Likewise.
35351         * math/s_clogl.c: Likewise.
35352         * math/s_csin.c: Likewise.
35353         * math/s_csinf.c: Likewise.
35354         * math/s_csinh.c: Likewise.
35355         * math/s_csinhf.c: Likewise.
35356         * math/s_csinhl.c: Likewise.
35357         * math/s_csinl.c: Likewise.
35358         * math/s_csqrt.c: Likewise.
35359         * math/s_csqrtf.c: Likewise.
35360         * math/s_csqrtl.c: Likewise.
35361         * math/s_ctan.c: Likewise.
35362         * math/s_ctanf.c: Likewise.
35363         * math/s_ctanh.c: Likewise.
35364         * math/s_ctanhf.c: Likewise.
35365         * math/s_ctanhl.c: Likewise.
35366         * math/s_ctanl.c: Likewise.
35367         * math/s_ldexp.c: Likewise.
35368         * math/s_ldexpf.c: Likewise.
35369         * math/s_ldexpl.c: Likewise.
35370         * math/s_significand.c: Likewise.
35371         * math/s_significandf.c: Likewise.
35372         * math/s_significandl.c: Likewise.
35373         * math/w_acos.c: Likewise.
35374         * math/w_acosf.c: Likewise.
35375         * math/w_acosh.c: Likewise.
35376         * math/w_acoshf.c: Likewise.
35377         * math/w_acoshl.c: Likewise.
35378         * math/w_acosl.c: Likewise.
35379         * math/w_asin.c: Likewise.
35380         * math/w_asinf.c: Likewise.
35381         * math/w_asinl.c: Likewise.
35382         * math/w_atan2.c: Likewise.
35383         * math/w_atan2f.c: Likewise.
35384         * math/w_atan2l.c: Likewise.
35385         * math/w_atanh.c: Likewise.
35386         * math/w_atanhf.c: Likewise.
35387         * math/w_atanhl.c: Likewise.
35388         * math/w_cosh.c: Likewise.
35389         * math/w_coshf.c: Likewise.
35390         * math/w_coshl.c: Likewise.
35391         * math/w_dremf.c: Likewise.
35392         * math/w_exp10.c: Likewise.
35393         * math/w_exp10f.c: Likewise.
35394         * math/w_exp10l.c: Likewise.
35395         * math/w_exp2.c: Likewise.
35396         * math/w_exp2f.c: Likewise.
35397         * math/w_fmod.c: Likewise.
35398         * math/w_fmodf.c: Likewise.
35399         * math/w_fmodl.c: Likewise.
35400         * math/w_hypot.c: Likewise.
35401         * math/w_hypotf.c: Likewise.
35402         * math/w_hypotl.c: Likewise.
35403         * math/w_j0.c: Likewise.
35404         * math/w_j0f.c: Likewise.
35405         * math/w_j0l.c: Likewise.
35406         * math/w_j1.c: Likewise.
35407         * math/w_j1f.c: Likewise.
35408         * math/w_j1l.c: Likewise.
35409         * math/w_jn.c: Likewise.
35410         * math/w_jnf.c: Likewise.
35411         * math/w_jnl.c: Likewise.
35412         * math/w_lgamma.c: Likewise.
35413         * math/w_lgamma_r.c: Likewise.
35414         * math/w_lgammaf.c: Likewise.
35415         * math/w_lgammaf_r.c: Likewise.
35416         * math/w_lgammal.c: Likewise.
35417         * math/w_lgammal_r.c: Likewise.
35418         * math/w_log.c: Likewise.
35419         * math/w_log10.c: Likewise.
35420         * math/w_log10f.c: Likewise.
35421         * math/w_log10l.c: Likewise.
35422         * math/w_log2.c: Likewise.
35423         * math/w_log2f.c: Likewise.
35424         * math/w_log2l.c: Likewise.
35425         * math/w_logf.c: Likewise.
35426         * math/w_logl.c: Likewise.
35427         * math/w_pow.c: Likewise.
35428         * math/w_powf.c: Likewise.
35429         * math/w_powl.c: Likewise.
35430         * math/w_remainder.c: Likewise.
35431         * math/w_remainderf.c: Likewise.
35432         * math/w_remainderl.c: Likewise.
35433         * math/w_scalb.c: Likewise.
35434         * math/w_scalbf.c: Likewise.
35435         * math/w_scalbl.c: Likewise.
35436         * math/w_sinh.c: Likewise.
35437         * math/w_sinhf.c: Likewise.
35438         * math/w_sinhl.c: Likewise.
35439         * math/w_sqrt.c: Likewise.
35440         * math/w_sqrtf.c: Likewise.
35441         * math/w_sqrtl.c: Likewise.
35442         * math/w_tgamma.c: Likewise.
35443         * math/w_tgammaf.c: Likewise.
35444         * math/w_tgammal.c: Likewise.
35446         * po/ja.po: Update from translation team.
35448 2011-09-29  Andreas Jaeger  <aj@suse.de>
35450         [BZ #13179]
35451         * sunrpc/netname.c (netname2host): Fix logic.
35453         [BZ #6779]
35454         [BZ #6783]
35455         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35456         correctly.
35457         * math/w_remainder.c (__remainder): Likewise.
35458         * math/w_remainderf.c (__remainderf): Likewise.
35459         * math/libm-test.inc (remainder_test): Add test cases.
35461 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35463         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
35464         sdiv_qrnnd.
35466 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
35468         * string/test-memcmp.c: Avoid unncessary #defines.
35469         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35471 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35473         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35474         Use new sse2 version for core i3 - i7 as it's faster
35475         than sse42 version.
35476         (bit_Prefer_PMINUB_for_stringop): New.
35477         * sysdeps/x86_64/rawmemchr.S: Update.
35478         Replace with faster SSE2 version.
35479         * sysdeps/x86_64/memrchr.S: New file.
35480         * sysdeps/x86_64/memchr.S: Update.
35481         Replace with faster SSE2 version.
35483 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
35485         * elf/dl-load.c (lose): Add cast to avoid warning.
35487 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
35489         * po/ca.po: Update from translation team.
35491         * inet/getnetgrent_r.c: Hook up nscd.
35492         * nscd/Makefile (routines): Add nscd_netgroup.
35493         (nscd-modules): Add netgroupcache.
35494         (CFLAGS-netgroupcache.c): Define.
35495         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35496         (cache_search): Add const to second parameter.
35497         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35498         INNETGR.
35499         (dbs): Add netgrdb entry.
35500         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35501         (verify_persistent_db): Handle netgrdb.
35502         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35503         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35504         GETFDNETGR.
35505         (netgroup_response_header): Define.
35506         (innetgroup_response_header): Define.
35507         (datahead): Add netgroup_response_header and innetgroup_response_header
35508         elements.
35509         * nscd/nscd.conf: Add entries for netgroup cache.
35510         * nscd/nscd.h (dbtype): Add netgrdb.
35511         (_PATH_NSCD_NETGROUP_DB): Define.
35512         (netgroup_iov_disabled): Declare.
35513         (xmalloc, xcalloc, xrealloc): Move declarations here.
35514         (cache_search): Adjust prototype.
35515         Add netgroup-related prototypes.
35516         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35517         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35518         (__nscd_innetgr): Declare.
35519         * nscd/selinux.c (perms): Use access_vector_t as element type and
35520         add netgroup-related initializers.
35521         * nscd/netgroupcache.c: New file.
35522         * nscd/nscd_netgroup.c: New file.
35523         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35524         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35525         For four parameters use innetgr.
35526         * nss/nss_files/files-init.c: Add definition and callback for netgr.
35527         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35528         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35529         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35531         * nscd/connections.c (register_traced_file): Don't register file
35532         for disabled databases.
35534 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
35536         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35538         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35539         from tree and freeing node.
35541 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
35543         * nss/nsswitch.c (__nss_database_lookup): Handle
35544         nss_parse_service_list out of memory case.
35546 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
35548         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35549         out of memory case.
35551 2011-10-04  Andreas Schwab  <schwab@redhat.com>
35553         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35554         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35555         pass it down.
35556         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35557         elf_machine_rela, elf_machine_lazy_rel.
35558         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35559         (ELF_DYNAMIC_DO_REL): Likewise.
35560         (ELF_DYNAMIC_DO_RELA): Likewise.
35561         (ELF_DYNAMIC_RELOCATE): Likewise.
35562         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35563         to ELF_DYNAMIC_DO_REL.
35564         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35565         (dl_main): In trace mode always set __RTLD_NOIFUNC.
35566         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35567         elf_machine_rela.
35568         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35569         skip_ifunc, don't call ifunc function if non-zero.
35570         (elf_machine_rela): Likewise.
35571         (elf_machine_lazy_rel): Likewise.
35572         (elf_machine_lazy_rela): Likewise.
35573         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35574         (elf_machine_lazy_rel): Likewise.
35575         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35576         Likewise.
35577         (elf_machine_lazy_rel): Likewise.
35578         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35579         Likewise.
35580         (elf_machine_lazy_rel): Likewise.
35581         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35582         (elf_machine_lazy_rel): Likewise.
35583         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35584         (elf_machine_lazy_rel): Likewise.
35585         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35586         (elf_machine_lazy_rel): Likewise.
35587         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35588         (elf_machine_lazy_rel): Likewise.
35589         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35590         (elf_machine_lazy_rel): Likewise.
35591         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35592         (elf_machine_lazy_rel): Likewise.
35594 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
35596         * nss/nss_files/files-init.c (_nss_files_init): Use static
35597         initialization for all the *_traced_file variables.
35599 2011-09-28  Andreas Schwab  <schwab@redhat.com>
35601         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35603 2011-09-27  Roland McGrath  <roland@hack.frob.com>
35605         [BZ #13226]
35606         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35608 2011-09-27  Andreas Schwab  <schwab@redhat.com>
35610         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35611         Reread the line before reparsing it.
35613 2011-09-26  Andreas Schwab  <schwab@redhat.com>
35615         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35617 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
35618             Maxim Kuvyrkov  <maxim@codesourcery.com>
35619             Joseph Myers  <joseph@codesourcery.com>
35621         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35622         if needed for __stack_chk_guard.
35624 2011-09-19  Roland McGrath  <roland@hack.frob.com>
35626         * sysdeps/posix/spawni.c (script_execute): Always define it.
35627         It will be optimized away if unused.
35628         (maybe_script_execute): New function.
35629         (__spawni): Call it.
35631         * Makerules: Don't include tls.make.
35632         (config-tls): Always set to thread.
35633         * tls.make.c: File removed.
35635 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
35637         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35638         * config.make.in (CPPFLAGS-config): New substituted variable.
35640 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
35642         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35644         [BZ #13192]
35645         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35646         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35648 2011-09-15  Roland McGrath  <roland@hack.frob.com>
35650         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35651         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35652         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35653         (CALL_FAIL): Likewise.
35654         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35655         (CALL_FAIL): Macro removed.
35656         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35658 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
35660         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35661         for __FINITE_MATH_ONLY__ == 1.
35663 2011-09-15  Andreas Schwab  <schwab@redhat.com>
35665         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35666         __ieee754_sqrt instead of sqrt.
35667         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35668         __ieee754_sqrtf instead of sqrtf.
35669         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35670         __floorf instead of floorf.
35671         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35672         __floorf, __truncf instead of floorf, truncf.
35674 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
35676         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35678         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35679         __extern_always_inline.
35680         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35681         32-bit.
35683 2011-09-14  Andreas Schwab  <schwab@redhat.com>
35685         * elf/rtld.c (dl_main): Also relocate in dependency order when
35686         doing symbol dependency testing.
35688 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
35690         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35691         Always define `refsym'.
35693 2011-09-13  Andreas Schwab  <schwab@redhat.com>
35695         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35696         (__FD_ELT): Renamed from __FDELT.
35697         * misc/bits/select2.h (__FD_ELT): Likewise.
35698         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35699         __FD_MASK instead of __FDELT, __FDMASK.
35700         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35701         Likewise.
35702         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35703         Likewise.
35705         * elf/Makefile (gen-ldd): Fix pattern.
35707         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35708         (init_tls): Likewise.
35710 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
35712         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35714 2011-09-12  Andreas Schwab  <schwab@redhat.com>
35716         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35717         `struct cmsghdr *' instead of `void *'.
35718         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35719         Likewise.
35721 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
35723         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35724         if non-absolute.
35725         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35726         ldd_rewrite_script.
35728 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
35730         * configure.in: Remove --with-tls option.
35731         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35732         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35733         out in case it is missing.
35734         * sysdeps/ia64/elf/configure.in: Likewise.
35735         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35736         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35737         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35738         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35739         * sysdeps/sh/elf/configure.in: Likewise.
35740         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35741         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35742         * sysdeps/x86_64/elf/configure.in: Likewise.
35743         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35744         * sysdeps/mach/hurd/tls.h: Likewise.
35746         [BZ #13067]
35747         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35749         [BZ #13090]
35750         * configure.in: Fix use of AC_INIT.
35752         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35754 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
35756         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35757         __set_errno.
35758         * malloc/hooks.c: Likewise.
35760         [BZ #11929]
35761         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
35762         variables statically.
35763         (narenas): Initialize.
35764         (list_lock): Initialize.
35765         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
35766         initializtion of main_arena and list_lock.  Small cleanups.
35767         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35768         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
35769         Add initializers to main_arena and mp_.
35770         (malloc_state): Remove pagesize member.  Change all users to use
35771         GLRO(dl_pagesize).
35773         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35774         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
35775         is always initialized.
35777         * malloc/malloc.c: Removed unused configurations and dead code.
35778         * malloc/arena.c: Likewise.
35779         * malloc/hooks.c: Likewise.
35780         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35782         * include/tls.h: Removed.  USE___THREAD must always be defined.
35783         * bits/libc-tsd.h: Don't handle !USE___THREAD.
35784         * elf/dl-libc.c: Likewise.
35785         * elf/dl-tsd.c: Likewise.
35786         * include/errno.h: Likewise.
35787         * include/netdb.h: Likewise.
35788         * include/resolv.h: Likewise.
35789         * inet/herrno-loc.c: Likewise.
35790         * inet/herrno.c: Likewise.
35791         * malloc/arena.c: Likewise.
35792         * malloc/hooks.c: Likewise.
35793         * malloc/malloc.c: Likewise.
35794         * resolv/res-state.c: Likewise.
35795         * resolv/res_libc.c: Likewise.
35796         * sysdeps/i386/dl-machine.h: Likewise.
35797         * sysdeps/ia64/dl-machine.h: Likewise.
35798         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35799         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35800         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35801         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35802         * sysdeps/sh/dl-machine.h: Likewise.
35803         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35804         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35805         * sysdeps/unix/i386/sysdep.S: Likewise.
35806         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35807         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35808         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35809         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35810         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35811         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35812         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35813         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35814         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35815         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35816         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35817         * sysdeps/x86_64/dl-machine.h: Likewise.
35818         * tls.make.c: Likewise.
35820         * configure.in: Remove --with-__thread option.  Make tests for
35821         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35822         tls_model attribute fail if no support is available.  Remove
35823         USE_IN_LIBIO.
35824         * Makeconfig: Adjust for dropped configure option.  All features are
35825         now mandatory.
35826         * Makerules: Likewise.
35827         * Versions.def: Likewise.
35828         * argp/argp-fmtstream.c: Likewise.
35829         * argp/argp-fmtstream.h: Likewise.
35830         * argp/argp-help.c: Likewise.
35831         * assert/assert.c: Likewise.
35832         * config.h.in: Likewise.
35833         * config.make.in: Likewise.
35834         * configure: Likewise.
35835         * configure.in: Likewise.
35836         * csu/Versions: Likewise.
35837         * csu/init.c: Likewise.
35838         * elf/tst-audit2.c: Likewise.
35839         * elf/tst-tls10.c: Likewise.
35840         * elf/tst-tls10.h: Likewise.
35841         * elf/tst-tls11.c: Likewise.
35842         * elf/tst-tls12.c: Likewise.
35843         * elf/tst-tls14.c: Likewise.
35844         * elf/tst-tlsmod11.c: Likewise.
35845         * elf/tst-tlsmod12.c: Likewise.
35846         * elf/tst-tlsmod13.c: Likewise.
35847         * elf/tst-tlsmod13a.c: Likewise.
35848         * elf/tst-tlsmod14a.c: Likewise.
35849         * elf/tst-tlsmod15b.c: Likewise.
35850         * elf/tst-tlsmod16a.c: Likewise.
35851         * elf/tst-tlsmod16b.c: Likewise.
35852         * elf/tst-tlsmod7.c: Likewise.
35853         * elf/tst-tlsmod8.c: Likewise.
35854         * elf/tst-tlsmod9.c: Likewise.
35855         * gmon/gmon.c: Likewise.
35856         * grp/fgetgrent_r.c: Likewise.
35857         * grp/putgrent.c: Likewise.
35858         * hurd/fopenport.c: Likewise.
35859         * include/libc-symbols.h: Likewise.
35860         * include/tls.h: Likewise.
35861         * intl/gettextP.h: Likewise.
35862         * intl/loadinfo.h: Likewise.
35863         * locale/global-locale.c: Likewise.
35864         * locale/localeinfo.h: Likewise.
35865         * mach/devstream.c: Likewise.
35866         * malloc/arena.c: Likewise.
35867         * malloc/set-freeres.c: Likewise.
35868         * misc/err.c: Likewise.
35869         * misc/getttyent.c: Likewise.
35870         * misc/mntent_r.c: Likewise.
35871         * posix/getopt.c: Likewise.
35872         * posix/wordexp.c: Likewise.
35873         * pwd/fgetpwent_r.c: Likewise.
35874         * resolv/Versions: Likewise.
35875         * resolv/res_hconf.c: Likewise.
35876         * shadow/fgetspent_r.c: Likewise.
35877         * shadow/putspent.c: Likewise.
35878         * stdio-common/printf_fphex.c: Likewise.
35879         * stdio-common/tmpfile.c: Likewise.
35880         * stdlib/abort.c: Likewise.
35881         * stdlib/fmtmsg.c: Likewise.
35882         * sunrpc/auth_unix.c: Likewise.
35883         * sunrpc/clnt_perr.c: Likewise.
35884         * sunrpc/clnt_tcp.c: Likewise.
35885         * sunrpc/clnt_udp.c: Likewise.
35886         * sunrpc/clnt_unix.c: Likewise.
35887         * sunrpc/openchild.c: Likewise.
35888         * sunrpc/svc_simple.c: Likewise.
35889         * sunrpc/svc_tcp.c: Likewise.
35890         * sunrpc/svc_udp.c: Likewise.
35891         * sunrpc/svc_unix.c: Likewise.
35892         * sunrpc/xdr.c: Likewise.
35893         * sunrpc/xdr_array.c: Likewise.
35894         * sunrpc/xdr_rec.c: Likewise.
35895         * sunrpc/xdr_ref.c: Likewise.
35896         * sunrpc/xdr_stdio.c: Likewise.
35898 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35900         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35902 2011-07-03  Andreas Jaeger  <aj@suse.de>
35904         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35905         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35906         regenerate with gen-libm-tests.pl.
35908 2010-05-12  Petr Baudis  <pasky@suse.cz>
35910         [BZ #11589]
35911         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35912         around j0() zero points by switching to j1().
35913         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35914         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35915         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35916         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35918 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35920         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35921         instead of 0.
35922         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35923         instead of 0.
35924         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35925         Patch in part by Pavel Roskin <proski@gnu.org>.
35927         [BZ #13138]
35928         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35929         realloc.
35930         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
35931         Free memory block if necessary.
35933         [BZ #12847]
35934         * libio/genops.c (INTDEF): For string streams the _lock pointer can
35935         be NULL.  Don't lock in this case.
35937 2011-09-09  Roland McGrath  <roland@hack.frob.com>
35939         * elf/elf.h (ELFOSABI_GNU): New macro.
35940         (ELFOSABI_LINUX): Define to that.
35942 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
35944         * string/strncat.c (strncat): Undef the symbol in case it has been
35945         defined in bits/string.h.
35947 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35949         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35951         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35952         link map.
35954 2011-08-17  Andreas Jaeger  <aj@suse.de>
35956         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35958 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35959             Ian Lance Taylor  <iant@google.com>
35961         * math/libm-test.inc (lround_test): New testcase.
35962         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35964 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
35966         * Makefile: Remove support for automatic cvs check-ins.
35967         * Makerules: Likewise.
35968         * config.make.in: Likewise.
35969         * configure.in: Likewise.
35970         * intl/Makefile: Likewise.
35971         * locale/Makefile: Likewise.
35972         * po/Makefile: Likewise.
35973         * posix/Makefile: Likewise.
35974         * sysdeps/gnu/Makefile: Likewise.
35975         * sysdeps/mach/hurd/Makefile: Likewise.
35976         * sysdeps/sparc/sparc32/Makefile: Likewise.
35978         [BZ #13118]
35979         * posix/Makefile (bug-regex32-ENV): Define.
35980         Patch by John Stanley <jpsinthemix@verizon.net>.
35982         * misc/Makefile (headers): Add bits/select2.h.
35983         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35984         * misc/bits/select2.h: New file.
35985         * include/bits/select2.h: New file.
35986         * debug/Makefile (routines): Add fdelt_chk.
35987         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35988         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35989         FD_ISSET.
35990         * debug/fdelt_chk.c: New file.
35992         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
35993         * wcsmbs/test-wmemcmp.c: Likewise.
35994         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35995         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35997 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35999         * string/Makefile (strop-tests): Add memcmp.
36000         * string/test-wmemcmp.c: New file.
36001         * string/test-memcmp.c: Add wmemcmp support.
36003 2011-09-08  Roland McGrath  <roland@hack.frob.com>
36005         [BZ #13153]
36006         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
36007         2011-07-19 change.
36009         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
36010         garbage value in a __mach_port_mod_refs call in the cases of the
36011         task-self and thread-self ports.
36013 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36015         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
36017 2011-09-08  Andreas Schwab  <schwab@redhat.com>
36019         * elf/dl-load.c (lose): Check for non-null L.
36021 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
36023         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
36025         * elf/dl-libc.c (dlerror_run): Pass back error code from
36026         dl_catch_error.
36028         [BZ #13123]
36029         * elf/dl-load.c (lose): Free l_origin if it is valid.
36031         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
36032         names.
36033         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36034         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36035         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36036         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36037         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36038         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36040 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36042         * sysdeps/powerpc/fpu/e_hypot.c: New file.
36043         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36044         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36045         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36046         * sysdeps/powerpc/fpu/k_cosf.c: New file.
36047         * sysdeps/powerpc/fpu/k_sinf.c: New file.
36048         * sysdeps/powerpc/fpu/s_cosf.c: New file.
36049         * sysdeps/powerpc/fpu/s_sinf.c: New file.
36050         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36051         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36053 2011-08-15  Alan Modra  <amodra@gmail.com>
36055         [BZ #13092]
36056         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36057         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36058         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
36059         ppc_mcount to static-only-routines.
36060         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36061         __mcount_internal.
36062         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36063         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
36065 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
36067         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36068         for finite and infinity parameters.
36070 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
36072         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36073         and add nop instructions for throughput optimization.
36074         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36076 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
36078         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36079         aligned copy for power7 with vector-scalar instructions.
36080         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36082 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
36084         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36085         AVX check.
36087 2011-09-07  Andreas Schwab  <schwab@redhat.com>
36089         [BZ #13144]
36090         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36091         last change.
36093 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
36095         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36096         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36097         syscall wrapper around clock_gettime in __vdso_clock_gettime.
36098         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36099         clock_gettime.
36101 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
36103         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36104         Forgot to demangle the pointer.
36106         * sysdeps/i386/sysdep.h: Define atom_text_section.
36107         * sysdeps/x86_64/sysdep.h: Likewise.
36108         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36109         section with atom_text_section.
36110         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36111         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36112         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36113         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36114         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36116         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36117         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36118         already be defined.  Change to take two parameters and don't assign
36119         result to variable.  Adjust all users.
36120         Define INTERNAL_GETTIME if not already defined.
36121         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36122         call.
36123         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36124         HAVE_CLOCK_GETTIME_VSYSCALL.
36125         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36127         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36128         gettimeofday vsyscall, just use time.
36130 2011-09-06  Andreas Schwab  <schwab@redhat.com>
36132         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36133         <errno.h>.
36135 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
36137         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36138         syscall on x86-64.
36139         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36140         syscall.
36141         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36142         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36143         syscall if possible.
36145 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
36147         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36148         e_ident.  Don't pass to find_mapsXX.
36149         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36151 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36153         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36154         strchr-sse2-no-bsf strrchr-sse2-no-bsf
36155         * sysdeps/x86_64/multiarch/strchr.S: Update.
36156         Check bit_slow_BSF bit.
36157         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36158         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36159         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36161 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
36163         [BZ #13134]
36164         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36165         before glibc 2.15.
36166         (tryshell): Define.
36167         (__spawni): Change last parameter to be flag.  Test
36168         SPAWN_XFLAGS_USE_PATH flag to use path or not.
36169         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36170         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36171         * posix/spawni.c: Likewise.
36172         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36173         * posix/spawnp.c: Likewise.  Change normal version to use
36174         SPAWN_XFLAGS_USE_PATH.
36175         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36176         SPAWN_XFLAGS_TRY_SHELL.
36178         [BZ #13150]
36179         * posix/glob.h: Remove gcc 1.x support.
36181         [BZ #13068]
36182         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36184 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36186         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36187         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36188         strrchr-sse2-bsf
36189         * sysdeps/i386/i686/multiarch/strchr.S: New file.
36190         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36191         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36192         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36193         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36194         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36196 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36198         * sysdeps/x86_64/wcscmp.S: New file.
36200         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36201         wcscmp-c wcscmp-sse2
36202         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36203         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36204         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36205         * wcsmbs/wcscmp.c: Allow renaming.
36207 2011-09-05  David S. Miller  <davem@davemloft.net>
36209         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36210         stack slot, rather than the struct return pointer slot.
36211         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36212         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36214         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36216 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
36218         * po/ja.po: Update from translation team.
36220         [BZ #13144]
36221         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36222         kernel in 64-bit binaries.
36224 2011-09-01  David S. Miller  <davem@davemloft.net>
36226         * elf/elf.h (HWCAP_SPARC_*): Move to..
36227         * sysdeps/sparc/sysdep.h: this new file and add new values.
36228         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36229         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36230         _DL_HWCAP_COUNT to 24.
36231         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36232         entries.
36233         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36234         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36235         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36236         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36237         instead of magic constants.
36238         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36240 2011-08-31  David S. Miller  <davem@davemloft.net>
36242         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36243         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36244         Reimplement to do errno handling inline.
36245         (SYSCALL_ERROR_HANDLER): New macro.
36246         (__SYSCALL_STRING): Do not do errno handling in asm.
36247         (__CLONE_SYSCALL_STRING): Delete.
36248         (__INTERNAL_SYSCALL_STRING): Delete.
36249         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36250         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36251         (PSEUDO): Reimplement to do errno handling inline.
36252         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36253         (SYSCALL_ERROR_HANDLER): New macro.
36254         (__SYSCALL_STRING): Do not do errno handling in asm.
36255         (__CLONE_SYSCALL_STRING): Delete.
36256         (__INTERNAL_SYSCALL_STRING): Delete.
36257         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36258         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36259         i386.
36260         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36261         (inline_syscall*): Add 'err' argument.
36262         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36263         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36264         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36265         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36267         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36268         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36270 2011-08-30  Andreas Schwab  <schwab@redhat.com>
36272         * elf/rtld.c (dl_main): Relocate objects in dependency order.
36274 2011-08-29  Jiri Olsa <jolsa@redhat.com>
36276         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36277         directive.
36279 2011-08-24  David S. Miller  <davem@davemloft.net>
36281         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36283 2011-08-24  Andreas Schwab  <schwab@redhat.com>
36285         * elf/Makefile: Add rules to build and run unload8 test.
36286         * elf/unload8.c: New file.
36287         * elf/unload8mod1.c: New file.
36288         * elf/unload8mod1x.c: New file.
36289         * elf/unload8mod2.c: New file.
36290         * elf/unload8mod3.c: New file.
36292         * elf/dl-close.c (_dl_close_worker): Reset private search list if
36293         it wasn't used.
36295 2011-08-23  David S. Miller  <davem@davemloft.net>
36297         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36298         subtract stack bias.
36299         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36300         %sp not %fp in calculations.
36301         (_JMPBUF_UNWINDS_ADJ): Likewise.
36303         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36304         (aio_suspend): Call it to force an exception region around the
36305         AIO_MISC_WAIT() invocation.
36307 2011-08-23  Andreas Schwab  <schwab@redhat.com>
36309         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36310         backslash.
36312 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
36314         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36315         protection macro.
36316         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36317         and <dl-machine.h>.
36318         (Elf64_FuncDesc): Remove.
36320 2011-08-22  David S. Miller  <davem@davemloft.net>
36322         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36323         sigaltstack check, add missing cfi directives.
36324         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36325         missing cfi directives, and sigaltstack handling.
36327 2011-08-16  Andreas Schwab  <schwab@redhat.com>
36329         [BZ #11724]
36330         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36331         object is seen twice.
36332         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36334         * elf/Makefile (distribute): Add tst-initorder2.c.
36335         (tests): Add tst-initorder2.
36336         (modules-names): Add tst-initorder2a tst-initorder2b
36337         tst-initorder2c tst-initorder2d.  Add rules to build them.
36338         ($(objpfx)tst-initorder2.out): New rule.
36339         * elf/tst-initorder2.c: New file.
36340         * elf/tst-initorder2.exp: New file.
36342 2011-08-22  Andreas Schwab  <schwab@redhat.com>
36344         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36346         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36347         dependencies back to end of function.
36349         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36350         $(elfobjdir)/ld.so.
36352 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
36354         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36355         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36356         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36357         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36358         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36359         of __vdso_gettimeofday.
36360         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36361         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
36362         attribute_hidden.
36363         (_libc_vdso_platform_setup): Remove initialization of
36364         __vdso_gettimeofday and __vdso_time.
36366 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
36368         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36369         and fgetc_unlocked.
36370         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36371         getc_unlocked.
36373         * elf/dl-open.c (add_to_global): Report additions to the global scope
36374         for LD_DEBUG=scopes.
36375         (dl_open_worker): Also print scope of newly loaded dependencies.
36376         (_dl_show_scope): Indicate if there is no scope.
36378         [BZ #13114]
36379         * stdio-common/Makefile (tests): Add bug24.
36380         * stdio-common/bug24.c: New file.
36382 2011-08-19  Andreas Jaeger  <aj@suse.de>
36384         [BZ #13114]
36385         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36386         non-existant file when using close-on-exec mode.
36388 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
36390         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36391         the very first instruction.
36393         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36394         the CFI state in the end.
36395         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36396         inclusion of dl-trampoline.h.
36397         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36399 2011-08-19  Andreas Schwab  <schwab@redhat.com>
36401         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36402         expectations for long double.
36404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36405         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36407 2011-08-14  David S. Miller  <davem@davemloft.net>
36409         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36410         artificual limit depends upon the system page size.
36412 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
36414         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36415         * resolv/Makefile: Define CFLAGS-libresolv.
36417 2011-08-17  Andreas Schwab  <schwab@redhat.com>
36419         * nss/makedb.c (compute_tables): Make variables used in nested
36420         function static.
36422 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
36424         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36425         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36426         if buffer was too small.
36428         * elf/pldd.c (main): Attach to all threads in the process.
36429         Rewrite /proc handling to use *at functions.
36431 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
36433         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36434         specifies first scope to show.
36435         (dl_open_worker): Update callers.  Move printing scope of new
36436         object to before the relocation.
36437         * elf/rtld.c (dl_main): Update _dl_show_scope call.
36438         * sysdeps/generic/ldsodefs.h: Update declaration.
36440         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36441         string for the scope number.
36443 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
36445         * nscd/servicescache.c (cache_addserv): Make sure written is always
36446         initialized.
36448 2011-08-14  Roland McGrath  <roland@hack.frob.com>
36450         * sysdeps/i386/i486/bits/atomic.h
36451         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36452         statement expression, so as to suppress "set but not used" warning.
36453         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36455         * string/strncat.c (STRNCAT): Use prototype definition.
36457         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36458         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36459         -Iprograms here.
36460         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36461         (localedef-modules): Add localedef.
36462         (locale-modules): Add locale.
36464         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36465         * elf/rtld.c (dl_main): Invert order of assignment in last change,
36466         to avoid a warning.
36468 2011-08-14  David S. Miller  <davem@davemloft.net>
36470         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36471         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36473 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
36475         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
36476         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36477         * elf/rtld.c (dl_main): Set l_name of vDSO.
36478         Call _dl_show_scope when DL_DEBUG_SCOPES.
36479         (process_dl_debug): Recognize scopes flag and also set it for all.
36480         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36481         Declare _dl_show_scope.
36483         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36484         (do_dlopen): Pass caller_dlopen to dl_open.
36485         (__libc_dlopen_mode): Initialize caller_dlopen.
36487         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36488         of libc.  Make tolower call locale-independent.  Optimize a bit by
36489         using isdigit instead of isalnum.
36490         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36492 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
36494         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36495         was a dependency or dynamically loaded.
36497 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
36499         * intl/l10nflist.c: Allow architecture-specific pop function.
36500         * sysdeps/x86_64/l10nflist.c: New file.
36502         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36503         classification.
36505 2011-08-10  Andreas Schwab  <schwab@redhat.com>
36507         * include/dirent.h: Add libc_hidden_proto for scandirat and
36508         scandirat64.  Don't declare __scandirat64.
36509         * dirent/scandirat.c: Add libc_hidden_def.
36510         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36511         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36513 2011-08-10  David S. Miller  <davem@davemloft.net>
36515         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36516         enum.
36517         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36518         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36519         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36521 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
36523         * Versions.def [libc]: Add GLIBC_2.15.
36524         * dirent/Makefile (routines): Add scandirat and scandirat64.
36525         * dirent/Versions [libc]: Export scandirat and scandirat64 for
36526         GLIBC_2.15.
36527         * dirent/dirent.h: Declare scandirat and scandirat64.
36528         * dirent/scandirat.c: New file.
36529         * dirent/scandirat64.c: New file.
36530         * sysdeps/wordsize-64/scandirat.c: New file.
36531         * sysdeps/wordsize-64/scandirat64.c: New file.
36532         * dirent/opendir.c: Define opendirat.
36533         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
36534         using scandirat.
36535         * dirent/scandir64.c: Adjust for scandir.c change.
36536         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
36537         __scandirat64, and __scandir_cancel_handler.
36538         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
36539         additional parameter and use openat instead of open (outside of ld.so).
36540         Add new __opendir as wrapper around __opendirat.
36541         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36542         here without requiring old scandirat implementation.
36544 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
36546         * dirent/scandir.c (cancel_handler): Renamed to
36547         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
36548         defined.  Adjust users.
36549         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36550         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36552 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
36554         * string/test-string.h (IMPL): Use __STRING to expand name and then
36555         stringify it.
36557         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
36558         of cleanups.
36560 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36562         * string/Makefile: Update.
36563         (strop-tests): Append strncat.
36564         * string/test-wcscmp.c: New file.
36565         New comprehensive test for wcscmp.
36566         * string/test-strcmp.c: Update.
36567         (WIDE): New define.
36569 2011-07-22  Andreas Schwab  <schwab@redhat.com>
36571         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36572         line.
36574 2011-07-26  Andreas Schwab  <schwab@redhat.com>
36576         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36577         encoding to ACE if AI_IDN.
36579 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
36581         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36582         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36584 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36586         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36587         Fix overflow bug in strncat.
36588         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36590         * string/test-strncat.c: Update.
36591         Add new tests for checking overflow bugs.
36593 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36595         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36596         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36597         * sysdeps/i386/i686/multiarch/strcat.S: New file.
36598         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36599         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36600         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36601         * sysdeps/i386/i686/multiarch/strncat.S: New file.
36602         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36603         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36605         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36606         (USE_AS_STRCAT): Define.
36607         Add strcat and strncat support.
36608         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36610 2011-07-25  Andreas Schwab  <schwab@redhat.com>
36612         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36613         __n bigger than INT_MAX+1.
36614         (__strncmp_g): Likewise.
36616 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
36618         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36619         * libio/stido.h: Likewise.
36621         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36622         (AF_NFC): Define.
36623         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36624         (AF_NFC): Define.
36626         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36627         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36628         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36629         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36630         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36632         [BZ #13021]
36633         * scripts/test-installation.pl: Don't expect libnss_test1 to be
36634         installed.
36636         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36637         typo.
36638         (_dl_x86_64_save_sse): Likewise.
36640 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
36642         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36643         OSXSAVE.
36644         (_dl_x86_64_save_sse): Likewise.
36646         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36648         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36650 2011-07-21  Andreas Schwab  <schwab@redhat.com>
36652         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36653         change.
36654         (_dl_x86_64_save_sse): Use correct AVX check.
36656 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36658         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36659         bug in strncpy/strncat.
36660         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36662 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
36664         * string/tester.c (test_strcat): Add tests for different alignments
36665         of source and destination.
36666         (test_strncat): Likewise.
36668 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
36670         [BZ #12852]
36671         * posix/glob.c (glob): Check passed in values before using them in
36672         expressions to avoid some overflows.
36673         (glob_in_dir): Likewise.
36675         [BZ #13007]
36676         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36677         check for AVX enablement so that we don't crash with old kernels and
36678         new hardware.
36679         * elf/tst-audit4.c: Add same checks here.
36680         * elf/tst-audit6.c: Likewise.
36682         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
36684 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
36686         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36688 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
36690         * po/cs.po: Update from translation team.
36691         * po/bg.po: Likewise.
36693 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
36695         * misc/sys/cdefs.h: Add support for const attribute.
36696         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36697         to gnu_dev_{major,minor,makedev} functions.
36699 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
36701         * intl/dcigettext.c (get_output_charset): Add missing bracket.
36703 2011-07-20  Andreas Schwab  <schwab@redhat.com>
36705         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36706         strlen results.
36708 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36710         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36711         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36712         register in order to avoid conflicts with the soft frame pointer
36713         being held in r11 when necessary.
36714         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36715         (INTERNAL_VSYSCALL_NCS): Likewise.
36717 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
36719         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36720         * elf/dl-fini.c (_dl_fini): Adjust caller.
36721         * elf/dl-close.c (_dl_close_worker): Likewise.
36722         * sysdeps/generic/ldsodefs.h: Adjust declaration.
36724 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
36726         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36727         "aux_cache->nlibs < 0".
36729         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36730         in the reload-count case.
36732 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36734         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36735         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36736         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36737         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36738         * sysdeps/x86_64/multiarch/strcat.S: New file.
36739         * sysdeps/x86_64/multiarch/strncat.S: New file.
36740         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36741         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36742         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36743         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36744         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36745         (USE_AS_STRCAT): Define.
36746         Add strcat and strncat support.
36747         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36748         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36749         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36750         * string/strncat.c: Update.
36751         (USE_AS_STRNCAT): Define.
36752         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36753         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36754         and i7.
36755         * sysdeps/x86_64/multiarch/init-arch.h
36756         (bit_Prefer_PMINUB_for_stringop): New.
36757         (index_Prefer_PMINUB_for_stringop): Likewise.
36758         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36759         bit_Prefer_PMINUB_for_stringop.
36761 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
36763         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36764         buffer64.
36765         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36766         of casting of buffer.
36767         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36768         buffer32 and buffer64.
36769         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36770         writes instead of casting of buffer.
36771         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36772         buffer32.
36773         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36774         casting of buffer.
36776 2011-07-19  Andreas Schwab  <schwab@redhat.com>
36778         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36780 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
36782         * nscd/nscd.c (termination_handler): Don't do anything for a database
36783         if it has not yet been initialized.
36785 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
36787         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36789 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
36791         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36793 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
36795         * po/nl.po: Update from translation team.
36796         * po/sv.po: Likewise.
36798 2011-07-16  Roland McGrath  <roland@hack.frob.com>
36800         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36801         now disallowed by GCC.
36803         * configure.in (use-default-link): Default to yes if a test -shared
36804         link meets our qualifications.
36805         * configure: Regenerated.
36807         * config.make.in (output-format): New variable.
36808         * configure.in: Check for ld --print-output-format support.
36809         * configure: Regenerated.
36810         * Makerules ($(common-objpfx)format.lds)
36811         [$(output-format) != unknown]: Just use $(output-format),
36812         instead of the linker-script munging.
36814 2011-07-14  Roland McGrath  <roland@hack.frob.com>
36816         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36817         of $(common-objpfx)shlib.lds.
36818         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36820         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36821         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36823         * configure.in (-z relro check): Adjust test code to add a large
36824         writable data section after it.
36825         * configure: Regenerated.
36827 2011-07-11  Roland McGrath  <roland@hack.frob.com>
36829         * configure.in (-z relro check): Fix test code to make the variable
36830         truly const.
36831         * configure: Regenerated.
36833 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
36835         * nscd/nscd.h (struct traced_file): Define.
36836         (struct database_dyn): Remove inotify_descr, reset_res, and filename
36837         elements.  Add traced_files.
36838         (inotify_fd): Declare.
36839         (register_traced_file): Declare.
36840         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36841         (inotify_fd): Export.
36842         (resolv_conf_descr): Remove.
36843         (nscd_init): Move inotify descriptor creation to main.
36844         Don't register files for notification here.
36845         (register_traced_file): New function.
36846         (invalidate_cache): Don't use reset_res to determine whether to call
36847         res_init, go through the list of registered files.
36848         (main_loop_poll): The inotify descriptors are now stored in the
36849         structures for the traced files.
36850         (main_loop_epoll): Likewise
36851         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
36852         to __nss_disable_nscd.
36853         * nscd/cache.c (prune_cache): There is no single inotify descriptor
36854         for a database anymore.  Check the records for all the registered
36855         files instead.
36856         * nss/Makefile (libnss_files-routines): Add files-init.
36857         (libnss_db-routines): Add db-init.
36858         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36859         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36860         * nss/nss_db/db-init.c: New file.
36861         * nss/nss_files/files-init.c: New file.
36862         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
36863         __nss_lookup_function.
36864         (__nss_lookup_function): Call nss_load_library.
36865         (nss_load_all_libraries): New function.
36866         (__nss_disable_nscd): Take parameter with callback function for files
36867         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
36868         used for the cached services.
36869         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36870         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36871         options for features to all the files in nscd.
36873         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36875 2011-07-10  Roland McGrath  <roland@hack.frob.com>
36877         * csu/elf-init.c (__libc_csu_init): Comment typo.
36879 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
36881         * po/pl.po: Update from translation team.
36882         * po/ja.po: Likewise.
36883         * po/ru.po: Likewise.
36884         * po/ko.po: Likewise.
36885         * po/fr.po: Likewise.
36887 2011-07-09  Roland McGrath  <roland@hack.frob.com>
36889         * configure.in (.ctors/.dtors header and trailer check):
36890         Use an empirical test on a built program.
36891         * configure: Regenerated.
36893         * configure.in (-z relro check): Use an empirical test on a built DSO.
36894         Detect, but do not require, on ia64.
36895         * configure: Regenerated.
36897         * configure.in (READELF): Find it with AC_CHECK_TOOL.
36898         Update tests that use readelf to use $READELF instead.
36899         * configure: Regenerated.
36901 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
36903         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36904         if the result is not used.
36906 2011-07-05  Andreas Jaeger  <aj@suse.de>
36908         [BZ#9696]
36909         * stdlib/tst-strtod.c: Add testcase.
36911 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
36913         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36914         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36915         The latter has a higher limit.  Take additional parameter to pass to
36916         the new function.
36917         (__pathconf): Pass file to __statfs_link_max.
36918         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36919         __statfs_link_max.
36920         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36921         __statfs_link_max.
36923         [BZ #12868]
36924         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36925         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36926         Handle Lustre.
36927         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36928         (__statfs_filesize_max): Likewise.
36929         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36931 2011-07-05  Andreas Jaeger  <aj@suse.de>
36933         * resolv/res_comp.c (dn_skipname): Remove unused variable.
36935 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
36937         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36938         `status' variable.
36939         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36940         Likewise.
36942 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
36944         * Makefile (strop-tests): Add strncat.
36945         * string/test-strncat.c: New file.
36947 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
36949         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36951 2011-06-21  Andreas Jaeger  <aj@suse.de>
36953         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36954         Copy rule from iconvdata/Makefile.
36956 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
36958         [BZ #12922]
36959         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36960         but no long options are defined, just return 'W'.
36962 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
36964         [BZ #9696]
36965         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36967 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
36969         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36970         netgroups to read.
36971         (innetgr): Likewise.
36973 2011-07-05  Roland McGrath  <roland@hack.frob.com>
36975         * config.make.in (install_root): Default to $(DESTDIR).
36977 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
36979         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36981 2011-07-02  Roland McGrath  <roland@hack.frob.com>
36983         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36985         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36986         containing directory rather than embedding absolute directory names.
36988         * scripts/check-local-headers.sh: Rewritten using awk.
36989         Match by word, not by line.  Print error messages for matches.
36990         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36992         * Makerules [shlib-lds-flags empty]:
36993         ($(common-objpfx)libc_pic.opts): New target.
36994         ($(common-objpfx)libc_pic.os.clean): New target.
36995         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36997         * config.make.in (OBJCOPY): New variable.
36998         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36999         * configure: Regenerated.
37001         * config.make.in (use-default-link): New variable.
37002         * configure.in (use_default_link): Grok --with-default-link to set it.
37003         * configure: Regenerated.
37004         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
37005         (shlib-lds, shlib-lds-flags): Define to empty.
37007         * Makerules (shlib-lds): New variable.
37008         (shlib-lds-flags): New variable.
37009         (build-shlib, build-moduile, build-module-asneeded): Use it.
37010         ($(common-objpfx)libc.so): Use $(shlib-lds).
37011         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
37012         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
37014         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
37015         DT_FLAGS/DT_FLAGS_1 with zero flags.
37017         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
37018         linker script munging.
37020 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
37022         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
37023         as 128-bit value.
37024         * crypt/sha512.c (sha512_process_block): Perform total addition using
37025         128-bit if possible.
37026         (__sha512_finish_ctx): Likewise.
37027         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
37028         as 64-bit value.
37029         * crypt/sha256.c (SWAP64): Define.
37030         (sha256_process_block): Perform total addition using 64-bit if
37031         possible.
37032         (__sha256_finish_ctx): Likewise.
37034 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
37036         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
37037         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37038         * nscd/hstcache.c (cache_addhst): Likewise.
37039         * nscd/grpcache.c (cache_addgr): Likewise.
37040         * nscd/aicache.c (addhstaiX): Likewise
37041         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37043 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
37045         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
37046         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37047         * nscd/hstcache.c (cache_addhst): Likewise.
37048         * nscd/grpcache.c (cache_addgr): Likewise.
37049         * nscd/aicache.c (addhstaiX): Likewise
37051 2011-07-01  Andreas Schwab  <schwab@redhat.com>
37053         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37054         domain only when needed.
37056 2011-06-30  Andreas Schwab  <schwab@redhat.com>
37058         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37059         is always restored.
37061 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
37063         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37064         are re-adding the entry.
37065         * nscd/servicescache.c (cache_addserv): Likewise.
37067 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
37069         * sysdeps/generic/dl-irel.h: fix protection against multiple
37070         inclusions.
37071         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37073 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
37075         [BZ #12935]
37076         * malloc/memusage.sh: Fix quoting in message.
37077         * debug/xtrace.sh: Likewise.
37079         * configure.in: Remove support for --experimental-malloc option, make
37080         it the default.
37081         * config.make.in: Likewise.
37082         * malloc/Makefile: Likewise.
37084 2011-06-27  Andreas Schwab  <schwab@redhat.com>
37086         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37087         two-byte characters.
37089 2011-06-27  Roland McGrath  <roland@hack.frob.com>
37091         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37092         AC_CACHE_CHECK invocation.
37093         * configure: Regenerated.
37095         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37097 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
37099         [BZ #12350]
37100         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
37101         bit from old_res_options.
37103         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37105         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37106         value type for setfct.
37108 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
37110         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37111         __gettimeofday instead of gettimeofday.
37113 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
37115         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37117 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
37119         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37121         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37122         info.
37124 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
37126         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37127         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37128         strcpy-sse2-unaligned strncpy-sse2-unaligned
37129         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37130         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37131         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37132         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37133         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37134         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37135         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37136         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37137         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37138         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37139         (STRCPY): Support SSE2 and SSSE3 versions.
37141 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
37143         [BZ #12874]
37144         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37145         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37146         kernels which artificially limit size of requests.
37148 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
37150         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37151         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37152         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37153         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37154         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37155         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37156         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37157         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37158         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37159         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37160         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37161         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37162         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37163         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37164         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37165         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37166         Enable unaligned load optimization for Intel Core i3, i5 and i7
37167         processors.
37168         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37169         Define.
37170         (index_Fast_Unaligned_Load): Define.
37171         (HAS_FAST_UNALIGNED_LOAD): Define.
37173 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
37175         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37177 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
37179         [BZ #12907]
37180         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37181         until it is clear that the information is realy needed.
37182         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37184 2011-06-22  Andreas Schwab  <schwab@redhat.com>
37186         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37188 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
37190         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37191         /sys/devices/system/cpu/online if it is usable.
37193         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37194         reading the information from the /proc filesystem to once a second.
37196 2011-06-21  Andreas Jaeger  <aj@suse.de>
37198         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37199         NULL after inclusion of kernel headers.
37201 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
37203         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37204         calls to internal_setent.
37206         [BZ #12885]
37207         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37208         addresses using gethostbyname4_r ignore IPv4 addresses.
37210         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37211         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
37213         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37215 2011-06-20  David S. Miller  <davem@davemloft.net>
37217         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37218         inclusions.
37219         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37221         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37222         (elf_irel): Use it.
37223         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37224         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37225         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37226         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37227         * sysdeps/x86_64/dl-irel.h: Likewise.
37229         * elf/dl-runtime.c: Use elf_ifunc_invoke.
37230         * elf/dl-sym.c: Likewise.
37232 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
37234         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
37235         need to dereference resplen2.
37237 2011-06-14  Andreas Schwab  <schwab@redhat.com>
37239         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37241 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
37243         * Makeconfig: Define vardbdir and inst_vardbdir.
37244         * nss/Makefile: Add rules to install db-Makefile.
37246         * nss/nss_db/db-XXX.c: Cleanup.
37248         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37249         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37250         GLIBC_PRIVATE.
37251         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37252         * nss/makedb.c: Implement -g option to specify that value strings
37253         are generated and should not be added to table iterated over for
37254         get*ent calls.
37255         * nss/nss_db/db-initgroups.c: New file.
37257         * nss/getent.c: Add support for initgroups lookups through getgrouplist
37258         interface.
37260         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37261         (internal_getgrouplist): Adjust to name change.
37262         Update use_initgroups_entry if this is not the first call.
37263         * nss/databases.def: Add initgroups entry.
37265         * nss/makedb.c (compute_tables): Check result of multiple hash table
37266         sizes to minimize maximum chain length.
37268 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
37270         * Versions.def: Add entry for libnss_db.
37271         * shlib-versions: Likewise.
37272         * nss/Makefile: Add rules to build libnss_db.
37273         * nss/Versions: Add libnss_db information.  Organize libnss_files
37274         entries better.
37275         * nss/db-Makefile: Add gshadow support.  Change rules for the new
37276         makedb progra.  Some minor improvements to generate smaller files.
37277         * nss/nss_db/nss_db.h: Move NSS database header data structures to
37278         here from...
37279         * nss/makedb.c: ...here.
37280         Improve database format to be smaller and require less memory at
37281         runtime.
37282         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
37283         db anymore.
37284         * nss/nss_db/db-netgrp.c: Likewise.
37285         * nss/nss_db/db-open.c: Likewise.
37286         * nss/nss_files/flies-XXX.x: Adjust comments.
37287         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37288         * nss/nss_files/files-grp.c: Likewise.
37289         * nss/nss_files/files-hosts.c: Likewise.
37290         * nss/nss_files/files-network.c: Likewise.
37291         * nss/nss_files/files-proto.c: Likewise.
37292         * nss/nss_files/files-pwd.c: Likewise.
37293         * nss/nss_files/files-rpc.c: Likewise.
37294         * nss/nss_files/files-service.c: Likewise.
37295         * nss/nss_files/files-sgrp.c: Likewise.
37296         * nss/nss_files/files-spwd.c: Likewise.
37297         * nss/nss_db/db-alias.c: Removed.
37298         * nss/nss_db/dummy-db.h: Removed.
37300 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
37302         * nss/makedb.c: Rewritten to not use database library.
37303         * nss/Makefile: Update to build new makedb program.
37305 2011-06-14  Andreas Jaeger  <aj@suse.de>
37307         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37308         memset declaration.
37310 2011-06-10  Andreas Schwab  <schwab@redhat.com>
37312         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37313         tmpbuf.
37315 2011-06-10  Roland McGrath  <roland@hack.frob.com>
37317         * Makerules (shlib.lds): Fail if the linker script comes out empty.
37318         * elf/Makefile ($(objpfx)ld.so): Likewise.
37320         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37321         Don't list ld.so twice in dependencies.
37323         * posix/bug-regex31.c: Include <stdlib.h>.
37325         * nscd/hstcache.c (cache_addhst): Remove unused variable.
37327         * nis/nss_compat/compat-spwd.c
37328         (getspent_next_nss_netgr): Remove unused variable.
37329         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37331         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37332         nonmembers" output to use the right array.
37334         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37336         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37338         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37339         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37340         * catgets/gencat.c (read_input_file): Likewise.
37341         * locale/programs/locarchive.c (enlarge_archive): Likewise.
37343         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37344         variable definition inside #if's controlling its use.
37346         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37348         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37350         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37352         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37353         unreachable code.
37355         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37357         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37358         * configure: Regenerated.
37360         * Makerules: Revert last change.
37361         * elf/Makefile: Likewise.
37363 2011-06-09  Roland McGrath  <roland@hack.frob.com>
37365         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37366         * elf/Makefile ($(objpfx)librtld.os): Likewise.
37367         (reloc-link): Likewise.
37369 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
37371         * elf/Makefile: Add rules to build pldd.
37372         * elf/pldd.c: New file.
37373         * elf/pldd-xx.c: New file.
37375 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
37377         * version.h: Update for 2.15 development version.
37379 2011-06-07  David S. Miller  <davem@davemloft.net>
37381         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37382         ifuncs.
37383         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37384         elf_machine_lazy_rel): Likewise.
37385         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37386         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37387         elf_machine_lazy_rel): Likewise.
37388         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37389         dl_hwcap via passed in argument.
37390         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37391         Likewise.
37393 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37395         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
37397 2011-06-06  Roland McGrath  <roland@hack.frob.com>
37399         [BZ #12849]
37400         * manual/fdl-1.1.texi: New file, verbatim from:
37401         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37402         * manual/lgpl-2.1.texi: New file, verbatim from:
37403         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37404         * manual/Makefile (licenses): New variable, list those new file names.
37405         (texis): Use it.
37406         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37408         * manual/fdl.texi: File removed.
37409         * manual/lesser.texi: File removed.
37410         * manual/libc.texinfo (Copying, Documentation License):
37411         Use new @include file names, put @appendix directive before @include.
37413 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
37415         [BZ #12841]
37416         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37417         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37418         (mq_open): Add __NTH.
37420 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
37422         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37423         Assume Intel Core i3/i5/i7 processor if AVX is available.
37425 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
37427         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37428         typo.
37430 2011-05-31  Andreas Schwab  <schwab@redhat.com>
37432         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37433         memory.  Use alloca_account.  Fix memory leak when retrying.
37435 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
37437         * version.h (RELEASE): Bump for 2.14 release.
37438         * include/features.h (__GLIBC_MINOR__): Bump to 14.
37440         * config.make.in (RANLIB): Remove entry.
37442 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
37444         * po/Makefile (po-sed-cmd): Add ksh to extensions.
37445         (libc.pot): Work around missing support for .ksh extension in xgettext.
37447         [BZ #12684]
37448         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37449         if both request failed.
37450         (send_dg): In case of server errors clear resplen or *resplen2.
37452         [BZ #12454]
37453         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37454         when there are multiple maps.
37455         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37456         (_dl_fini): Remove test here.
37458         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37460 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
37462         [BZ #12350]
37463         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37464         bit from old_res_options.
37465         (gaih_inet): Likewise.
37467         [BZ #11099]
37468         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
37469         as signed.
37471         * resolv/res_init.c (res_setoptions): Make the code more compact.
37473         [BZ #11558]
37474         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37475         set RES_USEVC.
37477         [BZ #11634]
37478         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37480         * malloc/malloc.h: Mark malloc hook variables as deprecated.
37482         [BZ #11781]
37483         * malloc/malloc.h: Declare malloc hook variables as volatile.
37485         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37486         in last patch.
37488         [BZ #11799]
37489         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
37490         raise in the comment.
37491         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37492         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37493         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
37495 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
37497         [BZ #12811]
37498         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37499         grow the buffers more if it already has to be sufficient.
37500         (build_wcs_upper_buffer): Likewise.
37501         * posix/regexec.c (check_matching): Likewise.
37502         (clean_state_log_if_needed): Likewise.
37503         (extend_buffers): Don't enlarge buffers beyond size of the input
37504         buffer.
37505         Patches mostly by Emil Wojak <emil@wojak.eu>.
37506         * posix/bug-regex32.c: New file.
37507         * posix/Makefile (tests): Add bug-regex32.
37509         * locale/findlocale.c (_nl_find_locale): Return right away if
37510         _nl_explode_name failed.
37511         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37513         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37515         * debug/xtrace.sh: Unify messages.
37516         * malloc/memusage.sh: Likewise.
37518         [BZ #12813]
37519         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37520         time symbol from vDSO.  Substitute with vsyscall if not available.
37521         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37522         __vdso_time.
37524         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37525         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37526         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37527         Add sendmmsg and internal_sendmmsg.
37528         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37529         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37530         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37532         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37533         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37534         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37536 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
37538         [BZ #12813]
37539         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37540         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
37541         available.
37542         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37543         __vdso_getcpu.
37545         [BZ #12814]
37546         * iconvdata/Makefile (tests): Add bug-iconv9.
37547         * iconvdata/bug-iconv9.c: New file.
37549 2011-05-27  Andreas Schwab  <schwab@redhat.com>
37551         [BZ #12814]
37552         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37554 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
37556         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37557         (struct user_regs_struct): Change intcs field back to cs.
37559 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
37561         * po/ja.po: Update from translation team.
37563 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
37565         [BZ #12795]
37566         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37567         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37569 2011-05-20  Andreas Schwab  <schwab@redhat.com>
37571         * stdlib/longlong.h: Update from GCC.
37573 2011-05-23  Andreas Schwab  <schwab@redhat.com>
37575         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37576         parameter name.
37577         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37578         Add parameter name.
37579         (__sysconf): Pass it down.
37581 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
37583         [BZ #12671]
37584         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37585         some situations.
37586         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37587         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37588         add in in __libc_use_alloca calls.  Adjust callers.
37589         (glob): Use malloc in some situations.
37591         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37592         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37593         pltexit.
37595 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
37597         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37598         and CLOCK_BOOTTIME_ALARM.
37600         [BZ #12782]
37601         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37602         is returned.
37604         * string/_strerror.c (__strerror_r): Print negative errors as signed
37605         numbers.
37607         [BZ #12777]
37608         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37609         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37610         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37612         * configure.in: Fix typo in redirection and correct removal of test
37613         files in two cases.
37615         [BZ #12788]
37616         * locale/setlocale.c (new_composite_name): Fix test to check for
37617         identical name of all categories.
37619         [BZ #12792]
37620         * libio/filedoalloc.c (local_isatty): New function.
37621         (_IO_file_doallocate): Use local_isatty.
37622         * stdio-common/perror.c (perror): In case a new stream is used
37623         forward the stream error.
37624         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37625         error flag.
37627 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
37629         [BZ #11869]
37630         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37631         alloca.
37632         * include/alloca.h (extend_alloca_account): Define.
37634         [BZ #11857]
37635         * posix/regex.h: Fix comments with documentation of user-accessible
37636         fields after compilation and describe correct free'ing of pattern
37637         after re_compile_pattern.
37638         Patch by Reuben Thomas <rrt@sc3d.org>.
37640 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
37642         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37643         and -mno-altivec to prevent the compiler from using Altivec and/or
37644         VSX instructions when the corresponding registers are not available.
37646 2011-05-19  Andreas Schwab  <schwab@redhat.com>
37648         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37650 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
37652         * libio/freopen.c (freopen): Use __dup2, not dup2.
37653         * libio/freopen64.c (freopen64): Likewise.
37655 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37657         [BZ #12775]
37658         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37659         * math/Makefile (tests): Add test-powl.
37660         (CFLAGS-test-powl.c): Define.
37661         * math/test-powl.c: New file.
37663 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37665         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37667 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
37669         [BZ #11837]
37670         * iconvdata/gb18030.c: Update to GB18020-2005.
37672 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
37674         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37675         RE_SYNTAX_POSIX_AWK): Update to match recent development.
37676         Patch by Aharon Robbins <arnold@skeeve.com>.
37678         [BZ #11892]
37679         * stdlib/putenv.c (putenv): Don't always create copy of the variable
37680         on the stack.
37682         [BZ #11895]
37683         * misc/pselect.c (__pselect): Handle timeout value errors hidden
37684         through underflows.
37686         [BZ #12766]
37687         * misc/error.c (error_at_line): Ensure file_name and old_file_name
37688         point to strings before performing equality test for error_one_per_line
37689         mode.
37691         [BZ #11697]
37692         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37694         [BZ #11820]
37695         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37696         (struct user_fpregs_struct): Avoid __uint*_t types.
37698         [BZ #6420]
37699         * malloc/mtrace.c (tr_where): Add additional parameter to point to
37700         symbol info.  Use it instead of calling _dl_addr locally.
37701         (lock_and_info): New function.
37702         (tr_freehook): Call lock_and_info and pass symbol info as additional
37703         parameter to tr_where.
37704         (tr_mallochook): Likewise.
37705         (tr_reallochook): Likewise.
37706         (tr_memalignhook): Likewise.
37708         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
37709         used and couldn't be at all thread-safe.
37711 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
37713         * libio/freopen.c (freopen): Don't close old file descriptor
37714         before the new one is opened.  Instead dup the new file descriptor
37715         to the old one after the new stream is created.
37716         * libio/freopen64.c (freopen64): Likewise.
37717         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37718         * libio/fileops.c (_IO_new_file_close_it): Handle new
37719         _IO_FLAGS2_NOCLOSE flag.
37720         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37721         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37722         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37723         _IO_FLAGS2_NOCLOSE flag.
37724         * include/unistd.h: Add hidden_proto for dup3.
37725         Define __have_dup3.
37726         * io/dup3.c: Define hidden symbol.
37727         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37729         [BZ #7101]
37730         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37731         when an incomplete long option is used.
37732         * posix/tst-getopt_long1.c: New file.
37733         * posix/Makefile (tests): Add tst-getopt_long1.
37735         [BZ #10138]
37736         * scripts/config.guess: Update from autoconf-2.68.
37737         * scripts/config.sub: Likewise.
37739         [BZ #10157]
37740         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37741         tests into ...
37742         (has_cpuclock): ...this.  New function.
37743         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37744         macro here based on has_cpuclock code.
37746         [BZ #10149]
37747         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37748         First byte (not low byte) is now always NUL.
37749         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37751         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37752         Use non-cancelable interfaces.
37754         [BZ #9809]
37755         * locale/iso-639.def: Add entry for Sorani.
37757         [BZ #11901]
37758         * include/stdlib.h: Move include protection to the right place.
37759         Define abort_msg_s.  Declare __abort_msg with it.
37760         * stdlib/abort.c (__abort_msg): Adjust type.
37761         * assert/assert.c (__assert_fail_base): New function.  Majority
37762         of code from __assert_fail.  Allocate memory for __abort_msg with
37763         mmap.
37764         (__assert_fail): Now call __assert_fail_base.
37765         * assert/assert-perr.c: Remove bulk of implementation.  Use
37766         __assert_fail_base.
37767         * include/assert.hL Declare __assert_fail_base.
37768         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37769         mmap.
37770         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37772 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
37774         [BZ #11952]
37775         [BZ #12453]
37776         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37777         until all modules are registered in the DTV.
37778         * elf/Makefile: Add rules to build and run tst-tls19.
37779         * elf/tst-tls19.c: New file.
37780         * elf/tst-tls19mod1.c: New file.
37781         * elf/tst-tls19mod2.c: New file.
37782         * elf/tst-tls19mod3.c: New file.
37783         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37785         [BZ #12083]
37786         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37787         correctly.
37789         [BZ #12601]
37790         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37791         two-byte sequence errors.
37792         * iconvdata/Makefile (tests): Add bug-iconv8.
37793         * iconvdata/bug-iconv8.c: New file.
37795         [BZ #12626]
37796         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37797         buf2 definition.
37799         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37801         [BZ #12432]
37802         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37803         (dummy_getcfa): New function.
37804         (init): Get _Unwind_GetCFA address, use dummy if not found.
37805         (backtrace_helper): In recursion check, also check whether CFA changes.
37806         (__backtrace): Completely initialize arg.
37808         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37809         storing incomplete byte sequence in state object.  Avoid testing for
37810         guaranteed too small input if we know there is enough data available.
37812 2011-05-11  Andreas Schwab  <schwab@redhat.com>
37814         * Makeconfig (+link-pie): Indent.
37815         * Rules (binaries-pie): Define if $(have-fpie) and
37816         $(build-shared).
37817         (binaries-shared): Also filter out $(binaries-pie).
37818         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37819         * nscd/Makefile (others-pie): Add nscd.
37820         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37821         ($(objpfx)nscd): Remove command override.
37822         * login/Makefile (others-pie): Add pt_chown.
37823         ($(objpfx)pt_chown): Remove command override.
37824         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37825         remove command overrides.
37827 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
37829         * libio/tst_putwc.c: Fix error messages.
37831         [BZ #12724]
37832         * libio/fileops.c (_IO_new_file_close_it): Always flush when
37833         currently writing and seek to current position when not.
37834         * libio/Makefile (tests): Add bug-fclose1.
37835         * libio/bug-fclose1.c: New file.
37837 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
37839         [BZ #12511]
37840         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37841         don't set DF_1_NODELETE here.
37842         (do_lookup_x): When entering new entry test for copy relocation
37843         and if necessary set DF_1_NODELETE flag.
37844         * elf/tst-unique4.cc: New file.
37845         * elf/tst-unique4.h: New file.
37846         * elf/tst-unique4lib.cc: New file.
37847         * elf/Makefile: Add rules to build and run tst-unique4.
37848         Patch by Piotr Bury <pbury@goahead.com>.
37850 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
37852         [BZ #12052]
37853         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37855         [BZ #12625]
37856         * misc/mntent_r.c (addmntent): Flush the stream after the output
37858         [BZ #12393]
37859         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37860         (is_trusted_path_normalize): Skip initial colon.  Append slash
37861         to empty buffer.  Duplicate is_trusted_path code but allow
37862         constructed patch to be prefix.
37863         (is_dst): Allow $ORIGIN followed by /.
37864         (_dl_dst_substitute): Correct clearing of check_for_trusted.
37865         Correct testing of result of is_trusted_path_normalize
37866         (decompose_rpath): Fix warning.
37868 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
37870         [BZ #11257]
37871         * grp/initgroups.c (internal_getgrouplist): When we found the service
37872         list through the initgroups entry in nsswitch.conf do not always
37873         continue on a successful lookup.  Don't always use the
37874         __nss_group_database value if it is set.
37875         * nss/nsswitch.conf (initgroups): Change action for successful db
37876         lookup to continue for compatibility.
37878 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
37880         [BZ #11532]
37881         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37882         and CP774 modules.
37883         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37884         and CP774 modules.
37885         * iconvdata/tst-tables.sh: Likewise.
37886         * iconvdata/cp770.c: New file.
37887         * iconvdata/cp771.c: New file.
37888         * iconvdata/cp772.c: New file.
37889         * iconvdata/cp773.c: New file.
37890         * iconvdata/cp774.c: New file.
37891         * iconvdata/testdata/CP770: New file.
37892         * iconvdata/testdata/CP770..UTF8: New file.
37893         * iconvdata/testdata/CP771: New file.
37894         * iconvdata/testdata/CP771..UTF8: New file.
37895         * iconvdata/testdata/CP772: New file.
37896         * iconvdata/testdata/CP772..UTF8: New file.
37897         * iconvdata/testdata/CP773: New file.
37898         * iconvdata/testdata/CP773..UTF8: New file.
37899         * iconvdata/testdata/CP774: New file.
37900         * iconvdata/testdata/CP774..UTF8: New file.
37902         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37903         END CHARMAP line.
37904         * iconvdata/gen-8bit-gap.sh: Likewise.
37905         * iconvdata/gen-8bit.sh: Likewise.
37907         * locale/iso-639.def: Add ary entry.
37909         [BZ #11258]
37910         * locale/C-translit.h.in: Add U20A1 transliteration.
37912         [BZ #12178]
37913         * locale/iso-639.def: Add wae entry.
37914         Patch by Kevin Bortis <bortis@translate-wae.ch>.
37916         [BZ #12545]
37917         * locale/programs/localedef.c (construct_output_path): Use ssize_t
37918         for n.
37920         [BZ #12711]
37921         * locale/C-translit.h.in: Add entry for U20B9.
37922         Patch by pravin.d.s@gmail.com.
37924 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
37926         [BZ #12713]
37927         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37928         ENAMETOOLONG use generic getcwd.
37929         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
37930         in rtld.  Use *stat64.
37931         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37932         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37933         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37934         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37935         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37936         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37937         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37938         __fstatat64 macros.
37939         * include/dirent.h: Add libc_hidden_proto for rewinddir.
37940         * dirent/rewinddir.c: Add libc_hidden_def.
37941         * sysdeps/mach/hurd/rewinddir.c: Likewise.
37942         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
37944         * include/dirent.h (__alloc_dir): Add flags parameter.
37945         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37946         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37947         __alloc_dir.
37948         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
37949         from fdopendir if O_CLOEXEC is already set.
37951 2011-03-15  Alan Modra  <amodra@gmail.com>
37953         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37954         l_tls_firstbyte_offset non-zero.  Save padding offset in
37955         l_tls_firstbyte_offset for later use.
37956         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37957         freeing static tls block.
37959 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
37961         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37962         where #ifdef was intended.  The intent is to prevent ARG_MAX from
37963         being defined by the kernel headers.
37965 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
37967         [BZ #12734]
37968         * resolv/resolv.h: Define RES_NOTLDQUERY.
37969         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37970         no-tld-query and set RES_NOTLDQUERY.
37971         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37972         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37973         modern BIND to search name as TLD unless forbidden.
37975 2011-05-07  Petr Baudis  <pasky@suse.cz>
37976             Ulrich Drepper  <drepper@gmail.com>
37978         [BZ #12393]
37979         * elf/dl-load.c (fillin_rpath): Move trusted path check...
37980         (is_trusted_path): ...to here.
37981         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37982         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37983         using is_trusted_path_normalize() in setuid scripts.
37985 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37987         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37988         __BEGIN/__END_DECLS.
37990 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
37992         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37993         NSS_STATUS_NOTFOUND if no record was found.
37995 2011-05-05  Andreas Schwab  <schwab@redhat.com>
37997         * sunrpc/Makefile (headers): Add rpc/netdb.h.
37998         (headers-not-in-tirpc): Remove rpc/netdb.h
37999         * resolv/netdb.h: Revert last change.
38001 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38003         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
38004         circular dependency between libgcc.a and libc.a.
38006 2011-05-05  Andreas Schwab  <schwab@redhat.com>
38008         * resolv/netdb.h: Don't include <rpc/netdb.h>.
38009         * nis/Makefile: Don't install rpcsvc/*.
38010         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
38011         instead of <rpc/types.h>.
38012         (MAXHOSTNAMELEN): Define.
38014 2011-05-03  Andreas Schwab  <schwab@redhat.com>
38016         * elf/ldconfig.c (add_dir): Don't crash on empty path.
38018 2011-04-28  Maciej Babinski  <mbabinski@google.com>
38020         [BZ #12714]
38021         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
38022         gethostbyname4_r when IPv6 results are possible.
38024 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
38026         [BZ #12723]
38027         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
38028         _PC_PIPE_BUF handling.
38030 2011-04-30  Bruno Haible  <bruno@clisp.org>
38032         [BZ #12717]
38033         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
38034         * resolv/netdb.h (getnameinfo): Change type of flags parameter
38035         to 'int'.
38036         * inet/getnameinfo.c (getnameinfo): Likewise.
38038 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
38040         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38041         to groups setting in database lookup.
38042         * nss/nsswitch.conf: Add initgroups entry.
38044 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
38046         [BZ #12685]
38047         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38048         mode string.
38049         Patch by Eric Blake <eblake@redhat.com>.
38051 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
38053         * sunrpc/Makefile (need-export-routines): Add svc_run.
38054         (routines): Remove svc_run.
38055         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38056         * sunrpc/clnt_perr.c (clnt_perrno): Export.
38057         * sunrpc/svc_run.c (svc_run): Likewise.
38058         * sunrpc/svc_udp.c (svcudp_create): Likewise.
38060 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
38062         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38063         problem in reallocation in last patch.
38065 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
38067         * sunrpc/Makefile: Move inclusion of Rules.
38069 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
38071         * nss/nss_files/files-initgroups.c: New file.
38072         * nss/Makefile (libnss_files-routines): Add files-initgroups.
38073         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38074         _nss_files_initgroups_dyn.
38076 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
38078         * elf/elf.h (R_ARM_IRELATIVE): Define.
38080 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
38082         * po/ru.po: Update from translation team.
38084 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
38086         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38087         dependencies.
38089 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
38091         [BZ #12653]
38092         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38093         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38094         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38095         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38096         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38098 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
38100         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38101         differing bytes.
38102         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38103         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38104         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38106 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
38108         [BZ #12420]
38109         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38110         storing it.
38111         * stdlib/bug-getcontext.c: New file.
38112         * stdlib/Makefile: Add rules to build and run bug-getcontext.
38114 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38116         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38117         instructions into .machine "z9-109".
38118         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38119         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38121 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38123         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38124         between environment variables and auxiliary vector.
38126 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
38128         * Makefile: Add rules to build linkobj/libc.so.
38129         * include/libc-symbols.h: Define libc_hidden_nolink.
38130         * include/rpc/auth.h: Mark functions which are to be hidden.
38131         * include/rpc/auth_des.h: Likewise.
38132         * include/rpc/auth_unix.h: Likewise.
38133         * include/rpc/clnt.h: Likewise.
38134         * include/rpc/des_crypt.h: Likewise.
38135         * include/rpc/key_prot.h: Likewise.
38136         * include/rpc/pmap_clnt.h: Likewise.
38137         * include/rpc/pmap_prot.h: Likewise.
38138         * include/rpc/pmap_rmt.h: Likewise.
38139         * include/rpc/rpc_msg.h: Likewise.
38140         * include/rpc/svc.h: Likewise.
38141         * include/rpc/svc_auth.h: Likewise.
38142         * include/rpc/xdr.h: Likewise.
38143         * nis/Makefile: Link all DSOs against linkobj/libc.so.
38144         * nss/Makefile: Likewise.
38145         * sunrpc/Makefile: Don't install headers.  Build library with normal
38146         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
38147         * sunrpc/auth_des.c: Hide exported symbols by default, export some
38148         for the compat linking library.  Remove use of INTDEF/INTUSE.
38149         * sunrpc/auth_none.c: Likewise.
38150         * sunrpc/auth_unix.c: Likewise.
38151         * sunrpc/authdes_prot.c: Likewise.
38152         * sunrpc/authuxprot.c: Likewise.
38153         * sunrpc/clnt_gen.c: Likewise.
38154         * sunrpc/clnt_perr.c: Likewise.
38155         * sunrpc/clnt_raw.c: Likewise.
38156         * sunrpc/clnt_simp.c: Likewise.
38157         * sunrpc/clnt_tcp.c: Likewise.
38158         * sunrpc/clnt_udp.c: Likewise.
38159         * sunrpc/clnt_unix.c: Likewise.
38160         * sunrpc/des_crypt.c: Likewise.
38161         * sunrpc/des_soft.c: Likewise.
38162         * sunrpc/get_myaddr.c: Likewise.
38163         * sunrpc/key_call.c: Likewise.
38164         * sunrpc/key_prot.c: Likewise.
38165         * sunrpc/netname.c: Likewise.
38166         * sunrpc/pm_getmaps.c: Likewise.
38167         * sunrpc/pm_getport.c: Likewise.
38168         * sunrpc/pmap_clnt.c: Likewise.
38169         * sunrpc/pmap_prot.c: Likewise.
38170         * sunrpc/pmap_prot2.c: Likewise.
38171         * sunrpc/pmap_rmt.c: Likewise.
38172         * sunrpc/publickey.c: Likewise.
38173         * sunrpc/rpc_cmsg.c: Likewise.
38174         * sunrpc/rpc_common.c: Likewise.
38175         * sunrpc/rpc_dtable.c: Likewise.
38176         * sunrpc/rpc_prot.c: Likewise.
38177         * sunrpc/rpc_thread.c: Likewise.
38178         * sunrpc/rtime.c: Likewise.
38179         * sunrpc/svc.c: Likewise.
38180         * sunrpc/svc_auth.c: Likewise.
38181         * sunrpc/svc_authux.c: Likewise.
38182         * sunrpc/svc_raw.c: Likewise.
38183         * sunrpc/svc_run.c: Likewise.
38184         * sunrpc/svc_simple.c: Likewise.
38185         * sunrpc/svc_tcp.c: Likewise.
38186         * sunrpc/svc_udp.c: Likewise.
38187         * sunrpc/svc_unix.c: Likewise.
38188         * sunrpc/svcauth_des.c: Likewise.
38189         * sunrpc/xcrypt.c: Likewise.
38190         * sunrpc/xdr.c: Likewise.
38191         * sunrpc/xdr_array.c: Likewise.
38192         * sunrpc/xdr_float.c: Likewise.
38193         * sunrpc/xdr_intXX_t.c: Likewise.
38194         * sunrpc/xdr_mem.c: Likewise.
38195         * sunrpc/xdr_rec.c: Likewise.
38196         * sunrpc/xdr_ref.c: Likewise.
38197         * sunrpc/xdr_sizeof.c: Likewise.
38198         * sunrpc/xdr_stdio.c: Likewise.
38200 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
38202         [BZ #12650]
38203         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38204         * sysdeps/ia64/dl-tls.h: Likewise.
38205         * sysdeps/powerpc/dl-tls.h: Likewise.
38206         * sysdeps/s390/dl-tls.h: Likewise.
38207         * sysdeps/sh/dl-tls.h: Likewise.
38208         * sysdeps/sparc/dl-tls.h: Likewise.
38209         * sysdeps/x86_64/dl-tls.h: Likewise.
38210         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38212 2011-03-14  Andreas Schwab  <schwab@redhat.com>
38214         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38215         rpath element also skip the following colon.
38216         (expand_dynamic_string_token): Add is_path parameter and pass
38217         down to DL_DST_REQUIRED and _dl_dst_substitute.
38218         (decompose_rpath): Call expand_dynamic_string_token with
38219         non-zero is_path.  Ignore empty rpaths.
38220         (_dl_map_object_from_fd): Call expand_dynamic_string_token
38221         with zero is_path.
38223 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
38225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38226         Make cancelable.
38228 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
38230         [BZ #12655]
38231         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38232         Patch by Filipe David Manana <fdmanana@apache.org>.
38234 2011-04-07  Andreas Schwab  <schwab@redhat.com>
38236         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38237         Maintain aligned stack.
38238         (CHECK_RSP): Remove unused macro.
38240 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
38242         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38243         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38245 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
38247         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38249         * include/features.h: Mention __USE_XOPEN2K8 in comment.
38251 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
38253         [BZ #12518]
38254         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38255         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38256         * sysdeps/x86_64/memmove.c: New file.
38257         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38258         (memcpy): Renamed to ...
38259         (__new_memcpy): This.
38260         (memcpy): Provide GLIBC_2_14 memcpy.
38261         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38262         (memcpy): Provide GLIBC_2_2_5 memcpy.
38264 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
38266         [BZ #12631]
38267         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38269 2011-03-30  Andreas Schwab  <schwab@redhat.com>
38271         * misc/syncfs.c: New file.
38272         * misc/Makefile (routines): Add syncfs.
38273         * posix/unistd.h: Declare syncfs.
38274         * sysdeps/unix/syscalls.list: Add syncfs.
38276 2011-04-01  Andreas Schwab  <schwab@redhat.com>
38278         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38279         open_by_handle_at.
38280         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38281         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38282         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38283         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38284         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38285         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38286         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38288 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
38290         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38291         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38292         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38293         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38294         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38295         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38296         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38298         * io/Makefile: Compile fallocate.c, fallocate64.c, and
38299         sync_file_range.c with -fexceptions.
38300         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38301         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38302         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38303         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38304         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38305         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38306         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
38307         sync_file_range as cancellation point
38308         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
38309         now a wrapper around __call_sync_file_range with cancellation handling.
38310         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38311         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
38312         function name to __call_sync_file_range.
38313         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38314         Add call_sync_file_range.
38316 2011-04-01  Andreas Schwab  <schwab@redhat.com>
38318         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38319         bits/timex.h.
38321 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
38323         * iconv/iconv.h: Fix typo in comment.
38324         * io/fcntl.h: Likewise.
38325         * libio/stdio.h: Likewise.
38326         * posix/spawn.h: Likewise.
38327         * posix/unistd.h: Likewise.
38328         * stdlib/stdlib.h: Likewise.
38329         * time/time.h: Likewise.
38330         * wcsmbs/wchar.h: Likewise.
38332         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38333         open_by_handle): Add.
38334         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38335         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
38336         Augment a few comments.
38337         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38338         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38339         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38340         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38341         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38342         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38343         open_by_handle.
38345         * io/fcntl.h (AT_EMPTY_PATH): Define.
38347 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
38349         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38350         * sysdeps/unix/sysv/linux/bits/time.h: New file.
38351         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38352         to...
38353         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
38354         * Versions.def: Add GLIBC_2.14.
38355         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38356         Export.
38358 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
38360         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38361         round counter.
38362         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38364 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38366         [BZ #12597]
38367         * string/test-strncmp.c (do_page_test): New function.
38368         (check2): Likewise.
38369         (test_main): Call check2.
38370         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38372 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
38374         [BZ #12587]
38375         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38376         Handle cache information in CPU leaf 4.
38377         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38379 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
38381         [BZ #12583]
38382         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38383         character representation.
38384         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38386 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
38388         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38389         END(__isnan) to END(__isnanf) to match function entry point/label
38390         EALIGN(__isnanf,...).
38392 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
38394         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38396 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
38398         [BZ #12510]
38399         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38400         copy from the symbol referenced in the relocation to initialize the
38401         used variable.
38402         Patch by Piotr Bury <pbury@goahead.com>.
38403         * elf/Makefile: Add rules to build and tst-unique3.
38404         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38405         * elf/tst-unique3.cc: New file.
38406         * elf/tst-unique3.h: New file.
38407         * elf/tst-unique3lib.cc: New file.
38408         * elf/tst-unique3lib2.cc: New file.
38410         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38412 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
38414         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38415         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
38416         to _start.
38418 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
38420         * elf/dl-load.c (_dl_map_object): If we are looking for the first
38421         to-be-loaded object along a path to loader is ld.so.
38423 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
38424             Ulrich Drepper  <drepper@gmail.com>
38426         * sysdeps/x86_64/memset.S: After aligning destination, code
38427         branches to different locations depending on the value of
38428         misalignment, when multiarch is enabled. Fix this.
38430 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
38432         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38433         Set _x86_64_preferred_memory_instruction for AMD processsors.
38434         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38435         Set bit_Prefer_SSE_for_memop for AMD processors.
38437 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
38439         * libio/fmemopen.c (fmemopen): Optimize a bit.
38441 2011-03-03  Andreas Schwab  <schwab@redhat.com>
38443         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38445 2011-03-03  Roland McGrath  <roland@redhat.com>
38447         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38449 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
38451         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
38452         __bzero_ultra1 instead of __memset_ultra1.
38454 2011-02-23  Andreas Schwab  <schwab@redhat.com>
38455             Ulrich Drepper  <drepper@gmail.com>
38457         [BZ #12509]
38458         * include/link.h (struct link_map): Add l_orig_initfini.
38459         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38460         returning unsuccessfully.
38461         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38462         close of a file loaded at startup, restore the original l_initfini
38463         list.
38464         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38465         list, store the pointer.
38466         * elf/Makefile ($(objpfx)noload-mem): New rule.
38467         (noload-ENV): Define.
38468         (tests): Add $(objpfx)noload-mem.
38469         * elf/noload.c: Include <memcheck.h>.
38470         (main): Call mtrace.  Close all opened handles.
38472 2011-02-17  Andreas Schwab  <schwab@redhat.com>
38474         [BZ #12454]
38475         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38476         dependencies are missing.
38478 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38480         Fix __if_freereq crash: Unlike the generic version which uses free,
38481         Hurd needs munmap.
38482         * sysdeps/mach/hurd/ifreq.h: New file.
38484 2011-01-27  Petr Baudis  <pasky@suse.cz>
38485             Ulrich Drepper  <drepper@gmail.com>
38487         [BZ 12445]#
38488         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38489         to extend_alloca().
38490         * stdio-common/bug23.c: New file.
38491         * stdio-common/Makefile (tests): Add bug23.
38493 2010-09-28  Andreas Schwab  <schwab@redhat.com>
38494             Ulrich Drepper  <drepper@gmail.com>
38496         [BZ #12489]
38497         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38498         before performing relro protection.  At old place add assertion
38499         to make sure nothing changed.
38501 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
38502             Glauber de Oliveira Costa  <glommer@gmail.com>
38504         * elf/elf.h: Add new ARM TLS relocs.
38506 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
38508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38509         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38510         cast from r3.
38511         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
38512         'tests' variable.
38513         * sysdeps/wordsize-64/tst-writev.c: New file.
38515 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
38517         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38518         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38519         insns in _dl_start to prevent a TOC reference before relocs are
38520         resolved.
38522 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
38524         [BZ #12469]
38525         * Makeconfig: Remove RANLIB definition.
38526         * Makerules: Don't use RANLIB.
38527         * aclocal.m4: Remove ranlib test.
38528         * configure.in: No need to check for ranlib.
38529         * elf/rtld-Rules: Don't use RANLIB.
38531 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38533         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38534         protection macro.
38535         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38536         inclusion protection macro.
38538         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38539         SIGRTMIN and SIGRTMAX and print information in that case only when
38540         SIGRTMIN is defined.
38542 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
38544         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38545         arginfo fn returning -1.
38547         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38548         and thousands string is zero terminated.
38550 2011-02-03  Andreas Schwab  <schwab@redhat.com>
38552         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38553         sysdeps/unix/sysv/linux/bits/socket.h.
38555 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38557         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38558         (__CPU_COUNT): Remove old macros.
38559         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38560         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38561         (__CPU_ALLOC, __CPU_FREE): Add macros.
38562         (__sched_cpualloc, __sched_cpufree): Add declarations.
38564 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
38566         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38567         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38568         * nscd/aicache.c (addhstaiX): Return timeout of added value.
38569         (readdhstai): Return value of addhstaiX call.
38570         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38571         (addgrbyX): Return value returned by cache_addgr.
38572         (readdgrbyname): Return value returned by addgrbyX.
38573         (readdgrbygid): Likewise.
38574         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38575         (addpwbyX): Return value returned by cache_addpw.
38576         (readdpwbyname): Return value returned by addhstbyX.
38577         (readdpwbyuid): Likewise.
38578         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38579         (addservbyX): Return value returned by cache_addserv.
38580         (readdservbyname): Return value returned by addservbyX:
38581         (readdservbyport): Likewise.
38582         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38583         (addhstbyX): Return value returned by cache_addhst.
38584         (readdhstbyname): Return value returned by addhstbyX.
38585         (readdhstbyaddr): Likewise.
38586         (readdhstbynamev6): Likewise.
38587         (readdhstbyaddrv6): Likewise.
38588         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38589         (readdinitgroups): Return value returned by addinitgroupsX.
38590         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38591         (prune_cache): Keep track of timeout value of re-added entries.
38592         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38593         * nscd/nscd.h: Adjust prototypes of readd* functions.
38595 2011-02-04  Roland McGrath  <roland@redhat.com>
38597         * nis/nis_server.c (nis_servstate): Use the right name for 0.
38598         (nis_stats): Likewise.
38599         * nis/nis_modify.c (nis_modify): Likewise.
38600         * nis/nis_remove.c (nis_remove): Likewise.
38601         * nis/nis_add.c (nis_add): Likewise.
38603         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38605         * posix/fnmatch_loop.c: Add some consts.
38607         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38609 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
38611         [BZ #12460]
38612         * config.make.in (config-cflags-novzeroupper): Define.
38613         * configure.in: Substitute libc_cv_cc_novzeroupper.
38614         * elf/Makefile (AVX-CFLAGS): Define.
38615         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38616         (CFLAGS-tst-auditmod4a.c): Likewise.
38617         (CFLAGS-tst-auditmod4b.c): Likewise.
38618         (CFLAGS-tst-auditmod6b.c): Likewise.
38619         (CFLAGS-tst-auditmod6c.c): Likewise.
38620         (CFLAGS-tst-auditmod7b.c): Likewise.
38621         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38623 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
38625         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38626         function to the callback.
38627         Patch partly by Jiri Olsa <jolsa@redhat.com>.
38629 2011-02-02  Andreas Schwab  <schwab@redhat.com>
38631         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38632         of errno.
38634 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
38636         [BZ #11724]
38637         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38638         of constructors.
38639         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38640         of destructors.
38641         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38643         [BZ #11724]
38644         * elf/Makefile: Add rules to build and run new test.
38645         * elf/tst-initorder.c: New file.
38646         * elf/tst-initorder.exp: New file.
38647         * elf/tst-initordera1.c: New file.
38648         * elf/tst-initordera2.c: New file.
38649         * elf/tst-initordera3.c: New file.
38650         * elf/tst-initordera4.c: New file.
38651         * elf/tst-initorderb1.c: New file.
38652         * elf/tst-initorderb2.c: New file.
38653         * elf/tst-order-a1.c: New file.
38654         * elf/tst-order-a2.c: New file.
38655         * elf/tst-order-a3.c: New file.
38656         * elf/tst-order-a4.c: New file.
38657         * elf/tst-order-b1.c: New file.
38658         * elf/tst-order-b2.c: New file.
38659         * elf/tst-order-main.c: New file.
38660         New test case by George Gensure <werkt0@gmail.com>.
38662 2010-10-01  Andreas Schwab  <schwab@redhat.com>
38664         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38665         decoding ACE if AI_CANONIDN.
38667 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
38669         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38671 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
38673         * version.h (RELEASE): Bump for 2.13 release.
38674         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38676         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38678         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38679         MADV_NOHUGEPAGE.
38680         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38681         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38682         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38683         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38684         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38685         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38687         * posix/getconf.c: Update copyright year.
38688         * catgets/gencat.c: Likewise.
38689         * csu/version.c: Likewise.
38690         * debug/catchsegv.sh: Likewise.
38691         * debug/xtrace.sh: Likewise.
38692         * elf/ldconfig.c: Likewise.
38693         * elf/ldd.bash.in: Likewise.
38694         * elf/sprof.c (print_version): Likewise.
38695         * iconv/iconv_prog.c: Likewise.
38696         * iconv/iconvconfig.c: Likewise.
38697         * locale/programs/locale.c: Likewise.
38698         * locale/programs/localedef.c: Likewise.
38699         * malloc/memusage.sh: Likewise.
38700         * malloc/mtrace.pl: Likewise.
38701         * nscd/nscd.c (print_version): Likewise.
38702         * nss/getent.c: Likewise.
38704         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38705         PF_CAIF, and PF_ALG.
38706         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38708 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
38710         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38711         (modules-names): Use them.
38712         (ifunc-test-modules, ifunc-pie-tests): Define.
38713         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38714         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38715         (test-extras): Likewise.
38716         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38717         $(compile-command.c).
38718         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38719         (all-built-dso): Define.
38720         (check-textrel.out, check-execstack.out): Depend on it.
38722         * configure.in: Don't override --enable-multi-arch.
38724 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
38726         [BZ #6812]
38727         * nscd/hstcache.c (tryagain): Define.
38728         (cache_addhst): Return tryagain not notfound for temporary errors.
38729         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38730         failed.
38732 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
38734         [BZ #10563]
38735         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38736         to make the syscall.
38737         * sysdeps/unix/sysv/linux/setgroups.c: New file.
38739         [BZ #12378]
38740         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38741         and fall back to matching as normal character if the string ends before
38742         the matching ']' is found.  This is what POSIX requires.
38743         * posix/testfnm.c: Adjust test result.
38744         * posix/globtest.sh: Adjust test result.  Add new test.
38745         * posix/tst-fnmatch.input: Likewise.
38746         * posix/tst-fnmatch2.c: Add new test.
38748 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
38750         * elf/Makefile (check-execstack): Revert last change.  Depend on
38751         check-execstack.h.
38752         (check-execstack.h): New target.
38753         (generated): Add check-execstack.h.
38754         * elf/check-execstack.c: Include "check-execstack.h".
38755         (main): Revert last change.
38756         (handle_file): Return zero if GNU_STACK is absent and
38757         DEFAULT_STACK_PERMS doesn't include PF_X.
38759 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
38761         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38762         in child fails because the descriptor is already closed.
38763         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38764         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38765         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38767         [BZ #12397]
38768         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38769         syscall.
38771         [BZ #10484]
38772         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38773         temporary buffer used to handle multi lookups locally.
38774         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38776 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
38778         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38779         loader is ld.so.
38781 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
38783         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38784         alignment for SSE2.
38786 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
38788         [BZ #12394]
38789         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38790         characters.  When rounding increased number of integer digits recompute
38791         number of groups.
38792         * stdio-common/tst-grouping.c: New file.
38793         * stdio-common/Makefile: Add rules to build and run tst-grouping.
38795 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
38797         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38798         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
38800         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38801         void.
38802         * bits/select.h: Likewise.
38804 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
38806         * po/ja.po: Update from translation team.
38808 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
38810         [BZ #11155]
38811         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38812         implementation just like for lxstat, fxstatat, et al.
38814 2010-12-27  Jim Meyering  <meyering@redhat.com>
38816         [BZ #12348]
38817         * posix/regexec.c (build_trtable): Return failure indication upon
38818         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
38820 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
38822         [BZ #12201]
38823         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38824         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38825         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38826         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38828         [BZ #12207]
38829         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38831         [BZ #12204]
38832         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38833         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38835 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
38837         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38838         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38839         script has SORT_BY_INIT_PRIORITY.
38840         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38841         NO_CTORS_DTORS_SECTIONS is defined.
38842         * elf/soinit.c: Likewise.
38843         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38844         NO_CTORS_DTORS_SECTIONS is defined.
38845         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38846         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38847         * sysdeps/sh/init-first.c: Likewise.
38848         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38850 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
38852         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38853         always use the slow path.
38855 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
38857         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38858         similar rule which adds the sysdep directories to the header search in
38859         order to pick up the correct platform stackinfo.h.
38860         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38861         perform test if it is, otherwise return successfully without testing.
38862         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38863         DEFAULT_STACK_PERMS define in stackinfo.h.
38864         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38865         defined in stackinfo.h.
38866         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38867         DEFAULT_STACK_PERMS defined in stackinfo.h.
38868         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38869         * sysdeps/ia64/stackinfo.h: Likewise.
38870         * sysdeps/s390/stackinfo.h: Likewise.
38871         * sysdeps/sh/stackinfo.h: Likewise.
38872         * sysdeps/sparc/stackinfo.h: Likewise.
38873         * sysdeps/x86_64/stackinfo.h: Likewise.
38874         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38875         PF_X for powerpc64.  Retain PF_X for powerpc32.
38877 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
38879         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38880         accurately.
38881         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38882         GETDENTS_64BIT_ALIGNED.
38884 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
38886         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38888 2010-12-10  Andreas Schwab  <schwab@redhat.com>
38890         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38891         _GNU_SOURCE.
38893         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38894         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38895         Remove __restrict.
38896         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38897         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38899 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
38901         [BZ #11655]
38902         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38903         are initialized.
38905 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
38907         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38909 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
38911         * po/it.po: Update from translation team.
38913 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
38915         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38916         unused codes.
38918 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
38920         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38922 2010-11-24  Andreas Schwab  <schwab@redhat.com>
38924         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38925         specially.
38926         (gaih_getanswer_slice): Likewise.
38928 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
38930         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38932 2010-05-31  Petr Baudis  <pasky@suse.cz>
38934         [BZ #11149]
38935         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38936         silently even in the chroot mode.
38938 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
38940         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38941         last patch a bit.  Pretty printing
38943 2010-05-31  Petr Baudis <pasky@suse.cz>
38945         [BZ #10085]
38946         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38947         initialization of skip_initgroups_dyn.
38949 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
38951         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38952         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38954 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
38956         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38958 2010-11-11  Andreas Schwab  <schwab@redhat.com>
38960         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38961         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38962         (tst-fnmatch-ENV): Set MALLOC_TRACE.
38963         ($(objpfx)tst-fnmatch-mem): New rule.
38964         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38965         * posix/tst-fnmatch.c (main): Call mtrace.
38967 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
38969         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38970         Support Intel processor model 6 and model 0x2c.
38972 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
38974         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38975           signed comparison.
38977 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
38979         [BZ #12205]
38980         * string/test-strncasecmp.c (check_result): New function.
38981         (do_one_test): Use it.
38982         (check1): New function.
38983         (test_main): Use it.
38984         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38985         Support strcasecmp and strncasecmp.
38987 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
38989         [BZ #12194]
38990         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38991         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38993 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
38995         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38996         IFUNC support.
38997         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38998         memset-x86-64.
38999         * sysdeps/x86_64/multiarch/bzero.S: New file.
39000         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
39001         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
39002         * sysdeps/x86_64/multiarch/memset.S: New file.
39003         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
39004         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39005         Set bit_Prefer_SSE_for_memop for Intel processors.
39006         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
39007         Define.
39008         (index_Prefer_SSE_for_memop): Define.
39009         (HAS_PREFER_SSE_FOR_MEMOP): Define.
39011 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
39013         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
39014         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
39016 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
39018         [BZ #12191]
39019         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39020         (__x86_64_raw_data_cache_size_half): Likewise.
39021         (__x86_64_raw_shared_cache_size): Likewise.
39022         (__x86_64_raw_shared_cache_size_half): Likewise.
39024         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39025         (__x86_64_raw_data_cache_size_half): Likewise.
39026         (__x86_64_raw_shared_cache_size): Likewise.
39027         (__x86_64_raw_shared_cache_size_half): Likewise.
39028         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
39029         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
39030         and __x86_64_raw_shared_cache_size_half.  Round
39031         __x86_64_data_cache_size_half, __x86_64_data_cache_size
39032         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
39033         to multiple of 256 bytes.
39035 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
39037         [BZ #12167]
39038         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39039         of inacessible symlinks.  Verify result of symlink before returning it.
39040         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39041         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39043 2010-10-28  Erich Ritz  <erichritz@gmail.com>
39045         * math/math.h (isinf): Fix typo in comment.
39047 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
39049         * po/da.po: Update from translation team.
39051 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
39053         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39054         is added to the list.
39056 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39057             Ulrich Drepper  <drepper@gmail.com>
39059         * elf/dl-object.c (_dl_new_object): Don't append the new object to
39060         the global list here.  Move code to...
39061         (_dl_add_to_namespace_list): ...here.  New function.
39062         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39063         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39064         * elf/dl-load.c (lose): Don't remove the element from the list.
39065         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39066         (_dl_map_object): Likewise.
39068 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
39070         [BZ #12159]
39071         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39072         into all bytes of SSE register.
39073         Patch by Richard Li <richardpku@gmail.com>.
39075 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
39077         [BZ #12140]
39078         * malloc/malloc.c (_int_free): Fill correct number of bytes when
39079         perturbing.
39081 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
39083         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39084         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39085         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39086         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39088         submachine.
39089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39091 2010-10-22  Andreas Schwab  <schwab@redhat.com>
39093         * include/dlfcn.h (__RTLD_SECURE): Define.
39094         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
39095         mode & __RTLD_SECURE instead.
39096         (open_path): Rename preloaded parameter to secure.
39097         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39098         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39099         * elf/dl-deps.c (openaux): Likewise.
39100         * elf/rtld.c (struct map_args): Remove is_preloaded.
39101         (map_doit): Don't use it.
39102         (dl_main): Likewise.
39103         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39104         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39106 2010-09-09  Andreas Schwab  <schwab@redhat.com>
39108         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39109         (sysd-rules-targets): Remove duplicates.
39110         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39111         rtld-%.$o dependency.
39113 2010-10-18  Andreas Schwab  <schwab@redhat.com>
39115         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39116         _dl_map_object do it.
39118 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
39120         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39121         fast fma builtins, define the macros in the C99 standard.
39122         (FP_FAST_FMAF): Likewise.
39123         (FP_FAST_FMAL): Likewise.
39124         * sysdeps/x86_64/bits/mathdef.h: Likewise.
39126         * bits/mathdef.h: Update copyright year.
39127         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39129 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
39131         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39132         builtins, define the macros in the C99 standard.
39133         (FP_FAST_FMAF): Likewise.
39134         (FP_FAST_FMAL): Likewise.
39135         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39136         multiply/add.
39137         (FP_FAST_FMAF): Likewise.
39139 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
39141         [BZ #3268]
39142         * math/libm-test.inc (fma_test): Some new testcases.
39143         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39144         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39145         y and infinite z.  Do multiplication by C already in long double.
39146         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39147         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39148         y and infinite z.  Do bitwise or of inexact bit into u.d.
39149         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39150         * sysdeps/i386/fpu/s_fmaf.S: Removed.
39151         * sysdeps/i386/fpu/s_fma.S: Removed.
39152         * sysdeps/i386/fpu/s_fmal.S: Removed.
39154 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
39156         [BZ #3268]
39157         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39158         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39159         computation is not scheduled after fetestexcept.  Fix value
39160         of minimum denormal long double.
39162 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
39164         [BZ #3268]
39165         * math/libm-test.inc (fma_test): Add some more tests.
39166         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39167         correctly.
39169 2010-10-15  Andreas Schwab  <schwab@redhat.com>
39171         * scripts/data/localplt-s390-linux-gnu.data: New file.
39172         * scripts/data/localplt-s390x-linux-gnu.data: New file.
39174 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
39176         [BZ #3268]
39177         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39178         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39179         instead of dbl-64.
39180         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39181         inlines.
39182         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39183         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39184         if one of x and y is very large and the other is subnormal.
39185         * sysdeps/s390/fpu/s_fmaf.c: New file.
39186         * sysdeps/s390/fpu/s_fma.c: New file.
39187         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39188         * sysdeps/powerpc/fpu/s_fma.S: New file.
39189         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39190         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39191         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39193 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
39195         [BZ #3268]
39196         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39197         fma tests.
39198         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39199         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39200         * sysdeps/i386/i686/multiarch/s_fma.c: Include
39201         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39202         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39203         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39204         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39206 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
39208         [BZ #12078]
39209         * posix/regcomp.c (parse_branch): One more memory leak plugged.
39210         * posix/bug-regex31.input: Add test case.
39212 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
39214         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39215         * posix/bug-regex31.input: New file.
39217         [BZ #12078]
39218         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39219         (parse_sub_exp): Fix last change, use postorder.
39221         * posix/bug-regex31.c: New file.
39222         * posix/Makefile: Add rules to build and run bug-regex31.
39224         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39226         [BZ #12078]
39227         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39229         [BZ #12108]
39230         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39231         to have entries in sys_siglist.
39233         [BZ #12093]
39234         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39235         be NULL.
39237 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
39239         [BZ #3268]
39240         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39241         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39242         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39243         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39244         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39245         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39246         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39247         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39248         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39249         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39250         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39251         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39252         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39253         * math/ftestexcept.c (fetestexcept): Likewise.
39254         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39255         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39256         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39257         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39258         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39259         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39260         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39262 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
39264         [BZ #12107]
39265         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39266         newline.
39268 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
39270         * string/bug-strstr1.c: New file.
39271         * string/Makefile: Add rules to build and run bug-strstr1.
39273 2010-10-05  Eric Blake  <eblake@redhat.com>
39275         [BZ #12092]
39276         * string/str-two-way.h (two_way_long_needle): Always clear memory
39277         when skipping input due to the shift table.
39279 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
39281         [BZ #12005]
39282         * malloc/mcheck.c: Handle large requests.
39284         [BZ #12077]
39285         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39286         for strncmp and strncasecmp.
39287         * string/stratcliff.c: Add tests for strcmp and strncmp.
39288         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39290 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39292         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39293         __set_fpscr.
39295 2010-09-30  Andreas Jaeger  <aj@suse.de>
39297         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39298         (CGROUP_SUPER_MAGIC): Define.
39299         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39300         Handle btrfs and cgroup file systems.
39301         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39302         Likewise.
39304 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
39306         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39307         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39309 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39311         [BZ #12067]
39312         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39313         trying to locate the ELF header.
39315 2010-09-27  Andreas Schwab  <schwab@redhat.com>
39317         [BZ #11611]
39318         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39319         Mask out sign-bit copies when constructing f_fsid.
39321 2010-09-24  Petr Baudis <pasky@suse.cz>
39323         * debug/stack_chk_fail_local.c: Add missing licence exception.
39324         * debug/warning-nop.c: Likewise.
39326 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
39328         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39329         implementing getdents64 using getdents syscall, set d_type if
39330         __ASSUME_GETDENTS32_D_TYPE.
39332 2010-09-16  Andreas Schwab  <schwab@redhat.com>
39334         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39335         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39337 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
39339         [BZ #12037]
39340         * posix/unistd.h: Undo change of feature selection for ftruncate from
39341         2010-01-11.
39343 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
39345         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
39346         detection.
39348 2010-09-20  Andreas Schwab  <schwab@redhat.com>
39350         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39351         fanotify_mark.
39352         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39354 2010-09-14  Andreas Schwab  <schwab@redhat.com>
39356         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39357         variables after CHECK_SP call.
39358         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39360 2010-09-13  Andreas Schwab  <schwab@redhat.com>
39361             Ulrich Drepper  <drepper@redhat.com>
39363         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39364         re-relocationg ld.so.
39365         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39366         _dl_init_paths call.
39367         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
39368         here anymore.
39370 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
39372         * resolv/res_init.c (__res_vinit): Count the default server we added.
39374 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
39375             Ulrich Drepper  <drepper@redhat.com>
39377         [BZ #11968]
39378         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39379         (____longjmp_chk): Use %ebx for saving value across system call.
39380         Add unwind info.
39382 2010-09-06  Andreas Schwab  <schwab@redhat.com>
39384         * manual/Makefile: Don't mix pattern rules with normal rules.
39386 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
39388         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39389         operation.
39390         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39391         * libio/iofopncook.c (_IO_cookie_init): Likewise.
39392         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39393         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39394         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39395         Likewise.
39397 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
39399         [BZ #11979]
39400         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39401         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39403 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
39405         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39406         * sysdeps/x86_64/addmul_1.S: Likewise.
39407         * sysdeps/x86_64/lshift.S: Likewise.
39408         * sysdeps/x86_64/mul_1.S: Likewise.
39409         * sysdeps/x86_64/rshift.S: Likewise.
39410         * sysdeps/x86_64/sub_n.S: Likewise.
39411         * sysdeps/x86_64/submul_1.S: Likewise.
39413 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39415         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39416         Define __sched_param instead of SCHED_* and sched_param when
39417         <bits/sched.h> is included with __need_schedparam defined.
39418         * bits/sched.h [__need_schedparam]
39419         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
39420         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39421         (__defined_schedparam): Define to 1.
39422         (__sched_param): New structure, identical to sched_param.
39423         (__need_schedparam): Undefine.
39425 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
39427         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39428         (epoll_create1): Declare.
39430         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39432 2010-08-31  Andreas Schwab  <schwab@redhat.com>
39434         [BZ #7066]
39435         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39436         shifting retval into place.
39438 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
39440         * nis/rpcsvc/nis.h: Update copyright notice.
39441         * nis/rpcsvc/nis.x: Likewise.
39442         * nis/rpcsvc/nis_callback.h: Likewise.
39443         * nis/rpcsvc/nis_callback.x: Likewise.
39444         * nis/rpcsvc/nis_object.x: Likewise.
39445         * nis/rpcsvc/nis_tags.h: Likewise.
39446         * nis/rpcsvc/yp.h: Likewise.
39447         * nis/rpcsvc/yp.x: Likewise.
39448         * nis/rpcsvc/ypupd.h: Likewise.
39449         * nis/yp_xdr.c: Likewise.
39450         * nis/ypupdate_xdr.c: Likewise.
39452         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
39453         mainly the body of pmap_getport.  Add parameters to specify timeouts.
39454         (pmap_getport): Use __libc_rpc_getport.
39455         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39456         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39457         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39459 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
39461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39462         fanotify_mark.
39464 2010-08-27  Roland McGrath  <roland@redhat.com>
39466         * sysdeps/i386/i686/multiarch/Makefile
39467         (CFLAGS-varshift.c): New variable.
39469 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
39471         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39472         * sysdeps/i386/i686/multiarch/varshift.c: New file.
39474         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39476         * sysdeps/x86_64/strlen.S: Minimal code improvement.
39478 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
39480         * sysdeps/x86_64/strlen.S: Unroll the loop.
39481         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39482         strlen-sse2 strlen-sse2-bsf.
39483         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39484         __strlen_no_bsf if bit_Slow_BSF is set.
39485         (__strlen_sse42): Removed.
39486         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39487         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39489 2010-08-25  Roland McGrath  <roland@redhat.com>
39491         * sysdeps/x86_64/multiarch/varshift.S: File removed.
39492         * sysdeps/x86_64/multiarch/varshift.c: New file.
39493         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39494         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39495         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39496         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39498 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
39500         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39501         strlen-sse2 strlen-sse2-bsf.
39502         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39503         __strlen_sse2_bsf if bit_Slow_BSF is unset.
39504         (__strlen_sse2): Removed.
39505         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39506         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39507         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39508         bit_Slow_BSF for Atom.
39509         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39510         (index_Slow_BSF): Define.
39511         (HAS_SLOW_BSF): Define.
39513 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
39515         [BZ #10851]
39516         * resolv/res_init.c (__res_vinit): When no server address at all
39517         is given default to loopback.
39519 2010-08-24  Roland McGrath  <roland@redhat.com>
39521         * configure.in: Remove config-name.h generation.
39522         * configure: Regenerated.
39523         * config-name.in: File removed.
39524         * scripts/config-uname.sh: New file.
39525         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39526         ($(objdir)config-name.h): New target.
39528         * sunrpc/rpc_parse.h: Avoid nested comment.
39530 2010-08-24  Richard Henderson  <rth@redhat.com>
39531             Ulrich Drepper  <drepper@redhat.com>
39532             H.J. Lu  <hongjiu.lu@intel.com>
39534         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39535         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39536         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39537         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
39538         _mm_alignr_epi8 with _mm_loadu_si128.
39539         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39540         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39541         (__m128i_shift_right): Removed.
39542         * sysdeps/i386/i686/multiarch/varshift.h: New file.
39543         * sysdeps/i386/i686/multiarch/varshift.S: New file.
39544         * sysdeps/x86_64/multiarch/varshift.h: New file.
39545         * sysdeps/x86_64/multiarch/varshift.S: New file.
39547 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
39549         * configure.in: Move assembler checks to before sysdep dir checking.
39551 2010-08-20  Petr Baudis  <pasky@suse.cz>
39553         * LICENSES: Sync the sunrpc license.
39555 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
39557         * sunrpc/auth_des.c: Update copyright notice once again.
39558         * sunrpc/auth_none.c: Likewise.
39559         * sunrpc/auth_unix.c: Likewise.
39560         * sunrpc/authdes_prot.c: Likewise.
39561         * sunrpc/authuxprot.c: Likewise.
39562         * sunrpc/bindrsvprt.c: Likewise.
39563         * sunrpc/clnt_gen.c: Likewise.
39564         * sunrpc/clnt_perr.c: Likewise.
39565         * sunrpc/clnt_raw.c: Likewise.
39566         * sunrpc/clnt_simp.c: Likewise.
39567         * sunrpc/clnt_tcp.c: Likewise.
39568         * sunrpc/clnt_udp.c: Likewise.
39569         * sunrpc/clnt_unix.c: Likewise.
39570         * sunrpc/des_crypt.c: Likewise.
39571         * sunrpc/des_soft.c: Likewise.
39572         * sunrpc/get_myaddr.c: Likewise.
39573         * sunrpc/getrpcport.c: Likewise.
39574         * sunrpc/key_call.c: Likewise.
39575         * sunrpc/key_prot.c: Likewise.
39576         * sunrpc/openchild.c: Likewise.
39577         * sunrpc/pm_getmaps.c: Likewise.
39578         * sunrpc/pm_getport.c: Likewise.
39579         * sunrpc/pmap_clnt.c: Likewise.
39580         * sunrpc/pmap_prot.c: Likewise.
39581         * sunrpc/pmap_prot2.c: Likewise.
39582         * sunrpc/pmap_rmt.c: Likewise.
39583         * sunrpc/rpc/auth.h: Likewise.
39584         * sunrpc/rpc/auth_unix.h: Likewise.
39585         * sunrpc/rpc/clnt.h: Likewise.
39586         * sunrpc/rpc/des_crypt.h: Likewise.
39587         * sunrpc/rpc/key_prot.h: Likewise.
39588         * sunrpc/rpc/netdb.h: Likewise.
39589         * sunrpc/rpc/pmap_clnt.h: Likewise.
39590         * sunrpc/rpc/pmap_prot.h: Likewise.
39591         * sunrpc/rpc/pmap_rmt.h: Likewise.
39592         * sunrpc/rpc/rpc.h: Likewise.
39593         * sunrpc/rpc/rpc_des.h: Likewise.
39594         * sunrpc/rpc/rpc_msg.h: Likewise.
39595         * sunrpc/rpc/svc.h: Likewise.
39596         * sunrpc/rpc/svc_auth.h: Likewise.
39597         * sunrpc/rpc/types.h: Likewise.
39598         * sunrpc/rpc/xdr.h: Likewise.
39599         * sunrpc/rpc_clntout.c: Likewise.
39600         * sunrpc/rpc_cmsg.c: Likewise.
39601         * sunrpc/rpc_common.c: Likewise.
39602         * sunrpc/rpc_cout.c: Likewise.
39603         * sunrpc/rpc_dtable.c: Likewise.
39604         * sunrpc/rpc_hout.c: Likewise.
39605         * sunrpc/rpc_main.c: Likewise.
39606         * sunrpc/rpc_parse.c: Likewise.
39607         * sunrpc/rpc_parse.h: Likewise.
39608         * sunrpc/rpc_prot.c: Likewise.
39609         * sunrpc/rpc_sample.c: Likewise.
39610         * sunrpc/rpc_scan.c: Likewise.
39611         * sunrpc/rpc_scan.h: Likewise.
39612         * sunrpc/rpc_svcout.c: Likewise.
39613         * sunrpc/rpc_tblout.c: Likewise.
39614         * sunrpc/rpc_util.c: Likewise.
39615         * sunrpc/rpc_util.h: Likewise.
39616         * sunrpc/rpcinfo.c: Likewise.
39617         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39618         * sunrpc/rpcsvc/key_prot.x: Likewise.
39619         * sunrpc/rpcsvc/klm_prot.x: Likewise.
39620         * sunrpc/rpcsvc/mount.x: Likewise.
39621         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39622         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39623         * sunrpc/rpcsvc/rex.x: Likewise.
39624         * sunrpc/rpcsvc/rstat.x: Likewise.
39625         * sunrpc/rpcsvc/rusers.x: Likewise.
39626         * sunrpc/rpcsvc/sm_inter.x: Likewise.
39627         * sunrpc/rpcsvc/spray.x: Likewise.
39628         * sunrpc/rpcsvc/yppasswd.x: Likewise.
39629         * sunrpc/rtime.c: Likewise.
39630         * sunrpc/svc.c: Likewise.
39631         * sunrpc/svc_auth.c: Likewise.
39632         * sunrpc/svc_authux.c: Likewise.
39633         * sunrpc/svc_raw.c: Likewise.
39634         * sunrpc/svc_run.c: Likewise.
39635         * sunrpc/svc_simple.c: Likewise.
39636         * sunrpc/svc_tcp.c: Likewise.
39637         * sunrpc/svc_udp.c: Likewise.
39638         * sunrpc/svc_unix.c: Likewise.
39639         * sunrpc/svcauth_des.c: Likewise.
39640         * sunrpc/xcrypt.c: Likewise.
39641         * sunrpc/xdr.c: Likewise.
39642         * sunrpc/xdr_array.c: Likewise.
39643         * sunrpc/xdr_float.c: Likewise.
39644         * sunrpc/xdr_mem.c: Likewise.
39645         * sunrpc/xdr_rec.c: Likewise.
39646         * sunrpc/xdr_ref.c: Likewise.
39647         * sunrpc/xdr_sizeof.c: Likewise.
39648         * sunrpc/xdr_stdio.c: Likewise.
39650         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39651         handling.
39653 2010-08-19  Andreas Schwab  <schwab@redhat.com>
39655         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39657 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
39659         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39660         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39661         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39662         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39663         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39664         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39665         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39666         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39667         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39668         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39669         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39670         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39671         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39672         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39674 2010-07-26  Anton Blanchard  <anton@samba.org>
39676         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39677         * malloc/arena.c (heap_trim): Likewise.
39679 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
39681         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39682         here.  Not...
39683         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39684         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39686 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
39688         * sysdeps/i386/elf/Makefile: New file.
39690 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
39692         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39693         from fanotify_init.
39694         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39695         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39697 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
39699         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39700         of strncasecmp_l.
39701         * sysdeps/multiarch/strcmp.S: Likewise.
39703 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
39705         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39706         strncase_l-nonascii.
39707         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39708         Add strncase_l-ssse3.
39709         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39710         * sysdeps/x86_64/strcmp.S: Likewise.
39711         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39712         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39713         * sysdeps/x86_64/strncase.S: New file.
39714         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39715         * sysdeps/x86_64/strncase_l.S: New file.
39716         * string/Makefile (strop-tests): Add strncasecmp.
39717         * string/test-strncasecmp.c: New file.
39719         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39720         warning.
39722         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39723         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39725 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
39727         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39729 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
39731         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39732         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39733         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39735 2010-05-01  Alan Modra  <amodra@gmail.com>
39737         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39738         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39739         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39740         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39741         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39742         tidying.  Don't tail-call __sigjmp_save for static lib.
39743         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39744         save location.
39745         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39746         (CALL_MCOUNT): Add eh info, and nop after bl.
39747         (TAIL_CALL_SYSCALL_ERROR): New macro.
39748         (PSEUDO_RET): Use it.
39749         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39750         Correct save location of integer regs and cr.
39751         (_dl_profile_resolve): Correct cr save location.  Delete nops
39752         after bl when SHARED.  Reduce cfi size a little by better
39753         placement of cfi directives.
39754         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39755         make a stack frame.  Instead use parm save area as a temp.
39756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39757         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
39758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39759         Don't make a stack frame for parent, use parm save area.
39760         Increase child stack frame to 112 bytes.  Don't save unused reg,
39761         and adjust reg usage.  Set up cfi on error recovery and
39762         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39764         (__makecontext): Add dummy nop after jump to exit.
39765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39766         Use correct parm save area and cr save, reduce stack frame.
39767         Correct cfi for possible PSEUDO_RET frame setup.
39768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39769         Branch to local label emitted by PSEUDO_RET rather than
39770         __syscall_error.
39772 2010-08-12  Andreas Schwab  <schwab@redhat.com>
39774         [BZ #11904]
39775         * locale/programs/locale.c (print_assignment): New function.
39776         (show_locale_vars): Use it.
39778 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
39780         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39781         field.
39782         (struct statfs64): Likewise.
39783         (_STATFS_F_FLAGS): Define.
39784         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39785         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39786         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39787         (ST_VALID): Define locally.
39788         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39789         __statvfs_getflags, use the provided value.
39790         * sysdeps/unix/sysv/linux/kernel-features.h: Define
39791         __ASSUME_STATFS_F_FLAGS.
39793         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39795         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39796         Add sys/fanotify.h.
39797         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39798         fanotify_mask for GLIBC_2.13.
39799         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39800         fanotify_init and fanotify_mark.
39801         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39802         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39804         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39805         Add prlimit.
39806         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39807         prlimit64 for GLIBC_2.13.
39808         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39809         prlimit64.
39810         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39811         syscall.
39812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39813         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39814         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39815         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39816         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
39817         add prlimit alias.
39818         * sysdeps/unix/sysv/linux/prlimit.c: New file.
39820         [BZ #11903]
39821         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39822         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39824         * nss/Makefile: Add rules to build and run tst-nss-test1.
39825         * shlib-versions: Add entry for libnss_test1.
39826         * nss/nss_test1.c: New file.
39827         * nss/tst-nss-test1.c: New file.
39829         * nss/nsswitch.c (__nss_database_custom): Define new variable.
39830         (__nss_configure_lookup): Set appropriate entry in
39831         __nss_configure_lookup to true.
39832         * nss/nsswitch.h: Define enum with indeces of databases in
39833         databases and __nss_database_custom arrays.  Declare
39834         __nss_database_custom.
39835         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39836         to avoid using nscd when custom rules are installed.
39837         * nss/getXXbyYY_r.c: Likewise.
39838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39840         * nss/nss_files/files-parse.c: Whitespace fixes.
39842 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
39844         [BZ #11883]
39845         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39846         * posix/fnmatch_loop.c: Likewise.
39848 2010-07-17  Andi Kleen  <ak@linux.intel.com>
39850         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39851         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39852         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39853         * Versions.def [GLIBC_2.13]: Add.
39855 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
39857         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39858         Also fail if tpwd after pwuid call is NULL.
39860 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39862         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39863         when converting to ms.
39865 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39867         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39868         EOPNOTSUPP errors with ENOTTY.
39869         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39870         EOPNOTSUPP errors with ENOTTY.
39872 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
39874         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39875         Add strcasecmp_l-ssse3.
39876         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39877         strcasecmp.
39878         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39879         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39880         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39882 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
39884         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39886         * string/Makefile (strop-tests): Add strcasecmp.
39887         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39888         strcasecmp_l-nonascii.
39889         (gen-as-const-headers): Add locale-defines.sym.
39890         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39891         * sysdeps/x86_64/strcasecmp.S: New file.
39892         * sysdeps/x86_64/strcasecmp_l.S: New file.
39893         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39894         * sysdeps/x86_64/locale-defines.sym: New file.
39895         * string/test-strcasecmp.c: New file.
39897         * string/test-strcasestr.c: Test both ends of the range of characters.
39898         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39900 2010-07-29  Roland McGrath  <roland@redhat.com>
39902         [BZ #11856]
39903         * manual/locale.texi (Yes-or-No Questions): Fix example code.
39905 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
39907         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39908         for ld.so.
39910 2010-07-27  Andreas Schwab  <schwab@redhat.com>
39912         * manual/memory.texi (Malloc Tunable Parameters): Document
39913         M_PERTURB.
39915 2010-07-26  Roland McGrath  <roland@redhat.com>
39917         [BZ #11840]
39918         * configure.in (-fgnu89-inline check): Set and substitute
39919         gnu89_inline, not libc_cv_gnu89_inline.
39920         * configure: Regenerated.
39921         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39923 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
39925         * string/test-strnlen.c: New file.
39926         * string/Makefile (strop-tests): Add strnlen.
39927         * string/tester.c (test_strnlen): Add a few more test cases.
39928         * string/tst-strlen.c: Better error reporting.
39930         * sysdeps/x86_64/strnlen.S: New file.
39932 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
39934         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39935         lower-latency instructions.
39937 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
39939         * string/test-strcasestr.c: New file.
39940         * string/test-strstr.c: New file.
39941         * string/Makefile (strop-tests): Add strstr and strcasestr.
39942         * string/str-two-way.h: Don't undefine MAX.
39943         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39945 2010-07-21  Andreas Schwab  <schwab@redhat.com>
39947         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39948         strcasestr-nonascii.
39949         (CFLAGS-strcasestr-nonascii.c): Define.
39950         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39951         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39952         Remove unused attribute.
39954 2010-07-20  Roland McGrath  <roland@redhat.com>
39956         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39957         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
39958         ld.so.cache was broken.  With it, there is no way to disable dsocaps
39959         like LD_HWCAP_MASK can disable hwcaps.
39961 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
39963         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39965 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
39967         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39968         call in strcasestr.
39969         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39970         __strcasestr_sse42_nonascii.
39971         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39972         strcasestr-nonascii.c.
39973         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39975 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
39977         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39978         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39979         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39980         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39982 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
39984         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39985         fcntl.
39987 2010-07-06  Andreas Schwab  <schwab@redhat.com>
39989         [BZ #11577]
39990         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39991         dl_signal_cerror.
39993 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
39995         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39996         _PC_PIPE_BUF using F_GETPIPE_SZ.
39998 2010-07-05  Roland McGrath  <roland@redhat.com>
40000         * manual/arith.texi (Rounding Functions): Fix rint description
40001         implicit in round description.
40003 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
40005         * elf/Makefile: Fix linking for a few tests to make recent linker
40006         happy.
40008 2010-06-30  Andreas Schwab  <schwab@redhat.com>
40010         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40011         $(common-objpfx)libc_nonshared.a.
40013 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
40015         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
40016         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
40017         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40018         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40019         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
40020         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
40021         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40022         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
40024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
40025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
40026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
40028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
40030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
40031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
40032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
40033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
40035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40037         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40038         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40039         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40040         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40041         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40042         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40043         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40044         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40045         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40046         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40047         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40048         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40064 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
40066         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40067         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
40068         * string/memmove.c (memmove): Renamed to ...
40069         (MEMMOVE): ...this.  Default to memmove.
40070         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40071         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40072         (END_CHK): Define.
40073         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40074         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40075         mempcpy-ssse3-back memmove-ssse3-back.
40076         * sysdeps/x86_64/multiarch/bcopy.S: New file .
40077         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40078         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40079         * sysdeps/x86_64/multiarch/memcpy.S: New file.
40080         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40081         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40082         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40083         * sysdeps/x86_64/multiarch/memmove.c: New file.
40084         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40085         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40086         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40087         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40088         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40089         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40090         Define.
40091         (index_Fast_Copy_Backward): Define.
40092         (HAS_ARCH_FEATURE): Define.
40093         (HAS_FAST_REP_STRING): Define.
40094         (HAS_FAST_COPY_BACKWARD): Define.
40096 2010-06-21  Andreas Schwab  <schwab@redhat.com>
40098         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40099         Restore proper fallback handling.
40101 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
40103         [BZ #11701]
40104         * posix/group_member.c (__group_member): Correct checking loop.
40106         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40107         OOM in getpwuid_r correctly.  Return error number when the caller
40108         should return, otherwise -1.
40109         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40110         call returning > 0 value.
40111         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40113 2010-06-07  Andreas Schwab  <schwab@redhat.com>
40115         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40116         libc_nonshared.a from targets in modules-names.
40118 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
40120         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40121         requires it.
40123 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
40125         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40126         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40127         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40128         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40130 2010-06-02  Andreas Schwab  <schwab@redhat.com>
40132         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40134 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
40136         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40137         and F_GETPIPE_SZ.
40138         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40139         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40140         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40141         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40142         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40143         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40145 2010-06-14  Roland McGrath  <roland@redhat.com>
40147         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40149 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
40151         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40152         __REDIRECT followed by __THROW.
40153         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40154         * posix/getopt.h (getopt): Likewise.
40156 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
40158         * hurd/lookup-at.c (__file_name_lookup_at): Accept
40159         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
40160         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40161         in AT_FLAGS.
40162         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40163         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40165 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
40167         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40169 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
40171         [BZ #11640]
40172         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40173         Properly check family and model.
40175 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
40177         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40179 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
40181         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40183 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
40185         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40186         symbol reference.
40188 2010-05-19  Andreas Schwab  <schwab@redhat.com>
40190         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40191         symbol reference.
40193 2010-05-21  Andreas Schwab  <schwab@redhat.com>
40195         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40196         and internal_recvmmsg.
40197         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40198         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40199         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40200         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40202         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40203         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40204         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40206 2010-05-20  Andreas Schwab  <schwab@redhat.com>
40208         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40210 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
40212         POWER7 optimizations.
40213         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40214         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40216 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
40218         * version.h: Update for 2.13 development version.
40220 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
40222         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40223         exceptions.  Return 0.
40225 2010-05-07  Roland McGrath  <roland@redhat.com>
40227         * elf/ldconfig.c (main): Add a const.
40229 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
40231         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40232         (args_options): Add no-idn option.
40233         (ahosts_keys_int): Add idn_flags to ai_flags.
40234         (parse_option): Handle 'i' option to clear idn_flags.
40236         * malloc/malloc.c (_int_free): Possible race in the most recently
40237         added check.  Only act on the data if no current modification
40238         happened.
40240 See ChangeLog.17 for earlier changes.