1 2014-02-22 Roland McGrath <roland@hack.frob.com>
3 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5 Versions files is now verboten.
6 * hurd/Versions (libc: GLIBC_2.0):
7 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10 * mach/Versions: Likewise.
12 * csu/Versions: Remove unused %include.
13 * resolv/Versions: Likewise.
15 2014-02-21 Joseph Myers <joseph@codesourcery.com>
17 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18 ($(objpfx)check-local-headers.out): Likewise.
19 ($(objpfx)begin-end-check.out): Likewise.
20 * Makerules (check-abi-%.out): Likewise.
21 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22 ($(objpfx)test2.cat): Likewise.
23 ($(objpfx)de/libc.cat): Likewise.
24 ($(objpfx)test-gencat.out): Likewise.
25 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
26 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
27 ($(objpfx)noload-mem): Likewise.
28 ($(objpfx)tst-pathopt.out): Likewise.
29 ($(objpfx)tst-rtld-load-self.out): Likewise.
30 ($(objpfx)tst-array1-cmp.out): Likewise.
31 ($(objpfx)tst-array1-static-cmp.out): Likewise.
32 ($(objpfx)tst-array2-cmp.out): Likewise.
33 ($(objpfx)tst-array3-cmp.out): Likewise.
34 ($(objpfx)tst-array4-cmp.out): Likewise.
35 ($(objpfx)tst-array5-cmp.out): Likewise.
36 ($(objpfx)tst-array5-static-cmp.out): Likewise.
37 ($(objpfx)check-textrel.out): Likewise.
38 ($(objpfx)check-execstack.out): Likewise.
39 ($(objpfx)check-localplt.out): Likewise.
40 ($(objpfx)order2-cmp.out): Likewise.
41 ($(objpfx)tst-leaks1-mem): Likewise.
42 ($(objpfx)tst-leaks1-static-mem): Likewise.
43 ($(objpfx)tst-initorder-cmp.out): Likewise.
44 ($(objpfx)tst-initorder2-cmp.out): Likewise.
45 ($(objpfx)tst-unused-dep.out): Likewise.
46 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
47 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
48 * iconv/Makefile (test-iconvconfig): Likewise.
49 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
50 ($(objpfx)iconv-test.out): Likewise.
51 ($(objpfx)tst-tables.out): Likewise.
52 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
53 ($(objpfx)tst-gettext.out): Likewise.
54 ($(objpfx)tst-translit.out): Likewise.
55 ($(objpfx)tst-gettext2.out): Likewise.
56 ($(objpfx)tst-gettext4.out): Likewise.
57 ($(objpfx)tst-gettext6.out): Likewise.
58 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
59 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
60 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
61 ($(objpfx)tst-fopenloc-mem.out): Likewise.
62 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
63 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
64 * posix/Makefile ($(objpfx)globtest.out): Likewise.
65 ($(objpfx)wordexp-tst.out): Likewise.
66 ($(objpfx)annexc.out): Likewise.
67 ($(objpfx)tst-fnmatch-mem): Likewise.
68 ($(objpfx)bug-regex2-mem): Likewise.
69 ($(objpfx)bug-regex14-mem): Likewise.
70 ($(objpfx)bug-regex21-mem): Likewise.
71 ($(objpfx)bug-regex31-mem): Likewise.
72 ($(objpfx)tst-vfork3-mem): Likewise.
73 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
74 ($(objpfx)tst-pcre-mem): Likewise.
75 ($(objpfx)tst-boost-mem): Likewise.
76 ($(objpfx)tst-getconf.out): Likewise.
77 ($(objpfx)bug-ga2-mem): Likewise.
78 ($(objpfx)bug-glob2-mem): Likewise.
79 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
80 ($(objpfx)mtrace-tst-leaks2): Likewise.
81 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
82 ($(objpfx)tst-printf.out): Likewise.
83 ($(objpfx)tst-setvbuf1.out): Likewise.
84 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
85 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
86 ($(objpfx)tst-fmtmsg.out): Likewise.
87 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
88 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
90 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
91 * bits/sigaction.h [__USE_MISC]: Likewise.
92 * bits/waitstatus.h: Update #endif comments.
93 * ctype/ctype.h: Likewise.
94 * dirent/dirent.h: Likewise.
95 [__USE_MISC]: Remove redundant conditionals.
96 * grp/grp.h: Update #endif comments.
97 [__USE_GNU]: Remove redundant conditionals.
98 [__USE_MISC]: Likewise.
99 * inet/netinet/in.h [__USE_GNU]: Likewise.
100 * io/sys/stat.h [__USE_MISC]: Likewise.
101 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
102 * libio/bits/stdio.h: Update #endif comments.
103 [__USE_MISC]: Remove redundant conditionals.
104 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
105 * libio/stdio.h: Update #endif comments.
106 [__USE_MISC]: Remove redundant conditionals.
107 * math/bits/math-finite.h [__USE_MISC]: Likewise.
108 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
109 * math/math.h: Update #else and #endif comments.
110 [__USE_MISC]: Remove redundant conditionals.
111 * misc/sys/uio.h: Update #endif comments.
112 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
113 * posix/glob.h [__USE_MISC]: Likewise.
114 * posix/sys/types.h: Update #endif comments.
115 [__USE_MISC]: Remove redundant conditionals.
116 * posix/sys/wait.h: Update #endif comments.
117 [__USE_MISC]: Remove redundant conditionals.
118 * posix/unistd.h: Update #endif comments.
119 [__USE_MISC]: Remove redundant conditionals.
120 * pwd/pwd.h [__USE_GNU]: Likewise.
121 [__USE_MISC]: Likewise.
122 * resolv/netdb.h [__USE_GNU]: Likewise.
123 * signal/signal.h: Update #endif comments.
124 [__USE_MISC]: Remove redundant conditionals.
125 * stdlib/stdlib.h: Update #else and #endif comments.
126 [__USE_MISC]: Remove redundant conditionals.
127 [__USE_GNU]: Likewise.
128 * string/bits/string2.h [__USE_MISC]: Likewise.
129 * string/string.h: Update #endif comments.
130 [__USE_MISC]: Remove redundant conditionals.
131 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
133 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
134 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
135 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
137 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
139 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
141 [__USE_MISC]: Remove redundant conditionals.
142 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
143 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
144 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
145 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
146 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
148 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
149 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
151 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
152 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
154 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
156 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
157 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
159 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
161 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
162 * sysdeps/x86/bits/string.h: Update #endif comments.
163 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
165 * time/sys/time.h: Update #endif comments.
166 * time/time.h: Likewise.
167 [__USE_MISC]: Remove redundant conditionals.
169 2014-02-21 Yury Gribov <y.gribov@samsung.com>
172 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
174 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
176 * Versions.def (librt): Add GLIBC_2.17.
178 2014-02-21 Adam Conrad <adconrad@0c3.net>
180 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
181 synonym for _SYS_AUXV_H to allow direct inclusion.
182 * sysdeps/sparc/bits/hwcap.h: Likewise.
183 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
184 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
185 * sysdeps/sparc/sysdep.h: Likewise.
187 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
189 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
191 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
193 * benchtests/bench-strrchr.c: Print length instead of position.
195 2014-02-20 Joseph Myers <joseph@codesourcery.com>
198 * sysdeps/unix/sysv/linux/kernel-features.h
199 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
200 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
201 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
202 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
204 [__i386__ || __powerpc__ || __sh__ || __sparc__]
205 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
206 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
207 (__ASSUME_SENDMMSG): Define instead of using previous
208 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
209 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
210 (__ASSUME_SENDMMSG_SYSCALL): Define.
211 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
212 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
214 * sysdeps/unix/sysv/linux/arm/kernel-features.h
215 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
217 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
218 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
220 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
221 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
222 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
223 [__ASSUME_SENDMMSG]: Change conditionals to
224 [__ASSUME_SENDMMSG_SOCKETCALL].
225 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
226 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
228 * sysdeps/unix/sysv/linux/mips/kernel-features.h
229 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
231 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
232 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
233 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
234 [!__ASSUME_SENDMMSG]: Change conditional to
235 [!__ASSUME_SENDMMSG_SOCKETCALL].
236 * sysdeps/unix/sysv/linux/tile/kernel-features.h
237 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
241 * sysdeps/unix/sysv/linux/kernel-features.h
242 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
243 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
244 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
245 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
246 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
247 [__i386__ || __sparc__]
248 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
249 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
250 (__ASSUME_RECVMMSG): Define instead of using previous
251 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
252 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
253 (__ASSUME_RECVMMSG_SYSCALL): Define.
254 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
255 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
257 * sysdeps/unix/sysv/linux/arm/kernel-features.h
258 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
260 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
261 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
263 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
264 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
265 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
266 [__ASSUME_RECVMMSG]: Change condition to
267 [__ASSUME_RECVMMSG_SOCKETCALL].
268 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
269 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
271 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
272 * sysdeps/unix/sysv/linux/mips/kernel-features.h
273 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
275 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
276 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
277 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
278 [!__ASSUME_RECVMMSG]: Change condition to
279 [!__ASSUME_RECVMMSG_SOCKETCALL].
280 * sysdeps/unix/sysv/linux/tile/kernel-features.h
281 (__ASSUME_RECVMMSG_SYSCALL): Define.
284 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
285 __powerpc__ || __s390__ || __sh__ || __sparc__]
286 (__ASSUME_SOCKETCALL): Define.
287 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
288 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
289 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
290 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
291 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
292 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
293 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
294 (__ASSUME_ACCEPT4): Define instead of using previous
295 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
296 __powerpc__ || __sparc__ || __s390__)] condition.
297 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
298 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
299 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
300 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
301 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
302 [!__ASSUME_ACCEPT4]: Change condition to
303 [!__ASSUME_ACCEPT4_SOCKETCALL].
304 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
305 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
306 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
307 * sysdeps/unix/sysv/linux/arm/kernel-features.h
308 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
309 __ASSUME_ACCEPT4_SYSCALL.
310 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
311 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
312 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
313 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
314 __ASSUME_ACCEPT4_SYSCALL.
315 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
316 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
317 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
318 [__ASSUME_ACCEPT4]: Change condition to
319 [__ASSUME_ACCEPT4_SOCKETCALL].
320 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
321 (__ASSUME_SOCKETCALL): Define.
322 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
323 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
324 (__ASSUME_SOCKETCALL): Define.
325 (__ASSUME_ACCEPT4): Remove.
326 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
328 * sysdeps/unix/sysv/linux/mips/kernel-features.h
329 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
331 * sysdeps/unix/sysv/linux/tile/kernel-features.h
332 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
334 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
336 (HWCAP_ARM_LPAE): Likewise.
337 (HWCAP_ARM_EVTSTRM): Likewise.
338 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
339 Add vpfd32, lpae and evtstrm.
340 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
343 2014-02-19 Joseph Myers <joseph@codesourcery.com>
345 * math/auto-libm-test-in: Add tests of clog10.
346 * math/auto-libm-test-out: Regenerated.
347 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
348 * sysdeps/i386/fpu/libm-test-ulps: Update.
349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
351 2014-02-18 Andreas Schwab <schwab@suse.de>
354 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
355 Store non-zero if the second buffer was newly allocated.
357 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
358 to send_vc and send_dg.
359 (res_nsend): Pass NULL for ansp2_malloced.
360 * resolv/res_query.c (__libc_res_nquery): Add parameter
361 answerp2_malloced and pass it down to __libc_res_nsend.
362 (res_nquery): Pass additional NULL to __libc_res_nquery.
363 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
364 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
365 second answer buffer if answerp2_malloced was set.
366 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
367 (__libc_res_nquerydomain): Add parameter
368 answerp2_malloced and pass it down to __libc_res_nquery.
369 (res_nquerydomain): Pass additional NULL to
370 __libc_res_nquerydomain.
371 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
372 additional NULL to __libc_res_nsend and __libc_res_nquery.
373 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
374 additional NULL to __libc_res_nsearch.
375 (_nss_dns_gethostbyname4_r): Revert last change. Use new
376 parameter of __libc_res_nsearch to check for separately allocated
378 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
380 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
381 additional NULL to __libc_res_nquery.
382 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
384 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
385 * include/resolv.h: Update prototypes of __libc_res_nquery,
386 __libc_res_nsearch, __libc_res_nsend.
388 2014-02-18 Joseph Myers <joseph@codesourcery.com>
390 * math/auto-libm-test-in: Add tests of fma.
391 * math/auto-libm-test-out: Regenerated.
392 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
393 (fma_towardzero_test_data): Likewise.
394 (fma_downward_test_data): Likewise.
395 (fma_upward_test_data): Likewise.
396 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
398 (rounding_modes): Add values for new field.
399 (func_calc_method): Add value mpfr_fff_f.
400 (func_calc_desc): Add mpfr_fff_f union field.
401 (test_function): Add field exact_args.
402 (FUNC): Add macro argument EXACT_ARGS.
403 (FUNC_mpfr_f_f): Update call to FUNC.
404 (FUNC_mpfr_f_f): Likewise.
405 (FUNC_mpfr_ff_f): Likewise.
406 (FUNC_mpfr_if_f): Likewise.
407 (FUNC_mpc_c_f): Likewise.
408 (FUNC_mpc_c_c): Likewise.
409 (test_functions): Add fma. Update calls to FUNC.
410 (handle_input_arg): Add argument exact_args.
411 (add_test): Update call to handle_input_arg.
412 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
413 (output_for_one_input_case): Update call to calc_generic_results.
414 Recalculate exact zero results in each rounding mode.
416 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
417 non-negative before setting low bit.
418 * math/auto-libm-test-in: Mark one asin test possibly having
420 * math/auto-libm-test-out: Regenerated.
421 * sysdeps/i386/fpu/libm-test-ulps: Update.
422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
424 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
426 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
427 * sysdeps/unix/sysv/linux/microblaze: Move directory from
428 ports/sysdeps/unix/sysv/linux/microblaze.
429 * README: Add missing listing for microblaze*-*-linux-gnu.
431 2014-02-16 Mike Frysinger <vapier@gentoo.org>
433 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
434 * sysdeps/unix/sysv/linux/ia64: Move directory from
435 ports/sysdeps/unix/sysv/linux/ia64.
436 * README: Update listing for ia64-*-linux-gnu.
438 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
439 Joseph Myers <joseph@codesourcery.com>
441 * Makeconfig (test-name): New variable.
442 (evaluate-test): Likewise.
443 * Makerules (do-test-clean): Remove .test-result files.
444 (common-mostlyclean): Likewise.
445 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
446 * scripts/evaluate-test.sh: New file.
448 2014-02-14 Joseph Myers <joseph@codesourcery.com>
450 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
451 separate $(objpfx)tst-fopenloc-cmp.out and
452 $(objpfx)tst-fopenloc-mem.out targets.
453 (tests): Update dependencies.
454 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
455 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
456 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
457 (tst-rxspencer-no-utf8-ARGS): New variable.
458 (tst-rxspencer-no-utf8-ENV): Likewise.
459 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
460 instead of $(objpfx)tst-rxspencer-mem.
461 ($(objpfx)tst-rxspencer-mem): Change target to
462 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
463 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
464 * posix/tst-rxspencer-no-utf8.c: New file.
466 * elf/Makefile ($(objpfx)order.out): Remove rule.
467 [$(run-built-tests) = yes] (tests): Depend on
468 $(objpfx)order-cmp.out.
469 ($(objpfx)order-cmp.out): New rule.
470 [$(run-built-tests) = yes] (tests): Depend on
471 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
472 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
473 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
474 $(objpfx)tst-array5-static-cmp.out.
475 ($(objpfx)tst-array1.out): Remove rule.
476 ($(objpfx)tst-array1-cmp.out): New rule.
477 ($(objpfx)tst-array1-static.out): Remove rule.
478 ($(objpfx)tst-array1-static-cmp.out): New rule.
479 ($(objpfx)tst-array2.out): Remove rule.
480 ($(objpfx)tst-array2-cmp.out): New rule.
481 ($(objpfx)tst-array3.out): Remove rule.
482 ($(objpfx)tst-array3-cmp.out): New rule.
483 ($(objpfx)tst-array4.out): Remove rule.
484 ($(objpfx)tst-array4-cmp.out): New rule.
485 ($(objpfx)tst-array5.out): Remove rule.
486 ($(objpfx)tst-array5-cmp.out): New rule.
487 ($(objpfx)tst-array5-static.out): Remove rule.
488 ($(objpfx)tst-array5-static-cmp.out): New rule.
489 [$(run-built-tests) = yes] (tests): Depend on
490 $(objpfx)order2-cmp.out.
491 ($(objpfx)order2.out): Remove rule.
492 ($(objpfx)order2-cmp.out): New rule.
493 ($(objpfx)tst-initorder.out): Remove rule.
494 [$(run-built-tests) = yes] (tests): Depend on
495 $(objpfx)tst-initorder-cmp.out.
496 ($(objpfx)tst-initorder-cmp.out): New rule.
497 ($(objpfx)tst-initorder2.out): Remove rule.
498 [$(run-built-tests) = yes] (tests): Depend on
499 $(objpfx)tst-initorder2-cmp.out.
500 ($(objpfx)tst-initorder2-cmp.out): New rule.
501 [$(run-built-tests) = yes] (tests): Depend on
502 $(objpfx)tst-unused-dep-cmp.out.
503 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
504 ($(objpfx)tst-unused-dep-cmp.out): New rule.
505 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
506 on $(objpfx)tst-setvbuf1-cmp.out.
507 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
508 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
509 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
510 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
511 ($(objpfx)tst-svc.out): Remove rule.
512 ($(objpfx)tst-svc-cmp.out): New rule.
514 2014-02-13 Joseph Myers <joseph@codesourcery.com>
516 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
517 * ctype/ctype.h [__USE_MISC]: Likewise.
518 * dirent/dirent.h [__USE_MISC]: Likewise.
519 * grp/grp.h [__USE_MISC]: Likewise.
520 * io/fcntl.h [__USE_MISC]: Likewise.
521 * io/sys/stat.h [__USE_MISC]: Likewise.
522 * libio/stdio.h [__USE_MISC]: Likewise.
523 * posix/unistd.h [__USE_MISC]: Likewise.
524 * pwd/pwd.h [__USE_MISC]: Likewise.
525 * stdlib.h [__USE_MISC]: Likewise.
526 * string/bits/string2.h [__USE_MISC]: Likewise.
527 * string/string.h [__USE_MISC]: Likewise.
528 * time/time.h [__USE_MISC]: Likewise.
530 2014-02-13 Andreas Schwab <schwab@suse.de>
533 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
534 second answer buffer if it was separately allocated.
536 2014-02-12 Joseph Myers <joseph@codesourcery.com>
538 * sysdeps/mips/math-tests.h: Include <features.h>.
539 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
540 (ROUNDING_TESTS_long_double): Do not define.
541 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
542 (EXCEPTION_TESTS_long_double): Likewise.
543 * sysdeps/mips/mips64/libm-test-ulps: Update.
545 * include/features.h (__USE_BSD): Remove macro definitions.
546 (__USE_SVID): Likewise.
547 (_BSD_SOURCE): Likewise.
548 (_SVID_SOURCE): Likewise.
549 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
550 from definition of _DEFAULT_SOURCE.
551 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
553 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
554 * bits/mman.h [__USE_BSD]: Likewise.
555 * bits/termios.h [__USE_BSD]: Likewise.
556 * bits/waitstatus.h [__USE_BSD]: Likewise.
557 * ctype/ctype.h [__USE_SVID]: Likewise.
558 * dirent/dirent.h [__USE_BSD]: Likewise.
559 * grp/grp.h [__USE_SVID]: Likewise.
560 [__USE_BSD]: Likewise.
561 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
562 * io/fcntl.h [__USE_BSD]: Likewise.
563 * io/ftw.h [__USE_BSD]: Likewise.
564 * io/sys/stat.h [__USE_BSD]: Likewise.
565 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
566 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
567 * libio/stdio.h [__USE_SVID]: Likewise.
568 [__USE_BSD]: Likewise.
569 * math/math.h [__USE_SVID]: Likewise.
570 [__USE_BSD]: Likewise.
571 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
572 * misc/bits/syslog.h [__USE_BSD]: Likewise.
573 * misc/search.h [__USE_SVID]: Likewise.
574 * misc/sys/mman.h [__USE_BSD]: Likewise.
575 * misc/sys/syslog.h [__USE_BSD]: Likewise.
576 * misc/sys/uio.h [__USE_BSD]: Likewise.
577 * posix/bits/unistd.h [__USE_BSD]: Likewise.
578 * posix/glob.h [__USE_BSD]: Likewise.
579 * posix/regex.h [__USE_BSD]: Likewise.
580 * posix/sys/types.h [__USE_BSD]: Likewise.
581 [__USE_SVID]: Likewise.
582 * posix/sys/utsname.h [__USE_SVID]: Likewise.
583 * posix/sys/wait.h [__USE_BSD]: Likewise.
584 [__USE_SVID]: Likewise.
585 * posix/unistd.h [__USE_BSD]: Likewise.
586 [__USE_SVID]: Likewise.
587 * pwd/pwd.h [__USE_SVID]: Likewise.
588 * resolv/netdb.h [__USE_BSD]: Likewise.
589 * setjmp/setjmp.h [__USE_BSD]: Likewise.
590 * signal/signal.h [__USE_BSD]: Likewise.
591 [__USE_SVID]: Likewise.
592 * socket/sys/socket.h [__USE_BSD]: Likewise.
593 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
594 * stdlib/stdlib.h [__USE_BSD]: Likewise.
595 [__USE_SVID]: Likewise.
596 * string/bits/string2.h [__USE_BSD]: Likewise.
597 [__USE_SVID]: Likewise.
598 * string/bits/string3.h [__USE_BSD]: Likewise.
599 * string/endian.h [__USE_BSD]: Likewise.
600 * string/string.h [__USE_SVID]: Likewise.
601 [__USE_BSD]: Likewise.
602 * string/strings.h [__USE_BSD]: Likewise.
603 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
604 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
605 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
606 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
607 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
608 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
610 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
612 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
613 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
615 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
616 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
618 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
620 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
621 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
622 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
624 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
626 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
627 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
628 * termios/termios.h [__USE_BSD]: Likewise.
629 * time/sys/time.h [__USE_BSD]: Likewise.
630 * time/time.h [__USE_BSD]: Likewise.
631 [__USE_SVID]: Likewise.
633 * Makefile (subdir_targets): Remove subdir_lint.out.
635 * stdio-common/Makefile (do-tst-unbputc): Remove target.
636 (do-tst-printf): Likewise.
637 (tests): Depend directly on $(objpfx)tst-unbputc.out and
638 $(objpfx)tst-printf.out.
640 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
642 * Makerules (check-abi-%): Change target to
643 $(objpfx)check-abi-%.out.
644 (check-abi target): Update dependencies.
645 (check-abi-pattern variable): Redirect output of diff to $@.
646 (check-abi variable): Likewise.
647 * elf/Makefile (check-abi): Update dependencies.
649 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
651 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
652 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
654 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
655 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
656 value has largest subnormal exponent.
657 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
658 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
659 * sysdeps/aarch64/soft-fp/sfp-machine.h
660 (_FP_TININESS_AFTER_ROUNDING): New macro.
661 * sysdeps/alpha/soft-fp/sfp-machine.h
662 (_FP_TININESS_AFTER_ROUNDING): Likewise.
663 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
665 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
666 (_FP_TININESS_AFTER_ROUNDING): Likewise.
667 * sysdeps/mips/soft-fp/sfp-machine.h
668 (_FP_TININESS_AFTER_ROUNDING): Likewise.
669 * sysdeps/powerpc/soft-fp/sfp-machine.h
670 (_FP_TININESS_AFTER_ROUNDING): Likewise.
671 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
673 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
674 (_FP_TININESS_AFTER_ROUNDING): Likewise.
675 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
676 (_FP_TININESS_AFTER_ROUNDING): Likewise.
677 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
680 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
683 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
686 2014-02-12 Richard Henderson <rth@redhat.com>
688 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
689 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
690 * sysdeps/unix/sysv/linux/alpha: Move directory from
691 ports/sysdeps/unix/sysv/linux/alpha.
692 * README: Update listing for alpha-*-linux-gnu.
694 2014-02-11 Joseph Myers <joseph@codesourcery.com>
696 * include/features.h: Update comment documenting feature test
698 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
700 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
701 (_SVID_SOURCE): Likewise.
702 (_DEFAULT_SOURCE): Update description of default features.
703 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
705 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
707 * manual/math.texi (Mathematical Constants): Likewise.
708 * manual/signal.texi (Interrupted Primitives): Likewise.
709 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
710 * math/test-matherr.c (_SVID_SOURCE): Do not define.
711 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
712 Don't refer to _SVID_SOURCE in warning text.
714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
716 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
718 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
719 * sysdeps/mips/dl-lookup.c: Remove.
720 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
722 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
725 * math/auto-libm-test-in: Add testcase for expl.
726 * math/auto-libm-test-out: Regenerate.
727 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
728 calculation of unsafe.
729 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
731 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
733 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
734 * sysdeps/unix/sysv/linux/aarch64: Move directory from
735 ports/sysdeps/unix/sysv/linux/aarch64.
736 * README: Update listing for aarch64*-*-linux-gnu.
738 2014-02-11 Will Newton <will.newton@linaro.org>
740 * manual/probes.texi (Mathematical Function Probes): Use
741 "triggered" instead of "hit".
743 2014-02-11 Will Newton <will.newton@linaro.org>
745 * manual/probes.texi (Internal Probes): Add documentation
746 of setjmp, longjmp and longjmp_target probes.
748 2014-02-11 Will Newton <will.newton@linaro.org>
750 * include/stap-probe.h: Add comment about probe argument
753 2014-02-11 Will Newton <will.newton@linaro.org>
755 * malloc/mtrace.c (attribute_hidden): Remove unused macro
756 definition. (tr_where, tr_freehook, tr_mallochook,
757 tr_reallochook, tr_memalignhook): Use ANSI protoype.
759 2014-02-11 David S. Miller <davem@davemloft.net>
761 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
762 processing int_tests.
764 2014-02-10 Joseph Myers <joseph@codesourcery.com>
766 * sysdeps/mips: Move directory from ports/sysdeps/mips.
767 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
768 * sysdeps/unix/sysv/linux/mips: Move directory from
769 ports/sysdeps/unix/sysv/linux/mips.
770 * README: Update listing for mips-*-linux-gnu and
773 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
775 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
776 * sysdeps/unix/sysv/linux/m68k: Move directory from
777 ports/sysdeps/unix/sysv/linux/m68k.
778 * README: Update listing for m68k-*-linux-gnu.
780 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
782 * sysdeps/tile: Move directory from ports/sysdeps/tile.
783 * sysdeps/unix/sysv/linux/generic: Move directory from
784 ports/sysdeps/unix/sysv/linux/generic.
785 * sysdeps/unix/sysv/linux/tile: Move directory from
786 ports/sysdeps/unix/sysv/linux/tile.
787 * README: Update listing for tile*-*-linux-gnu.
789 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
791 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
792 * benchtests/bench-memmem.c (simple_memmem): Likewise.
793 * catgets/open_catalog.c (__open_catalog): Likewise.
794 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
795 * debug/confstr_chk.c: Likewise.
796 * debug/fread_chk.c (__fread_chk): Likewise.
797 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
798 * debug/getgroups_chk.c: Likewise.
799 * debug/mbsnrtowcs_chk.c: Likewise.
800 * debug/mbsrtowcs_chk.c: Likewise.
801 * debug/mbstowcs_chk.c: Likewise.
802 * debug/memcpy_chk.c: Likewise.
803 * debug/memmove_chk.c: Likewise.
804 * debug/mempcpy_chk.c: Likewise.
805 * debug/memset_chk.c: Likewise.
806 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
807 * debug/strcat_chk.c (__strcat_chk): Likewise.
808 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
809 * debug/strncat_chk.c (__strncat_chk): Likewise.
810 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
811 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
812 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
813 * debug/wcpncpy_chk.c: Likewise.
814 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
815 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
816 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
817 * debug/wcsncpy_chk.c: Likewise.
818 * debug/wcsnrtombs_chk.c: Likewise.
819 * debug/wcsrtombs_chk.c: Likewise.
820 * debug/wcstombs_chk.c: Likewise.
821 * debug/wmemcpy_chk.c: Likewise.
822 * debug/wmemmove_chk.c: Likewise.
823 * debug/wmempcpy_chk.c: Likewise.
824 * debug/wmemset_chk.c: Likewise.
825 * dirent/scandirat.c (SCANDIRAT): Likewise.
826 * dlfcn/dladdr1.c (dladdr1): Likewise.
827 * dlfcn/dladdr.c (dladdr): Likewise.
828 * dlfcn/dlclose.c (dlclose_doit): Likewise.
829 * dlfcn/dlerror.c (__dlerror): Likewise.
830 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
831 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
832 * dlfcn/dlopen.c (dlopen_doit): Likewise.
833 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
834 * dlfcn/dlsym.c (dlsym_doit): Likewise.
835 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
836 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
837 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
839 * elf/dl-conflict.c: Likewise.
840 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
841 * elf/dl-dst.h: Likewise.
842 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
843 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
844 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
845 * elf/dl-init.c (call_init, _dl_init): Likewise.
846 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
847 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
848 _dl_map_object_from_fd, open_verify, open_path,
849 _dl_map_object): Likewise.
850 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
852 * elf/dl-minimal.c (__libc_memalign): Likewise.
853 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
854 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
855 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
856 * elf/dl-sym.c (do_sym): Likewise.
857 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
858 _dl_tls_get_addr_soft): Likewise.
859 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
860 * elf/dl-writev.h (_dl_writev): Likewise.
861 * elf/ldconfig.c (search_dir): Likewise.
862 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
864 * elf/setup-vdso.h (setup_vdso): Likewise.
865 * grp/compat-initgroups.c (compat_call): Likewise.
866 * grp/fgetgrent.c (fgetgrent): Likewise.
867 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
868 * grp/putgrent.c (putgrent): Likewise.
869 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
871 * hurd/hurdinit.c: Likewise.
872 * iconvdata/8bit-gap.c (struct): Likewise.
873 * iconvdata/ansi_x3.110.c : Likewise.
874 * iconvdata/big5.c : Likewise.
875 * iconvdata/big5hkscs.c : Likewise.
876 * iconvdata/cp1255.c: Likewise.
877 * iconvdata/cp1258.c : Likewise.
878 * iconvdata/cp932.c : Likewise.
879 * iconvdata/euc-cn.c: Likewise.
880 * iconvdata/euc-jisx0213.c : Likewise.
881 * iconvdata/euc-jp.c: Likewise.
882 * iconvdata/euc-jp-ms.c : Likewise.
883 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
884 * iconvdata/gb18030.c : Likewise.
885 * iconvdata/gbbig5.c (const): Likewise.
886 * iconvdata/gbgbk.c: Likewise.
887 * iconvdata/gbk.c : Likewise.
888 * iconvdata/ibm1364.c : Likewise.
889 * iconvdata/ibm930.c : Likewise.
890 * iconvdata/ibm932.c: Likewise.
891 * iconvdata/ibm933.c : Likewise.
892 * iconvdata/ibm935.c : Likewise.
893 * iconvdata/ibm937.c : Likewise.
894 * iconvdata/ibm939.c : Likewise.
895 * iconvdata/ibm943.c: Likewise.
896 * iconvdata/iso_11548-1.c: Likewise.
897 * iconvdata/iso-2022-cn.c : Likewise.
898 * iconvdata/iso-2022-cn-ext.c : Likewise.
899 * iconvdata/iso-2022-jp-3.c: Likewise.
900 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
901 * iconvdata/iso-2022-kr.c : Likewise.
902 * iconvdata/iso646.c (gconv_end): Likewise.
903 * iconvdata/iso_6937-2.c : Likewise.
904 * iconvdata/iso_6937.c : Likewise.
905 * iconvdata/iso8859-1.c: Likewise.
906 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
907 * iconvdata/shift_jisx0213.c : Likewise.
908 * iconvdata/sjis.c : Likewise.
909 * iconvdata/t.61.c : Likewise.
910 * iconvdata/tcvn5712-1.c : Likewise.
911 * iconvdata/tscii.c: Likewise.
912 * iconvdata/uhc.c : Likewise.
913 * iconvdata/unicode.c (gconv_end): Likewise.
914 * iconvdata/utf-16.c (gconv_end): Likewise.
915 * iconvdata/utf-32.c (gconv_end): Likewise.
916 * iconvdata/utf-7.c (base64): Likewise.
917 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
918 * iconv/gconv_close.c (__gconv_close): Likewise.
919 * iconv/gconv_open.c (__gconv_open): Likewise.
920 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
921 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
922 internal_ucs4le_loop_single, ucs4le_internal_loop,
923 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
924 * iconv/iconv.c (iconv): Likewise.
925 * iconv/iconv_close.c: Likewise.
926 * iconv/loop.c (SINGLE): Likewise.
927 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
928 * include/atomic.h: Likewise.
929 * inet/inet6_option.c (option_alloc): Likewise.
930 * intl/bindtextdom.c (set_binding_values): Likewise.
931 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
932 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
933 * intl/localealias.c (read_alias_file): Likewise.
934 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
935 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
936 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
937 * libio/fmemopen.c (fmemopen): Likewise.
938 * libio/iofgets.c (_IO_fgets): Likewise.
939 * libio/iofgets_u.c (fgets_unlocked): Likewise.
940 * libio/iofgetws.c (fgetws): Likewise.
941 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
942 * libio/iogetdelim.c (_IO_getdelim): Likewise.
943 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
944 adjust_wide_data, _IO_wfile_seekoff): Likewise.
945 * locale/findlocale.c (_nl_find_locale): Likewise.
946 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
947 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
949 * locale/setlocale.c (setlocale): Likewise.
950 * login/programs/pt_chown.c (main): Likewise.
951 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
952 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
953 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
954 mmap, mmap64, mremap, munmap): Likewise.
955 * math/e_exp2l.c: Likewise.
956 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
957 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
958 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
959 * math/s_catan.c (__catan): Likewise.
960 * math/s_catanf.c (__catanf): Likewise.
961 * math/s_catanh.c (__catanh): Likewise.
962 * math/s_catanhf.c (__catanhf): Likewise.
963 * math/s_catanhl.c (__catanhl): Likewise.
964 * math/s_catanl.c (__catanl): Likewise.
965 * math/s_ccosh.c (__ccosh): Likewise.
966 * math/s_ccoshf.c (__ccoshf): Likewise.
967 * math/s_ccoshl.c (__ccoshl): Likewise.
968 * math/s_cexp.c (__cexp): Likewise.
969 * math/s_cexpf.c (__cexpf): Likewise.
970 * math/s_cexpl.c (__cexpl): Likewise.
971 * math/s_clog10.c (__clog10): Likewise.
972 * math/s_clog10f.c (__clog10f): Likewise.
973 * math/s_clog10l.c (__clog10l): Likewise.
974 * math/s_clog.c (__clog): Likewise.
975 * math/s_clogf.c (__clogf): Likewise.
976 * math/s_clogl.c (__clogl): Likewise.
977 * math/s_csin.c (__csin): Likewise.
978 * math/s_csinf.c (__csinf): Likewise.
979 * math/s_csinh.c (__csinh): Likewise.
980 * math/s_csinhf.c (__csinhf): Likewise.
981 * math/s_csinhl.c (__csinhl): Likewise.
982 * math/s_csinl.c (__csinl): Likewise.
983 * math/s_csqrt.c (__csqrt): Likewise.
984 * math/s_csqrtf.c (__csqrtf): Likewise.
985 * math/s_csqrtl.c (__csqrtl): Likewise.
986 * math/s_ctan.c (__ctan): Likewise.
987 * math/s_ctanf.c (__ctanf): Likewise.
988 * math/s_ctanh.c (__ctanh): Likewise.
989 * math/s_ctanhf.c (__ctanhf): Likewise.
990 * math/s_ctanhl.c (__ctanhl): Likewise.
991 * math/s_ctanl.c (__ctanl): Likewise.
992 * math/w_pow.c: Likewise.
993 * math/w_powf.c: Likewise.
994 * math/w_powl.c: Likewise.
995 * math/w_scalb.c (sysv_scalb): Likewise.
996 * math/w_scalbf.c (sysv_scalbf): Likewise.
997 * math/w_scalbl.c (sysv_scalbl): Likewise.
998 * misc/error.c (error_tail): Likewise.
999 * misc/pselect.c (__pselect): Likewise.
1000 * nis/nis_callback.c (__nis_create_callback): Likewise.
1001 * nis/nis_call.c (__nisfind_server): Likewise.
1002 * nis/nis_creategroup.c (nis_creategroup): Likewise.
1003 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
1004 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1005 * nis/nis_getservlist.c (nis_getservlist): Likewise.
1006 * nis/nis_lookup.c (nis_lookup): Likewise.
1007 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
1008 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1009 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1010 * nis/nis_xdr.c (xdr_endpoint): Likewise.
1011 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1012 internal_getgrgid_r): Likewise.
1013 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1015 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1016 internal_getpwuid_r): Likewise.
1017 * nis/nss_compat/compat-spwd.c (getspent_next_file,
1018 internal_getspnam_r): Likewise.
1019 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1020 _nss_nis_getaliasbyname_r): Likewise.
1021 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1022 _nss_nis_getntohost_r): Likewise.
1023 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1024 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1026 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1027 internal_nis_gethostent_r, internal_gethostbyname2_r,
1028 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1029 _nss_nis_gethostbyname4_r): Likewise.
1030 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1031 initgroups_netid): Likewise.
1032 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1033 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1034 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1035 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1036 _nss_nis_getprotobynumber_r): Likewise.
1037 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1038 _nss_nis_getsecretkey): Likewise.
1039 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1040 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1042 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1043 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1044 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1045 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1046 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1047 _nss_nis_getspnam_r): Likewise.
1048 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1050 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1051 _nss_nisplus_getntohost_r): Likewise.
1052 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1053 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1054 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1055 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1056 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1058 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1059 _nss_nisplus_getnetbyaddr_r): Likewise.
1060 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1061 _nss_nisplus_getprotobynumber_r): Likewise.
1062 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1063 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1064 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1066 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1067 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1068 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1069 _nss_nisplus_getspnam_r): Likewise.
1070 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1071 * nscd/aicache.c (addhstaiX): Likewise.
1072 * nscd/cache.c (cache_search, prune_cache): Likewise.
1073 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1074 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1075 * nscd/grpcache.c (addgrbyX): Likewise.
1076 * nscd/hstcache.c (addhstbyX): Likewise.
1077 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1078 * nscd/mem.c (gc, mempool_alloc): Likewise.
1079 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1081 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1083 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1084 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1085 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1087 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1088 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1089 * nscd/nscd_helper.c (__readvall, open_socket,
1090 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1091 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1092 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1093 * nscd/pwdcache.c (addpwbyX): Likewise.
1094 * nscd/selinux.c (preserve_capabilities): Likewise.
1095 * nscd/servicescache.c (addservbyX): Likewise.
1096 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1097 * posix/fnmatch.c (fnmatch): Likewise.
1098 * posix/getopt.c (_getopt_internal_r): Likewise.
1099 * posix/glob.c (glob, glob_in_dir): Likewise.
1100 * posix/wordexp.c (exec_comm_child): Likewise.
1101 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1102 gaih_getanswer_slice): Likewise.
1103 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1104 * resolv/res_init.c: Likewise.
1105 * resolv/res_mkquery.c (res_nmkquery): Likewise.
1106 * resolv/res_query.c (__libc_res_nquery): Likewise.
1107 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1109 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1110 * stdio-common/perror.c (perror): Likewise.
1111 * stdio-common/printf_fp.c (___printf_fp): Likewise.
1112 * stdio-common/tmpnam.c (tmpnam): Likewise.
1113 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1114 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1115 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1116 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1117 * stdlib/putenv.c (putenv): Likewise.
1118 * stdlib/setenv.c (__add_to_environ): Likewise.
1119 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1120 * stdlib/strtol_l.c (INTERNAL): Likewise.
1121 * string/memmem.c (memmem): Likewise.
1122 * string/strerror.c (strerror): Likewise.
1123 * string/strnlen.c (__strnlen): Likewise.
1124 * string/test-memmem.c (simple_memmem): Likewise.
1125 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1126 * sunrpc/pm_getport.c (__get_socket): Likewise.
1127 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1128 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1129 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1130 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1132 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1133 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1134 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1135 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1136 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1137 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1138 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1139 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1140 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1141 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1142 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1143 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1144 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1145 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1146 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1147 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1148 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1149 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1150 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1152 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1154 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1156 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1157 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1158 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1159 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1160 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1161 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1162 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1163 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1164 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1165 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1166 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1167 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1168 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1169 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1170 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1171 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1172 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1174 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1176 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1178 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1179 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1180 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1182 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1183 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1184 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1185 * sysdeps/posix/sleep.c: Likewise.
1186 * sysdeps/posix/tempname.c: Likewise.
1187 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1188 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1190 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1191 elf_machine_rela): Likewise.
1192 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1193 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1194 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1195 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1197 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1198 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1199 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1200 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1201 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1202 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1203 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1204 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1205 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1206 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1207 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1208 elf_machine_lazy_rel): Likewise.
1209 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1210 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1211 elf_machine_lazy_rel): Likewise.
1212 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1213 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1214 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1215 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1216 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1217 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1218 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1219 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1221 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1222 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1223 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1224 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1225 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1226 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1227 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1228 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1229 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1230 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1231 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1233 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1234 (__posix_fallocate64_l64): Likewise.
1235 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1236 (posix_fallocate): Likewise.
1237 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1238 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1239 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1240 getifaddrs_internal): Likewise.
1241 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1242 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1243 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1244 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1245 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1246 (__posix_fallocate64_l64): Likewise.
1247 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1249 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1250 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1252 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1253 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1254 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1255 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1256 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1257 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1258 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1259 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1261 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1262 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1263 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1264 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1265 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1266 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1267 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1269 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1270 (posix_fallocate): Likewise.
1271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1272 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1273 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1274 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1275 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1277 * time/asctime.c (asctime_internal): Likewise.
1278 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1279 * time/tzset.c (__tzset_parse_tz): Likewise.
1280 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1281 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1282 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1283 * wcsmbs/wcsmbsload.h: Likewise.
1285 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1288 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1290 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1292 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1293 arena_get2): Remove THREAD_STATS conditionals.
1294 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1295 __malloc_stats, int): Likewise.
1297 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1299 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1300 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1302 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1304 * manual/setjmp.texi: Fix typos/grammar errors.
1306 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1308 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1309 Only return early when n is <= 0. Delete unused return statement.
1311 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1313 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1314 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1315 * debug/tst-longjmp_chk3.c: New file.
1317 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1319 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1320 (test_main): Replace code with set_fortify_handler call.
1321 * debug/test-strcpy_chk.c: Likewise.
1322 * debug/tst-chk1.c: Likewise.
1323 * debug/tst-longjmp_chk.c: Likewise.
1324 * test-skeleton.c: Include fcntl.h & paths.h
1325 (set_fortify_handler): Define.
1327 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1329 * debug/tst-longjmp_chk.c: Add header comment and include
1331 (do_test): Mark static.
1332 (TEST_FUNCTION): Define.
1334 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1336 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1337 (IP_PMTUDISC_INTERFACE): Likewise.
1338 (IP_MULTICAST_IF): Likewise.
1339 (IP_MULTICAST_TTL): Likewise.
1340 (IP_MULTICAST_LOOP): Likewise.
1341 (IP_ADD_MEMBERSHIP): Likewise.
1342 (IP_DROP_MEMBERSHIP): Likewise.
1343 (IP_UNBLOCK_SOURCE): Likewise.
1344 (IP_BLOCK_SOURCE): Likewise.
1345 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1346 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1347 (IP_MSFILTER): Likewise.
1348 (MCAST_JOIN_GROUP): Likewise.
1349 (MCAST_BLOCK_SOURCE): Likewise.
1350 (MCAST_UNBLOCK_SOURCE): Likewise.
1351 (MCAST_LEAVE_GROUP): Likewise.
1352 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1353 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1354 (MCAST_MSFILTER): Likewise.
1355 (IP_MULTICAST_ALL): Likewise.
1356 (IP_UNICAST_IF): Likewise.
1358 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1360 * timezone/Makefile: Delete $(have-ksh) check.
1361 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1362 * timezone/tzselect.ksh: Add +x mode bits.
1364 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1366 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1367 (ANON_INODE_FS_MAGIC): Likewise.
1368 (BDEVFS_MAGIC): Likewise.
1369 (BINFMTFS_MAGIC): Likewise.
1370 (BTRFS_TEST_MAGIC): Likewise.
1371 (CRAMFS_MAGIC_WEND): Likewise.
1372 (DEBUGFS_MAGIC): Likewise.
1373 (ECRYPTFS_SUPER_MAGIC): Likewise.
1374 (EXT3_SUPER_MAGIC): Likewise.
1375 (EXT4_SUPER_MAGIC): Likewise.
1376 (FUTEXFS_SUPER_MAGIC): Likewise.
1377 (HOSTFS_SUPER_MAGIC): Likewise.
1378 (HUGETLBFS_MAGIC): Likewise.
1379 (MINIX3_SUPER_MAGIC): Likewise.
1380 (MTD_INODE_FS_MAGIC): Likewise.
1381 (NILFS_SUPER_MAGIC): Likewise.
1382 (OPENPROM_SUPER_MAGIC): Likewise.
1383 (PIPEFS_MAGIC): Likewise.
1384 (PSTOREFS_MAGIC): Likewise.
1385 (QNX6_SUPER_MAGIC): Likewise.
1386 (RAMFS_MAGIC): Likewise.
1387 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1388 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1389 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1390 (SECURITYFS_MAGIC): Likewise.
1391 (SELINUX_MAGIC): Likewise.
1392 (SMACK_MAGIC): Likewise.
1393 (SOCKFS_MAGIC): Likewise.
1394 (SQUASHFS_MAGIC): Likewise.
1395 (STACK_END_MAGIC): Likewise.
1396 (TMPFS_MAGIC): Likewise.
1397 (USBDEVICE_SUPER_MAGIC): Likewise.
1398 (V9FS_MAGIC): Likewise.
1399 (XENFS_SUPER_MAGIC): Likewise.
1400 (CRAMFS_MAGIC): Fix typo in comment.
1401 (EXT2_SUPER_MAGIC): Update comment.
1402 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1404 2014-02-08 Joseph Myers <joseph@codesourcery.com>
1406 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1407 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1408 * sysdeps/unix/sysv/linux/arm: Move directory from
1409 ports/sysdeps/unix/sysv/linux/arm.
1410 * README: Update listing for arm-*-linux-gnueabi.
1412 * README: Remove mention of am33.
1414 2014-02-07 Roland McGrath <roland@hack.frob.com>
1416 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1417 than the comma operator, to avoid "rhs of comma has no effect"
1419 (__sigfillset, __sigandset, __sigorset): Likewise.
1420 * include/signal.h (__sigemptyset): Likewise.
1421 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1423 2014-02-07 Allan McRae <allan@archlinux.org>
1425 * version.h (RELEASE): Set to "development".
1426 (VERSION): Set to "2.19.90"
1427 * NEWS: Add 2.20 section.
1429 2014-02-06 Carlos O'Donell <carlos@redhat.com>
1432 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1434 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1436 * manual/contrib.texi: Update entry for Carlos O'Donell,
1437 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1439 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
1441 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1443 * sysdeps/unix/sysv/linux/kernel-features.h
1444 [__LINUX_KERNEL_VERSION >= 0x020621]
1445 (__ASSUME_PROC_PID_TASK_COMM): Define.
1447 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1449 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1450 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1451 Leonard and Allan McRae.
1453 2014-02-04 David S. Miller <davem@davemloft.net>
1455 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1458 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1487 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1489 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1490 * shlib-versions: Likewise.
1492 2014-02-04 Roland McGrath <roland@hack.frob.com>
1493 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1495 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1496 (abilist-pattern): New variable, set to %-le.abilist.
1498 * Makerules (abilist-pattern): New variable.
1499 (vpath): Use $(abilist-pattern) in place of %.abilist.
1500 (check-abi-% pattern rule): Likewise.
1501 (check-abi, update-abi): Likewise.
1503 2014-02-04 Eric Wong <normalperson@yhbt.net>
1505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1507 2014-02-04 Eric Wong <normalperson@yhbt.net>
1509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1511 2014-02-03 Carlos O'Donell <carlos@redhat.com>
1513 * manual/startup.texi: Add next, previous, and top entries for
1514 the `Program Arguments' and `Environment Variables' nodes.
1516 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
1518 * manual/macros.texi: Add comments before MTASC-safety macros.
1520 * manual/users.texi: Document MTASC-safety properties.
1522 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1523 pthread_getspecific, pthread_setspecific): Format with
1524 @deftypefun, and add @safety note.
1525 * manual/signal.texi: Move comments that analyze the above
1526 functions to their home place.
1528 2014-02-03 Allan McRae <allan@archlinux.org>
1530 * po/sl.po: Update Slovenian translation from translation project.
1532 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
1534 * manual/time.texi (timegm): Add missing blank after @c.
1535 Reported by Joseph Myers <joseph@codesourcery.com>.
1537 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
1539 * manual/check-safety.sh: New.
1540 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1542 * manual/terminal.texi: Document MTASC-safety properties.
1544 * manual/filesys.texi: Document MTASC-safety properties.
1546 * manual/errno.texi: Document MTASC-safety properties.
1548 * manual/intro.texi: Document safety identifiers and
1551 * manual/string.texi (wcstok): Fix prototype.
1552 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1554 * manual/time.texi: Document MTASC-safety properties.
1556 * manual/string.texi: Document MTASC-safety properties.
1558 * manual/threads.texi: Document MTASC-safety properties.
1560 * manual/stdio.texi: Document MTASC-safety properties.
1562 * manual/syslog.texi: Document MTASC-safety properties.
1564 * manual/sysinfo.texi: Document MTASC-safety properties.
1566 * manual/startup.texi: Document MTASC-safety properties.
1568 * manual/socket.texi: Document MTASC-safety properties.
1570 * manual/signal.texi: Document MTASC-safety properties.
1572 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
1574 * manual/setjmp.texi: Document MTASC-safety properties.
1576 * manual/search.texi: Document MTASC-safety properties.
1578 * manual/resource.texi: Document MTASC-safety properties.
1580 * manual/process.texi: Document MTASC-safety properties.
1582 * manual/platform.texi: Document MTASC-safety properties.
1584 * manual/pipe.texi: Document MTASC-safety properties.
1586 * manual/pattern.texi: Document MTASC-safety properties.
1588 * manual/message.texi: Document MTASC-safety properties.
1591 * manual/memory.texi: Document MTASC-safety properties.
1593 * manual/math.texi: Document MTASC-safety properties.
1595 * manual/locale.texi: Document MTASC-safety properties.
1597 * manual/llio.texi: Document MTASC-safety properties.
1599 * manual/libdl.texi: New.
1601 * manual/lang.texi: Document MTASC-safety properties.
1603 * manual/job.texi: Document MTASC-safety properties.
1605 * manual/getopt.texi: Document MTASC-safety properties.
1607 * manual/ctype.texi: Document MTASC-safety properties.
1609 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1612 * csu/libc-tls.c (static_map): Remove variable.
1613 (__libc_setup_tls): Use main executable's link map for TLS data.
1614 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1615 casing for LM_ID_BASE and GL(dl_nns).
1616 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1617 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1618 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1619 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1620 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1622 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1625 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
1627 * manual/debug.texi: Document MTASC-safety properties.
1629 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1632 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1633 of __x86_64__ when disabling x87 inline functions.
1635 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
1637 * manual/charset.texi: Document MTASC-safety properties.
1639 * manual/crypt.texi: Document MTASC-safety properties.
1641 * manual/conf.texi: Document MTASC-safety properties.
1643 * manual/arith.texi: Document MTASC-safety properties.
1645 * manual/argp.texi: Document MTASC-safety properties.
1647 * manual/macros.texi: Introduce macros to document multi
1648 thread, asynchronous signal and asynchronous cancellation
1650 * manual/intro.texi: Introduce the properties themselves.
1652 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1654 * sysdeps/sh/sh4/Makefile: New file.
1656 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1658 * math/gen-libm-test.pl ($srcdir): New variable.
1659 ($auto_input): Use it.
1661 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1664 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1665 access beyond array bounds when parsing netgroups file.
1667 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1668 the old buffer before realloc.
1670 2014-01-27 Allan McRae <allan@archlinux.org>
1672 * po/fr.po: Update French translation from translation project.
1674 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1676 * sysdeps/sh/libm-test-ulps: Regenerate.
1678 2014-01-24 David S. Miller <davem@davemloft.net>
1680 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1682 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1684 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1685 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1687 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1690 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1691 string pointers after reallocation.
1693 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1695 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1696 __SH4A__ instead of __SH_FPU_ANY__.
1698 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1700 * sysdeps/sh/fpu_control.h: New file.
1701 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1702 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1703 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1704 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1705 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1706 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1707 * sysdeps/sh/sys/ucontext.h: Remove.
1708 * sysdeps/sh/sys: Remove directory.
1710 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1712 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1713 s390/sys/ucontext.h.
1714 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1715 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1717 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1720 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1722 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1725 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1726 Adjust the vDSO correctly for internal calls.
1727 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1729 2014-01-20 Allan McRae <allan@archlinux.org>
1731 * po/ca.po: Update Catalan translation from translation project.
1733 2014-01-16 Mike Frysinger <vapier@gentoo.org>
1735 * sysdeps/s390/sotruss-lib.c: New file.
1737 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1740 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1741 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1742 local calls issues by not having a PLT stub required for IFUNC calls.
1743 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1745 2014-01-16 Joseph Myers <joseph@codesourcery.com>
1747 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1748 * math/test-fpucw-static.c: Likewise.
1750 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1753 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1755 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1757 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1758 implementation for powerpc.
1760 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
1763 * sysdeps/posix/system.c (__libc_system): Do not enable
1764 asynchronous cancellation.
1766 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1769 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1770 handling only for numbers special also in the IEEE case.
1772 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1774 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1776 2014-01-11 Allan McRae <allan@archlinux.org>
1778 * po/bg.po: Update Bulgarian translation from translation project.
1780 * po/de.po: Update German translation from translation project.
1782 2014-01-10 Roland McGrath <roland@hack.frob.com>
1784 * sysdeps/generic/gcc-compat.h: New file.
1786 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1788 * benchtests/asin-inputs: Correct slow inputs.
1789 * benchtests/acos-inputs: Likewise.
1791 2014-01-10 Allan McRae <allan@archlinux.org>
1793 * po:sv.po: Update Swedish translation from translation project.
1795 * po/vi.po: Update Vietnamese translation from translation project.
1797 * po/eo.po: Update Esperanto translation from translation project.
1799 * po/cs.po: Update Czech translation from translation project.
1801 * po/nl.po: Update Dutch translation from translation project.
1803 * po/pl.po: Update Polish translation from translation project.
1805 * po/ru.po: Update Russian translation from translation project.
1807 * po/uk.po: Update Ukrainian translation from translation project.
1809 2014-01-08 Brooks Moses <bmoses@google.com>
1811 * elf/dl-load.c: Fix comment typo.
1813 2014-01-08 Carlos O'Donell <carlos@redhat.com>
1815 * po/header.pot: Rename to...
1816 * po/pot.header: ... this.
1817 * po/Makefile: Use pot.header.
1819 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1820 Maxim Kuvyrkov <maxim@kugelworks.com>
1823 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1824 SRC and DEST against LEN.
1826 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1829 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1831 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1833 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1837 2014-01-08 Joseph Myers <joseph@codesourcery.com>
1840 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1841 for large positive arguments.
1843 2014-01-07 Joseph Myers <joseph@codesourcery.com>
1845 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1847 * math/auto-libm-test-in: Mark various tests with
1848 xfail-rounding:ldbl-128ibm.
1849 * math/auto-libm-test-out: Regenerated.
1852 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1853 Increase overflow threshold.
1855 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
1858 * stdio-common/vfprintf.c: Check for integer overflow.
1860 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1862 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1863 the first argument and return value of __tls_get_addr_internal.
1865 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1867 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1868 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1870 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1872 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1873 * sysdeps/s390/rtld-global-offsets.sym: New file.
1874 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1876 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1877 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1878 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1880 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1881 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1887 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1888 halfs of GPRs for high_gprs contexts.
1889 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1890 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1892 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1894 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1896 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1897 for high GPRs (uc_high_gprs) and for future extensions
1899 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1900 for future extensions (__reserved).
1901 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1903 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1904 SC_HIGHGPRS offset definition.
1905 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1906 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1908 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1910 * Versions.def: Add GLIBC_2.19 for libpthread.
1911 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1912 siglongjmp for libpthread with GLIBC_2.19 symver.
1913 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1914 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1915 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1916 * sysdeps/s390/__longjmp.c: New file.
1917 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1918 * sysdeps/s390/longjmp.c: New file.
1919 * sysdeps/s390/setjmp.S: New file.
1920 * sysdeps/s390/sigjmp.S: New file.
1921 * sysdeps/s390/v1-longjmp.c: New file.
1922 * sysdeps/s390/v1-setjmp.h: New file.
1923 * sysdeps/s390/v1-sigjmp.c: New file.
1924 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1925 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1927 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1928 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1929 versioned symbols for ____longjmp_chk.
1930 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1940 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1941 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1942 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1943 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1944 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1945 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1946 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1947 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1948 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1949 * sysdeps/s390/rtld-__longjmp.c: New file.
1950 * sysdeps/s390/rtld-setjmp.S: New file.
1952 2014-01-06 Joseph Myers <joseph@codesourcery.com>
1955 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1956 Return -__logl (x) for small positive arguments without evaluating
1959 2014-01-06 Mike Frysinger <vapier@gentoo.org>
1961 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1963 (__ptrace_peeksiginfo_args): ... this.
1964 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1965 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1966 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1968 2014-01-06 Allan McRae <allan@archlinux.org>
1970 * inet/netinet/in.h: Fix typo in comment.
1972 2014-01-05 Andreas Jaeger <aj@suse.de>
1974 * sysdeps/i386/fpu/libm-test-ulps: Update.
1976 2014-01-05 Allan McRae <allan@archlinux.org>
1978 * po/libc.pot: Regenerated.
1980 * malloc/memusagestat.c: Fix gettext call formatting.
1982 2014-01-04 Sami Kerola <kerolasa@iki.fi>
1984 * nscd/nscd.c: Improve usage() output.
1986 2014-01-04 Mike Frysinger <vapier@gentoo.org>
1988 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1989 * sysdeps/unix/sysv/linux/configure: Regenerated.
1990 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1991 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1993 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1996 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1997 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1999 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2001 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
2002 extra tokens at end of #undef directive.
2003 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
2004 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
2005 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2007 2014-01-03 Joseph Myers <joseph@codesourcery.com>
2009 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2011 * math/auto-libm-test-in: Mark various tests with
2012 xfail-rounding:ldbl-128ibm.
2013 * math/auto-libm-test-out: Regenerated.
2015 2014-01-02 Joseph Myers <joseph@codesourcery.com>
2018 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2019 numbers with subnormal high part when calculating exponent.
2022 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2026 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2028 (__ieee754_acoshl): Use __log1pl not __log1p.
2030 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
2032 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2033 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2034 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2035 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2036 Convert to GNU style.
2037 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2038 mem2mem_check, mem2chunk_check, top_check, realloc_check,
2039 memalign_check, __malloc_set_state): Likewise.
2040 * malloc/mallocbug.c (main): Likewise.
2041 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2042 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2043 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2044 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2045 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2046 * malloc/malloc.h: Likewise.
2047 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2048 memalignhook, reallochook, mabort): Likewise.
2049 * malloc/mcheck.h: Likewise.
2050 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2051 mmap64, mremap, munmap, dest): Likewise.
2052 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2053 * malloc/morecore.c (__default_morecore): Likewise.
2054 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2055 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2056 _obstack_allocated_p, obstack_free, _obstack_memory_used,
2057 print_and_abort): Likewise.
2058 * malloc/obstack.h: Likewise.
2059 * malloc/set-freeres.c (__libc_freeres): Likewise.
2060 * malloc/tst-mallocstate.c (main): Likewise.
2061 * malloc/tst-mtrace.c (main): Likewise.
2062 * malloc/tst-realloc.c (do_test): Likewise.
2064 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2067 * nscd/netgroupcache.c (do_notfound): New function.
2068 (addgetnetgrentX): Use it.
2071 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2072 NSS_STATUS_NOTFOUND.
2074 2014-01-01 Joseph Myers <joseph@codesourcery.com>
2076 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2079 2014-01-01 Allan McRae <allan@archlinux.org>
2081 * scripts/update-copyrights: Update configure input file suffix.
2083 * NEWS: Update copyright year.
2084 * catgets/gencat.c: Likewise.
2085 * csu/version.c: Likewise.
2086 * debug/catchsegv.sh: Likewise.
2087 * debug/pcprofiledump.c: Likewise.
2088 * debug/xtrace.sh: Likewise.
2089 * elf/ldconfig.c: Likewise.
2090 * elf/ldd.bash.in: Likewise.
2091 * elf/pldd.c: Likewise.
2092 * elf/sotruss.ksh: Likewise.
2093 * elf/sprof.c: Likewise.
2094 * iconv/iconv_prog.c: Likewise.
2095 * iconv/iconvconfig.c: Likewise.
2096 * locale/programs/locale.c: Likewise.
2097 * locale/programs/localedef.c: Likewise.
2098 * login/programs/pt_chown.c: Likewise.
2099 * malloc/memusage.sh: Likewise.
2100 * malloc/memusagestat.c: Likewise.
2101 * malloc/mtrace.pl: Likewise.
2102 * manual/libc.texinfo: Likewise.
2103 * nscd/nscd.c: Likewise.
2104 * nss/getent.c: Likewise.
2105 * nss/makedb.c: Likewise.
2106 * posix/getconf.c: Likewise.
2107 * scripts/test-installation.pl: Likewise.
2109 * All files with FSF copyright notices: Update copyright dates
2110 using scripts/update-copyrights.
2111 * intl/plural.c: Regenerated.
2112 * locale/programs/charmap-kw.h: Likewise.
2113 * locale/programs/locfile-kw.h: Likewise.
2115 2013-12-31 Mike Frysinger <vapier@gentoo.org>
2117 * sysdeps/unix/sysv/linux/configure: Regenerated.
2118 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2119 the linux/fanotify.h header.
2120 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2121 HAVE_LINUX_FANOTIFY_H is defined.
2123 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2125 * benchtests/cos-inputs: New inputs.
2126 * benchtests/sin-inputs: Likewise.
2128 * benchtests/atan-inputs: New inputs. Fix name of multiple
2129 precision fallback inputs.
2131 * benchtests/atanh-inputs: New inputs.
2132 * benchtests/tanh-inputs: Likewise.
2134 * benchtests/acosh-inputs: New inputs.
2135 * benchtests/asinh-inputs: Likewise.
2137 * benchtests/cosh-inputs: New inputs.
2138 * benchtests/sinh-inputs: Likewise.
2140 * benchtests/acos-inputs: Add more inputs.
2141 * benchtests/asin-inputs: Likewise.
2143 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
2146 * manual/arith.texi: Fix spelling.
2147 * manual/charset.texi: Likewise.
2148 * manual/errno.texi: Likewise.
2149 * manual/filesys.texi: Likewise.
2150 * manual/lang.texi: Likewise.
2151 * manual/llio.texi: Likewise.
2152 * manual/locale.texi: Likewise.
2153 * manual/message.texi: Likewise.
2154 * manual/resource.texi: Likewise.
2155 * manual/search.texi: Likewise.
2156 * manual/setjmp.texi: Likewise.
2157 * manual/stdio.texi: Likewise.
2158 * manual/string.texi: Likewise.
2159 * manual/sysinfo.texi: Likewise.
2160 * manual/time.texi: Likewise.
2162 2013-12-27 Carlos O'Donell <carlos@redhat.com>
2164 * po/sl.po: New file.
2166 2013-12-27 Mike Frysinger <vapier@gentoo.org>
2168 * .gitignore: Add core/.gdbinit/.gdb_history.
2170 2013-12-27 Allan McRae <allan@archlinux.org>
2173 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2174 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2176 2013-12-24 Brooks Moses <bmoses@google.com>
2178 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2179 all compilers that claim C++98 compliance, not just GCC.
2180 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2183 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2185 * NEWS: Restore accidentally deleted bug-fix entries.
2187 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2188 Ondřej Bílka <neleai@seznam.cz>
2191 * malloc/malloc.c (_int_free): Perform sanity check only if we
2194 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
2197 * manual/stdio.texi (String Input Conversions): Clarify that character
2198 classes are not supported.
2200 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2204 2013-12-22 Joseph Myers <joseph@codesourcery.com>
2207 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2208 Calculate results for small negative arguments directly rather
2209 than using reflection formula with special underflow handling.
2211 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2212 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2213 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2214 (fchflags): Likewise.
2216 (setlogin): Likewise.
2217 (sigaltstack): Likewise.
2220 (sigsetmask): Likewise.
2222 (waitpid): Likewise.
2223 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2224 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2226 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2227 * sysdeps/unix/bsd/Makefile: ... here.
2228 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2229 * sysdeps/unix/bsd/Versions: ... here.
2230 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2231 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2232 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2233 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2234 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2235 * sysdeps/unix/bsd/sigblock.c: ... here.
2236 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2237 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2238 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2239 * sysdeps/unix/bsd/sigvec.c: ... here.
2240 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2241 * sysdeps/unix/bsd/tcdrain.c: ... here.
2242 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2243 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2244 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2245 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2246 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2247 * sysdeps/unix/bsd/wait.c: ... here.
2248 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2249 * sysdeps/unix/bsd/wait3.c: ... here.
2250 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2251 * sysdeps/unix/bsd/waitpid.c: ... here.
2253 2013-12-21 Joseph Myers <joseph@codesourcery.com>
2256 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2257 round-to-nearest for [!USE_AS_EXPM1L].
2258 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2259 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2260 more tests of exp and exp10. Expect some exp10 tests to miss
2261 exceptions or fail in directed rounding modes.
2262 * math/auto-libm-test-out: Regenerated.
2263 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2264 (exp10_test_tonearest): New function.
2265 (exp10_towardzero_test_data): New array.
2266 (exp10_test_towardzero): New function.
2267 (exp10_downward_test_data): New array.
2268 (exp10_test_downward): New function.
2269 (exp10_upward_test_data): New array.
2270 (exp10_test_upward): New function.
2271 (main): Call the new functions.
2272 * sysdeps/i386/fpu/libm-test-ulps: Update.
2273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2275 2013-12-20 Joseph Myers <joseph@codesourcery.com>
2277 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2278 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2279 * math/auto-libm-test-out: Regenerated.
2280 * math/libm-test.inc (acosh_test_data): Add more tests.
2281 (atanh_test_data): Likewise.
2282 (ceil_test_data): Likewise.
2283 (copysign_test_data): Likewise.
2284 * sysdeps/i386/fpu/libm-test-ulps: Update.
2285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2287 * timezone/checktab.awk: Update from tzcode 2013i.
2288 * timezone/private.h: Likewise.
2289 * timezone/scheck.c: Likewise.
2290 * timezone/tzfile.h: Likewise.
2291 * timezone/tzselect.ksh: Likewise.
2292 * timezone/zdump.c: Likewise.
2293 * timezone/zic.c: Likewise.
2295 * math/auto-libm-test-in: Add tests of cpow.
2296 * math/auto-libm-test-out: Regenerated.
2297 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2298 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2300 (func_calc_desc): Add mpc_cc_c union field.
2301 (test_functions): Add cpow.
2302 (special_fill_2pi): New function.
2303 (special_real_inputs): Add 2pi.
2304 (calc_generic_results): Handle mpc_cc_c.
2305 * sysdeps/i386/fpu/libm-test-ulps: Update.
2306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2308 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2309 csqrt, ctan and ctanh.
2310 * math/auto-libm-test-out: Regenerated.
2311 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2312 (TEST_COND_x86): Likewise.
2313 (ccos_test_data): Use AUTO_TESTS_c_c.
2314 (ccosh_test_data): Likewise.
2315 (cexp_test_data): Likewise.
2316 (clog_test_data): Likewise.
2317 (csqrt_test_data): Likewise.
2318 (ctan_test_data): Likewise.
2319 (ctan_tonearest_test_data): Likewise.
2320 (ctan_towardzero_test_data): Likewise.
2321 (ctan_downward_test_data): Likewise.
2322 (ctan_upward_test_data): Likewise.
2323 (ctanh_test_data): Likewise.
2324 (ctanh_tonearest_test_data): Likewise.
2325 (ctanh_towardzero_test_data): Likewise.
2326 (ctanh_downward_test_data): Likewise.
2327 (ctanh_upward_test_data): Likewise.
2328 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2330 (func_calc_desc): Add mpc_c_c union field.
2331 (FUNC_mpc_c_c): New macro.
2332 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2333 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2335 (special_fill_min_subnorm_p120): New function.
2336 (special_real_inputs): Add min_subnorm_p120.
2337 (calc_generic_results): Handle mpc_c_c.
2338 * sysdeps/i386/fpu/libm-test-ulps: Update.
2339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2341 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2343 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2344 do_sin_slow): New functions.
2345 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2346 cslow2, csloww1, csloww2): Use the new functions.
2348 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2349 Use M to change sign of result instead of X. Assume X is
2351 (csloww1): Likewise.
2355 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2360 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2362 (sloww1): Don't adjust sign of DX.
2363 (csloww1): Likewise.
2364 (sloww2): Use X directly and don't adjust sign of DX.
2365 (csloww2): Likewise.
2367 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2369 * math/auto-libm-test-in: Add tests of cabs and carg.
2370 * math/auto-libm-test-out: Regenerated.
2371 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2372 (carg_test_data): Likewise.
2373 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2375 (func_calc_desc): Add mpc_c_f union field.
2376 (test_functions): Add cabs and carg.
2377 (calc_generic_results): Handle mpc_c_f.
2379 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2380 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2381 as a macro and a compat symbol.
2382 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2383 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2384 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2385 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2386 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2387 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2389 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2391 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2393 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2395 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2397 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2399 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2400 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2403 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2407 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2409 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2410 trailing whitespace removed.
2411 * scripts/config.guess: Update to version 2013-11-29.
2412 * scripts/config.sub: Update to version 2013-10-01.
2414 * math/auto-libm-test-in: Add tests of sincos.
2415 * math/auto-libm-test-out: Regenerated.
2416 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2417 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2419 (func_calc_desc): Add mpfr_f_11 union field.
2420 (test_functions): Add sincos.
2421 (calc_generic_results): Handle mpfr_f_11.
2422 * sysdeps/i386/fpu/libm-test-ulps: Update.
2423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2425 2013-12-19 Andreas Schwab <schwab@suse.de>
2427 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2429 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2430 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2431 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2433 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2435 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2436 * sysdeps/i386/fpu/libm-test-ulps: Update.
2437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2440 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2441 round-to-nearest mode when using frndint.
2442 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2443 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2444 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2446 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2448 * math/auto-libm-test-out: Regenerated.
2449 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2450 (TEST_COND_x86): Likewise.
2451 (expm1_tonearest_test_data): New array.
2452 (expm1_test_tonearest): New function.
2453 (expm1_towardzero_test_data): New array.
2454 (expm1_test_towardzero): New function.
2455 (expm1_downward_test_data): New array.
2456 (expm1_test_downward): New function.
2457 (expm1_upward_test_data): New array.
2458 (expm1_test_upward): New function.
2459 (main): Run the new test functions.
2460 * sysdeps/i386/fpu/libm-test-ulps: Update.
2461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2463 * include/features.h: Update comment documenting feature test
2464 macros. Mention _DEFAULT_SOURCE in comment.
2465 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2466 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2467 _BSD_SOURCE and _SVID_SOURCE.
2468 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2469 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2470 !_SVID_SOURCE]: Likewise.
2471 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2472 (__USE_POSIX_IMPLICITLY): Define.
2473 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2474 (_POSIX_SOURCE): Undefine and redefine.
2475 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2476 (_POSIX_C_SOURCE): Likewise.
2477 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2478 (Feature Test Macros): Update documentation of default features.
2480 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2482 * benchtests/Makefile: Add bench-strtok.
2483 * benchtests/bench-strtok.c: New file: strtok benchtest.
2485 2013-12-19 Allan McRae <allan@archlinux.org>
2487 * manual/install.texi: Suppress menu for plain text output.
2488 * INSTALL: Regenerated.
2490 2013-12-18 Brooks Moses <bmoses@google.com>
2493 * misc/getauxval.c: Include errno.h.
2494 (__getauxval): Set errno to ENOENT if the requested type is not
2496 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2497 don't declare with __attribute_const__.
2498 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2499 * manual/startup.texi: Document that getauxval sets errno.
2501 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2503 * math/auto-libm-test-in: Add tests of jn and yn.
2504 * math/auto-libm-test-out: Regenerated.
2505 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2506 (yn_test_data): Likewise.
2507 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2509 (func_calc_desc): Add mpfr_if_f union field.
2510 (FUNC_mpfr_if_f): New macro.
2511 (test_functions): Add jn and yn.
2512 (calc_generic_results): Assert type of second input for
2513 mpfr_ff_f. Handle mpfr_if_f.
2514 (output_for_one_input_case): Disable all checking for arguments
2515 fitting floating-point types in case of an integer argument.
2516 * sysdeps/i386/fpu/libm-test-ulps: Update.
2517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2520 Don't expect fegetround reference in libm.so.
2522 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2524 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2525 $(config-cflags-nofma).
2527 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2529 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2530 * math/auto-libm-test-out: Regenerated.
2533 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2534 to determine exponent and adjust argument to have exponent of -1.
2535 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2537 * math/auto-libm-test-out: Regenerated.
2538 * sysdeps/i386/fpu/libm-test-ulps: Update.
2539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2541 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
2543 * manual/probes.texi: Remove cases when per-thread arenas are
2546 2013-12-18 Andreas Schwab <schwab@suse.de>
2548 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2549 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2550 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2551 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2552 * sysdeps/i386/i686/multiarch/Makefile: Update.
2553 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2555 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2557 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2558 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2560 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2563 Support TZ transition times < 00:00:00.
2564 This is needed for version-3 tz-format files; it supports time
2565 stamps past 2037 for America/Godthab (the only entry in the tz
2566 database for which this change is relevant).
2567 * manual/time.texi (TZ Variable): Document transition times
2568 from -167:59:59 through -00:00:01.
2569 * time/tzset.c (tz_rule): Time of day is now signed.
2570 (__tzset_parse_tz): Parse negative time of day.
2572 Document TZ transition times >= 25:00:00.
2573 * manual/time.texi (TZ Variable): Document transition times from
2574 25:00:00 through 167:59:59. These are already supported, and this
2575 support will help with version-3 tz-format files.
2577 * manual/time.texi (TZ Variable): Modernize North America example
2578 to reflect current (i.e., 2007-and-later) daylight saving rules.
2580 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2582 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2584 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2585 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2586 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2587 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2588 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2589 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2590 * sysdeps/unix/bsd/clock.c: Likewise.
2591 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2592 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2593 * sysdeps/unix/bsd/init-posix.c: Likewise.
2594 * sysdeps/unix/bsd/poll.c: Likewise.
2595 * sysdeps/unix/bsd/ptsname.c: Likewise.
2596 * sysdeps/unix/bsd/seekdir.c: Likewise.
2597 * sysdeps/unix/bsd/setegid.c: Likewise.
2598 * sysdeps/unix/bsd/seteuid.c: Likewise.
2599 * sysdeps/unix/bsd/setgid.c: Likewise.
2600 * sysdeps/unix/bsd/setrgid.c: Likewise.
2601 * sysdeps/unix/bsd/setruid.c: Likewise.
2602 * sysdeps/unix/bsd/setsid.c: Likewise.
2603 * sysdeps/unix/bsd/setuid.c: Likewise.
2604 * sysdeps/unix/bsd/sigaction.c: Likewise.
2605 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2606 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2607 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2608 * sysdeps/unix/bsd/telldir.c: Likewise.
2609 * sysdeps/unix/bsd/times.c: Likewise.
2610 * sysdeps/unix/bsd/usleep.c: Likewise.
2612 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2613 ($(objpfx)libbsd-compat.a): Remove rule.
2615 * include/features.h (__FAVOR_BSD): Do not define.
2616 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2617 features conflicting with POSIX.
2618 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2619 (_BSD_SOURCE): Remove description of not being a subset of other
2620 feature test macros.
2621 * manual/job.texi (getpgrp): Do not document BSD version.
2622 (getpgid): Do not document by reference to BSD getpgrp.
2623 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2624 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2625 * signal/signal.h [__FAVOR_BSD]: Likewise.
2626 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2627 instead of making contents conditional on [__FAVOR_BSD].
2628 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2630 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2634 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2637 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2638 values below 2**-450, not 2**-500.
2639 * math/auto-libm-test-in: Don't allow spurious underflow from
2641 * math/auto-libm-test-out: Regenerated.
2645 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2646 values of ha and hb and sort them after adjusting subnormal
2648 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2650 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2651 values of ea and eb and sort them after adjusting subnormal
2653 * math/auto-libm-test-in: Do not expect some hypot tests of
2654 subnormals to fail. Add more hypot tests.
2655 * math/auto-libm-test-out: Regenerated.
2657 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2660 * sysdeps/sh/s_fma.c: New file.
2661 * sysdeps/sh/s_fmaf.c: New file.
2662 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2664 * sysdeps/sh/Implies: Add sh/soft-fp.
2666 2013-12-16 Roland McGrath <roland@hack.frob.com>
2668 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2669 level of indirection to members `objname', `errstring', `malloced'.
2670 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2671 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2672 it as the __longjmp argument (just pass 1 instead).
2673 (_dl_catch_error): Initialize C with argument pointers and address of
2674 volatile local ERRCODE rather than copying values out of C at return.
2676 2013-12-16 Joseph Myers <joseph@codesourcery.com>
2678 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2679 * math/auto-libm-test-out: Regenerated.
2680 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2681 (hypot_test_data): Likewise.
2682 (pow_test_data): Likewise.
2683 (pow_tonearest_test_data): Likewise.
2684 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2686 (func_calc_desc): Add mpfr_ff_f union field.
2687 (FUNC_mpfr_ff_f): New macro.
2688 (test_functions): Add atan2, hypot and pow.
2689 (special_fill_min): New function.
2690 (special_fill_minus_min): Likewise.
2691 (special_fill_min_subnorm): Likewise.
2692 (special_fill_minus_min_subnorm): Likewise.
2693 (special_real_inputs): Add min, -min, min_subnorm and
2695 (calc_generic_results): Handle mpfr_ff_f.
2696 * sysdeps/i386/fpu/libm-test-ulps: Update.
2697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2699 2013-12-16 Will Newton <will.newton@linaro.org>
2701 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2702 (Aligned Memory Blocks): Add documentation for aligned_alloc
2703 and suggest it as an alternative to posix_memalign.
2704 (Hooks for Malloc): Document __memalign_hook is also called
2705 for aligned_alloc. (Summary of Malloc): Add summary for
2706 aligned alloc. Document __memalign_hook is also called
2709 2013-12-16 Will Newton <will.newton@linaro.org>
2711 * manual/memory.texi (Malloc Examples): Clarify default
2712 alignment documentation. Suggest posix_memalign rather
2713 than memalign or valloc.
2714 (Aligned Memory Blocks): Remove suggestion to use memalign
2715 or valloc. Remove obsolete comment about BSD.
2716 Document memalign errno values and mark the function obsolete.
2717 Document posix_memalign returned error codes. Mark valloc
2718 as obsolete. (Hooks for Malloc): __memalign_hook is also
2719 called for posix_memalign and valloc.
2720 (Summary of Malloc): Add posix_memalign to function summary.
2721 __memalign_hook is also called for posix_memalign and valloc.
2723 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2725 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2729 (sloww): Use mynumber union. Expand ternary operator into
2731 (cslow): use mynumber union.
2733 2013-12-16 Allan McRae <allan@archlinux.org>
2735 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2736 * configure: Regenerated.
2738 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2741 * configure.ac: Added --enable-maintainer-mode. Check for
2742 autoconf when enabled.
2743 * configure: Regenerated.
2745 * nscd/nscd.service: New file.
2746 * nscd/nscd.tmpfiles: New file.
2748 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
2751 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2752 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2753 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2754 (strstr): Add __strstr_sse2_unaligned ifunc.
2755 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2756 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2757 (strcasestr): Remove __strcasestr_sse42 ifunc.
2758 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2759 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2762 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2764 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2765 * sysdeps/sh/bits/fenv.h: ... here.
2766 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2768 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2770 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2772 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2774 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2775 hypotf multiarch implementations.
2776 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2777 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2778 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2779 multiarch hypot for PPC64.
2780 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2781 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2782 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2783 multiarch hypotf for PPC64.
2785 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2787 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2788 modff multiarch implementations.
2789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2792 multiarch modf for PPC64.
2793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2796 multiarch modff for PPC64.
2798 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2800 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2801 and logl multiarch implementations.
2802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2805 multiarch logb for PPC64.
2806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2809 multiarch logb for PPC64.
2810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2813 multiarch logb for PPC64.
2815 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2817 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2818 isinff multiarch implementation.
2819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2823 multiarch isinf for PPC64.
2824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2827 multiarch isinff for PPC64.
2829 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2831 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2832 finitef multiarch implementation.
2833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2837 multiarch finite for PPC64.
2838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2841 multiarch finitef for PPC64.
2843 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2845 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2846 lrint multiarch implementation.
2847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2851 multiarch llrint for PPC64.
2852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2853 multiarch lrint for PPC64.
2855 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2857 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2858 copysignf multiarch implementation.
2859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2864 multiarch copysign for PPC64.
2865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2866 multiarch copysignf for PPC64.
2868 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2870 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2871 multiarch implementation.
2872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2880 multiarch llround for PPC64.
2881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2882 multiarch trunc for PPC64.
2883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2884 multiarch truncf for PPC64.
2886 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2888 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2889 multiarch implementation.
2890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2898 multiarch llround for PPC64.
2899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2900 multiarch round for PPC64.
2901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2902 multiarch roundf for PPC64.
2904 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2906 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2907 multiarch implementation.
2908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2916 multiarch llround for PPC64.
2917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2918 multiarch floor for PPC64.
2919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2920 multiarch floorf for PPC64.
2922 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2925 multiarch implementation.
2926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2934 multiarch llround for PPC64.
2935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2936 multiarch ceil for PPC64.
2937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2938 multiarch ceilf for PPC64.
2940 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2942 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2943 multiarch implementation.
2944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2951 multiarch llround for PPC64.
2952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2953 multiarch lround for PPC64.
2955 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2957 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2958 multiarch implementation.
2959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2966 multiarch isnan for PPC64.
2967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2968 multiarch isnanf for PPC64.
2970 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2972 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2973 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2974 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2975 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2976 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2979 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2981 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2982 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2983 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2984 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2986 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2988 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2989 multiarch implementations.
2990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2991 (__libc_ifunc_impl_list): Likewise.
2992 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2993 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2994 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2995 multiarch stpcpy for PPC64.
2997 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2999 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
3000 multiarch implementations.
3001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3002 (__libc_ifunc_impl_list): Likewise.
3003 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
3004 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
3005 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
3006 multiarch strcpy for PPC64.
3008 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3010 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3011 redefine function name.
3012 (_wordcopy_fwd_dest_aligned): Likewise.
3013 (_wordcopy_bwd_aligned): Likewise.
3014 (_wordcopy_bwd_dest_aligned): Likewise.
3015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3016 multiarch implementations.
3017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3018 (__libc_ifunc_impl_list): Likewise.
3019 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3020 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3021 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3022 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3023 multiarch wcscpy for PPC64.
3025 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3028 multiarch implementations.
3029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3030 (__libc_ifunc_impl_list): Likewise.
3031 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3032 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3033 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3034 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3035 multiarch wcscpy for PPC64.
3037 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3040 multiarch implementations.
3041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3042 (__libc_ifunc_impl_list): Likewise.
3043 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3044 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3045 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3046 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3047 multiarch wcsrchr for PPC64.
3049 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3051 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3052 multiarch implementations.
3053 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3054 (__libc_ifunc_impl_list): Likewise.
3055 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3056 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3057 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3058 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3059 multiarch wcschr for PPC64.
3061 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3064 multiarch implementations.
3065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3066 (__libc_ifunc_impl_list): Likewise.
3067 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3068 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3069 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3070 multiarch strchrnul for PPC64.
3072 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3074 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3076 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3077 (__libc_ifunc_impl_list): Likewise.
3078 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3079 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3080 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3081 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3084 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3086 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3089 (__libc_ifunc_impl_list): Likewise.
3090 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3091 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3092 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3093 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3096 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3099 multiarch implementations.
3100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3101 (__libc_ifunc_impl_list): Likewise.
3102 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3103 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3104 strncasecmp for PPC64.
3105 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3106 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3107 multiarch strncasecmp_l for PPC64.
3109 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3112 multiarch implementations.
3113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3114 (__libc_ifunc_impl_list): Likewise.
3115 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3116 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3117 multiarch strcasecmp for PPC64.
3118 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3120 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3121 multiarch strcasecmp_l for PPC64.
3123 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3128 (__libc_ifunc_impl_list): Likewise.
3129 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3130 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3131 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3134 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3139 (__libc_ifunc_impl_list): Likewise.
3140 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3141 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3142 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3145 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3150 (__libc_ifunc_impl_list): Likewise.
3151 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3152 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3153 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3154 rawmemrchr for PPC64.
3156 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3161 (__libc_ifunc_impl_list): Likewise.
3162 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3163 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3164 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3167 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3169 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3171 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3172 (__libc_ifunc_impl_list): Likewise.
3173 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3174 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3175 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3178 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3180 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3182 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3183 (__libc_ifunc_impl_list): Likewise.
3184 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3185 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3186 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3189 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3191 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3192 avoid cretion of __bzero symbol.
3193 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3195 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3197 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3199 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3200 multiarch implementations.
3201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3202 (__libc_ifunc_impl_list): Likewise.
3203 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3204 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3205 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3206 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3208 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3209 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3210 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3211 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3212 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3214 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3216 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3218 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3219 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3221 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3222 (__libc_ifunc_impl_list): Likewise.
3223 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3224 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3225 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3226 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3229 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3232 multiarch for POWER/PPC64.
3233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3234 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3235 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3236 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3237 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3238 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3239 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3240 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3241 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3244 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3246 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3247 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3248 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3249 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3250 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3251 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3252 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3253 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3254 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3255 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3256 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3257 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3258 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3259 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3260 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3269 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3271 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3273 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3275 * benchtests/Makefile (bench): Add exp2 and log2.
3276 (LDLIBS-bench-exp2): Add -lm.
3277 (LDLIBS-bench-log2): Likewise.
3278 * benchtests/exp2-inputs: New inputs file.
3279 * benchtests/log2-inputs: New inputs file.
3280 * benchtests/log-inputs: Add new inputs.
3281 * benchtests/tan-inputs: Likewise.
3283 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3285 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3287 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3288 csloww1, csloww2): ... from here.
3290 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3291 instead of structures.
3292 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3293 (POLYNOMIAL): Likewise.
3294 (TAYLOR_SLOW): Likewise.
3302 (bsloww1): Likewise.
3303 (bsloww2): Likewise.
3306 (csloww1): Likewise.
3307 (csloww2): Likewise.
3309 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3311 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3312 (__malloc_assert, __libc_realloc, __libc_calloc,
3313 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3315 * malloc/hooks.c (realloc_check): Likewise.
3317 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3319 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3320 * malloc/arena.c: Remove PER_THREAD conditional.
3321 [!PER_THREAD]: Remove code.
3322 (ptmalloc_unlock_all2): Likewise.
3323 (ptmalloc_init): Likewise.
3324 (_int_new_arena): Likewise.
3325 (arena_get2): Likewise.
3326 * malloc/hooks.c (__malloc_get_state): Likewise.
3327 (__malloc_set_state): Likewise.
3328 * malloc/malloc.c: Likewise.
3329 (struct malloc_state): Likewise.
3330 (struct malloc_par): Likewise.
3331 (__libc_realloc): Likewise.
3332 (__libc_mallopt): Likewise.
3334 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3336 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3338 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3340 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3341 macro to a function. Check for zero perturb_byte.
3342 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3344 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3346 * malloc/malloc.c: (force_reg): Remove.
3347 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3348 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3349 force_reg by atomic_forced_read.
3350 * malloc/arena.c (ptmalloc_init): Likewise.
3351 * malloc/hooks.c (top_check): Likewise.
3353 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3357 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3361 2013-12-08 Joseph Myers <joseph@codesourcery.com>
3363 * math/auto-libm-test-in: Add tests of lgamma.
3364 * math/auto-libm-test-out: Regenerated.
3365 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3366 (M_LOG_2_SQRT_PIl): Likewise.
3367 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3368 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3370 (func_calc_desc): Add mpfr_f_f1 union field.
3379 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3380 (test_functions): Add lgamma.
3381 (calc_generic_results): Handle mpfr_f_f1.
3382 * sysdeps/i386/fpu/libm-test-ulps: Update.
3383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3385 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3387 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3388 __mpn_add_n for PowerPC64/POWER7.
3389 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3390 __mpn_sub_n for PowerPC64/POWER7.
3392 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3394 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3395 __mpn_addmul_1 for PowerPC64.
3396 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3397 __mpn_submul_1 for PowerPC64.
3398 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3400 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3403 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3406 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3408 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3410 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3412 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3414 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3415 add multiarch folders.
3416 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3417 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3418 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3419 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3420 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3421 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3422 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3423 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3424 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3425 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3426 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3434 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3437 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3443 multiarch __ieee754_hypot for PowerPC32.
3444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3449 multiarch __ieee754_hypotf for PowerPC32.
3451 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3453 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3454 long_double_symbol only if __logbl is defined.
3455 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3456 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3457 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3458 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3459 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3460 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3461 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3462 path for implementation.
3463 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3464 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3466 logb, and logbl multiarch implementations for PowerPC32.
3467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3472 multiarch logb for PowerPC32.
3473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3478 multiarch logbf for PowerPC32.
3479 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3483 multiarch logbl implementation for PowerPC32.
3485 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3488 and modff multiarch implementations.
3489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3494 multiarch modf for PowerPC32.
3495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3500 multiarch modff for PowerPC32.
3502 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3505 and lrintf multiarch implementations.
3506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3511 multiarch lrint for PowerPC32.
3512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3513 file: multiarch lrintf for PowerPC32.
3515 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3518 and lroundf multiarch implementations.
3519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3526 multiarch lround for PowerPC32.
3527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3528 file: multiarch lroundf for PowerPC32.
3530 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3533 copysign and copysignf multiarch implementations.
3534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3539 file: multiarch copysign for PowerPC32.
3540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3541 file: multiarch copysignf for PowerPC32.
3543 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3546 and truncf multiarch implementations.
3547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3552 multiarch trunc for PowerPC32.
3553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3558 multiarch truncf for PowerPC32.
3560 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3563 and roundf multiarch implementations.
3564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3569 multiarch round for PowerPC32.
3570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3575 multiarch roundf for PowerPC32.
3577 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3580 and floorf multiarch implementations.
3581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3586 multiarch floor for PowerPC32.
3587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3592 multiarch floorf for PowerPC32.
3594 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3597 and ceilf multiarch implementations.
3598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3603 multiarch ceil for PowerPC32.
3604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3609 multiarch ceilf for PowerPC32.
3611 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3613 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3615 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3618 and finitef multiarch implementations.
3619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3624 multiarch finite for PowerPC32.
3625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3628 file: multiarch finitef for PowerPC32.
3630 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3633 and isinff multiarch implementations.
3634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3639 multiarch isinf for PowerPC32.
3640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3643 multiarch isinff for PowerPC32.
3645 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3647 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3648 alias when __isnan is defined.
3649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3650 and isnanf multiarch implementations.
3651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3660 multiarch isnan for PowerPC32.
3661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3666 multiarch isnanf for PowerPC32.
3668 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3671 and sqrtf multiarch implementations.
3672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3677 multiarch sqrt for PowerPC32.
3678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3683 multiarch sqrtf for PowerPC32.
3685 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3688 and llroundf multiarch implementations.
3689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3696 file: multiarch llround for PowerPC32.
3697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3698 file: multiarch llroundf for PowerPC32.
3700 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3703 multiarch PowerPC32 fpu implementations.
3704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3709 multiarch llrint for PowerPC32.
3710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3717 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3721 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3723 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3725 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3727 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3729 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3730 multiarch wordcopy for PPC32.
3731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3734 (__libc_ifunc_impl_list): Likewise.
3735 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3736 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3737 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3738 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3739 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3740 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3742 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3744 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3745 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3747 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3749 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3751 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3752 multiarch wcscpy for PPC32.
3753 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3755 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3756 (__libc_ifunc_impl_list): Likewise.
3757 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3758 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3759 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3760 sysdeps/powerpc/power6/wcscpy.c.
3762 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3764 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3765 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3767 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3769 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3771 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3772 multiarch wcsrchr for PPC32.
3773 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3775 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3776 (__libc_ifunc_impl_list): Likewise.
3777 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3778 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3779 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3780 sysdeps/powerpc/power6/wcsrchr.c.
3782 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3784 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3786 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3788 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3789 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3790 multiarch wcschr for PPc32.
3791 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3793 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3794 (__libc_ifunc_impl_list): Likewise.
3795 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3796 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3797 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3798 sysdeps/powerpc/power6/wcschr.c.
3800 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3802 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3803 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3805 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3806 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3807 file: multiarch strchr for PPC32.
3808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3811 (__libc_ifunc_impl_list): Likewise.
3813 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3815 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3817 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3819 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3821 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3822 multiarch strchrnul for PPC32.
3823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3826 (__libc_ifunc_impl_list): Likewise.
3828 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3830 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3832 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3833 multiarch strncasecmp for PPC32.
3834 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3836 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3837 multiarch strncasecmp_l for PPC32.
3838 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3839 strncasecmp multiarch objects.
3840 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3841 (__libc_ifunc_impl_list): Likewise.
3843 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3845 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3847 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3848 multiarch strncasecmp for PPC32.
3849 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3851 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3852 multiarch strcasecmp_l for PPC32.
3853 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3855 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3856 (__libc_ifunc_impl_list): Likewise.
3858 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3860 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3862 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3864 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3865 multiarch strncmp for PPC32.
3866 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
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/rtld-strnlen.c: New file.
3874 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3876 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3877 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3878 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3880 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3881 (__libc_ifunc_impl_list): Likewise.
3883 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3885 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3887 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3889 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3890 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3892 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3893 (__libc_ifunc_impl_list): Likewise.
3895 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3897 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3899 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3901 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3902 multiarch rawmemchr for PPC32.
3903 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3905 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3906 (__libc_ifunc_impl_list): Likewise.
3908 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3910 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3912 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3914 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3915 file: memrchr multiarch for PPC32.
3916 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3918 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3919 (__libc_ifunc_impl_list): Likewise.
3921 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3923 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3924 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3926 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3927 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3928 multiarch memchr for PPC32.
3929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3932 (__libc_ifunc_impl_list): Likewise.
3934 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3936 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3937 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3939 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3941 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3942 file: multiarch mempcpy for PPC32.
3943 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3945 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3946 (__libc_ifunc_impl_list): Likewise.
3948 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3950 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3951 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3952 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3953 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3954 multiarch bzero for PPC32.
3955 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3957 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3959 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3960 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3961 file: multiarch memset for PPC32.
3962 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3963 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3964 memset multiarch objects.
3965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3966 (__libc_ifunc_impl_list): Likewise.
3968 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3970 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3972 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3973 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3975 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3979 (__libc_ifunc_impl_list): Likewise.
3981 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3983 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3984 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3985 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3987 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3989 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3991 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3992 multiarch memcpy for PPC32.
3993 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3995 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3996 (__libc_ifunc_impl_list): Likewise.
3998 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
4001 support multiarch for POWER/PPC32.
4002 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4004 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
4006 Implies file to make multiarch folder appers before the fpu and
4007 default folder for power4 configuration.
4009 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4011 * scripts/bench.pl: Append volatile keyword to type.
4013 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4015 * sysdeps/sh/sotruss-lib.c: New file.
4016 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4018 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4022 2013-12-05 Joseph Myers <joseph@codesourcery.com>
4025 * math/w_tgamma.c: Include <errno.h>.
4026 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
4027 * math/w_tgammaf.c: Include <errno.h>.
4028 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
4029 * math/w_tgammal.c: Include <errno.h>.
4030 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
4031 * math/auto-libm-test-in: Do not allow missing errno on tgamma
4032 underflow. Add more tgamma tests.
4033 * math/auto-libm-test-out: Regenerated.
4034 * sysdeps/i386/fpu/libm-test-ulps: Update.
4035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4037 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4038 sin, sinh, tan, tanh, tgamma, y0 and y1.
4039 * math/auto-libm-test-out: Regenerated.
4040 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4041 (TEST_COND_x86): Likewise.
4042 (M_E2l): Remove macro.
4044 (M_2_SQRT_PIl): Likewise.
4045 (M_SQRT_PIl): Likewise.
4046 (M_1_DIV_El): Likewise.
4047 (log_test_data): Use AUTO_TESTS_f_f.
4048 (log10_test_data): Likewise.
4049 (log1p_test_data): Likewise.
4050 (log2_test_data): Likewise.
4051 (sin_test_data): Likewise.
4052 (sin_tonearest_test_data): Likewise.
4053 (sin_towardzero_test_data): Likewise.
4054 (sin_downward_test_data): Likewise.
4055 (sin_upward_test_data): Likewise.
4056 (sinh_test_data): Likewise.
4057 (sinh_tonearest_test_data): Likewise.
4058 (sinh_towardzero_test_data): Likewise.
4059 (sinh_downward_test_data): Likewise.
4060 (sinh_upward_test_data): Likewise.
4061 (tan_test_data): Likewise.
4062 (tan_tonearest_test_data): Likewise.
4063 (tan_towardzero_test_data): Likewise.
4064 (tan_downward_test_data): Likewise.
4065 (tan_upward_test_data): Likewise.
4066 (tanh_test_data): Likewise.
4067 (tgamma_test_data): Likewise.
4068 (y0_test_data): Likewise.
4069 (y1_test_data): Likewise.
4070 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4071 (special_real_inputs): Add pi/4.
4072 * sysdeps/i386/fpu/libm-test-ulps: Update.
4073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4075 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4077 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4078 "longjmp_target" static probes.
4079 (__longjmp): Rename to __longjmp_symbol.
4080 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4081 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4082 on which longjmp to generate.
4083 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4084 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4086 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4087 (__sigjmp_save): Rename to __sigjmp_save_symbol.
4088 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4089 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4090 and __sigjmp_save_symbol based on which sigsetjmp to generated.
4091 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4093 __longjmp_symbol based on which __longjmp to generate.
4094 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4096 (setjmp): Rename to setjmp_symbol.
4097 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4098 (_setjmp): Rename to _setjmp_symbol.
4099 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4100 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4101 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4102 which setjmp to generate.
4103 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4104 "longjmp_target" static probes.
4106 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4108 * benchtests/README: Add note about output arguments.
4109 * benchtests/bench-sincos.c: Remove file.
4110 * benchtests/sincos-inputs: New file.
4111 * scripts/bench.pl: Identify output arguments and define
4112 static variables for them.
4114 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4117 * Makefile (INSTALL): Add install-plain.texi as the primary
4119 * manual/install-plain.texi: New file.
4120 * manual/install.texi: Include node directive only for
4121 non-plaintext output.
4123 2013-12-04 Joseph Myers <joseph@codesourcery.com>
4125 * stdlib/longlong.h: Update from GCC.
4129 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4130 * math/w_j0f.c (y0f): Likewise.
4131 * math/w_j0l.c (__y0l): Likewise.
4132 * math/w_j1.c (y1): Likewise.
4133 * math/w_j1f.c (y1f): Likewise.
4134 * math/w_j1l.c (__y1l): Likewise
4135 * math/w_jn.c (yn): Likewise.
4136 * math/w_jnf.c (ynf): Likewise.
4137 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4138 Bessel function pole errors in _POSIX_ mode. Use NAN as return
4139 value for Bessel function domain errors outside _SVID_ mode.
4140 Adjust sign of return value for yn (negative integer, 0).
4141 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4142 by zero in return for negative x and set sign appropriately for
4144 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4145 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4146 * math/libm-test.inc (y0_test_data): Add more tests and adjust
4147 expectations in error cases.
4148 (y1_test_data): Likewise.
4149 (yn_test_data): Likewise.
4150 * sysdeps/i386/fpu/libm-test-ulps: Update.
4151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4153 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4155 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4156 "64" to "64-v1". Add "64-v2".
4157 (abi-64-options): Rename to ...
4158 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
4159 (abi-64-condition): Rename to ...
4160 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
4161 (abi-64-ld-soname): Rename to ...
4162 (abi-64-v1-ld-soname): ... this.
4163 (abi-64-v2-options): Define.
4164 (abi-64-v2-condition): Likewise.
4165 (abi-64-v2-ld-soname): Likewise.
4166 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4167 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4172 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4173 Alan Modra <amodra@gmail.com>
4175 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4176 New versions for use with the ELFv2 ABI.
4177 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4178 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4180 (struct La_ppc64v2_retval): Likewise.
4181 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4182 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4183 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4184 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4185 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4186 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4187 Do not save or restore CR.
4188 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4189 (_dl_profile_resolve): Do no save or restore CR. Support extended
4190 return values for ELFv2 ABI. Fix location of FPR return registers.
4191 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4192 updated values for _CALL_ELF == 2.
4193 (La_regs, La_retval, int_retval): Likewise.
4195 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4197 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4198 (FRAME_MIN_SIZE_PARM): Likewise.
4199 (FRAME_BACKCHAIN): Likewise.
4200 (FRAME_CR_SAVE): Likewise.
4201 (FRAME_LR_SAVE): Likewise.
4202 (FRAME_TOC_SAVE): Likewise.
4203 (FRAME_PARM_SAVE): Likewise.
4204 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4205 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4206 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4207 (call_mcount_parm_offset): New macro.
4208 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4209 (PROF): Use symbolic stack frame offsets.
4210 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4211 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4212 Redefine in terms of FRAME_MIN_SIZE.
4213 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4214 (_dl_profile_resolve): Likewise. Update comment.
4215 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4216 symbols stack frame offsets.
4217 (__sigsetjmp): Likewise.
4218 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4219 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4220 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4221 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4224 (FRAME_BACKCHAIN): Remove.
4225 (FRAME_CR_SAVE): Likewise.
4226 (FRAME_LR_SAVE): Likewise.
4227 (FRAME_COMPILER_DW): Likewise.
4228 (FRAME_LINKER_DW): Likewise.
4229 (FRAME_TOC_SAVE): Likewise.
4230 (FRAME_PARM_SAVE): Likewise.
4231 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4232 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4233 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4235 (CHECK_SP): Use symbolic stack frame offsets.
4236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4237 zone" instead of caller's parameter save area for temp storage.
4238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4239 Likewise. Also, use symbolic stack frame offsets.
4240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4241 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4242 our own stack frame instead of the caller's.
4243 (__socket): Use symbolic stack frame offsets.
4245 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4246 Alan Modra <amodra@gmail.com>
4248 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4250 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4251 PPC64_LOCAL_ENTRY_OFFSET): Define.
4252 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4254 (elf_machine_fixup_plt): Call it.
4255 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4257 (elf_machine_rela): Update call to elf_machine_plt_conflict.
4258 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4259 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
4260 r2 before calling target.
4262 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4263 Alan Modra <amodra@gmail.com>
4265 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4266 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4267 versions of macros to support ELFv2 ABI.
4268 (LOCALENTRY): New macro.
4269 (ENTRY, EALIGN): Use it.
4270 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4271 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4272 fall through into ENTRY entry point.
4273 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4274 Only define if _CALL_ELF != 2.
4276 (elf_machine_matches_host): Verify ABI version matches.
4277 (RTLD_START): Use LOCALENTRY.
4278 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4279 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4280 (PLT_ENTRY_WORDS): New macro.
4281 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4282 (elf_machine_runtime_setup): Support ELFv2 ABI.
4283 (elf_machine_fixup_plt): Likewise.
4284 (elf_machine_plt_conflict): Likewise.
4285 (resolve_ifunc): Likewise.
4286 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4287 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4290 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4292 (makecontext): Support ELFv2 ABI.
4293 * elf/elf.h (EF_PPC64_ABI): Define.
4295 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4297 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4298 New assembler macro.
4299 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4300 [ASSEMBLER] (ENTRY): ... but instead here ...
4301 [ASSEMBLER] (EALIGN): ... and here.
4302 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4303 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4304 [!ASSEMBLER] (ENTRY_2): Use it.
4305 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4306 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4307 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4308 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4309 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4311 Use PPC64_LOAD_FUNCPTR.
4313 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4315 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4317 2013-12-04 Alan Modra <amodra@gmail.com>
4319 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4320 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4321 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4322 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4324 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4325 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4326 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4327 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4328 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4329 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4331 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4334 (__makecontext): Fix incorrect CFI when backtracing out of
4335 context created via makecontext.
4336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4337 (__setcontext): Fix incorrect CFI during switch to new context.
4338 (__novec_setcontext): Likewise.
4340 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4343 * time/strptime_l.c (__strptime_internal): Allow modifiers
4345 * time/tst-strptime.c (day_tests): Add testcase.
4348 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4350 * scripts/bench.pl: Skip over blank lines.
4352 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4355 * manual/time.texi (Calendar Time): Clarify what timezone functions
4358 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4362 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4364 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4366 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4367 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4368 * debug/memset_chk.c (__memset_chk): Likewise.
4369 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4370 * debug/strncpy_chk.c: Likewise.
4372 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4376 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4377 (__ieee754_exp): For possibly underflowing results, check size of
4378 result and force underflow exception if required.
4379 * math/auto-libm-test-in: Add more tests of exp.
4380 * math/auto-libm-test-out: Regenerated.
4381 * sysdeps/i386/fpu/libm-test-ulps: Update.
4382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4385 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4386 * math/w_exp2f.c (__exp2f): Likewise.
4387 * math/w_exp2l.c (__exp2l): Likewise.
4388 * math/auto-libm-test-in: Do not allow missing errno on exp2
4390 * math/auto-libm-test-out: Regenerated.
4392 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
4395 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4396 handle filename validation.
4397 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4400 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4403 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4404 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4405 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4407 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4408 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4409 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4410 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4411 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4412 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4413 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4414 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4415 Add more erfc tests.
4416 * math/auto-libm-test-out: Regenerated.
4417 * sysdeps/i386/fpu/libm-test-ulps: Update.
4418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4420 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4421 exp2, expm1, j0 and j1.
4422 * math/auto-libm-test-out: Regenerated.
4423 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4424 (erfc_test_data): Likewise.
4425 (exp_test_data): Likewise.
4426 (exp_tonearest_test_data): Likewise.
4427 (exp_towardzero_test_data): Likewise.
4428 (exp_downward_test_data): Likewise.
4429 (exp_upward_test_data): Likewise.
4430 (exp10_test_data): Likewise.
4431 (exp2_test_data): Likewise.
4432 (expm1_test_data): Likewise.
4433 (j0_test_data): Likewise.
4434 (j1_test_data): Likewise.
4435 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4436 (input_flag_type): Add flag_xfail_rounding.
4437 (input_flags): Add xfail-rounding.
4438 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4439 (output_for_one_input_case): Handle flag_xfail_rounding.
4440 * sysdeps/i386/fpu/libm-test-ulps: Update.
4441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4443 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4446 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4449 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4452 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4453 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4454 (STAP_PROBE0): New macro.
4455 (STAP_PROBE1): Likewise.
4456 (STAP_PROBE2): Likewise.
4457 (STAP_PROBE3): Likewise.
4458 (STAP_PROBE4): Likewise.
4460 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
4462 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4464 2013-12-02 Steve Ellcey <sellcey@mips.com>
4466 * benchtests/Makefile (bench): Add sqrt.
4467 (LDLIBS-bench-sqrt): New.
4468 * benchtests/sqrt-input: New.
4470 2013-12-02 Pavel Simerda <psimerda@redhat.com>
4472 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4473 (GAIH_EAI): Likewise.
4474 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4475 (gaih_inet): Likewise.
4476 (getaddrinfo): Don't use GAIH_EAI.
4478 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4479 (struct gaih): Remove definition.
4481 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4483 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4484 Use HERRNOP directly.
4486 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4490 2013-11-30 Joseph Myers <joseph@codesourcery.com>
4492 * math/gen-auto-libm-tests.c (test_functions): Add more
4493 single-argument functions.
4494 (special_fill_pi_2): New function.
4495 (special_fill_minus_pi_2): Likewise.
4496 (special_fill_pi_6): Likewise.
4497 (special_fill_minus_pi_6): Likewise.
4498 (special_fill_pi_3): Likewise.
4499 (special_fill_2pi_3): Likewise.
4500 (special_fill_e): Likewise.
4501 (special_fill_1_e): Likewise.
4502 (special_fill_e_minus_1): Likewise.
4503 (special_real_inputs): Add more special inputs.
4504 (output_for_one_input_case): Do not require ERANGE on underflow to
4505 zero if round-to-nearest result does not underflow to zero, unless
4506 exact results required.
4507 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4508 atan, atanh, cbrt, cos and cosh.
4509 * math/auto-libm-test-out: Regenerated.
4510 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4511 (acos_tonearest_test_data): Likewise.
4512 (acos_towardzero_test_data): Likewise.
4513 (acos_downward_test_data): Likewise.
4514 (acos_upward_test_data): Likewise.
4515 (acosh_test_data): Likewise.
4516 (asin_test_data): Likewise.
4517 (asin_tonearest_test_data): Likewise.
4518 (asin_towardzero_test_data): Likewise.
4519 (asin_upward_test_data): Likewise.
4520 (asinh_test_data): Likewise.
4521 (atan_test_data): Likewise.
4522 (atanh_test_data): Likewise.
4523 (cbrt_test_data): Likewise.
4524 (cos_test_data): Likewise.
4525 (cos_tonearest_test_data): Likewise.
4526 (cos_towardzero_test_data): Likewise.
4527 (cos_downward_test_data): Likewise.
4528 (cos_upward_test_data): Likewise.
4529 (cosh_test_data): Likewise.
4530 (cosh_tonearest_test_data): Likewise.
4531 (cosh_towardzero_test_data): Likewise.
4532 (cosh_downward_test_data): Likewise.
4533 (cosh_upward_test_data): Likewise.
4534 * sysdeps/i386/fpu/libm-test-ulps: Update.
4535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4537 2013-11-29 Joseph Myers <joseph@codesourcery.com>
4540 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4541 * math/w_exp10f.c (__exp10f): Likewise.
4542 * math/w_exp10l.c (__exp10l): Likewise.
4543 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4544 errno settings in existing tests.
4547 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4548 precision control set to double precision.
4549 * sysdeps/i386/fpu/w_sqrt.c: New file.
4550 * math/auto-libm-test-in: Add more tests.
4551 * math/auto-libm-test-out: Update.
4553 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4554 (sqrt_test_tonearest): New function.
4555 (sqrt_towardzero_test_data): New variable.
4556 (sqrt_test_towardzero): New function.
4557 (sqrt_downward_test_data): New variable.
4558 (sqrt_test_downward): New function.
4559 (sqrt_upward_test_data): New variable.
4560 (sqrt_test_upward): New function.
4561 (main): Call the new functions.
4563 * math/gen-auto-libm-tests.c: New file.
4564 * math/auto-libm-test-in: Likewise.
4565 * math/auto-libm-test-out: New generated file.
4566 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4568 (%beautify): Add generated representations of zero.
4569 (top level): Set $auto_input and call parse_auto_input.
4570 (beautify): Remove trailing "f" from hex float constants.
4571 (parse_args): Handle XFAIL_TEST.
4572 (convert_condition): New function.
4573 (or_value): Likewise.
4574 (or_cond_value): Likewise.
4575 (generate_testfile): Handle AUTO_TESTS_* lines.
4576 (parse_auto_input): New function.
4577 * math/libm-test.inc (XFAIL_TEST): New macro.
4578 (ERRNO_UNCHANGED): Update value.
4579 (ERRNO_EDOM): Likewise.
4580 (ERRNO_ERANGE): Likewise.
4581 (IGNORE_RESULT): Likewise.
4582 (TEST_COND_flt_32): New macro.
4583 (TEST_COND_dbl_64): Likewise.
4584 (TEST_COND_ldbl_96_intel): Likewise.
4585 (TEST_COND_ldbl_96_m68k): Likewise.
4586 (TEST_COND_ldbl_128): Likewise.
4587 (TEST_COND_ldbl_128ibm): Likewise.
4588 (TEST_COND_long32): Likewise.
4589 (TEST_COND_long64): Likewise.
4590 (TEST_COND_before_rounding): Likewise.
4591 (TEST_COND_after_rounding): Likewise.
4592 (enable_test): Handle XFAIL_TEST flag.
4593 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4594 with finite results.
4595 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4598 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4599 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4602 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4603 __tls_get_addr_internal instead of __tls_get_offset in order to
4604 avoid GOT pointer dependency. Make rtld export
4605 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4606 __tls_get_addr since we are a __tls_get_offset platform.
4607 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4608 GOT pointer being set up before.
4609 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4611 2013-11-28 Joseph Myers <joseph@codesourcery.com>
4613 * manual/math.texi (Errors in Math Functions): Document accuracy
4617 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4618 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4619 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4620 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4621 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4622 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4623 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4624 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4625 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4626 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4627 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4628 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4629 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4630 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4631 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4632 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4634 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4635 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4636 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4637 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4638 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4640 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4642 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4644 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4645 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4646 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4647 atomic-feupdateenv and flt-rounds.
4648 * sysdeps/powerpc/nofpu/Versions (libc): Add
4649 __atomic_feholdexcept, __atomic_feclearexcept,
4650 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4651 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4652 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4653 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4654 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4659 * manual/arith.texi (FP Exceptions): Document that exceptions may
4660 not be raised when matherr is used.
4661 (Math Error Reporting): Document overflow in directed rounding
4662 modes. Document that errno may not be set when finite values are
4663 returned on overflow. Document intent to set errno on underflow
4664 only for underflow to zero.
4667 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4668 round-to-nearest then adjust result for other rounding modes.
4669 * include/fenv.h (fegetround): Use libm_hidden_proto.
4670 * math/fegetround.c (fegetround): Use libm_hidden_def.
4671 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4672 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4673 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4674 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4676 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4677 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4678 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4679 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4681 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4684 * nss/Versions (libnss_files): Add
4685 _nss_files_gethostbyname3_r.
4686 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4688 (HOST_DB_LOOKUP): Remove macro.
4689 (_nss_files_gethostbyname_r): Implement function without the
4690 HOST_DB_LOOKUP macro.
4691 (_nss_files_gethostbyname2_r): Likewise.
4693 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
4695 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4697 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
4699 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4700 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4703 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4705 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4706 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4707 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4708 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4709 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4710 __fe_nomask_env_priv and attribute_hidden.
4711 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4712 (libc_feupdateenv_test_ppc): Likewise.
4713 (libc_feresetround_ppc): Likewise.
4714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4715 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4716 compat_symbol macro.
4717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4718 (__fe_nomask_env): Likewise.
4719 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4721 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4723 * string/Makefile: Remove ifunc tests.
4724 * string/test-string.h: Define TEST_IFUNC.
4725 * string/test-bcopy-ifunc.c: Remove.
4726 * string/test-bzero-ifunc.c: Likewise.
4727 * string/test-memccpy-ifunc.c: Likewise.
4728 * string/test-memchr-ifunc.c: Likewise.
4729 * string/test-memcmp-ifunc.c: Likewise.
4730 * string/test-memcpy-ifunc.c: Likewise.
4731 * string/test-memmem-ifunc.c: Likewise.
4732 * string/test-memmove-ifunc.c: Likewise.
4733 * string/test-mempcpy-ifunc.c: Likewise.
4734 * string/test-memrchr-ifunc.c: Likewise.
4735 * string/test-memset-ifunc.c: Likewise.
4736 * string/test-rawmemchr-ifunc.c: Likewise.
4737 * string/test-stpcpy-ifunc.c: Likewise.
4738 * string/test-stpncpy-ifunc.c: Likewise.
4739 * string/test-strcasecmp-ifunc.c: Likewise.
4740 * string/test-strcasestr-ifunc.c: Likewise.
4741 * string/test-strcat-ifunc.c: Likewise.
4742 * string/test-strchr-ifunc.c: Likewise.
4743 * string/test-strchrnul-ifunc.c: Likewise.
4744 * string/test-strcmp-ifunc.c: Likewise.
4745 * string/test-strcpy-ifunc.c: Likewise.
4746 * string/test-strcspn-ifunc.c: Likewise.
4747 * string/test-strlen-ifunc.c: Likewise.
4748 * string/test-strncasecmp-ifunc.c: Likewise.
4749 * string/test-strncat-ifunc.c: Likewise.
4750 * string/test-strncmp-ifunc.c: Likewise.
4751 * string/test-strncpy-ifunc.c: Likewise.
4752 * string/test-strnlen-ifunc.c: Likewise.
4753 * string/test-strpbrk-ifunc.c: Likewise.
4754 * string/test-strrchr-ifunc.c: Likewise.
4755 * string/test-strspn-ifunc.c: Likewise.
4756 * string/test-strstr-ifunc.c: Likewise.
4758 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4760 * benchtests/Makefile: Remove ifunc tests.
4761 * benchtests/bench-string.h: Define TEST_IFUNC.
4762 * benchtests/bench-bcopy-ifunc.c: Remove.
4763 * benchtests/bench-bzero-ifunc.c: Likewise.
4764 * benchtests/bench-memccpy-ifunc.c: Likewise.
4765 * benchtests/bench-memchr-ifunc.c: Likewise.
4766 * benchtests/bench-memcmp-ifunc.c: Likewise.
4767 * benchtests/bench-memcpy-ifunc.c: Likewise.
4768 * benchtests/bench-memmem-ifunc.c: Likewise.
4769 * benchtests/bench-memmove-ifunc.c: Likewise.
4770 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4771 * benchtests/bench-memrchr-ifunc.c: Likewise.
4772 * benchtests/bench-memset-ifunc.c: Likewise.
4773 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4774 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4775 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4776 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4777 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4778 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4779 * benchtests/bench-strcat-ifunc.c: Likewise.
4780 * benchtests/bench-strchr-ifunc.c: Likewise.
4781 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4782 * benchtests/bench-strcmp-ifunc.c: Likewise.
4783 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4784 * benchtests/bench-strcpy-ifunc.c: Likewise.
4785 * benchtests/bench-strcspn-ifunc.c: Likewise.
4786 * benchtests/bench-strlen-ifunc.c: Likewise.
4787 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4788 * benchtests/bench-strncat-ifunc.c: Likewise.
4789 * benchtests/bench-strncmp-ifunc.c: Likewise.
4790 * benchtests/bench-strncpy-ifunc.c: Likewise.
4791 * benchtests/bench-strnlen-ifunc.c: Likewise.
4792 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4793 * benchtests/bench-strrchr-ifunc.c: Likewise.
4794 * benchtests/bench-strsep-ifunc.c: Likewise.
4795 * benchtests/bench-strspn-ifunc.c: Likewise.
4796 * benchtests/bench-strstr-ifunc.c: Likewise.
4798 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4800 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4802 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4804 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4805 * rt/aio.h: Likewise.
4806 * sysdeps/gnu/bits/utmp.h: Likewise.
4807 * sysdeps/gnu/bits/utmpx.h: Likewise.
4808 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4809 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4810 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4811 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4812 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4813 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4814 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4815 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4816 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4817 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4818 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4819 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4820 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4822 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4823 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4824 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4825 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4826 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4827 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4828 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4829 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4830 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4831 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4832 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4833 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4834 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4835 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4836 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4837 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4838 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4839 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4840 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4841 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4842 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4843 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4844 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4845 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4846 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4847 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4848 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4849 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4851 2013-11-25 Carlos O'Donell <carlos@redhat.com>
4854 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4855 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4857 2013-11-25 Joseph Myers <joseph@codesourcery.com>
4859 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4860 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4863 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4865 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4866 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4867 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4868 (__fesetround): Remove define.
4869 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4870 rounding and exceptions handling.
4871 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4872 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4873 (__fe_nomask_env): Likewise.
4874 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4875 __fegetround instead of fegetround.
4876 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4877 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4879 2013-11-21 Roland McGrath <roland@hack.frob.com>
4881 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4884 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4886 2013-11-21 Meador Inge <meadori@codesourcery.com>
4889 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4890 (encrypt_r): Likewise.
4891 * malloc/obstack.h (obstack_free): Likewise.
4892 * posix/unistd.h (encrypt): Likewise.
4894 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4896 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4897 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4898 DL_CALL_DT_FINI() that call the functions directly.
4899 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4900 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4901 * elf/dl-fini.c: Likewise.
4903 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
4905 * malloc/hooks.c (memalign_check): Add alignment rounding.
4906 * malloc/malloc.c (_mid_memalign): New function.
4907 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4908 Implement by calling _mid_memalign.
4909 * manual/probes.texi (Memory Allocation Probes): Remove
4910 memory_valloc_retry and memory_pvalloc_retry.
4912 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4914 * locale/programs/locarchive.c (open_archive): Add const
4915 qualifier to ARCHIVEFNAME and copy default fname to
4919 * libio/tst-widetext.input: Rename Oriya to Odia.
4920 * locale/iso-639.def: Likewise.
4922 * manual/probes.texi (Mathematical Function Probes): Add
4923 documentation for sin, cos, asin and acos probes.
4924 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4925 (__sin32): Add slowasin probe.
4926 (__cos32): Add slowacos probe.
4927 (__mpsin): Add slowsin probe.
4928 (__mpcos): Add slowcos probe.
4930 2013-11-19 Joseph Myers <joseph@codesourcery.com>
4933 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4934 thread-local __sim_exceptions_thread and global
4935 __sim_exceptions_global.
4936 (__sim_disabled_exceptions): Change to thread-local
4937 __sim_disabled_exceptions_thread and global
4938 __sim_disabled_exceptions_global.
4939 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4940 and global __sim_round_mode_global.
4941 (__simulate_exceptions): Use thread-local floating-point state and
4942 set global state from it as needed.
4943 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4944 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4945 __sim_round_mode_thread.
4946 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4947 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4948 and global __sim_exceptions_global.
4949 (__sim_disabled_exceptions): Change to thread-local
4950 __sim_disabled_exceptions_thread and global
4951 __sim_disabled_exceptions_global.
4952 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4953 and global __sim_round_mode_global.
4954 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4955 (SIM_SET_GLOBAL): Likewise.
4956 * sysdeps/powerpc/soft-fp/sfp-machine.h
4957 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4958 __sim_round_mode_thread.
4959 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4960 __sim_disabled_exceptions_thread.
4961 (__sim_exceptions): Change to __sim_exceptions_thread.
4962 (__sim_disabled_exceptions): Change to
4963 __sim_disabled_exceptions_thread.
4964 (__sim_round_mode): Change to __sim_round_mode_thread.
4965 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4966 thread-local floating-point state and set global state from it as
4968 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4969 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4970 (__sim_disabled_exceptions): Remove extern declaration.
4971 (feenableexcept): Use thread-local floating-point state and set
4972 global state from it as needed.
4973 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4975 (__sim_disabled_exceptions): Likewise.
4976 (__sim_round_mode): Likewise.
4977 (__fegetenv): Use thread-local floating-point state.
4978 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4979 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4980 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4981 floating-point state and set global state from it as needed.
4982 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4983 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4984 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4986 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4987 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4989 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4990 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4991 Use __sim_round_mode_thread.
4992 * math/test-fenv-tls.c: New file.
4993 * math/Makefile (tests): Add test-fenv-tls.
4994 ($(objpfx)test-fenv-tls): Depend on
4995 $(common-objpfx)nptl/libpthread.so.
4997 2013-11-19 Andreas Schwab <schwab@suse.de>
4999 * locale/programs/locale.c (show_info): Decode wordarray elements.
5000 * locale/categories.def (LC_MONETARY): Add element for
5001 _NL_MONETARY_CRNCYSTR.
5002 * locale/C-monetary.c (conversion_rate): New variable.
5003 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
5006 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
5008 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5009 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5011 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5013 * elf/Makefile (tst-auxv): New test.
5014 * elf/tst-auxv.c: New
5015 * elf/rtld.c (dl_main): Adjust AT_EXECFN
5017 2013-11-18 Joseph Myers <joseph@codesourcery.com>
5019 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5020 (hidden_proto): Caller changed.
5021 (hidden_tls_proto): New macro.
5022 (libc_hidden_tls_proto): Likewise.
5023 (rtld_hidden_tls_proto): Likewise.
5024 (libm_hidden_tls_proto): Likewise.
5025 (libresolv_hidden_tls_proto): Likewise.
5026 (librt_hidden_tls_proto): Likewise.
5027 (libdl_hidden_tls_proto): Likewise.
5028 (libnss_files_hidden_tls_proto): Likewise.
5029 (libnsl_hidden_tls_proto): Likewise.
5030 (libnss_nisplus_hidden_tls_proto): Likewise.
5031 (libutil_hidden_tls_proto): Likewise.
5033 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
5036 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5037 (decompose_rpath): Defer expansion to fillin_rpath.
5038 (_dl_init_paths): Pass linkmap to fillin_rpath.
5040 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5042 * benchtests/Makefile: Add strsep.
5043 * benchtests/bench-strsep.c: New file: strsep benchtest.
5044 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5046 2013-11-18 Andreas Schwab <schwab@suse.de>
5048 * locale/programs/locale.c (show_info) [case byte]: Check for
5049 '\377' instead of '\177'.
5050 * locale/C-monetary.c (not_available): Always use "\377".
5051 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5052 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
5053 detect unavailable sign_posn locale elements.
5054 * locale/localeconv.c (__localeconv): For grouping and
5055 mon_grouping handle "\177" and "\377" like no grouping.
5056 (INT_ELEM): New macro. Use it to set all numeric members.
5057 * locale/programs/ld-monetary.c (monetary_read)
5058 <tok_mon_grouping>: Normalize single -1 to the empty string.
5059 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5062 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5065 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5066 when we match (nil).
5067 * stdio-common/tst-sscanf.c (struct test): Add testcase.
5069 2013-11-16 Joseph Myers <joseph@codesourcery.com>
5071 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5072 (NO_TEST_INLINE): Update value.
5073 (ERRNO_UNCHANGED): Likewise.
5074 (ERRNO_EDOM): Likewise.
5075 (ERRNO_ERANGE): Likewise.
5076 (IGNORE_RESULT): Likewise.
5077 (check_float_internal): Check signs of NaN results if
5079 (check_complex): Pass TEST_NAN_SIGN flag through to second
5080 check_float_internal call.
5081 (copysign_test_data): Add tests with quiet NaNs as second
5082 argument. Use TEST_NAN_SIGN.
5083 (fabs_test_data): Add test of negative quiet NaN argument. Use
5085 (signbit_test_data): Add tests of quiet NaN argument.
5086 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5088 * math/gen-libm-test.pl (show_exceptions): Take extra argument
5090 (parse_args): Handle function results specified as IGNORE.
5091 * math/libm-test.inc (IGNORE_RESULT): New macro.
5092 (check_float_internal): Do not check numerical result if flag
5094 (check_complex): Pass through IGNORE_RESULT to second
5095 check_float_internal call.
5096 (check_int): Do not check numerical result if flag IGNORE_RESULT
5098 (check_long): Likewise.
5099 (check_bool): Likewise.
5100 (check_longlong): Likewise.
5101 (lrint_test_data): Add tests of infinite and NaN arguments.
5102 (lrint_tonearest_test_data): Likewise.
5103 (lrint_towardzero_test_data): Likewise.
5104 (lrint_downward_test_data): Likewise.
5105 (lrint_upward_test_data): Likewise.
5106 (llrint_test_data): Likewise.
5107 (llrint_tonearest_test_data): Likewise.
5108 (llrint_towardzero_test_data): Likewise.
5109 (llrint_downward_test_data): Likewise.
5110 (llrint_upward_test_data): Likewise.
5111 (lround_test_data): Likewise.
5112 (llround_test_data): Likewise.
5114 * math/libm-test.inc (NO_TEST_INLINE): New macro.
5115 (ERRNO_UNCHANGED): Update value.
5116 (ERRNO_EDOM): Likewise.
5117 (ERRNO_ERANGE): Likewise.
5118 (NO_TEST_INLINE_FLOAT): New macro.
5119 (NO_TEST_INLINE_DOUBLE): Likewise.
5120 (enable_test): New function.
5121 (RUN_TEST_f_f): Check enable_test before running test.
5122 (RUN_TEST_2_f): Likewise.
5123 (RUN_TEST_fff_f): Likewise.
5124 (RUN_TEST_c_f): Likewise.
5125 (RUN_TEST_f_f1): Likewise.
5126 (RUN_TEST_fF_f1): Likewise.
5127 (RUN_TEST_fI_f1): Likewise.
5128 (RUN_TEST_ffI_f1): Likewise.
5129 (RUN_TEST_c_c): Likewise.
5130 (RUN_TEST_cc_c): Likewise.
5131 (RUN_TEST_f_i): Likewise.
5132 (RUN_TEST_f_i_tg): Likewise.
5133 (RUN_TEST_ff_i_tg): Likewise.
5134 (RUN_TEST_f_b): Likewise.
5135 (RUN_TEST_f_b_tg): Likewise.
5136 (RUN_TEST_f_l): Likewise.
5137 (RUN_TEST_f_L): Likewise.
5138 (RUN_TEST_fFF_11): Likewise.
5139 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5141 (cosh_test_data): Likewise.
5142 (exp_test_data): Likewise.
5143 (expm1_test_data): Likewise.
5144 (hypot_test_data): Likewise.
5145 (pow_test_data): Likewise.
5146 (sinh_test_data): Likewise.
5147 (tanh_test_data): Likewise.
5148 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5151 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5152 tests with quiet NaN input and output.
5153 (acosh_test_data): Likewise.
5154 (asin_test_data): Likewise.
5155 (asinh_test_data): Likewise.
5156 (atan_test_data): Likewise.
5157 (atanh_test_data): Likewise.
5158 (atan2_test_data): Likewise.
5159 (cbrt_test_data): Likewise.
5160 (cos_test_data): Likewise.
5161 (cosh_test_data): Likewise.
5162 (erf_test_data): Likewise.
5163 (erfc_test_data): Likewise.
5164 (exp_test_data): Likewise.
5165 (exp10_test_data): Likewise.
5166 (exp2_test_data): Likewise.
5167 (expm1_test_data): Likewise.
5168 (hypot_test_data): Likewise.
5169 (j0_test_data): Likewise.
5170 (j1_test_data): Likewise.
5171 (jn_test_data): Likewise.
5172 (lgamma_test_data): Likewise.
5173 (log_test_data): Likewise.
5174 (log10_test_data): Likewise.
5175 (log1p_test_data): Likewise.
5176 (log2_test_data): Likewise.
5177 (pow_test_data): Likewise.
5178 (scalb_test_data): Likewise.
5179 (sin_test_data): Likewise.
5180 (sincos_test_data): Likewise.
5181 (sinh_test_data): Likewise.
5182 (tan_test_data): Likewise.
5183 (tanh_test_data): Likewise.
5184 (tgamma_test_data): Likewise.
5185 (y0_test_data): Likewise.
5186 (y1_test_data): Likewise.
5187 (yn_test_data): Likewise.
5190 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5191 argument being NaN and avoid computations with second argument in
5193 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5194 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5195 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5197 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5199 * locale/iso-639.def: Add Chitwani Tharu (the).
5201 2013-11-14 Andreas Schwab <schwab@suse.de>
5203 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5204 word instead of empty string.
5206 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5209 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5211 (__fe_nomask_env): Likewise.
5213 2013-11-13 Steve Ellcey <sellcey@mips.com>
5215 * benchtests/bench-timing.h: Include time.h.
5217 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5220 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5222 * sysdeps/unix/sysv/linux/configure: Regenerated.
5224 2013-11-13 Joseph Myers <joseph@codesourcery.com>
5227 * stdlib/strtod_l.c (round_and_return): Do not consider
5228 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5229 exponent one less than half the least subnormal exponent.
5230 * stdlib/test-strtod-round-data: Add more tests.
5231 * stdlib/tst-strtod-round.c (tests): Regenerated.
5233 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5236 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5237 (__fe_mask_env): Likewise.
5238 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5239 libm_hidden_proto and add function prototype.
5240 (__fe_mask_env): Add function prototype.
5241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5242 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5244 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5246 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5248 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5250 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
5251 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5253 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5255 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5256 of htab_find_slot().
5258 2013-11-11 David S. Miller <davem@davemloft.net>
5261 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5262 symbol in the non-vis3 case in static builds.
5263 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5264 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5265 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5266 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5268 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5271 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5274 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5276 * benchtests/Makefile: Add bench-strtod.
5277 * benchtests/bench-strtod.c: New file: strtod benchtest
5279 2013-11-11 Andreas Schwab <schwab@suse.de>
5282 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5283 terminating NUL in key length.
5285 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5287 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5288 Add artificial ODP entry for vDSO symbol for PPC64.
5289 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5290 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5292 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5295 * nss/getent.c (services_keys): Recognize services starting with digit.
5297 2013-11-06 David S. Miller <davem@davemloft.net>
5300 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5301 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5303 2013-11-06 Will Newton <will.newton@linaro.org>
5305 * manual/memory.texi (Malloc Examples): Remove register
5306 keyword from examples.
5308 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
5310 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
5312 2013-11-04 Joseph Myers <joseph@codesourcery.com>
5315 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5316 depending on [__GCC_IEC_559 > 0].
5317 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5318 depending on [__GCC_IEC_559_COMPLEX > 0].
5320 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
5322 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5325 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
5327 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5329 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
5332 * malloc/malloc (malloc_info): Do not handle first bin as
5335 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
5337 * locale/iso-639.def: Add Central Nahuatl (nhn).
5339 2013-11-01 Bruno Haible <bruno@clisp.org>
5342 * manual/math.texi (BSD Random): Specify range upper bound as
5345 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
5347 * locale/iso-639.def: Add Meadow Mari (mhr).
5349 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
5351 [BZ #14752], [BZ #15763]
5352 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5354 * rt/tst_shm.c: Add test for escaping directory.
5356 2013-10-31 Andreas Schwab <schwab@suse.de>
5359 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5360 followed by 'x' as part of digit sequence.
5361 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5363 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5366 * configure.ac: allow GNU Make 4.0 and greater.
5367 * configure: Regenerated.
5369 2013-10-30 Will Newton <will.newton@linaro.org>
5372 * malloc/hooks.c (memalign_check): Limit alignment to the
5373 maximum representable power of two.
5374 * malloc/malloc.c (__libc_memalign): Likewise.
5375 * malloc/tst-memalign.c (do_test): Add test for very
5376 large alignment values.
5377 * malloc/tst-posix_memalign.c (do_test): Likewise.
5379 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5382 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5383 (munmap_chunk): Likewise.
5384 (mremap_chunk): Likewise.
5386 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5389 * stdlib/div.c (div): Remove obsolete code.
5390 * stdlib/ldiv.c (ldiv): Likewise.
5391 * stdlib/lldiv.c (lldiv): Likewise.
5393 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5396 * nss/nss_files/files-XXX.c (get_contents_ret): New
5398 (get_contents): New function.
5399 (internal_getent): Use it. Expand size of LINEBUFLEN.
5401 2013-10-30 Mike Frysinger <vapier@gentoo.org>
5403 * configure.in: Moved to ...
5404 * configure.ac: ... here. Change reference to configure.in
5406 * sysdeps/arm/preconfigure.ac: ... here.
5407 configure.in to configure.ac.
5408 * sysdeps/gnu/configure.in: Moved to ...
5409 * sysdeps/gnu/configure.ac: ... here.
5410 * sysdeps/i386/configure.in: Moved to ...
5411 * sysdeps/i386/configure.ac: ... here.
5412 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5413 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5414 * sysdeps/mach/configure.in: Moved to ...
5415 * sysdeps/mach/configure.ac: ... here.
5416 * sysdeps/mach/hurd/configure.in: Moved to ...
5417 * sysdeps/mach/hurd/configure.ac: ... here.
5418 * sysdeps/powerpc/configure.in: Moved to ...
5419 * sysdeps/powerpc/configure.ac: ... here.
5420 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5421 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5422 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5423 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5424 * sysdeps/s390/s390-32/configure.in: Moved to ...
5425 * sysdeps/s390/s390-32/configure.ac: ... here.
5426 * sysdeps/s390/s390-64/configure.in: Moved to ...
5427 * sysdeps/s390/s390-64/configure.ac: ... here.
5428 * sysdeps/sh/configure.in: Moved to ...
5429 * sysdeps/sh/configure.ac: ... here.
5430 * sysdeps/sparc/configure.in: Moved to ...
5431 * sysdeps/sparc/configure.ac: ... here.
5432 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5433 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5434 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5435 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5436 * sysdeps/x86_64/configure.in: Moved to ...
5437 * sysdeps/x86_64/configure.ac: ... here.
5438 * sysdeps/x86_64/preconfigure.in: Moved to ...
5439 * sysdeps/x86_64/preconfigure.ac: ... here.
5440 * aclocal.m4: Change reference to configure.in to configure.ac.
5441 * config.h.in: Likewise.
5442 * manual/install.texi: Likewise.
5443 * manual/maint.texi: Likewise.
5444 * Makefile: Likewise.
5445 * malloc/Makefile: Likewise.
5446 * nscd/Makefile: Likewise.
5447 * Makeconfig: Change reference to configure.in and
5448 preconfigure.in to configure.ac and preconfigure.ac
5450 * INSTALL: Regenerated.
5451 * configure: Likewise.
5452 * sysdeps/gnu/configure: Likewise.
5453 * sysdeps/i386/configure: Likewise.
5454 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5455 * sysdeps/mach/configure: Likewise.
5456 * sysdeps/mach/hurd/configure: Likewise.
5457 * sysdeps/powerpc/configure: Likewise.
5458 * sysdeps/powerpc/powerpc32/configure: Likewise.
5459 * sysdeps/powerpc/powerpc64/configure: Likewise.
5460 * sysdeps/s390/s390-32/configure: Likewise.
5461 * sysdeps/s390/s390-64/configure: Likewise.
5462 * sysdeps/sh/configure: Likewise.
5463 * sysdeps/sparc/configure: Likewise.
5464 * sysdeps/unix/sysv/linux/configure: Likewise.
5465 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5466 * sysdeps/x86_64/configure: Likewise.
5467 * sysdeps/x86_64/preconfigure: Likewise.
5469 2013-10-29 Andreas Schwab <schwab@suse.de>
5471 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5473 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5475 * benchtests/pow-inputs: Add new inputs.
5477 * benchtests/exp-inputs: Add new inputs.
5479 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5480 conditional check for return value.
5481 (__cos32): Likewise.
5483 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5485 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5486 to provide a boost for large inputs with word alignment.
5487 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5488 implementation based on optimized PPC64 strcpy.
5489 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5490 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5491 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5492 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5494 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5497 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5499 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5502 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5503 * time/tst-strptime.c (day_tests): Add testcase.
5505 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5508 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5510 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5513 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5514 MAP_FAILED on error.
5516 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5519 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5520 heap for large requests.
5522 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5525 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5526 result if the result has no associated interface.
5527 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5528 interface for all 127.X.Y.Z addresses.
5530 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
5532 * locale/iso-639.def: Add Ligurian (lij)
5534 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
5537 * sunrpc/rpc_main.c: Document rpcgen -5.
5539 2013-10-19 Michael Stahl <mstahl@redhat.com>
5541 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5543 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5546 * posix/glob.c: Match only directories when trailing slash is present.
5547 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5548 (main): Add testcase.
5550 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5553 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5555 2013-10-18 Carlos O'Donell <carlos@redhat.com>
5557 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5558 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5559 AUTH_DES and cindex for FIPS 140-2.
5560 (DES Encryption): Add cindex FIPS 46-3.
5562 * locale/locarchive.h (struct locarhandle): Add fname.
5563 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5564 if an optional argument was specified to --list-archive,
5566 * locale/programs/locarchive.c (show_archive_content): Take new
5567 argument fname and pass it via ah.fname to open_archive.
5568 * locale/programs/localedef.h: Update decl.
5569 (open_archive): If AH->fname is non-null, open that file
5570 rather than the default file name, and don't ignore ENOENT.
5571 (create_archive): Set AH.fname to NULL.
5572 (delete_locales_from_archive): Likewise.
5573 (add_locales_to_archive): Likewise.
5574 * locale/programs/locfile.c (write_all_categories): Likewise.
5576 2013-10-18 Joseph Myers <joseph@codesourcery.com>
5577 Aldy Hernandez <aldyh@redhat.com>
5579 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5580 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5581 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5582 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5583 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5584 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5585 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5586 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5587 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5588 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5589 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5590 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5591 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5592 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5593 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5595 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5597 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5599 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5601 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5602 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5604 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5605 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5606 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5607 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5609 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5610 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5611 * sysdeps/powerpc/preconfigure: Likewise.
5612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5614 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5615 Replace contents of file by #include of <fenv_libc.h>.
5616 * sysdeps/powerpc/soft-fp/sfp-machine.h
5617 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5619 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5620 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5621 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5622 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5623 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5624 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5625 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5626 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5627 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5628 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5629 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5630 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5632 Allow copysignl PLT reference to be missing.
5634 2013-10-18 Richard Sandiford <richard@codesourcery.com>
5635 Joseph Myers <joseph@codesourcery.com
5638 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5640 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5642 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5644 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5645 * elf/tst-tls1.c: Likewise.
5646 * elf/tst-tls10.h: Likewise.
5647 * elf/tst-tls14.c: Likewise.
5648 * elf/tst-tls2.c: Likewise.
5649 * elf/tst-tls3.c: Likewise.
5650 * elf/tst-tls4.c: Likewise.
5651 * elf/tst-tls5.c: Likewise.
5652 * elf/tst-tls6.c: Likewise.
5653 * elf/tst-tls7.c: Likewise.
5654 * elf/tst-tls8.c: Likewise.
5655 * elf/tst-tls9.c: Likewise.
5656 * elf/tst-tlsmod1.c: Likewise.
5657 * elf/tst-tlsmod13.c: Likewise.
5658 * elf/tst-tlsmod13a.c: Likewise.
5659 * elf/tst-tlsmod14a.c: Likewise.
5660 * elf/tst-tlsmod16a.c: Likewise.
5661 * elf/tst-tlsmod16b.c: Likewise.
5662 * elf/tst-tlsmod2.c: Likewise.
5663 * elf/tst-tlsmod3.c: Likewise.
5664 * elf/tst-tlsmod4.c: Likewise.
5665 * elf/tst-tlsmod5.c: Likewise.
5666 * elf/tst-tlsmod6.c: Likewise.
5668 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
5671 * malloc/malloc.c: remove checks for statistics.
5673 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5676 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5677 * inet/tst-network.c: Add testcase.
5679 2013-10-17 Andreas Schwab <schwab@suse.de>
5682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5683 to determine canonical name.
5685 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5687 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5688 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5689 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5690 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5692 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5693 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5694 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5695 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5696 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5697 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5698 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5699 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5700 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5701 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5702 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5703 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5704 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5705 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5706 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5707 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5708 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5709 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5710 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5711 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5712 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5713 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5714 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5715 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5717 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5718 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5719 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5720 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5721 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5722 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5723 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5724 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5725 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5726 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5727 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5728 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5729 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5730 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5731 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5732 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5733 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5734 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5735 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5736 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5737 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5738 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5739 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5740 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5741 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5742 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5743 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5744 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5746 2013-10-17 Joseph Myers <joseph@codesourcery.com>
5749 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5750 make result into a quiet NaN.
5752 2013-10-16 Joseph Myers <joseph@codesourcery.com>
5754 * soft-fp/adddf3.c: Fix horizontal whitespace.
5755 * soft-fp/addsf3.c: Likewise.
5756 * soft-fp/addtf3.c: Likewise.
5757 * soft-fp/divdf3.c: Likewise.
5758 * soft-fp/divsf3.c: Likewise.
5759 * soft-fp/divtf3.c: Likewise.
5760 * soft-fp/double.h: Likewise.
5761 * soft-fp/eqdf2.c: Likewise.
5762 * soft-fp/eqsf2.c: Likewise.
5763 * soft-fp/eqtf2.c: Likewise.
5764 * soft-fp/extenddftf2.c: Likewise.
5765 * soft-fp/extended.h: Likewise.
5766 * soft-fp/extendsfdf2.c: Likewise.
5767 * soft-fp/extendsftf2.c: Likewise.
5768 * soft-fp/extendxftf2.c: Likewise.
5769 * soft-fp/fixdfdi.c: Likewise.
5770 * soft-fp/fixdfsi.c: Likewise.
5771 * soft-fp/fixdfti.c: Likewise.
5772 * soft-fp/fixsfdi.c: Likewise.
5773 * soft-fp/fixsfsi.c: Likewise.
5774 * soft-fp/fixsfti.c: Likewise.
5775 * soft-fp/fixtfdi.c: Likewise.
5776 * soft-fp/fixtfsi.c: Likewise.
5777 * soft-fp/fixtfti.c: Likewise.
5778 * soft-fp/fixunsdfdi.c: Likewise.
5779 * soft-fp/fixunsdfsi.c: Likewise.
5780 * soft-fp/fixunsdfti.c: Likewise.
5781 * soft-fp/fixunssfdi.c: Likewise.
5782 * soft-fp/fixunssfsi.c: Likewise.
5783 * soft-fp/fixunssfti.c: Likewise.
5784 * soft-fp/fixunstfdi.c: Likewise.
5785 * soft-fp/fixunstfsi.c: Likewise.
5786 * soft-fp/fixunstfti.c: Likewise.
5787 * soft-fp/floatdidf.c: Likewise.
5788 * soft-fp/floatdisf.c: Likewise.
5789 * soft-fp/floatditf.c: Likewise.
5790 * soft-fp/floatsidf.c: Likewise.
5791 * soft-fp/floatsisf.c: Likewise.
5792 * soft-fp/floatsitf.c: Likewise.
5793 * soft-fp/floattidf.c: Likewise.
5794 * soft-fp/floattisf.c: Likewise.
5795 * soft-fp/floattitf.c: Likewise.
5796 * soft-fp/floatundidf.c: Likewise.
5797 * soft-fp/floatundisf.c: Likewise.
5798 * soft-fp/floatunditf.c: Likewise.
5799 * soft-fp/floatunsidf.c: Likewise.
5800 * soft-fp/floatunsisf.c: Likewise.
5801 * soft-fp/floatunsitf.c: Likewise.
5802 * soft-fp/floatuntidf.c: Likewise.
5803 * soft-fp/floatuntisf.c: Likewise.
5804 * soft-fp/floatuntitf.c: Likewise.
5805 * soft-fp/fmadf4.c: Likewise.
5806 * soft-fp/fmasf4.c: Likewise.
5807 * soft-fp/fmatf4.c: Likewise.
5808 * soft-fp/gedf2.c: Likewise.
5809 * soft-fp/gesf2.c: Likewise.
5810 * soft-fp/getf2.c: Likewise.
5811 * soft-fp/ledf2.c: Likewise.
5812 * soft-fp/lesf2.c: Likewise.
5813 * soft-fp/letf2.c: Likewise.
5814 * soft-fp/muldf3.c: Likewise.
5815 * soft-fp/mulsf3.c: Likewise.
5816 * soft-fp/multf3.c: Likewise.
5817 * soft-fp/negdf2.c: Likewise.
5818 * soft-fp/negsf2.c: Likewise.
5819 * soft-fp/negtf2.c: Likewise.
5820 * soft-fp/op-1.h: Likewise.
5821 * soft-fp/op-2.h: Likewise.
5822 * soft-fp/op-4.h: Likewise.
5823 * soft-fp/op-8.h: Likewise.
5824 * soft-fp/op-common.h: Likewise.
5825 * soft-fp/quad.h: Likewise.
5826 * soft-fp/single.h: Likewise.
5827 * soft-fp/soft-fp.h: Likewise.
5828 * soft-fp/sqrtdf2.c: Likewise.
5829 * soft-fp/sqrtsf2.c: Likewise.
5830 * soft-fp/sqrttf2.c: Likewise.
5831 * soft-fp/subdf3.c: Likewise.
5832 * soft-fp/subsf3.c: Likewise.
5833 * soft-fp/subtf3.c: Likewise.
5834 * soft-fp/truncdfsf2.c: Likewise.
5835 * soft-fp/trunctfdf2.c: Likewise.
5836 * soft-fp/trunctfsf2.c: Likewise.
5837 * soft-fp/trunctfxf2.c: Likewise.
5838 * soft-fp/unorddf2.c: Likewise.
5839 * soft-fp/unordsf2.c: Likewise.
5840 * soft-fp/unordtf2.c: Likewise.
5842 2013-10-15 Joseph Myers <joseph@codesourcery.com>
5844 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5845 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5847 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
5849 * elf/dl-libc.c: Clear initfini list after freeing.
5851 2013-10-14 Joseph Myers <joseph@codesourcery.com>
5853 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5854 * soft-fp/addsf3.c: Likewise.
5855 * soft-fp/addtf3.c: Likewise.
5856 * soft-fp/divdf3.c: Likewise.
5857 * soft-fp/divsf3.c: Likewise.
5858 * soft-fp/divtf3.c: Likewise.
5859 * soft-fp/double.h: Likewise.
5860 * soft-fp/eqdf2.c: Likewise.
5861 * soft-fp/eqsf2.c: Likewise.
5862 * soft-fp/eqtf2.c: Likewise.
5863 * soft-fp/extenddftf2.c: Likewise.
5864 * soft-fp/extended.h: Likewise.
5865 * soft-fp/extendsfdf2.c: Likewise.
5866 * soft-fp/extendsftf2.c: Likewise.
5867 * soft-fp/extendxftf2.c: Likewise.
5868 * soft-fp/fixdfdi.c: Likewise.
5869 * soft-fp/fixdfsi.c: Likewise.
5870 * soft-fp/fixdfti.c: Likewise.
5871 * soft-fp/fixsfdi.c: Likewise.
5872 * soft-fp/fixsfsi.c: Likewise.
5873 * soft-fp/fixsfti.c: Likewise.
5874 * soft-fp/fixtfdi.c: Likewise.
5875 * soft-fp/fixtfsi.c: Likewise.
5876 * soft-fp/fixtfti.c: Likewise.
5877 * soft-fp/fixunsdfdi.c: Likewise.
5878 * soft-fp/fixunsdfsi.c: Likewise.
5879 * soft-fp/fixunsdfti.c: Likewise.
5880 * soft-fp/fixunssfdi.c: Likewise.
5881 * soft-fp/fixunssfsi.c: Likewise.
5882 * soft-fp/fixunssfti.c: Likewise.
5883 * soft-fp/fixunstfdi.c: Likewise.
5884 * soft-fp/fixunstfsi.c: Likewise.
5885 * soft-fp/fixunstfti.c: Likewise.
5886 * soft-fp/floatdidf.c: Likewise.
5887 * soft-fp/floatdisf.c: Likewise.
5888 * soft-fp/floatditf.c: Likewise.
5889 * soft-fp/floatsidf.c: Likewise.
5890 * soft-fp/floatsisf.c: Likewise.
5891 * soft-fp/floatsitf.c: Likewise.
5892 * soft-fp/floattidf.c: Likewise.
5893 * soft-fp/floattisf.c: Likewise.
5894 * soft-fp/floattitf.c: Likewise.
5895 * soft-fp/floatundidf.c: Likewise.
5896 * soft-fp/floatundisf.c: Likewise.
5897 * soft-fp/floatunsidf.c: Likewise.
5898 * soft-fp/floatunsisf.c: Likewise.
5899 * soft-fp/floatuntidf.c: Likewise.
5900 * soft-fp/floatuntisf.c: Likewise.
5901 * soft-fp/floatuntitf.c: Likewise.
5902 * soft-fp/fmadf4.c: Likewise.
5903 * soft-fp/fmasf4.c: Likewise.
5904 * soft-fp/fmatf4.c: Likewise.
5905 * soft-fp/gedf2.c: Likewise.
5906 * soft-fp/gesf2.c: Likewise.
5907 * soft-fp/getf2.c: Likewise.
5908 * soft-fp/ledf2.c: Likewise.
5909 * soft-fp/lesf2.c: Likewise.
5910 * soft-fp/letf2.c: Likewise.
5911 * soft-fp/muldf3.c: Likewise.
5912 * soft-fp/mulsf3.c: Likewise.
5913 * soft-fp/multf3.c: Likewise.
5914 * soft-fp/negdf2.c: Likewise.
5915 * soft-fp/negsf2.c: Likewise.
5916 * soft-fp/negtf2.c: Likewise.
5917 * soft-fp/op-1.h: Likewise.
5918 * soft-fp/op-2.h: Likewise.
5919 * soft-fp/op-4.h: Likewise.
5920 * soft-fp/op-8.h: Likewise.
5921 * soft-fp/op-common.h: Likewise.
5922 * soft-fp/quad.h: Likewise.
5923 * soft-fp/single.h: Likewise.
5924 * soft-fp/soft-fp.h: Likewise.
5925 * soft-fp/sqrtdf2.c: Likewise.
5926 * soft-fp/sqrtsf2.c: Likewise.
5927 * soft-fp/sqrttf2.c: Likewise.
5928 * soft-fp/subdf3.c: Likewise.
5929 * soft-fp/subsf3.c: Likewise.
5930 * soft-fp/subtf3.c: Likewise.
5931 * soft-fp/truncdfsf2.c: Likewise.
5932 * soft-fp/trunctfdf2.c: Likewise.
5933 * soft-fp/trunctfsf2.c: Likewise.
5934 * soft-fp/trunctfxf2.c: Likewise.
5935 * soft-fp/unorddf2.c: Likewise.
5936 * soft-fp/unordsf2.c: Likewise.
5937 * soft-fp/unordtf2.c: Likewise.
5939 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
5942 * misc/error.c (error_tail): Fix possible buffer overflow.
5944 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5947 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5950 2013-10-14 P. J. McDermott <pj@pehjota.net>
5953 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5954 testing pipefail option.
5956 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5958 * soft-fp/double.h: Indent preprocessor directives inside #if.
5959 * soft-fp/extended.h: Likewise.
5960 * soft-fp/op-2.h: Likewise.
5961 * soft-fp/op-4.h: Likewise.
5962 * soft-fp/op-common.h: Likewise.
5963 * soft-fp/quad.h: Likewise.
5964 * soft-fp/single.h: Likewise.
5965 * soft-fp/soft-fp.h: Likewise.
5967 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5969 * iconv/iconv_prog.c: Fix typos.
5970 * stdio-common/psiginfo-data.h: Likewise.
5972 2013-10-12 Reuben Thomas <rrt@sc3d.org>
5975 * locale/setlocale.c: Fix typo.
5977 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5980 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5981 signaling NaN arguments.
5982 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5983 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5986 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5988 * soft-fp/gesf2.c (__gesf2): Likewise.
5989 * soft-fp/getf2.c (__getf2): Likewise.
5990 * soft-fp/ledf2.c (__ledf2): Likewise.
5991 * soft-fp/lesf2.c (__lesf2): Likewise.
5992 * soft-fp/letf2.c (__letf2): Likewise.
5994 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5995 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5996 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5997 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5998 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5999 * soft-fp/fixdfti.c (__fixdfti): Likewise.
6000 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
6001 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
6002 * soft-fp/fixsfti.c (__fixsfti): Likewise.
6003 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
6004 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
6005 * soft-fp/fixtfti.c (__fixtfti): Likewise.
6006 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
6007 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
6008 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6009 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6010 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6011 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6012 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6013 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6014 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6015 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6016 * soft-fp/floatdisf.c (__floatdisf): Likewise.
6017 * soft-fp/floatsisf.c (__floatsisf): Likewise.
6018 * soft-fp/floattidf.c (__floattidf): Likewise.
6019 * soft-fp/floattisf.c (__floattisf): Likewise.
6020 * soft-fp/floattitf.c (__floattitf): Likewise.
6021 * soft-fp/floatundidf.c (__floatundidf): Likewise.
6022 * soft-fp/floatundisf.c (__floatundisf): Likewise.
6023 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6024 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6025 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6026 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6027 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6028 * soft-fp/gesf2.c (__gesf2): Likewise.
6029 * soft-fp/getf2.c (__getf2): Likewise.
6030 * soft-fp/ledf2.c (__ledf2): Likewise.
6031 * soft-fp/lesf2.c (__lesf2): Likewise.
6032 * soft-fp/letf2.c (__letf2): Likewise.
6034 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6035 Undefine and redefine.
6036 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6037 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6038 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6039 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6040 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6041 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6042 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6043 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6044 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6045 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6046 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6047 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6048 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6049 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6050 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6053 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6054 without decrementing exponent if mantissa >= that for the
6056 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6057 denominator, not >. Decrement exponent in < case instead of
6058 incrementing in >= case.
6059 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6060 without decrementing exponent if mantissa >= that for the
6063 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6064 computing saturated result for unsigned overflow.
6066 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6067 Jeff Law <law@redhat.com>
6069 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6070 (atan2Mp): Add systemtap probe marker.
6071 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6072 (__ieee754_log): Add systemtap probe marker.
6073 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6074 (atanMp): Add systemtap probe marker.
6075 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6076 (tanMp): Add systemtap probe marker.
6077 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6078 (__slowexp): Add systemtap probe marker.
6079 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6080 (__slowpow): Add systemtap probe marker.
6081 * manual/probes.texi: Document probes.
6083 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
6086 * libio/fileops.c (_IO_new_file_write): Return count of bytes
6088 (_IO_new_file_xsputn): Don't return EOF if nothing has been
6090 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6091 written to buffer but not flushed.
6092 * libio/iofwrite_u.c: Likewise.
6093 * libio/iopadn.c: Return bytes returned even if EOF was
6095 * libio/iowpadn.c: Likewise.
6096 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6097 if _IO_padn does not write the whole buffer.
6098 [!COMPILE_WPRINTF] (PAD): Likewise.
6100 2013-10-10 David S. Miller <davem@davemloft.net>
6102 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6105 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6107 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
6108 instead of FSF address.
6109 * soft-fp/fixdfti.c: Likewise.
6110 * soft-fp/fixsfti.c: Likewise.
6111 * soft-fp/fixtfti.c: Likewise.
6112 * soft-fp/fixunsdfti.c: Likewise.
6113 * soft-fp/fixunssfti.c: Likewise.
6114 * soft-fp/fixunstfti.c: Likewise.
6115 * soft-fp/floattidf.c: Likewise.
6116 * soft-fp/floattisf.c: Likewise.
6117 * soft-fp/floattitf.c: Likewise.
6118 * soft-fp/floatuntidf.c: Likewise.
6119 * soft-fp/floatuntisf.c: Likewise.
6120 * soft-fp/floatuntitf.c: Likewise.
6121 * soft-fp/trunctfxf2.c: Likewise.
6123 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
6124 * soft-fp/fixdfti.c: Likewise.
6125 * soft-fp/fixsfti.c: Likewise.
6126 * soft-fp/fixtfti.c: Likewise.
6127 * soft-fp/fixunsdfti.c: Likewise.
6128 * soft-fp/fixunssfti.c: Likewise.
6129 * soft-fp/fixunstfti.c: Likewise.
6130 * soft-fp/floattidf.c: Likewise.
6131 * soft-fp/floattisf.c: Likewise.
6132 * soft-fp/floattitf.c: Likewise.
6133 * soft-fp/floatuntidf.c: Likewise.
6134 * soft-fp/floatuntisf.c: Likewise.
6135 * soft-fp/floatuntitf.c: Likewise.
6136 * soft-fp/trunctfxf2.c: Likewise.
6138 2013-10-10 David S. Miller <davem@davemloft.net>
6140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6142 2013-10-10 Joseph Myers <joseph@codsourcery.com>
6144 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6145 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6146 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6147 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6148 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6149 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6150 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6152 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6153 for NaNs before doing comparisons on argument.
6154 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6157 2013-10-10 Will Newton <will.newton@linaro.org>
6159 * malloc/hooks.c (memalign_check): Ensure the value of bytes
6160 passed to _int_memalign does not overflow.
6162 2013-10-10 Torvald Riegel <triegel@redhat.com>
6164 * scripts/bench.pl: Add include-sources directive.
6165 * benchtests/README: Update documentation.
6167 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6169 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6170 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6171 instead of FP_INIT_ROUNDMODE.
6172 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6173 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6176 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6177 copy class of input value.
6178 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6179 not handle exceptions.
6180 * soft-fp/negsf2.c (__negsf2): Likewise.
6181 * soft-fp/negtf2.c (__negtf2): Likewise.
6182 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6184 2013-10-09 Joseph Myers <joseph@codesourcery.com>
6186 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6187 semicolon. From Linux kernel.
6189 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6191 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6193 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6196 * manual/socket.texi: Added statement about buffer
6197 for gethostbyname2_r.
6199 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
6201 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6202 Use .p2align directive instead, throughout.
6203 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6204 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6205 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6206 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6207 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6208 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6209 * sysdeps/x86_64/strchr.S: Likewise.
6210 * sysdeps/x86_64/strrchr.S: Likewise.
6212 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6214 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6216 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6218 * sysdeps/generic/math_private.h (__mpsin1): Remove
6220 (__mpcos1): Likewise.
6221 (__mpsin): New argument __range_reduce.
6222 (__mpcos): Likewise.
6223 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6224 (slow): Use __mpsin and __mpcos.
6231 (bsloww1): Likewise.
6232 (bsloww2): Likewise.
6235 (csloww1): Likewise.
6236 (csloww2): Likewise.
6237 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6238 range_reduce. Merge in __mpsin1.
6239 (__mpcos): Likewise.
6241 (__mpcos1): Likewise.
6243 2013-10-07 Joseph Myers <joseph@codesourcery.com>
6245 * locale/loadlocale.c (_nl_intern_locale_data): Use
6247 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6248 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6249 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6250 obstack data is appropriately aligned.
6251 (obstack_int32_grow_fast): Likewise.
6252 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6253 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6254 (add_locale_uint32_array): Likewise.
6256 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6258 * benchtests/Makefile: Remove ARGLIST and RET variables.
6259 ($(objpfx)bench-%.c): Pass only function name to the script.
6260 * benchtests/README: Update documentation.
6261 * benchtests/acos-inputs: Add new directives.
6262 * benchtests/acosh-inputs: Likewise.
6263 * benchtests/asin-inputs: Likewise.
6264 * benchtests/asinh-inputs: Likewise.
6265 * benchtests/atan-inputs: Likewise.
6266 * benchtests/atanh-inputs: Likewise.
6267 * benchtests/cos-inputs: Likewise.
6268 * benchtests/cosh-inputs: Likewise.
6269 * benchtests/exp-inputs: Likewise.
6270 * benchtests/log-inputs: Likewise.
6271 * benchtests/pow-inputs: Likewise.
6272 * benchtests/rint-inputs: Likewise.
6273 * benchtests/sin-inputs: Likewise.
6274 * benchtests/sinh-inputs: Likewise.
6275 * benchtests/tan-inputs: Likewise.
6276 * benchtests/tanh-inputs: Likewise.
6277 * scripts/bench.pl: Add support for new directives.
6279 2013-10-07 Alan Modra <amodra@gmail.com>
6281 * README: Fix careless merge.
6283 2013-10-05 Alan Modra <amodra@gmail.com>
6285 * NEWS: Mention powerpc64le support and bugs fixed.
6286 * README: Both big-endian and little-endian powerpc64 supported.
6288 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6290 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6291 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6292 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6293 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6295 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6297 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6300 2013-10-04 Joseph Myers <joseph@codesourcery.com>
6302 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6303 Move -mhard-float appending from
6304 ports/sysdeps/powerpc/powerpc32/Makefile.
6305 [$(with-fp) = yes] (ASFLAGS): Likewise.
6306 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6307 * sysdeps/powerpc/nofpu: Move directory from
6308 ports/sysdeps/powerpc/nofpu.
6309 * sysdeps/powerpc/soft-fp: Move directory from
6310 ports/sysdeps/powerpc/soft-fp.
6311 * sysdeps/powerpc/powerpc32/405: Move directory from
6312 ports/sysdeps/powerpc/powerpc32/405.
6313 * sysdeps/powerpc/powerpc32/440: Move directory from
6314 ports/sysdeps/powerpc/powerpc32/440.
6315 * sysdeps/powerpc/powerpc32/464: Move directory from
6316 ports/sysdeps/powerpc/powerpc32/464.
6317 * sysdeps/powerpc/powerpc32/476: Move directory from
6318 ports/sysdeps/powerpc/powerpc32/476.
6319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6320 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6322 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6324 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6326 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6328 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6329 * README: Update for powerpc-*-linux-gnu software floating point
6332 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6333 case to powerpc/powerpc32*.
6334 * sysdeps/unix/sysv/linux/configure: Regenerated.
6336 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6337 (_FPU_MASK_OM): Define as 0x04.
6338 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6341 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6343 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6346 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6349 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6352 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6353 and setcontext_e500.
6355 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6357 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6359 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6361 * manual/threads.texi (Default Thread Attributes): Fix typo.
6363 2013-10-04 Will Newton <will.newton@linaro.org>
6365 * malloc/Makefile: Add tst-memalign.
6366 * malloc/tst-memalign.c: New file.
6368 * malloc/tst-posix_memalign.c: Add comments.
6369 (do_test): Add comments and call free on all potentially
6370 allocated pointers. Add space after cast.
6372 * malloc/tst-pvalloc.c: Add comments.
6373 (do_test): Add comments and call free on all potentially
6374 allocated pointers. Remove duplicate check for NULL pointer.
6375 Add space after cast.
6377 * malloc/tst-valloc.c: Add comments.
6378 (do_test): Add comments and call free on all potentially
6379 allocated pointers. Remove duplicate check for NULL pointer.
6380 Add space after cast.
6382 2013-10-04 Alan Modra <amodra@gmail.com>
6384 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6385 Use stdint types in rather than __attribute__((mode())).
6386 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6388 2013-10-04 Alan Modra <amodra@gmail.com>
6390 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6391 Correct handling of unaligned relocs for little-endian.
6392 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6394 2013-10-04 Alan Modra <amodra@gmail.com>
6396 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6397 * configure: Regenerate.
6398 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6399 * shlib-versions: Likewise.
6401 2013-10-04 Alan Modra <amodra@gmail.com>
6403 * string/tester.c (test_memrchr): Increment reported test cycle.
6405 2013-10-04 Alan Modra <amodra@gmail.com>
6407 * string/test-memcpy.c (do_one_test): When reporting errors, print
6408 string address and don't overrun end of string.
6410 2013-10-04 Alan Modra <amodra@gmail.com>
6412 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6413 insrdi. Make better use of reg selection to speed exit slightly.
6414 Schedule entry path a little better. Remove useless "are we done"
6415 checks on entry to main loop. Handle wrapping around zero address.
6416 Correct main loop count. Handle single left-over word from main
6417 loop inline rather than by using loop_small. Remove extra word
6418 case in loop_small caused by wrong loop count. Add little-endian
6420 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6421 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6423 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6424 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6425 support. Avoid rlwimi.
6426 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6428 2013-10-04 Alan Modra <amodra@gmail.com>
6430 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
6432 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6433 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6434 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6435 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6436 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6437 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6439 2013-10-04 Alan Modra <amodra@gmail.com>
6441 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6442 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6443 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6444 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6445 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6446 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6447 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6448 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6449 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6450 use of regs. Use power7 mtocrf. Tidy function tails.
6452 2013-10-04 Alan Modra <amodra@gmail.com>
6454 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6455 Formatting. Consistently use rXXX register defines or rN defines.
6456 Use early exit labels that avoid restoring unused non-volatile regs.
6457 Make cr field use more consistent with rWORDn compares. Rename
6458 regs used as shift registers for unaligned loop, using rN defines
6459 for short lifetime/multiple use regs.
6460 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6461 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6462 addi 1,1,64 to pop stack frame. Simplify return value code.
6463 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6465 2013-10-04 Alan Modra <amodra@gmail.com>
6467 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6468 support. Correct typos, formatting. Optimize tail. Use insrdi
6470 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6471 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6472 little-endian support. Correct typos.
6473 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6475 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6476 in loop and entry code to keep "and." results.
6477 (strchr): Add little-endian support. Comment. Move cntlzd
6479 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6481 2013-10-04 Alan Modra <amodra@gmail.com>
6483 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6484 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6485 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6486 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6488 2013-10-04 Alan Modra <amodra@gmail.com>
6490 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6491 (rTMP): Define as r11.
6492 (strcmp): Add little-endian support. Optimise tail.
6493 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6494 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6495 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6496 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6497 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6498 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6499 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6501 2013-10-04 Alan Modra <amodra@gmail.com>
6503 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6504 little-endian support. Remove unnecessary "are we done" tests.
6505 Handle "s" wrapping around zero and extremely large "size".
6506 Correct main loop count. Handle single left-over word from main
6507 loop inline rather than by using small_loop. Correct comments.
6508 Delete "zero" tail, use "end_max" instead.
6509 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6511 2013-10-04 Alan Modra <amodra@gmail.com>
6513 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6514 support. Don't branch over align.
6515 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6516 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6517 support. Rearrange tmp reg use to suit. Comment.
6518 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6520 2013-10-04 Alan Modra <amodra@gmail.com>
6522 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6524 2013-10-04 Alan Modra <amodra@gmail.com>
6526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6527 conditional form of branch and link when obtaining pc.
6528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6530 2013-10-04 Alan Modra <amodra@gmail.com>
6532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6537 2013-10-04 Alan Modra <amodra@gmail.com>
6539 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6540 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6541 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6542 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6543 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6544 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6545 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6546 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6547 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6548 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6550 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6551 Alistair Popple <alistair@ozlabs.au.ibm.com>
6552 Alan Modra <amodra@gmail.com>
6555 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6556 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6557 _dl_hwcap access for little-endian.
6558 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6559 destroy vmx regs when saving unaligned.
6560 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6561 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6562 destroy vmx regs when saving unaligned.
6564 2013-10-04 Alan Modra <amodra@gmail.com>
6566 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6567 Don't use a union to pack hi/low value.
6569 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6571 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6573 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6574 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6575 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6576 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6577 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6579 2013-10-04 Alan Modra <amodra@gmail.com>
6581 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6582 constants to usual value for .cst8 section, and remove redundant
6584 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6585 constant for 0x1p52. Load little-endian words of double from
6586 correct stack offsets.
6588 2013-10-04 Alan Modra <amodra@gmail.com>
6590 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6591 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6592 words of double from correct stack offsets.
6593 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6594 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6595 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6596 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6597 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6598 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6599 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6600 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6601 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6602 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6603 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6604 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6605 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6606 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6607 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6608 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6609 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6611 2013-10-04 Alan Modra <amodra@gmail.com>
6613 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6614 64-bit int/double union.
6615 (_FPU_SETCW): Likewise.
6616 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6617 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6619 2013-10-04 Alan Modra <amodra@gmail.com>
6621 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6622 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6624 2013-10-04 Alan Modra <amodra@gmail.com>
6626 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6627 use vector int constants.
6628 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6630 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6632 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6633 array with long long.
6634 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6635 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6636 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6637 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6638 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6639 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6640 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6641 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6642 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6643 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6644 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6645 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6646 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6648 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6650 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6651 (__signbit): Likewise. Correct for little-endian.
6652 (__signbitl): Call __signbit.
6653 (lrint): Correct for little-endian.
6654 (lrintf): Call lrint.
6656 2013-10-04 Alan Modra <amodra@gmail.com>
6658 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6659 union 32-bit int array member with 64-bit int array.
6660 (t515, tm256): Double rather than long double.
6661 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6663 2013-10-04 Alan Modra <amodra@gmail.com>
6665 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6667 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6668 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6669 version of math_ldbl.h.
6671 2013-10-04 Alan Modra <amodra@gmail.com>
6673 [BZ #15734], [BZ #15735]
6674 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6675 all uses of ieee875 long double macros and unions. Simplify test
6676 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6677 ldbl_extract_mantissa value for ix,iy exponents. Properly
6678 normalize after ldbl_extract_mantissa, and don't add hidden bit
6679 already handled. Don't treat low word of ieee854 mantissa like
6680 low word of IBM long double and mask off bit when testing for
6682 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6683 all uses of ieee875 long double macros and unions. Simplify tests
6684 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6685 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6686 two1022, instead use their values. Recognise that tests for large
6687 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6688 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6689 Rewrite all uses of ieee875 long double macros and unions. Simplify
6690 test for 0.0L and nan. Correct negation.
6691 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6692 ieee875 long double macros and unions. Correct output for large
6693 magnitude x. Correct absolute value calculation.
6694 (__erfcl): Likewise.
6695 * math/libm-test.inc: Add tests for errors discovered in IBM long
6696 double versions of fmodl, remainderl, erfl and erfcl.
6698 2013-10-04 Alan Modra <amodra@gmail.com>
6700 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6701 all uses of ieee854 long double macros and unions. Simplify tests
6702 for long doubles that are fully specified by the high double.
6703 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6705 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6706 Remove dead code too.
6707 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6708 (__ieee754_ynl): Likewise.
6709 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6710 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6711 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6712 Remove dead code too.
6713 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6714 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6715 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6716 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6718 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6720 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6721 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6722 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6723 Comment on variable precision.
6724 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6725 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6727 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6728 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6729 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6730 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6731 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6733 2013-10-04 Alan Modra <amodra@gmail.com>
6735 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6736 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6737 all uses of ieee854 long double macros and unions.
6738 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6739 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6740 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6741 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6742 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6743 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6745 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6746 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6747 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6748 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6749 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6750 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6751 Simplify sign and nan test too.
6752 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6753 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6754 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6755 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6757 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6758 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6761 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6762 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6763 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6764 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6765 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6767 2013-10-04 Alan Modra <amodra@gmail.com>
6769 * stdio-common/printf_size.c (__printf_size): Don't use
6770 union ieee854_long_double in fpnum union.
6771 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6772 signbit macro to retrieve sign from long double.
6773 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6774 retrieve sign from long double.
6775 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6776 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6777 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6778 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6779 * math/test-misc.c (main): Don't use union ieee854_long_double.
6781 2013-10-04 Alan Modra <amodra@gmail.com>
6784 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6785 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6786 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6787 calculation. Remove unnecessary test for denormal exponent.
6788 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6789 Correct handling of denormals. Avoid undefined shift behaviour.
6790 Correct normalisation of low mantissa when low double is denormal.
6791 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6792 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6793 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6794 Correct normalisation of low mantissa. Test for overflow of high
6795 mantissa and normalise.
6796 (ldbl_nearbyint): Use more readable constant for two52.
6797 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6798 (__mpn_construct_long_double): Fix test for overflow of high
6799 mantissa and correct normalisation. Avoid undefined shift.
6801 2013-10-04 Alan Modra <amodra@gmail.com>
6803 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6804 (union ibm_extended_long_double): Define as an array of ieee754_double.
6805 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6806 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6807 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6808 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6809 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6811 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6812 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6813 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6814 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6815 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6817 2013-10-03 Joseph Myers <joseph@codesourcery.com>
6819 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6820 page size instead of calling getpagesize.
6822 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6823 (LOCFILE_ALIGN_MASK): Likewise.
6824 (LOCFILE_ALIGN_UP): Likewise.
6825 (LOCFILE_ALIGNED_P): Likewise.
6826 * locale/programs/ld-collate.c (collate_output): Use the new
6827 macros instead of __alignof__ (int32_t).
6828 * locale/weight.h (findidx): Likewise.
6830 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
6833 * manual/string.texi: Fix strncat and wcsncat.
6835 2013-10-03 Brooks Moses <bmoses@google.com>
6838 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6839 * Makerules: ...here, and adjust associated comments.
6841 2013-10-02 Will Newton <will.newton@linaro.org>
6843 * malloc/Makefile: Add tst-pvalloc.
6844 * malloc/tst-pvalloc.c: New file.
6846 2013-10-02 Will Newton <will.newton@linaro.org>
6848 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6849 improve test coverage.
6851 2013-10-02 Will Newton <will.newton@linaro.org>
6853 * malloc/Makefile: Add tst-posix_memalign.
6854 * malloc/tst-posix_memalign.c: New file.
6856 2013-10-01 Eric Blake <eblake@redhat.com>
6858 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6859 Use __THROWNL rather than __THROW on static functions.
6861 2013-09-30 Petr Machata <pmachata@redhat.com>
6863 * elf/elf.h (R_AARCH64_ABS16): New macro.
6864 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6865 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6866 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6867 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6868 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6869 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6870 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6871 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6872 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6873 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6874 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6875 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6876 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6877 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6878 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6879 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6880 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6881 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6882 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6883 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6884 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6885 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6886 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6887 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6888 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6889 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6890 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6891 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6892 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6893 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6894 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6895 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6896 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6897 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6898 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6899 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6900 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6901 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6902 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6903 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6904 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6905 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6906 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6907 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6908 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6909 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6910 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6911 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6912 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6913 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6914 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6915 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6916 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6917 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6918 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6919 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6920 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6921 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6922 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6923 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6924 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6925 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6926 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6927 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6928 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6929 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6930 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6931 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6932 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6933 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6934 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6935 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6936 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6937 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6938 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6939 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6940 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6941 (R_AARCH64_TLSDESC_LDR): Likewise.
6942 (R_AARCH64_TLSDESC_ADD): Likewise.
6943 (R_AARCH64_TLSDESC_CALL): Likewise.
6945 2013-09-30 Andreas Schwab <schwab@suse.de>
6948 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6949 the nss database lookup.
6950 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6953 2013-09-28 Mike Frysinger <vapier@gentoo.org>
6955 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6957 2013-09-28 P. J. McDermott <pj@pehjota.net>
6959 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6960 ${Bash-specific parameter/pattern/string} parameter expansion.
6961 * sysdeps/unix/make-syscalls.sh: Likewise.
6963 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6965 * sysdeps/sh/stackguard-macros.h: New file.
6967 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
6969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6970 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6971 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6972 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6973 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6974 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6976 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6978 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6979 Fix thread ID register.
6981 2013-09-25 Joseph Myers <joseph@codesourcery.com>
6983 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6984 [POSIX || UNIX98]: Require rather than permitting all symbols from
6986 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6987 element of struct sched_param.
6988 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6989 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6990 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6991 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6994 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6996 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6997 argument calculation.
6999 2013-09-24 Joseph Myers <joseph@codesourcery.com>
7001 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
7003 [POSIX] (pthread_attr_t): Do not require type.
7004 [POSIX] (pthread_cond_t): Likewise.
7005 [POSIX] (pthread_condattr_t): Likewise.
7006 [POSIX] (pthread_key_t): Likewise.
7007 [POSIX] (pthread_mutex_t): Likewise.
7008 [POSIX] (pthread_mutexattr_t): Likewise.
7009 [POSIX] (pthread_once_t): Likewise.
7010 [POSIX] (pthread_t): Likewise.
7011 [POSIX-based standards] (pthread_atfork): Expect function.
7013 2013-09-24 Joseph Myers <joseph@codesourcery.com>
7014 Richard Sandiford <richard@codesourcery.com>
7016 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7017 (swap_endianness_p): New extern variable.
7018 (set_big_endian): New inline function.
7019 (maybe_swap_uint32): Likewise.
7020 (maybe_swap_uint32_array): Likewise.
7021 (maybe_swap_uint32_obstack): Likewise.
7022 * locale/programs/locfile.c: Include <stdbool.h>.
7023 (swap_endianness_p): New variable.
7024 (add_locale_uint32): Call maybe_swap_uint32.
7025 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7026 (write_locale_data): Call maybe_swap_uint32_array.
7027 * locale/programs/ld-collate.c (obstack_int32_grow): Call
7029 (obstack_int32_grow_fast): Likewise.
7030 (output_weightwc): Call maybe_swap_uint32_obstack.
7031 (collate_output): Likewise.
7032 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7033 (OPT_LITTLE_ENDIAN): Likewise.
7034 (options): Add --little-endian and --big-endian options.
7035 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7036 * locale/programs/locarchive.c: Include "locfile.h".
7040 (create_archive): Use the new macros to access fields of
7041 structures directly mapped from or written to locale archives.
7042 (oldlocrecentcmp): Likewise.
7043 (enlarge_archive): Likewise.
7044 (insert_name): Likewise.
7045 (add_alias): Likewise.
7046 (add_locale): Likewise.
7047 (delete_locales_from_archive): Likewise.
7048 (show_archive_content): Likewise.
7049 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
7052 2013-09-24 Roland McGrath <roland@hack.frob.com>
7054 * manual/freemanuals.texi: Updated from (newly) canonical copy at
7055 http://www.gnu.org/doc/freemanuals.texi.
7056 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7058 2013-09-24 Will Newton <will.newton@linaro.org>
7060 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7063 2013-09-23 Joseph Myers <joseph@codesourcery.com>
7065 * locale/hashval.h (compute_hashval): Interpret bytes of key as
7068 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
7070 * manual/threads.texi (POSIX Threads): Fix a typo.
7072 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7075 * string/tst-strcoll-overflow.c: New test case.
7076 * string/Makefile (xtests): Add tst-strcoll-overflow.
7077 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7078 cache if string sizes may cause integer overflow.
7081 * string/strcoll_l.c (coll_seq): New members rule, idx,
7082 save_idx and back_us.
7083 (get_next_seq_nocache): New function.
7084 (do_compare_nocache): New function.
7085 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7088 2013-09-23 Carlos O'Donell <carlos@redhat.com>
7091 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7092 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7093 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7096 * elf/Makefile (tests): Add tst-ptrguard1.
7097 (tests-static): Add tst-ptrguard1-static.
7098 (tst-ptrguard1-ARGS): Define.
7099 (tst-ptrguard1-static-ARGS): Define.
7100 * elf/tst-ptrguard1.c: New file.
7101 * elf/tst-ptrguard1-static.c: New file.
7102 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7103 * sysdeps/i386/stackguard-macros.h: Likewise.
7104 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7105 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7106 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7107 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7108 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7109 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7111 2013-09-23 Hector Marco <hecmargi@upv.es>
7112 Ismael Ripoll <iripoll@disca.upv.es>
7113 Carlos O'Donell <carlos@redhat.com>
7116 * sysdeps/generic/stackguard-macros.h: Define
7117 __pointer_chk_guard_local and POINTER_CHK_GUARD.
7118 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7119 Define __pointer_chk_guard_local.
7120 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7121 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7123 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
7126 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7128 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
7130 * include/string.h (__ffs): Declare as hidden.
7131 * string/ffs.c (__ffs): Define as hidden.
7132 * sysdeps/i386/ffs.c (__ffs): Likewise.
7133 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7134 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7135 * sysdeps/s390/ffs.c (__ffs): Likewise.
7136 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7138 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
7140 * NEWS: Mention malloc probes.
7142 * malloc/arena.c (new_heap): New memory_heap_new probe.
7143 (grow_heap): New memory_heap_more probe.
7144 (shrink_heap): New memory_heap_less probe.
7145 (heap_trim): New memory_heap_free probe.
7146 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7147 (systrim): New memory_sbrk_less probe.
7148 * manual/probes.texi: Document them.
7150 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7151 * manual/probes.texi: Document it.
7153 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7154 (__libc_realloc): Add memory_realloc_retry probe.
7155 (__libc_memalign): Add memory_memalign_retry probe.
7156 (__libc_valloc): Add memory_valloc_retry probe.
7157 (__libc_pvalloc): Add memory_pvalloc_retry probe.
7158 (__libc_calloc): Add memory_calloc_retry probe.
7159 * manual/probes.texi: Document them.
7161 * malloc/arena.c (get_free_list): Add probe
7162 memory_arena_reuse_free_list.
7163 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7164 and memory_arena_reuse.
7165 (arena_get2) [!PER_THREAD]: Likewise.
7166 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7167 memory_arena_reuse_realloc.
7168 * manual/probes.texi: Document them.
7170 * malloc/malloc.c (__libc_free): Add
7171 memory_mallopt_free_dyn_thresholds probe.
7172 (__libc_mallopt): Add multiple memory_mallopt probes.
7173 * manual/probes.texi: Document them.
7175 * malloc/malloc.c: Include stap-probe.h.
7176 (__libc_mallopt): Add memory_mallopt probe.
7177 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7178 * manual/probes.texi: New.
7179 * manual/Makefile (chapters): Add probes.
7180 * manual/threads.texi: Set next node.
7182 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
7185 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7186 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7187 Add `Chinese' to `nan' entry name.
7189 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7191 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7192 (POLYNOMIAL): Likewise.
7193 (TAYLOR_SINCOS): Likewise.
7194 (TAYLOR_SLOW): Likewise.
7195 (__sin): Use TAYLOR_SINCOS.
7197 (slow): Use TAYLOR_SLOW.
7202 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7204 * stdlib/strtod_l.c: Fix buffer overrun.
7206 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7208 * benchtests/Makefile (bench): Add sincos.
7209 * benchtests/bench-sincos.c: New file.
7211 * math/libm-test.inc (cos_test_data): New test inputs.
7212 (sin_test_data): Likewise.
7214 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7222 (bsloww1): Likewise.
7223 (bsloww2): Likewise.
7225 (csloww1): Likewise.
7226 (csloww2): Likewise.
7228 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7233 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7237 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7239 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7240 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7241 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7242 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7243 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7244 * elf/cache.c (print_entry): Handle the new cache flags.
7246 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7247 Aldy Hernandez <aldyh@redhat.com>
7249 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7250 Change condition to [_SOFT_FLOAT].
7251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7254 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7257 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7258 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7262 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7263 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7265 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7266 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7269 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7271 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7272 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7273 (__longjmp): Use LOAD_GP to load saved GPRs.
7274 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7275 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7276 (__sigsetjmp): Use SAVE_GP to save GPRs.
7278 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7279 Do not append -msoft-float.
7280 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7282 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7284 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7286 2013-09-17 Joseph Myers <joseph@codesourcery.com>
7289 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7290 (_FPU_GETCW): Use initial "__" on variable and field names but not
7291 on macro parameter name.
7292 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7293 parentheses around reference to macro parameter.
7295 2013-09-13 Richard Sandiford <richard@codesourcery.com>
7297 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7299 (ctype_startup): Use uint32_t in cast and sizeof for
7302 2013-09-11 Jia Liu <proljc@gmail.com>
7304 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7306 [__FreeBSD__]: Likewise.
7308 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
7310 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7311 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7312 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7313 (strchr): Remove __strchr_sse42 ifunc selection.
7314 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7315 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7317 2013-09-11 Will Newton <will.newton@linaro.org>
7319 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7320 parameter to RES. Remove hardcoded 1000 value.
7321 * benchtests/bench-skeleton.c (main): Pass RES parameter
7322 to TIMING_INIT and multiply result by 1000.
7324 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7328 2013-09-11 Andreas Schwab <schwab@suse.de>
7330 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7332 (O_TMPFILE) [__USE_GNU]: Define.
7333 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7336 2013-09-11 Will Newton <will.newton@linaro.org>
7339 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7342 2013-09-11 Will Newton <will.newton@linaro.org>
7345 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7348 2013-09-11 Will Newton <will.newton@linaro.org>
7351 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7354 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
7356 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7357 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7358 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7359 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7360 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7362 2013-09-10 Allan McRae <allan@archlinux.org>
7365 * manual/arith.texi (Parsing of Floats): Clarify
7369 * manual/install.texi (Running make install): Mention
7371 * INSTALL: Regenerated.
7373 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7375 * csu/init-first.c (_init): Remove the !SHARED condition around
7376 FPU control word initialization.
7377 * elf/dl-support.c (_dl_fpu_control): New variable.
7378 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7379 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7380 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7381 * math/test-fpucw-static.c: New file.
7382 * math/test-fpucw-ieee.c: New file.
7383 * math/test-fpucw-ieee-static.c: New file.
7384 * math/Makefile (tests): Add `test-fpucw-ieee' and
7386 (tests-static): New variable.
7387 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7389 [($(build-shared),yes)]
7390 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7392 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7395 2013-09-09 Allan McRae <allan@archlinux.org>
7398 * manual/string.texi (Collation Functions): Fix typo in
7400 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7403 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7406 * libio/memstream.c (open_memstream): Fix memory leak.
7407 * libio/wmemstream.c (open_wmemstream): Likewise.
7410 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7412 2013-09-09 Will Newton <will.newton@linaro.org>
7414 * malloc/Makefile: Add tst-realloc to tests.
7415 * malloc/tst-realloc.c: New file.
7417 2013-09-09 Allan McRae <allan@archlinux.org>
7420 * COPYING: Update from GNU website to fix FSF address.
7421 * COPYING.LIB: Likewise.
7423 2013-09-06 David S. Miller <davem@davemloft.net>
7425 * po/zh_TW.po: Update Chinese (traditional) translation from
7426 translation project.
7428 2013-09-06 Richard Sandiford <richard@codesourcery.com>
7429 Joseph Myers <joseph@codesourcery.com>
7431 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7433 (obstack_chunk_alloc): New macro.
7434 (obstack_chunk_free): Likewise.
7435 (record_offset): New function.
7436 (init_locale_data): Likewise.
7437 (align_locale_data): Likewise.
7438 (add_locale_empty): Likewise.
7439 (add_locale_raw_data): Likewise.
7440 (add_locale_raw_obstack): Likewise.
7441 (add_locale_string): Likewise.
7442 (add_locale_wstring): Likewise.
7443 (add_locale_uint32): Likewise.
7444 (add_locale_uint32_array): Likewise.
7445 (add_locale_char): Likewise.
7446 (start_locale_structure): Likewise.
7447 (end_locale_structure): Likewise.
7448 (start_locale_prelude): Likewise.
7449 (end_locale_prelude): Likewise.
7450 (write_locale_data): Take locale_file structure rather than an
7452 * locale/programs/locfile.h: Include "obstack.h".
7453 (struct locale_file): Change to store locale file contents instead
7455 (init_locale_data): New prototype.
7456 (align_locale_data): Likewise.
7457 (add_locale_empty): Likewise.
7458 (add_locale_raw_data): Likewise.
7459 (add_locale_raw_obstack): Likewise.
7460 (add_locale_string): Likewise.
7461 (add_locale_wstring): Likewise.
7462 (add_locale_uint32): Likewise.
7463 (add_locale_uint32_array): Likewise.
7464 (add_locale_char): Likewise.
7465 (start_locale_structure): Likewise.
7466 (end_locale_structure): Likewise.
7467 (start_locale_prelude): Likewise.
7468 (end_locale_prelude): Likewise.
7469 (write_locale_data): Update prototype.
7470 * locale/programs/3level.h (struct TABLE): Remove result field.
7471 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7472 Use new locale_file interface.
7473 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7474 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7475 * locale/programs/ld-address.c (address_output): Use new
7476 locale_file interface.
7477 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7479 (collate_finish): Don't call collseq_table_finalize.
7480 (collate_output): Use new locale_file interface.
7481 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7483 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7484 (TABLE): Move defines earlier in file.
7485 (ELEMENT): Likewise.
7486 (DEFAULT): Likewise.
7487 (wctrans_table_add): Move macro and inline function earlier in
7489 (struct wctype_table): Move type earlier in file.
7490 (add_locale_wctype_table): New static prototype.
7491 (struct locale_ctype_t): Use logical types instead of struct iovec
7492 pointers for members.
7493 (ctype_output): Use new locale_file interface.
7494 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7495 new locale_file interface.
7496 (allocate_arrays): Update for use of new locale_file interface.
7497 * locale/programs/ld-identification.c (identification_output): Use
7498 new locale_file interface.
7499 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7500 * locale/programs/ld-messages.c (messages_output): Likewise.
7501 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7502 * locale/programs/ld-name.c (name_output): Likewise.
7503 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7504 * locale/programs/ld-paper.c (paper_output): Likewise.
7505 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7506 * locale/programs/ld-time.c (time_output): Likewise.
7508 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7510 * benchtests/Makefile: Add memrchr benchmark.
7511 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7512 benchmark as memrchr.
7513 * benchtests/bench-memrchr-ifunc.c: New file.
7514 * benchtests/bench-memrchr.c: New file.
7516 2013-09-06 Will Newton <will.newton@linaro.org>
7518 * benchtests/Makefile (string-bench): Add memcpy.
7520 2013-09-05 Carlos O'Donell <carlos@redhat.com>
7521 Cong Wang <amwang@redhat.com>
7524 * sysdeps/unix/sysv/linux/bits/in.h
7525 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7526 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7527 before __USE_KERNEL_IPV6_DEFS uses.
7528 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7530 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7531 sockaddr_in6, or ipv6_mreq.
7533 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7535 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7536 memory access for final bytes in some large inputs.
7537 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7539 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7541 * string/test-memrchr.c: New file.
7542 * string/test-memrchr-ifunc.c: New file.
7543 * string/Makefile: Add new memrchr testcase.
7545 2013-09-05 Mike Frysinger <vapier@gentoo.org>
7547 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7548 fanotify_init returns EPERM.
7550 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7552 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7554 (top level): Treat second token from macro or constant entries for
7555 allowed headers as allowed.
7556 * include/complex.h: Condition internal declarations on
7558 * include/fenv.h: Condition include of <stdbool.h> and internal
7559 declarations on [!_ISOMAC].
7561 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7564 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7566 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7568 * configure.in (--enable-versioning): Remove configure option.
7569 (libc_cv_asm_symver_directive): Remove configure test.
7570 (libc_cv_ld_version_script_option): Likewise.
7571 (VERSIONING): Remove variable and AC_SUBST.
7572 (DO_VERSIONING): Remove AC_DEFINE.
7573 * configure: Regenerated.
7574 * config.h.in (DO_VERSIONING): Remove macro.
7575 * Makerules [$(versioning) = yes]: Change conditionals to
7576 [$(build-shared) = yes].
7577 * config.make.in (versioning): Remove variable.
7578 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7579 [$(build-shared) = yes].
7580 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7581 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7582 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7583 [$(build-shared) = yes].
7584 * extra-lib.mk [$(versioning) = yes]: Likewise.
7585 * hurd/Makefile [$(versioning) = yes]: Likewise.
7586 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7588 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7590 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7591 [SHARED && !NO_HIDDEN].
7592 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7594 [SHARED && DO_VERSIONING]: Likewise..
7595 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7596 [$(build-shared) = yes].
7597 * manual/install.texi (--disable-versioning): Remove
7599 * INSTALL: Regenerated.
7600 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7602 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7603 [$(build-shared) = yes].
7604 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7605 * sysdeps/i386/i686/multiarch/strstr-c.c
7606 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7607 [SHARED && !NO_HIDDEN].
7608 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7609 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7610 * sysdeps/powerpc/powerpc32/dl-machine.c
7611 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7612 * sysdeps/powerpc/powerpc32/sysdep.h
7613 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7614 to [SHARED && PIC && !NO_HIDDEN].
7615 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7616 conditional to [SHARED].
7618 2013-09-04 Will Newton <will.newton@linaro.org>
7620 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7621 * benchtests/bench-string.h: Include bench-timing.h instead
7622 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7623 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7624 call to HP_TIMING_DIFF_INIT.
7625 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7626 instead of hp-timing.h macros.
7627 * benchtests/bench-memchr.c: Likewise.
7628 * benchtests/bench-memcmp.c: Likewise.
7629 * benchtests/bench-memcpy.c: Likewise.
7630 * benchtests/bench-memmem.c: Likewise.
7631 * benchtests/bench-memmove.c: Likewise.
7632 * benchtests/bench-memset.c: Likewise.
7633 * benchtests/bench-rawmemchr.c: Likewise.
7634 * benchtests/bench-strcasecmp.c: Likewise.
7635 * benchtests/bench-strcasestr.c: Likewise.
7636 * benchtests/bench-strcat.c: Likewise.
7637 * benchtests/bench-strchr.c: Likewise.
7638 * benchtests/bench-strcmp.c: Likewise.
7639 * benchtests/bench-strcpy.c: Likewise.
7640 * benchtests/bench-strcpy_chk.c: Likewise.
7641 * benchtests/bench-strlen.c: Likewise.
7642 * benchtests/bench-strncasecmp.c: Likewise.
7643 * benchtests/bench-strncat.c: Likewise.
7644 * benchtests/bench-strncmp.c: Likewise.
7645 * benchtests/bench-strncpy.c: Likewise.
7646 * benchtests/bench-strnlen.c: Likewise.
7647 * benchtests/bench-strpbrk.c: Likewise.
7648 * benchtests/bench-strrchr.c: Likewise.
7649 * benchtests/bench-strspn.c: Likewise.
7650 * benchtests/bench-strstr.c: Likewise.
7652 2013-09-04 Will Newton <will.newton@linaro.org>
7654 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7656 2013-09-03 Joseph Myers <joseph@codesourcery.com>
7659 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7660 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7661 * math/libm-test.inc (lgamma_test_data): Add more tests.
7662 * sysdeps/i386/fpu/libm-test-ulps: Update.
7663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7665 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
7667 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7668 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7671 Add strcmp-sse2-unaligned
7672 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7674 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7676 * Versions.def (libc): Add GLIBC_2.19.
7678 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7680 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7681 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7683 2013-09-02 Joseph Myers <joseph@codesourcery.com>
7686 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7687 intermediate calculations in recurrence.
7688 (__ieee754_ynf): Likewise.
7689 * math/libm-test.inc (jn_test_data): Do not allow spurious
7690 underflow exception. Add more tests.
7691 (yn_test_data): Add more tests.
7692 * sysdeps/i386/fpu/libm-test-ulps: Update.
7693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7695 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
7697 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7699 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7701 * csu/init-first.c: Fix then/than typos.
7702 * locale/programs/ld-collate.c: Likewise.
7703 * locale/programs/linereader.h: Likewise.
7704 * manual/charset.texi: Likewise.
7705 * manual/filesys.texi: Likewise.
7706 * manual/stdio.texi: Likewise.
7707 * manual/string.texi: Likewise.
7708 * stdlib/fmtmsg.c: Likewise.
7709 * sysdeps/i386/stpncpy.S: Likewise.
7710 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7711 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7712 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7713 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7715 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7717 * elf/dl-open.c: Fix typos.
7718 * iconvdata/gbbig5.c: Likewise.
7719 * iconvdata/iso-2022-jp.c: Likewise.
7720 * iconv/gconv_int.h: Likewise.
7721 * iconv/loop.c: Likewise.
7722 * nis/rpcsvc/nis.h: Likewise.
7723 * resolv/ns_name.c: Likewise.
7724 * stdio-common/vfscanf.c: Likewise.
7725 * streams/stropts.h: Likewise.
7726 * sunrpc/rpc_thread.c: Likewise.
7727 * sysdeps/i386/strpbrk.S: Likewise.
7728 * sysdeps/ieee754/k_standard.c: Likewise.
7729 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7730 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7731 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7732 * sysdeps/mach/hurd/profil.c: Likewise.
7733 * sysdeps/s390/dl-procinfo.h: Likewise.
7734 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7735 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7736 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7737 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7738 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7740 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7742 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7743 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7745 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7747 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7749 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7750 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7751 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7752 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7753 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7754 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7755 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7756 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7758 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7759 Roland McGrath <roland@hack.frob.com>
7761 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7762 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7764 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7766 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7767 __executable_start symbol instead of _start.
7769 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7771 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7772 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7774 * sysdeps/gnu/ldsodefs.h: ... this new file.
7776 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7777 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7778 instead of ELFOSABI_LINUX.
7780 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7781 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7782 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7783 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7785 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7786 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7787 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7789 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7790 (ibm_extended_long_double): Add ieee_nan member.
7791 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7792 (do_test): New function.
7794 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7796 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7797 functions, renamed from truncdfsf_test, trunctfsf_test,
7799 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7801 (do_test): Run all these.
7803 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7805 * argp/argp-help.c: Fix typos.
7806 * argp/argp-parse.c: Likewise.
7807 * debug/backtracesyms.c: Likewise.
7808 * elf/elf.h: Likewise.
7809 * malloc/malloc.c: Likewise.
7810 * nis/nis_print.c: Likewise.
7811 * resolv/res_comp.c: Likewise.
7812 * stdlib/stdlib.h: Likewise.
7813 * sunrpc/clnt_tcp.c: Likewise.
7814 * sunrpc/clnt_udp.c: Likewise.
7815 * sunrpc/clnt_unix.c: Likewise.
7816 * sysdeps/unix/bsd/ptsname.c: Likewise.
7817 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7818 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7825 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7827 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7829 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7832 2013-08-27 Mike Frysinger <vapier@gentoo.org>
7835 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7836 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7837 ($(objpfx)bug-dl-leaf): New rule.
7838 ($(objpfx)bug-dl-leaf.so): Likewise.
7839 ($(objpfx)bug-dl-leaf.out): Likewise.
7840 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7841 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7842 * dlfcn/bug-dl-leaf.c: New test.
7843 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7844 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7845 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7846 (dlclose): Likewise.
7847 (dlmopen): Likewise.
7849 2013-08-27 Roland McGrath <roland@hack.frob.com>
7851 * include/netdb.h [!_ISOMAC]:
7852 Don't include <tls.h>.
7853 (h_errno, __libc_h_errno): Move declaration and macros out of
7856 * include/resolv.h [_RESOLV_H_]:
7857 Don't include <tls.h>.
7858 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7859 * resolv/res_libc.c: Don't include <tls.h>.
7860 (_res): Use __attribute__ ((nocommon)) in place of
7861 __attribute__ ((section (".bss"))).
7863 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7864 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7866 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7868 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7869 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7871 * resolv/res_mkquery.c: Include <sys/time.h>.
7873 * inet/ifreq.c: Moved to ...
7874 * sysdeps/unix/ifreq.c: ... here.
7875 * inet/ifreq.c: New file, true stub version.
7877 * socket/sa_len.c: New file.
7878 * socket/Makefile (aux): Add it.
7879 * sysdeps/unix/sysv/linux/Makefile
7880 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7881 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7882 and #include <socket/sa_len.c>.
7883 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7884 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7886 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7887 * bits/socket.h: ... here.
7889 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7890 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7891 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7893 2013-08-27 Andreas Schwab <schwab@suse.de>
7896 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7897 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7898 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7899 * string/test-strcasecmp.c (test_main): Run tests in several
7901 * string/test-strncasecmp.c (test_main): Likewise.
7903 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7904 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7905 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7906 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7907 (__strncasecmp_ssse3) [PIC]: Likewise.
7909 2013-08-26 Roland McGrath <roland@hack.frob.com>
7911 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7913 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7914 instead of explicitly declaring xdecrypt.
7915 * nis/nss_nis/nis-publickey.c: Likewise.
7917 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7920 * nscd/aicache.c: Include res_hconf.h.
7921 (addhstaiX): Initialize res_hconf.
7923 2013-08-26 Andreas Schwab <schwab@suse.de>
7925 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7926 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7928 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7930 * nscd/aicache.c (addhstaiX): Fix indentation.
7932 2013-08-25 Mike Frysinger <vapier@gentoo.org>
7934 * configure.ac: Quote $build_pt_chown test.
7935 * configure: Regenerated.
7937 2013-08-23 Joseph Myers <joseph@codesourcery.com>
7940 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7941 * math/s_cexpf.c (__cexpf): Likewise.
7942 * math/s_cexpl.c (__cexpl): Likewise.
7943 * math/libm-test.inc (cexp_test_data): Correct expected return
7944 value for NaN + i0. Add another test.
7946 2013-08-22 David S. Miller <davem@davemloft.net>
7948 * po/ca.po: Update Catalan translation from translation project.
7949 * po/uk.po: Add Ukrainian translations from translation project.
7951 2013-08-21 Joseph Myers <joseph@codesourcery.com>
7954 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7955 is infinite, not alongside NaN test.
7956 * math/s_fdimf.c (__fdimf): Likewise.
7957 * math/s_fdiml.c (__fdiml): Likewise.
7958 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7961 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
7963 * argp/argp-help.c: Fix typos.
7964 * crypt/speeds.c: Likewise.
7965 * csu/check_fds.c: Likewise.
7966 * elf/dl-load.c: Likewise.
7967 * elf/dl-open.c: Likewise.
7968 * elf/reldep3.c: Likewise.
7969 * elf/reldep.c: Likewise.
7970 * elf/sprof.c: Likewise.
7971 * iconv/iconv_charmap.c: Likewise.
7972 * iconv/skeleton.c: Likewise.
7973 * iconv/strtab.c: Likewise.
7974 * io/lockf64.c: Likewise.
7975 * libio/libioP.h: Likewise.
7976 * resolv/gai_notify.c: Likewise.
7977 * resolv/ns_name.c: Likewise.
7978 * resolv/ns_samedomain.c: Likewise.
7979 * resolv/res_send.c: Likewise.
7980 * stdlib/random.c: Likewise.
7981 * sunrpc/rpc/xdr.h: Likewise.
7982 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7983 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7984 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7985 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7986 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7987 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7988 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7989 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7990 * sysdeps/mach/hurd/check_fds.c: Likewise.
7991 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7992 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7993 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7994 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7995 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7996 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7997 * sysdeps/pthread/aio_notify.c: Likewise.
7998 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7999 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
8000 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
8001 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8002 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8004 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8006 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
8007 version if bit_Slow_SSE4_2 is set.
8008 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8009 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8011 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8014 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8015 trampoline stack frame information.
8016 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8017 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8018 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8019 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8020 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8021 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8022 (_libc_vdso_platform_setup): Initialize the signal trampolines.
8023 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8025 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8026 interrupting a syscall and set with option SA_SIGINFO.
8028 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8031 * math/s_cproj.c (__cproj): Only return an infinity if one part of
8032 argument is infinite.
8033 * math/s_cprojf.c (__cprojf): Likewise.
8034 * math/s_cprojl.c (__cprojl): Likewise.
8035 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8036 * math/libm-test.inc (cproj_test_data): Add more tests.
8038 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8040 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8041 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8042 size. Use __ffs to determine corresponding shift.
8044 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8045 Roland McGrath <roland@hack.frob.com>
8047 * Makefile (INSTALL): Remove trailing blank lines from output of
8050 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8052 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8053 Align 32 bit compat elf_greg to 8 bytes.
8055 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8057 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8059 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8061 * string/strcoll_l.c (coll_seq): New structure.
8062 (get_next_seq_cached): New function.
8063 (get_next_seq): New function.
8064 (do_compare): New function.
8065 (STRCOLL): Use GNU style definition. Simplify implementation
8066 by using get_next_seq, get_next_seq_cached and do_compare.
8068 2013-08-16 Florian Weimer <fweimer@redhat.com>
8072 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8074 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8076 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8077 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8078 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
8080 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8081 GETDENTS_64BIT_ALIGNED.
8082 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8083 * manual/filesys.texi (Reading/Closing Directory): Document
8084 ENAMETOOLONG return value of readdir_r. Recommend readdir more
8086 * manual/conf.texi (Limits for Files): Add portability note to
8088 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8090 2013-08-13 Andreas Schwab <schwab@suse.de>
8093 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8095 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8096 LDBL_MAX_EXP >= 16384]: Add tests for it.
8098 2013-08-12 David S. Miller <davem@davemloft.net>
8100 * version.h (RELEASE): Set to "development".
8101 (VERSION): Set to "2.18.90".
8102 * NEWS: Add 2.19 section.
8104 2013-08-03 David S. Miller <davem@davemloft.net>
8106 * po/ko.po: Update Korean translation from translation project.
8108 2013-08-01 David S. Miller <davem@davemloft.net>
8110 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
8111 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8114 2013-07-30 David S. Miller <davem@davemloft.net>
8116 * po/fr.po: Update French translation from translation project.
8118 2013-07-28 David S. Miller <davem@davemloft.net>
8120 * po/cs.po: Update Czech translation from translation project.
8122 * po/sv.po: Update Swedish translation from translation project.
8124 2013-07-27 David S. Miller <davem@davemloft.net>
8126 * po/eo.po: Update Esperanto translation from translation project.
8128 * po/vi.po: Update Vietnamese translation from translation project.
8130 * po/de.po: Update German translation from translation project.
8132 2013-07-26 David S. Miller <davem@davemloft.net>
8134 * po/bg.po: Update Bulgarian translation from translation project.
8136 * po/nl.po: Update Dutch translation from translation project.
8137 * po/pl.po: Update Polish translation from translation project.
8138 * po/ru.po: Update Russian translation from translation project.
8140 2013-07-24 David S. Miller <davem@davemloft.net>
8142 * po/libc.pot: Update.
8144 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8146 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8148 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8149 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8150 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8152 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8154 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8156 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8157 Andreas Schwab <schwab@suse.de>
8158 Roland McGrath <roland@hack.frob.com>
8159 Joseph Myers <joseph@codesourcery.com>
8160 Carlos O'Donell <carlos@redhat.com>
8163 * config.h.in: Define HAVE_PT_CHOWN.
8164 * config.make.in (build-pt-chown): New variable.
8165 * configure.in (--enable-pt_chown): New configure option.
8166 * configure: Regenerate.
8167 * login/Makefile: Include Makeconfig. Build pt_chown only if
8168 build-pt-chown is enabled.
8169 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8170 pt_chown to fix pty ownership.
8171 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8173 * manual/install.texi (Configuring and compiling): Mention
8174 --enable-pt_chown. Add @findex for grantpt.
8175 * INSTALL: Regenerate.
8177 2013-07-20 David S. Miller <davem@davemloft.net>
8179 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8180 difference between 32-bit and 64-bit.
8182 2013-07-15 Carlos O'Donell <carlos@redhat.com>
8185 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8186 Avoid system header dependency with -ffreestanding.
8187 ($(objpfx)bits/syscall%d): Likewise.
8189 2013-07-13 David S. Miller <davem@davemloft.net>
8191 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8192 underflows from atanl/atan2l due to bug 15319.
8193 (casinh_test_data): Likewise.
8195 2013-07-07 David S. Miller <davem@davemloft.net>
8197 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8199 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8201 * sysdeps/i386/fpu/libm-test-ulps: Update.
8202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8204 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8206 * configure.in (--enable-lock-elision): Fix message text.
8207 * INSTALL: Regenerate.
8208 * configure: Regenerate.
8210 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8214 2013-07-03 Andreas Jaeger <aj@suse.de>
8216 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8218 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8219 (ptrace_peeksiginfo_args): Add.
8220 (__ptrace_peeksiginfo_flags): Add.
8221 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8222 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8223 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8225 2013-07-03 Allan McRae <allan@archlinux.org>
8227 * sysdeps/i386/fpu/libm-test-ulps: Update.
8229 2013-07-02 David S. Miller <davem@davemloft.net>
8231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8233 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8237 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8239 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8242 2013-07-02 Andi Kleen <ak@linux.intel.com>
8244 * config.h.in (ENABLE_LOCK_ELISION): Add.
8245 * configure.in (--enable-lock-elision): Add option.
8246 * manual/install.texi: Document --enable lock elision.
8247 * configure: Regenerate
8248 * INSTALL: Regenerate.
8250 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8252 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8253 SSE4.2 strcasecmp for libc.a.
8254 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8256 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8259 * soft-fp/op-common.h (_FP_FMA): New macro.
8260 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8261 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8262 (_FP_MUL_MEAT_1_imm): ... here.
8263 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8264 (_FP_MUL_MEAT_1_wide): ... here.
8265 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8266 (_FP_MUL_MEAT_1_hard): ... here.
8267 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8268 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8269 (_FP_MUL_MEAT_2_wide): ... here.
8270 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8271 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8272 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8273 (_FP_MUL_MEAT_2_gmp): ... here.
8274 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8275 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8276 (_FP_MUL_MEAT_4_wide): ... here.
8277 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8278 (_FP_MUL_MEAT_4_gmp): ... here.
8279 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8280 (_FP_WFRACBITS_DW_S): Likewise.
8281 (_FP_WFRACXBITS_DW_S): Likewise.
8282 (_FP_HIGHBIT_DW_S): Likewise.
8283 (FP_FMA_S): Likewise.
8284 (_FP_FRAC_HIGH_DW_S): Likewise.
8285 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8286 (_FP_WFRACBITS_DW_D): Likewise.
8287 (_FP_WFRACXBITS_DW_D): Likewise.
8288 (_FP_HIGHBIT_DW_D): Likewise.
8289 (FP_FMA_D): Likewise.
8290 (_FP_FRAC_HIGH_DW_D): Likewise.
8291 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8292 (_FP_WFRACBITS_DW_E): Likewise.
8293 (_FP_WFRACXBITS_DW_E): Likewise.
8294 (_FP_HIGHBIT_DW_E): Likewise.
8295 (FP_FMA_E): Likewise.
8296 (_FP_FRAC_HIGH_DW_E): Likewise.
8297 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8298 (_FP_WFRACBITS_DW_Q): Likewise.
8299 (_FP_WFRACXBITS_DW_Q): Likewise.
8300 (_FP_HIGHBIT_DW_Q): Likewise.
8301 (FP_FMA_Q): Likewise.
8302 (_FP_FRAC_HIGH_DW_Q): Likewise.
8303 * soft-fp/fmasf4.c: New file.
8304 * soft-fp/fmadf4.c: Likewise.
8305 * soft-fp/fmatf4.c: Likewise.
8307 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8310 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8312 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8314 (index_Slow_SSE4_2): Likewise.
8315 (index_Prefer_PMINUB_for_stringop): Likewise.
8316 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8317 bit_Slow_SSE4_2 is set.
8318 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8319 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8321 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8323 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8324 rtld_global._dl_hwcap2.
8325 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8327 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8328 POWER8 feature descriptions defined in _dl_hwcap2.
8329 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8330 string handling for POWER8 feature bits.
8331 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8332 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8333 _dl_powerpc_cap_flags.
8334 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8335 * sysdeps/powerpc/rtld-global-offsets.sym
8336 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8337 _dl_hwcap2 in the rtld_global_ro structure.
8339 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8341 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8342 hardware capabilities in support of AT_HWCAP2.
8343 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8344 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8346 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8347 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8348 explicitly the unknown a_type display mechanism is used.
8349 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8350 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8352 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8353 to macro prototype for AT_HWCAP2 support.
8354 * sysdeps/i386/dl-procinfo.h: Likewise.
8355 * sysdeps/s390/dl-procinfo.h: Likewise.
8356 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8357 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8358 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8359 return -1 for unknown a_type display fallback.
8360 * sysdeps/sparc/dl-procinfo.h: Likewise.
8361 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8362 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8364 2013-06-28 Joseph Myers <joseph@codesourcery.com>
8366 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8367 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8369 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8372 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8373 mprotect making __stack_prot writable.
8375 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8376 Joseph Myers <joseph@codesourcery.com>
8378 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8379 as being properly aligned.
8381 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8383 * dlfcn/modstatic5.c: New file.
8384 * dlfcn/tststatic5.c: New file.
8385 * dlfcn/Makefile (tests): Add tststatic5.
8386 (tests-static): Likewise.
8387 (modules-names): Add modstatic5.
8388 (tststatic5-ENV): New variable.
8389 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8392 * elf/dl-support.c (_dl_main_map): New variable.
8393 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8394 (_dl_nns, _dl_load_adds): Set to 1.
8395 (_dl_initial_searchlist): Refer to _dl_main_map.
8396 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8397 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8398 call to _dl_get_origin.
8399 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8401 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8402 * dlfcn/modstatic3.c: New file.
8403 * dlfcn/tststatic3.c: New file.
8404 * dlfcn/tststatic4.c: New file.
8405 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8406 (tests-static): Likewise.
8407 (modules-names): Add modstatic3.
8408 (tststatic3-ENV, tststatic4-ENV): New variables.
8409 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8410 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8412 2013-06-26 Joseph Myers <joseph@codesourcery.com>
8414 * configure.in (CC): Require GCC version 4.4 or later.
8415 * configure: Regenerated.
8416 * manual/install.texi (Tools for Compilation): Update GCC version
8418 * INSTALL: Regenerated.
8420 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8423 * string/test-memcmp.c (check2): New.
8424 (main): Call check2.
8426 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8428 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8431 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8433 (dl_open_worker) [!SHARED]: ... here.
8435 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8437 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8439 2013-06-25 Richard Henderson <rth@redhat.com>
8441 * locale/programs/locarchive.c: Include <libc-internal.h>
8443 2013-06-25 Joseph Myers <joseph@codesourcery.com>
8445 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8446 trailing whitespace removed.
8448 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8451 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8452 * locale/programs/locarchive.c: Include libc-mmap.h.
8453 (prepare_address_space): Take two new outputs (the mmap base and len).
8454 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8456 (create_archive): Declare new mmap base and len values for
8457 prepare_address_space, and store the result in ah.
8458 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8459 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8460 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8461 Declare new mmap base and len values for
8462 prepare_address_space, and store the result in new_ah.
8463 (open_archive): Declare new mmap base and len values for
8464 prepare_address_space, and store the result in ah.
8465 (close_archive): If ah->mmap_base is not NULL, use that and
8466 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8467 * sysdeps/generic/libc-mmap.h: New file.
8469 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8471 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8472 (ALIGN_UP): Likewise.
8473 (PTR_ALIGN_DOWN): Likewise.
8474 (PTR_ALIGN_UP): Likewise.
8476 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8478 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8479 entry mapped to PPC_PLATFORM_POWER8.
8480 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8482 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8483 (_dl_string_platform): Add case for exporting platform position for
8485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8486 search path to sysdeps/powerpc/powerpc32/power8 directory.
8487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8488 search path to sysdeps/powerpc/powerpc64/power8 directory.
8489 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8491 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8494 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8496 * INSTALL: Regenerate.
8498 * nscd/connections.c (nscd_init): Fix comment.
8500 2013-06-22 Joseph Myers <joseph@codesourcery.com>
8502 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8505 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8506 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8508 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8510 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8512 (DL_DST_REQ_STATIC): Remove macro.
8514 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8517 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8518 with a shift of 0 bits.
8520 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8522 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8525 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8528 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8530 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8532 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8533 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8534 accepts -fno-tree-loop-distribute-patterns.
8535 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8536 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8538 * string/memset.c (memset): Likewise.
8539 * string/test-memmove.c (simple_memmove): Disable loop transformation
8541 * string/test-memset.c (simple_memset): Likewise.
8542 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8543 * benchtests/bench-memset.c (simple_memset): Likewise.
8544 * configure: Regenerated.
8546 2013-06-20 Joseph Myers <joseph@codesourcery.com>
8548 * math/test-misc.c (main): Ignore fesetround failure when failures
8549 of subsequent rounding tests would be ignored.
8552 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8553 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8554 * math/fegetenv.c (__fegetenv): Return 0.
8555 * math/fegetexcept.c (fegetexcept): Return 0.
8556 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8558 * math/feholdexcpt.c (feholdexcept): Return 0.
8559 * math/fesetenv.c (__fesetenv): Return 0.
8560 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8561 argument FE_TONEAREST.
8562 * math/feupdateenv.c (__feupdateenv): Return 0.
8563 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8565 2013-06-18 Roland McGrath <roland@hack.frob.com>
8567 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8568 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8569 ($(objpfx)rtld-%.os rules): Use them.
8571 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8573 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8576 2013-06-17 Roland McGrath <roland@hack.frob.com>
8578 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8579 length of target pattern, then descending length of dependency pattern.
8580 * configure.in (AWK): Require gawk 3.1.2 or newer.
8581 * manual/install.texi (Tools for Compilation): Say that we do.
8582 * configure: Regenerated.
8584 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8585 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8586 * scripts/sysd-rules.awk: ... this new script.
8587 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8588 than a glob-style pattern.
8590 2013-06-17 Joseph Myers <joseph@codesourcery.com>
8592 * math/test-misc.c (main): Do not treat incorrectly rounded
8593 conversions as failure unless ROUNDING_TESTS passes.
8595 2013-06-15 Joseph Myers <joseph@codesourcery.com>
8598 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8599 restore exception state around main square root computation, then
8600 check for inexactness explicitly.
8602 * math/libm-test.inc (fma_test_data): Add another test.
8604 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8606 * manual/threads.texi (Non-POSIX Extensions): New document
8607 node. Document pthread_getattr_default_np and
8608 pthread_setattr_default_np.
8610 * Versions.def (libpthread): Add GLIBC_2.18.
8611 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8620 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8631 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8634 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8636 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8637 H.J. Lu <hjl.tools@gmail.com>
8640 * sysdeps/x86_64/rtld-memset.c: Remove file.
8641 * sysdeps/x86_64/rtld-memset.S: New file.
8643 2013-06-14 Joseph Myers <joseph@codesourcery.com>
8645 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8646 (test_in_one_mode): Take arguments for whether the rounding mode
8647 is supported for each floating-point type.
8648 (do_test): Pass new arguments to test_in_one_mode using
8651 2013-06-13 Roland McGrath <roland@hack.frob.com>
8653 * posix/tst-waitid.c (do_test): Distinguish different instances of
8654 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8655 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8656 before entering the kernel for waitpid.
8658 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8660 * NEWS: Fix note on clock function precision. Text by Roland
8663 2013-06-13 Roland McGrath <roland@hack.frob.com>
8665 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8666 it into place only when and if the sanity check passes.
8668 2013-06-13 Joseph Myers <joseph@codesourcery.com>
8670 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8671 output for whether conversion result is exact. Take argument
8672 indicating whether type is IBM long double.
8673 (round_for_all): Change need_exact field to ibm_ld.
8674 * stdlib/tst-strtod-round.c (struct exactness): New type.
8675 (struct test): Change bool ld_ok field to struct exactness exact.
8676 (TEST): Update all definitions for change to field.
8677 (tests): Regenerate array contents.
8678 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8679 field value. Check for IBM long double here.
8680 (do_test): Update calls to test_in_one_mode.
8682 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8685 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8686 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8688 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8691 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8692 generated by the compiler on loop optimizations.
8693 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8694 general definitions.
8696 2013-06-12 Joseph Myers <joseph@codesourcery.com>
8698 * math/bug-nextafter.c: Include <math-tests.h>.
8699 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8701 * math/bug-nexttoward.c: Include <math-tests.h>.
8702 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8704 * math/test-misc.c: Include <math-tests.h>.
8705 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8708 2013-06-12 Andreas Jaeger <aj@suse.de>
8710 * po/ia.po: Update Interlingua translation from translation
8713 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8715 * include/fenv.h: Include stdbool.h.
8716 (struct rm_ctx): New structure.
8717 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8719 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8720 (SET_RESTORE_ROUNDF): Likewise.
8721 (SET_RESTORE_ROUNDL): Likewise.
8722 (SET_RESTORE_ROUND_NOEX): Likewise.
8723 (SET_RESTORE_ROUND_NOEXF): Likewise.
8724 (SET_RESTORE_ROUND_NOEXL): Likewise.
8725 (SET_RESTORE_ROUND_53BIT): Likewise.
8726 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8727 (libc_feresetround_noexf_ctx): Likewise.
8728 (libc_feresetround_noexl_ctx): Likewise.
8729 (libc_feholdsetround_53bit_ctx): Likewise.
8730 (libc_feresetround_53bit_ctx): Likewise.
8731 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8732 (libc_feholdexcept_setround_sse_ctx): New function.
8733 (libc_fesetenv_sse_ctx): Likewise.
8734 (libc_feupdateenv_sse_ctx): Likewise.
8735 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8736 (libc_feholdexcept_setround_387_ctx): Likewise.
8737 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8738 (libc_feholdsetround_387_prec_ctx): Likewise.
8739 (libc_feholdsetround_387_ctx): Likewise.
8740 (libc_feholdsetround_387_53bit_ctx): Likewise.
8741 (libc_feholdsetround_sse_ctx): Likewise.
8742 (libc_feresetround_sse_ctx): Likewise.
8743 (libc_feresetround_387_ctx): Likewise.
8744 (libc_feupdateenv_387_ctx): Likewise.
8745 (libc_feholdexcept_setroundf_ctx): Define macro.
8746 (libc_fesetenvf_ctx): Likewise.
8747 (libc_feupdateenvf_ctx): Likewise.
8748 (libc_feholdsetroundf_ctx): Likewise.
8749 (libc_feresetroundf_ctx): Likewise.
8750 (libc_feholdexcept_setround_ctx): Likewise.
8751 (libc_fesetenv_ctx): Likewise.
8752 (libc_feupdateenv_ctx): Likewise.
8753 (libc_feholdsetround_ctx): Likewise.
8754 (libc_feresetround_ctx): Likewise.
8755 (libc_feholdexcept_setroundl_ctx): Likewise.
8756 (libc_feupdateenvl_ctx): Likewise.
8757 (libc_feholdsetroundl_ctx): Likewise.
8758 (libc_feresetroundl_ctx): Likewise.
8759 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8760 (libc_feresetround_53bit_ctx): Likewise.
8762 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8764 * locale/iso-639.def: Convert to UTF-8.
8766 2013-06-11 Joseph Myers <joseph@codesourcery.com>
8768 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8769 (EXCEPTION_TESTS_double): Likewise.
8770 (EXCEPTION_TESTS_long_double): Likewise.
8771 (EXCEPTION_TESTS): Likewise.
8772 * math/libm-test.inc (test_exceptions): Only test exceptions if
8773 EXCEPTION_TESTS (FLOAT).
8775 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8777 * benchtests/Makefile (string-bench): Add strcpy_chk and
8779 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8780 * benchtests/bench-stpcpy_chk.c: New file.
8781 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8782 * benchtests/bench-strcpy_chk.c: New file.
8783 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8785 (do_test): Likewise.
8787 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8789 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8790 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8791 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8792 with tabs where appropriate.
8793 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8795 [PPC_PLATFORM_PPC440]: Likewise.
8796 [PPC_PLATFORM_PPC464]: Likewise.
8797 [PPC_PLATFORM_PPC476]: Likewise.
8798 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8799 ppc464, and ppc476 platform strings merging from ports/
8802 2013-06-11 Andreas Schwab <schwab@suse.de>
8805 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8806 (from_ucs4_idx): Regenerate.
8807 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8808 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8809 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8810 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8811 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8812 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8813 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8814 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8815 from FROM_LOOP and TO_LOOP specific macros.
8816 (BODY): Handle combining characters.
8817 * iconvdata/BIG5HKSCS.irreversible: Update.
8818 * iconvdata/BIG5HKSCS.precomposed: New file.
8819 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8821 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8823 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8825 * include/sys/time.h: Fix indentation and add copyright header.
8827 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8828 (do_test): Likewise.
8829 * string/test-memchr.c (do_one_test): Likewise.
8830 (do_test): Likewise.
8831 * string/test-memcmp.c (do_one_test): Likewise.
8832 (do_test): Likewise.
8833 * string/test-memcpy.c (do_one_test): Likewise.
8834 (do_test): Likewise.
8835 * string/test-memmem.c (do_one_test): Likewise.
8836 (do_test): Likewise.
8837 (do_random_tests): Likewise.
8838 * string/test-memmove.c (do_one_test): Likewise.
8839 (do_test): Likewise.
8840 * string/test-memset.c (do_one_test): Likewise.
8841 (do_test): Likewise.
8842 * string/test-rawmemchr.c (do_one_test): Likewise.
8843 (do_test): Likewise.
8844 * string/test-strcasecmp.c (do_one_test): Likewise.
8845 (do_test): Likewise.
8846 * string/test-strcasestr.c (do_one_test): Likewise.
8847 (do_test): Likewise.
8848 * string/test-strcat.c (do_one_test): Likewise.
8849 (do_test): Likewise.
8850 * string/test-strchr.c (do_one_test): Likewise.
8851 (do_test): Likewise.
8852 * string/test-strcmp.c (do_one_test): Likewise.
8853 (do_test): Likewise.
8854 * string/test-strcpy.c (do_one_test): Likewise.
8855 (do_test): Likewise.
8856 * string/test-string.h: Likewise.
8857 (test_init): Likewise.
8858 * string/test-strlen.c (do_one_test): Likewise.
8859 (do_test): Likewise.
8860 * string/test-strncasecmp.c (do_one_test): Likewise.
8861 (do_test): Likewise.
8862 * string/test-strncat.c (do_one_test): Likewise.
8863 (do_test): Likewise.
8864 * string/test-strncmp.c (do_one_test): Likewise.
8865 (do_test_limit): Likewise.
8866 (do_test): Likewise.
8867 * string/test-strncpy.c (do_one_test): Likewise.
8868 (do_test): Likewise.
8869 * string/test-strnlen.c (do_one_test): Likewise.
8870 (do_test): Likewise.
8871 * string/test-strpbrk.c (do_one_test): Likewise.
8872 (do_test): Likewise.
8873 * string/test-strrchr.c (do_one_test): Likewise.
8874 (do_test): Likewise.
8875 * string/test-strspn.c (do_one_test): Likewise.
8876 (do_test): Likewise.
8877 * string/test-strstr.c (do_one_test): Likewise.
8878 (do_test): Likewise.
8880 * benchtests/Makefile (string-bench): Add string benchmarks.
8881 * benchtests/bench-bcopy-ifunc.c: New file.
8882 * benchtests/bench-bcopy.c: New file.
8883 * benchtests/bench-bzero-ifunc.c: New file.
8884 * benchtests/bench-bzero.c: New file.
8885 * benchtests/bench-memccpy-ifunc.c: New file.
8886 * benchtests/bench-memccpy.c: New file.
8887 * benchtests/bench-memchr-ifunc.c: New file.
8888 * benchtests/bench-memchr.c: New file.
8889 * benchtests/bench-memcmp-ifunc.c: New file.
8890 * benchtests/bench-memcmp.c: New file.
8891 * benchtests/bench-memmem-ifunc.c: New file.
8892 * benchtests/bench-memmem.c: New file.
8893 * benchtests/bench-memmove-ifunc.c: New file.
8894 * benchtests/bench-memmove.c: New file.
8895 * benchtests/bench-mempcpy-ifunc.c: New file.
8896 * benchtests/bench-mempcpy.c: New file.
8897 * benchtests/bench-memset-ifunc.c: New file.
8898 * benchtests/bench-memset.c: New file.
8899 * benchtests/bench-rawmemchr-ifunc.c: New file.
8900 * benchtests/bench-rawmemchr.c: New file.
8901 * benchtests/bench-stpcpy-ifunc.c: New file.
8902 * benchtests/bench-stpcpy.c: New file.
8903 * benchtests/bench-stpncpy-ifunc.c: New file.
8904 * benchtests/bench-stpncpy.c: New file.
8905 * benchtests/bench-strcasecmp-ifunc.c: New file.
8906 * benchtests/bench-strcasecmp.c: New file.
8907 * benchtests/bench-strcasestr-ifunc.c: New file.
8908 * benchtests/bench-strcasestr.c: New file.
8909 * benchtests/bench-strcat-ifunc.c: New file.
8910 * benchtests/bench-strcat.c: New file.
8911 * benchtests/bench-strchr-ifunc.c: New file.
8912 * benchtests/bench-strchr.c: New file.
8913 * benchtests/bench-strchrnul-ifunc.c: New file.
8914 * benchtests/bench-strchrnul.c: New file.
8915 * benchtests/bench-strcmp-ifunc.c: New file.
8916 * benchtests/bench-strcmp.c: New file.
8917 * benchtests/bench-strcpy-ifunc.c: New file.
8918 * benchtests/bench-strcpy.c: New file.
8919 * benchtests/bench-strcspn-ifunc.c: New file.
8920 * benchtests/bench-strcspn.c: New file.
8921 * benchtests/bench-strlen-ifunc.c: New file.
8922 * benchtests/bench-strlen.c: New file.
8923 * benchtests/bench-strncasecmp-ifunc.c: New file.
8924 * benchtests/bench-strncasecmp.c: New file.
8925 * benchtests/bench-strncat-ifunc.c: New file.
8926 * benchtests/bench-strncat.c: New file.
8927 * benchtests/bench-strncmp-ifunc.c: New file.
8928 * benchtests/bench-strncmp.c: New file.
8929 * benchtests/bench-strncpy-ifunc.c: New file.
8930 * benchtests/bench-strncpy.c: New file.
8931 * benchtests/bench-strnlen-ifunc.c: New file.
8932 * benchtests/bench-strnlen.c: New file.
8933 * benchtests/bench-strpbrk-ifunc.c: New file.
8934 * benchtests/bench-strpbrk.c: New file.
8935 * benchtests/bench-strrchr-ifunc.c: New file.
8936 * benchtests/bench-strrchr.c: New file.
8937 * benchtests/bench-strspn-ifunc.c: New file.
8938 * benchtests/bench-strspn.c: New file.
8939 * benchtests/bench-strstr-ifunc.c: New file.
8940 * benchtests/bench-strstr.c: New file.
8942 * benchtests/Makefile: Disable parallel execution of targets.
8943 (string-bench): Add memcpy.
8944 (benchset): New variable to store a list of benchmark sets.
8945 (bench-func): Renamed from bench.
8946 (bench-set): New target.
8947 (bench): Depend on bench-func and bench-set.
8948 * benchtests/README: Add section on benchmark sets.
8949 * benchtests/bench-memcpy-ifunc.c: New file.
8950 * benchtests/bench-memcpy.c: New file.
8951 * benchtests/bench-string.h: New file.
8953 2013-06-11 Andreas Schwab <schwab@suse.de>
8956 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8957 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8958 values in the triple.
8959 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8960 terminator in the group key.
8962 2013-06-11 Andreas Jaeger <aj@suse.de>
8964 * po/zh_TW.po: Update Chinese (traditional) translation from
8965 translation project.
8967 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8969 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8970 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8971 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8972 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8973 (clock_getcpuclockid): Likewise.
8974 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8975 Add weak_alias and libc_hidden_def.
8976 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8977 * rt/clock_gettime.c (clock_gettime): Rename to
8978 __clock_gettime. Add weak_alias and libc_hidden_def.
8979 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8980 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8981 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8982 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8983 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8985 * rt/clock_settime.c (clock_settime): Rename to
8986 __clock_settime. Add weak_alias and libc_hidden_def.
8987 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8989 2013-06-10 Joseph Myers <joseph@codesourcery.com>
8991 * mach/err_boot.sub: Remove trailing whitespace.
8992 * mach/err_ipc.sub: Likewise.
8993 * mach/err_mach.sub: Likewise.
8995 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8996 (ROUNDING_TESTS_double): Likewise.
8997 (ROUNDING_TESTS_long_double): Likewise.
8998 (ROUNDING_TESTS): Likewise.
8999 * math/libm-test.inc: Include <math-tests.h>.
9000 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
9001 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9002 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9003 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9005 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9007 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
9010 2013-06-08 Joseph Myers <joseph@codesourcery.com>
9012 * sysdeps/gnu/errlist.awk: Do not generate space at end of
9013 otherwise empty TRANS lines.
9014 * sysdeps/gnu/errlist.c: Regenerated.
9016 * catgets/gencat.c (error_print): Use (void) in function
9018 * crypt/crypt_util.c (__init_des): Likewise.
9019 * crypt/speeds.c (Stop): Likewise.
9021 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9022 * inet/ruserpass.c (token): Likewise.
9023 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9024 * intl/localealias.c (extend_alias_table): Likewise.
9025 * intl/plural-exp.c (init_germanic_plural): Likewise.
9026 * libio/fcloseall.c (__fcloseall): Likewise.
9027 * libio/genops.c (_IO_flush_all): Likewise.
9028 (_IO_flush_all_linebuffered): Likewise.
9029 (_IO_cleanup): Likewise.
9030 (_IO_iter_begin): Likewise.
9031 (_IO_iter_end): Likewise.
9032 (_IO_list_lock): Likewise.
9033 (_IO_list_unlock): Likewise.
9034 (_IO_list_resetlock): Likewise.
9035 * libio/getchar.c (getchar): Likewise.
9036 * libio/getchar_u.c (getchar_unlocked): Likewise.
9037 * libio/getwchar.c (getwchar): Likewise.
9038 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9039 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9040 * login/getpt.c (__getpt): Likewise.
9041 * login/tst-utmp.c (main): Likewise.
9042 * malloc/hooks.c (__malloc_check_init): Likewise.
9043 * malloc/malloc.c (__malloc_stats): Likewise.
9044 * malloc/mtrace.c (tr_break): Likewise.
9046 (muntrace): Likewise.
9047 * misc/fstab.c (endfsent): Likewise.
9048 * misc/getclktck.c (__getclktck): Likewise.
9049 * misc/getdtsz.c (__getdtablesize): Likewise.
9050 * misc/gethostid.c (gethostid): Likewise.
9051 * misc/getpagesize.c (__getpagesize): Likewise.
9052 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9053 (__get_nprocs): Likewise.
9054 (__get_phys_pages): Likewise.
9055 (__get_avphys_pages): Likewise.
9056 * misc/getttyent.c (getttyent): Likewise.
9057 (setttyent): Likewise.
9058 (endttyent): Likewise.
9059 * misc/getusershell.c (getusershell): Likewise.
9060 (endusershell): Likewise.
9061 (setusershell): Likewise.
9062 (initshells): Likewise.
9063 * misc/hsearch.c (__hdestroy): Likewise.
9064 * misc/sync.c (sync): Likewise.
9065 * misc/syslog.c (closelog_internal): Likewise.
9066 (closelog): Likewise.
9067 * misc/ttyslot.c (ttyslot): Likewise.
9068 * misc/vhangup.c (vhangup): Likewise.
9069 * posix/fork.c (__fork): Likewise.
9070 * posix/getegid.c (__getegid): Likewise.
9071 * posix/geteuid.c (__geteuid): Likewise.
9072 * posix/getgid.c (__getgid): Likewise.
9073 * posix/getpid.c (__getpid): Likewise.
9074 * posix/getppid.c (__getppid): Likewise.
9075 * posix/getuid.c (__getuid): Likewise.
9076 * posix/pause.c (pause): Likewise.
9077 * posix/setpgrp.c (setpgrp): Likewise.
9078 * posix/setsid.c (__setsid): Likewise.
9079 * posix/test-vfork.c (noop): Likewise.
9080 * resolv/gethnamaddr.c (_endhtent): Likewise.
9081 (_gethtent): Likewise.
9082 (ht_endhostent): Likewise.
9083 (gethostent): Likewise.
9084 (dns_service): Likewise.
9085 * stdlib/drand48.c (drand48): Likewise.
9086 * stdlib/lrand48.c (lrand48): Likewise.
9087 * stdlib/mrand48.c (mrand48): Likewise.
9088 * stdlib/rand.c (rand): Likewise.
9089 * stdlib/random.c (__random): Likewise.
9090 * stdlib/setenv.c (clearenv): Likewise.
9091 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9092 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9093 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9094 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9095 (__get_nprocs): Likewise.
9096 (__get_phys_pages): Likewise.
9097 (__get_avphys_pages): Likewise.
9098 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9099 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9100 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9101 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9102 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9103 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9104 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9105 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9106 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9107 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9108 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9109 * sysdeps/mach/hurd/sync.c (sync): Likewise.
9110 * sysdeps/posix/clock.c (clock): Likewise.
9111 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9112 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9113 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9114 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9115 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9116 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9117 (__get_nprocs_conf): Likewise.
9118 (__get_phys_pages): Likewise.
9119 (__get_avphys_pages): Likewise.
9120 * time/clock.c (clock): Likewise.
9121 * time/tzset.c (__tzname_max): Likewise.
9123 2013-06-07 Joseph Myers <joseph@codesourcery.com>
9125 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9126 (__bswap_32): Do not use "register".
9127 * crypt/crypt.c (_ufc_doit_r): Likewise.
9128 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9129 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9130 * gmon/gmon.c (__monstartup): Likewise.
9131 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9132 * hurd/hurdmalloc.c (more_memory): Likewise.
9135 (realloc): Likewise.
9136 (malloc_fork_prepare): Likewise.
9137 (malloc_fork_parent): Likewise.
9138 (malloc_fork_child): Likewise.
9139 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9140 (_svcauth_des): Likewise.
9141 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9142 * inet/inet_net.c (inet_network): Likewise.
9143 * inet/inet_netof.c (inet_netof): Likewise.
9144 * inet/rcmd.c (__validuser2_sa): Likewise.
9145 * io/fts.c (fts_open): Likewise.
9146 (fts_load): Likewise.
9147 (fts_close): Likewise.
9148 (fts_read): Likewise.
9149 (fts_children): Likewise.
9150 (fts_build): Likewise.
9151 (fts_stat): Likewise.
9152 (fts_sort): Likewise.
9153 (fts_alloc): Likewise.
9154 (fts_lfree): Likewise.
9155 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9156 (_IO_file_xsgetn): Likewise.
9157 (_IO_file_xsgetn_mmap): Likewise.
9158 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9159 (_IO_cookie_write): Likewise.
9160 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9161 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9162 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9163 * malloc/obstack.c (_obstack_begin): Likewise.
9164 (_obstack_begin_1): Likewise.
9165 (_obstack_newchunk): Likewise.
9166 (_obstack_allocated_p): Likewise.
9167 (obstack_free): Likewise.
9168 (_obstack_memory_used): Likewise.
9169 * misc/getttyent.c (getttynam): Likewise.
9170 (getttyent): Likewise.
9173 * misc/getusershell.c (initshells): Likewise.
9174 * misc/syslog.c (__vsyslog_chk): Likewise.
9175 * misc/ttyslot.c (ttyslot): Likewise.
9176 * nis/nis_hash.c (__nis_hash): Likewise.
9177 * posix/fnmatch_loop.c (FCT): Likewise.
9178 * posix/getconf.c (print_all): Likewise.
9180 * posix/getopt.c (exchange): Likewise.
9181 * posix/glob.c (globfree): Likewise.
9182 (prefix_array): Likewise.
9183 (__glob_pattern_type): Likewise.
9184 * resolv/arpa/nameser.h (NS_GET16): Likewise.
9185 (NS_GET32): Likewise.
9186 (NS_PUT16): Likewise.
9187 (NS_PUT32): Likewise.
9188 * resolv/gethnamaddr.c (getanswer): Likewise.
9189 (gethostbyname2): Likewise.
9190 (gethostbyaddr): Likewise.
9191 (_gethtent): Likewise.
9192 (_gethtbyname2): Likewise.
9193 (_gethtbyaddr): Likewise.
9194 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9195 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9196 * resolv/res_init.c (__res_vinit): Likewise.
9197 (net_mask): Likewise.
9198 * resolv/res_mkquery.c (outchar): Likewise.
9200 * stdio-common/printf_fp.c (outchar): Likewise.
9202 * stdio-common/printf_fphex.c (outchar): Likewise.
9204 * stdio-common/printf_size.c (outchar): Likewise.
9206 * stdio-common/test_rdwr.c (main): Likewise.
9207 * stdio-common/tfformat.c (matches): Likewise.
9208 * stdio-common/vfprintf.c (outchar): Likewise.
9209 (printf_unknown): Likewise.
9210 (buffered_vfprintf): Likewise.
9211 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9212 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9213 (ReadFile): Likewise.
9214 * stdlib/qsort.c (SWAP): Likewise.
9215 (_quicksort): Likewise.
9216 * stdlib/setenv.c (__add_to_environ): Likewise.
9217 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9218 * stdlib/strtol_l.c (__strtol_l): Likewise.
9219 * stdlib/tst-strtod.c (main): Likewise.
9220 * stdlib/tst-strtol.c (main): Likewise.
9221 * stdlib/tst-strtoll.c (main): Likewise.
9222 * string/bits/string2.h (__strcmp_cc): Likewise.
9223 (__strcmp_cg): Likewise.
9224 (__strcspn_c1): Likewise.
9225 (__strcspn_c2): Likewise.
9226 (__strcspn_c3): Likewise.
9227 (__strspn_c1): Likewise.
9228 (__strspn_c2): Likewise.
9229 (__strspn_c3): Likewise.
9230 (__strsep_1c): Likewise.
9231 (__strsep_2c): Likewise.
9232 (__strsep_3c): Likewise.
9233 * string/memccpy.c (__memccpy): Likewise.
9234 * string/stpcpy.c (__stpcpy): Likewise.
9235 * string/strcmp.c (strcmp): Likewise.
9236 * string/strrchr.c (strrchr): Likewise.
9237 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9239 * sysdeps/mach/hurd/getcwd.c
9240 (_hurd_canonicalize_directory_name_internal): Likewise.
9241 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9242 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9243 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9244 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9245 Likewise, in both definitions.
9246 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9248 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9249 64] (__bswap_64): Likewise.
9250 * time/test_time.c (main): Likewise.
9251 * time/tzfile.c (__tzfile_read): Likewise.
9252 (__tzfile_compute): Likewise.
9253 * time/tzset.c (__tzset_parse_tz): Likewise.
9254 (tzset_internal): Likewise.
9255 (compute_change): Likewise.
9256 * wcsmbs/wcscat.c (__wcscat): Likewise.
9257 * wcsmbs/wcschr.c (wcschr): Likewise.
9258 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9259 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9260 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9261 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9262 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9263 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9264 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9265 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9266 * wcsmbs/wmemset.c (wmemset): Likewise.
9268 2013-06-06 Joseph Myers <joseph@codesourcery.com>
9270 * scripts/config.guess: Update to version 2013-05-16.
9271 * scripts/config.sub: Update to version 2013-04-24.
9272 * scripts/install-sh: Update to version 2011-11-20.07.
9273 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9274 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9276 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
9278 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9279 * elf/sln.c: Likewise.
9280 * hurd/hurd/ioctl.h: Likewise.
9281 * hurd/hurdmalloc.c: Likewise.
9282 * hurd/xattr.c: Likewise.
9283 * include/shlib-compat.h: Likewise.
9284 * inet/ruserpass.c: Likewise.
9285 * libio/iofgets_u.c: Likewise.
9286 * libio/iofgetws_u.c: Likewise.
9287 * locale/programs/ld-identification.c: Likewise.
9288 * locale/programs/ld-time.c: Likewise.
9289 * mach/msg-destroy.c: Likewise.
9290 * nss/nss_files/files-netgrp.c: Likewise.
9291 * resolv/res_data.c: Likewise.
9292 * soft-fp/op-1.h: Likewise.
9293 * soft-fp/op-2.h: Likewise.
9294 * soft-fp/op-4.h: Likewise.
9295 * soft-fp/op-common.h: Likewise.
9296 * stdio-common/printf_fphex.c: Likewise.
9297 * stdlib/strtod_l.c: Likewise.
9298 * sunrpc/rpc/clnt.h: Likewise.
9299 * sysdeps/generic/framestate.c: Likewise.
9300 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9301 * sysdeps/i386/bsd-setjmp.S: Likewise.
9302 * sysdeps/i386/__longjmp.S: Likewise.
9303 * sysdeps/i386/setjmp.S: Likewise.
9304 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9305 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9306 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9307 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9308 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9309 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9310 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9311 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9312 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9313 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9314 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9315 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9316 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9317 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9318 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9319 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9320 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9321 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9322 * sysdeps/ieee754/support.c: Likewise.
9323 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9324 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9325 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9326 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9327 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9328 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9329 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9330 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9331 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9332 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9333 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9334 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9335 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9336 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9337 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9338 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9339 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9342 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
9344 * posix/transbug.c: Remove executable mode.
9346 2013-06-05 Joseph Myers <joseph@codesourcery.com>
9348 * crypt/speeds.c: Remove trailing whitespace.
9349 * dlfcn/default.c: Likewise.
9350 * elf/ifuncdep2.c: Likewise.
9351 * elf/ifuncmain1.c: Likewise.
9352 * elf/ifuncmain1vis.c: Likewise.
9353 * elf/testobj.h: Likewise.
9354 * elf/tst-stackguard1.c: Likewise.
9355 * gmon/sys/gmon.h: Likewise.
9356 * hurd/hurdmsg.c: Likewise.
9357 * hurd/new-fd.c: Likewise.
9358 * hurd/ports-get.c: Likewise.
9359 * iconvdata/ibm1008_420.c: Likewise.
9360 * inet/tst-getni1.c: Likewise.
9361 * inet/tst-getni2.c: Likewise.
9362 * libio/ioungetc.c: Likewise.
9363 * libio/wfiledoalloc.c: Likewise.
9364 * manual/libm-err-tab.pl: Likewise.
9365 * math/w_dremf.c: Likewise.
9366 * misc/ftruncate.c: Likewise.
9367 * posix/bug-glob2.c: Likewise.
9368 * posix/tst-pcre.c: Likewise.
9369 * posix/wait4.c: Likewise.
9370 * resolv/README: Likewise.
9371 * resolv/res_debug.h: Likewise.
9372 * resolv/tst-inet_ntop.c: Likewise.
9373 * setjmp/bug269-setjmp.c: Likewise.
9374 * soft-fp/extended.h: Likewise.
9375 * soft-fp/op-1.h: Likewise.
9376 * soft-fp/op-2.h: Likewise.
9377 * soft-fp/op-4.h: Likewise.
9378 * soft-fp/op-8.h: Likewise.
9379 * soft-fp/testit.c: Likewise.
9380 * stdio-common/bug16.c: Likewise.
9381 * stdlib/random.c: Likewise.
9382 * sunrpc/rpcsvc/rquota.x: Likewise.
9383 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9384 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9385 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9386 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9387 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9388 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9389 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9390 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9391 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9392 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9393 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9394 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9395 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9396 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9397 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9398 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9399 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9400 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9401 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9402 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9403 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9404 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9405 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9406 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9407 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9408 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9409 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9410 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9411 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9412 * sysdeps/ieee754/s_lib_version.c: Likewise.
9413 * sysdeps/mach/hurd/check_fds.c: Likewise.
9414 * sysdeps/mach/hurd/getsockname.c: Likewise.
9415 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9416 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9417 * sysdeps/powerpc/bits/link.h: Likewise.
9418 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9419 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9420 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9421 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9422 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9423 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9424 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9425 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9426 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9427 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9428 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9429 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9430 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9431 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9432 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9433 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9434 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9435 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9436 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9437 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9438 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9439 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9440 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9441 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9442 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9443 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9444 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9445 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9446 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9447 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9448 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9449 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9450 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9451 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9452 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9453 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9454 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9455 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9456 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9457 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9458 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9459 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9460 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9461 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9462 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9463 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9464 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9465 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9466 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9467 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9468 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9469 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9470 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9471 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9472 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9473 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9474 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9475 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9476 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9477 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9478 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9479 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9480 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9481 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9482 * sysdeps/powerpc/sysdep.h: Likewise.
9483 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9484 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9485 * sysdeps/sh/dl-trampoline.S: Likewise.
9486 * sysdeps/sh/memset.S: Likewise.
9487 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9488 * sysdeps/sh/strlen.S: Likewise.
9489 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9490 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9491 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9492 * sysdeps/sparc/sparc32/rem.S: Likewise.
9493 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9494 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9495 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9496 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9497 * sysdeps/sparc/sparc32/urem.S: Likewise.
9498 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9499 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9500 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9501 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9502 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9503 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9504 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9505 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9506 * sysdeps/unix/bsd/times.c: Likewise.
9507 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9508 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9512 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9513 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9514 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9515 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9516 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9517 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9518 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9519 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9520 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9521 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9522 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9523 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9524 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9525 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9526 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9527 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9528 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9529 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9530 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9531 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9532 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9533 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9534 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9535 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9536 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9537 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9538 * sysdeps/x86_64/strcspn.S: Likewise.
9540 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9542 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9543 generated file. Regenerate properly from gen-translit.pl.
9544 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9545 locale/C-translit.h.
9547 2013-06-05 Andreas Schwab <schwab@suse.de>
9550 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9551 week as 6 instead of -1.
9552 * time/tst-strptime.c (day_tests): Add test case.
9554 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9556 * sysdeps/generic/math_private.h
9557 (libc_feholdexcept_setround_53bit): Replace with
9558 libc_feholdsetround_53bit.
9559 (libc_feupdateenv_53bit): Replace with
9560 libc_feresetround_53bit.
9561 (SET_RESTORE_ROUND_53BIT): Adjust.
9563 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9565 * string/test-strchrnul.c: Add copyright header.
9567 * posix/tst-getaddrinfo4.c: Increase test timeout.
9569 2013-06-03 Carlos O'Donell <carlos@redhat.com>
9572 * math/libm-test.inc (MAX_EXP): Remove
9574 (ulp): Use MIN_EXP - MANT_DIG.
9575 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9577 2013-05-31 Carlos O'Donell <carlos@redhat.com>
9579 * po/be.po: Revert last change.
9580 * po/zh_CN.po: Likewise.
9581 * po/header.pot: Likewise.
9583 2013-05-31 Joseph Myers <joseph@codesourcery.com>
9585 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9586 link-libc-deps to empty as target-specific variable.
9587 * Makerules (link-libc-args): New variable.
9588 (libc-for-link): Likewise.
9589 (link-libc-deps): Likewise.
9590 (lib%.so): Depend on $(link-libc-deps). Link with
9592 (build-module): Link with $(link-libc-args).
9593 (build-module-asneeded): Likewise.
9594 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9596 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9597 target-specific variable.
9598 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9599 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9600 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9602 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9604 ($(objpfx)libpcprofile.so): Likewise.
9605 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9607 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9608 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9609 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9611 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9612 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9613 * login/Makefile ($(objpfx)libutil.so): Likewise.
9614 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9615 * math/Makefile ($(objpfx)libm.so): Likewise.
9616 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9617 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9618 variable instead of depending directly on libc.
9619 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9620 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9622 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9624 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9625 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9626 ($(objpfx)libanl.so): Likewise.
9627 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9629 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9631 * sysdeps/i386/fpu/Makefile: Remove file.
9632 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9633 ($(objpfx)libm.so): Remove dependency on ld.so.
9635 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
9638 * nis/yp_xdr.c (XDRMAXNAME): Define.
9639 (XDRMAXRECORD): Define.
9640 (xdr_domainname): Use XDRMAXNAME.
9641 (xdr_mapname): Likewise.
9642 (xdr_peername): Likewise.
9643 (xdr_keydat): Use XDRMAXRECORD.
9644 (xdr_valdat): Likewise.
9646 2013-05-30 Jeff Law <law@redhat.com>
9649 * manual/errno.texi (ESTALE): Update to account for more than
9650 just NFS file systems.
9651 * sysdeps/gnu/errlist.c: Regenerated.
9653 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9656 * elf/Makefile (tests): Add tst-null-argv.
9657 (modules-names): Add tst-null-argv-lib.
9658 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9659 (tst-null-argv-ENV): Set environment for tst-null-argv.
9660 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9661 (RTLD_PROGNAME): New macro.
9662 * elf/tst-null-argv.c: New test case.
9663 * elf/tst-null-argv-lib.c: Library for test case.
9664 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9665 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9666 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9667 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9668 * elf/dl-init.c (call_init): Likewise.
9669 (_dl_init): Likewise.
9670 * elf/dl-load.c (print_search_path): Likewise.
9671 (_dl_map_object): Likewise.
9672 * elf/dl-lookup.c (do_lookup_x): Likewise.
9673 (add_dependency): Likewise.
9674 (_dl_lookup_symbol_x): Likewise.
9675 (_dl_debug_bindings): Likewise.
9676 * elf/dl-open.c (_dl_show_scope): Likewise.
9677 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9678 * elf/dl-version.c (match_symbol): Likewise.
9679 (_dl_check_map_versions): Likewise.
9680 * elf/rtld.c (dl_main): Likewise.
9681 (print_unresolved): Use RTLD_PROGNAME.
9682 (print_missing_version): Likewise.
9683 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9684 (elf_machine_rela): Likewise.
9685 * sysdeps/powerpc/powerpc32/dl-machine.c
9686 (__process_machine_rela): Likewise.
9687 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9689 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9691 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9693 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9694 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9696 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9698 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9700 2013-05-28 Carlos O'Donell <carlos@redhat.com>
9702 * po/be.po: Add descriptive title.
9703 * po/zh_CN.po: Likewise.
9704 * po/header.pot: Likewise.
9706 2013-05-28 Mike Frysinger <vapier@gentoo.org>
9708 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9710 (enlarge_archive): Likewise.
9712 2013-05-28 Ben North <ben@redfrontdoor.org>
9714 * manual/arith.texi (frexp): It is the magnitude of the return
9715 value which lies in [0.5, 1), not the return value itself.
9717 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9721 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9723 * stdio-common/bug26.c (main): Correct fscanf template.
9725 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9726 declare _dl_skip_args.
9728 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9731 * manual/platform.texi: Add missing @end deftypefun.
9733 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9736 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9737 bit of mantissa of 2^16382.
9738 * math/libm-test.inc (hypot_test_data): Add more tests.
9740 * math/libm-test.inc: Add drem and pow10 to list of tested
9742 (pow10_test): New function.
9743 (drem_test): Likewise.
9744 (drem_test_tonearest): Likewise.
9745 (drem_test_towardzero): Likewise.
9746 (drem_test_downward): Likewise.
9747 (drem_test_upward): Likewise.
9748 (main): Call the new functions.
9750 * math/libm-test.inc (finite_test_data): Remove.
9751 (finite_test): Run tests from isfinite_test_data.
9752 (gamma_test_data): Remove.
9753 (gamma_test): Run tests from lgamma_test_data.
9754 * sysdeps/i386/fpu/libm-test-ulps: Update.
9755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9757 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9759 * manual/platform.texi: Add PowerPC PPR function set documentation.
9760 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9763 2013-05-24 Carlos O'Donell <carlos@redhat.com>
9765 * math/libm-test.inc (MAX_EXP): Define.
9767 (ulp): New function.
9768 (check_float_internal): Use ULPDIFF.
9769 (cpow_test): Disable failing test.
9770 (check_ulp): Test ulp() implemetnation.
9771 (main): Call check_ulp before starting tests.
9773 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9775 * math/gen-libm-test.pl (generate_testfile): Do not handle
9776 START_DATA and END_DATA.
9777 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9779 (acos_tonearest_test_data): Likewise.
9780 (acos_towardzero_test_data): Likewise.
9781 (acos_downward_test_data): Likewise.
9782 (acos_upward_test_data): Likewise.
9783 (acosh_test_data): Likewise.
9784 (asin_test_data): Likewise.
9785 (asin_tonearest_test_data): Likewise.
9786 (asin_towardzero_test_data): Likewise.
9787 (asin_downward_test_data): Likewise.
9788 (asin_upward_test_data): Likewise.
9789 (asinh_test_data): Likewise.
9790 (atan_test_data): Likewise.
9791 (atanh_test_data): Likewise.
9792 (atan2_test_data): Likewise.
9793 (cabs_test_data): Likewise.
9794 (cacos_test_data): Likewise.
9795 (cacosh_test_data): Likewise.
9796 (carg_test_data): Likewise.
9797 (casin_test_data): Likewise.
9798 (casinh_test_data): Likewise.
9799 (catan_test_data): Likewise.
9800 (catanh_test_data): Likewise.
9801 (cbrt_test_data): Likewise.
9802 (ccos_test_data): Likewise.
9803 (ccosh_test_data): Likewise.
9804 (ceil_test_data): Likewise.
9805 (cexp_test_data): Likewise.
9806 (cimag_test_data): Likewise.
9807 (clog_test_data): Likewise.
9808 (clog10_test_data): Likewise.
9809 (conj_test_data): Likewise.
9810 (copysign_test_data): Likewise.
9811 (cos_test_data): Likewise.
9812 (cos_tonearest_test_data): Likewise.
9813 (cos_towardzero_test_data): Likewise.
9814 (cos_downward_test_data): Likewise.
9815 (cos_upward_test_data): Likewise.
9816 (cosh_test_data): Likewise.
9817 (cosh_tonearest_test_data): Likewise.
9818 (cosh_towardzero_test_data): Likewise.
9819 (cosh_downward_test_data): Likewise.
9820 (cosh_upward_test_data): Likewise.
9821 (cpow_test_data): Likewise.
9822 (cproj_test_data): Likewise.
9823 (creal_test_data): Likewise.
9824 (csin_test_data): Likewise.
9825 (csinh_test_data): Likewise.
9826 (csqrt_test_data): Likewise.
9827 (ctan_test_data): Likewise.
9828 (ctan_tonearest_test_data): Likewise.
9829 (ctan_towardzero_test_data): Likewise.
9830 (ctan_downward_test_data): Likewise.
9831 (ctan_upward_test_data): Likewise.
9832 (ctanh_test_data): Likewise.
9833 (ctanh_tonearest_test_data): Likewise.
9834 (ctanh_towardzero_test_data): Likewise.
9835 (ctanh_downward_test_data): Likewise.
9836 (ctanh_upward_test_data): Likewise.
9837 (erf_test_data): Likewise.
9838 (erfc_test_data): Likewise.
9839 (exp_test_data): Likewise.
9840 (exp_tonearest_test_data): Likewise.
9841 (exp_towardzero_test_data): Likewise.
9842 (exp_downward_test_data): Likewise.
9843 (exp_upward_test_data): Likewise.
9844 (exp10_test_data): Likewise.
9845 (exp2_test_data): Likewise.
9846 (expm1_test_data): Likewise.
9847 (fabs_test_data): Likewise.
9848 (fdim_test_data): Likewise.
9849 (finite_test_data): Likewise.
9850 (floor_test_data): Likewise.
9851 (fma_test_data): Likewise.
9852 (fma_towardzero_test_data): Likewise.
9853 (fma_downward_test_data): Likewise.
9854 (fma_upward_test_data): Likewise.
9855 (fmax_test_data): Likewise.
9856 (fmin_test_data): Likewise.
9857 (fmod_test_data): Likewise.
9858 (fpclassify_test_data): Likewise.
9859 (frexp_test_data): Likewise.
9860 (gamma_test_data): Likewise.
9861 (hypot_test_data): Likewise.
9862 (ilogb_test_data): Likewise.
9863 (isfinite_test_data): Likewise.
9864 (isgreater_test_data): Likewise.
9865 (isgreaterequal_test_data): Likewise.
9866 (isinf_test_data): Likewise.
9867 (isless_test_data): Likewise.
9868 (islessequal_test_data): Likewise.
9869 (islessgreater_test_data): Likewise.
9870 (isnan_test_data): Likewise.
9871 (isnormal_test_data): Likewise.
9872 (issignaling_test_data): Likewise.
9873 (isunordered_test_data): Likewise.
9874 (j0_test_data): Likewise.
9875 (j1_test_data): Likewise.
9876 (jn_test_data): Likewise.
9877 (ldexp_test_data): Likewise.
9878 (lgamma_test_data): Likewise.
9879 (lrint_test_data): Likewise.
9880 (lrint_tonearest_test_data): Likewise.
9881 (lrint_towardzero_test_data): Likewise.
9882 (lrint_downward_test_data): Likewise.
9883 (lrint_upward_test_data): Likewise.
9884 (llrint_test_data): Likewise.
9885 (llrint_tonearest_test_data): Likewise.
9886 (llrint_towardzero_test_data): Likewise.
9887 (llrint_downward_test_data): Likewise.
9888 (llrint_upward_test_data): Likewise.
9889 (log_test_data): Likewise.
9890 (log10_test_data): Likewise.
9891 (log1p_test_data): Likewise.
9892 (log2_test_data): Likewise.
9893 (logb_test_data): Likewise.
9894 (logb_downward_test_data): Likewise.
9895 (lround_test_data): Likewise.
9896 (llround_test_data): Likewise.
9897 (modf_test_data): Likewise.
9898 (nearbyint_test_data): Likewise.
9899 (nextafter_test_data): Likewise.
9900 (nexttoward_test_data): Likewise.
9901 (pow_test_data): Likewise.
9902 (pow_tonearest_test_data): Likewise.
9903 (pow_towardzero_test_data): Likewise.
9904 (pow_downward_test_data): Likewise.
9905 (pow_upward_test_data): Likewise.
9906 (remainder_test_data): Likewise.
9907 (remainder_tonearest_test_data): Likewise.
9908 (remainder_towardzero_test_data): Likewise.
9909 (remainder_downward_test_data): Likewise.
9910 (remainder_upward_test_data): Likewise.
9911 (remquo_test_data): Likewise.
9912 (rint_test_data): Likewise.
9913 (rint_tonearest_test_data): Likewise.
9914 (rint_towardzero_test_data): Likewise.
9915 (rint_downward_test_data): Likewise.
9916 (rint_upward_test_data): Likewise.
9917 (round_test_data): Likewise.
9918 (scalb_test_data): Likewise.
9919 (scalbn_test_data): Likewise.
9920 (scalbln_test_data): Likewise.
9921 (signbit_test_data): Likewise.
9922 (sin_test_data): Likewise.
9923 (sin_tonearest_test_data): Likewise.
9924 (sin_towardzero_test_data): Likewise.
9925 (sin_downward_test_data): Likewise.
9926 (sin_upward_test_data): Likewise.
9927 (sincos_test_data): Likewise.
9928 (sinh_test_data): Likewise.
9929 (sinh_tonearest_test_data): Likewise.
9930 (sinh_towardzero_test_data): Likewise.
9931 (sinh_downward_test_data): Likewise.
9932 (sinh_upward_test_data): Likewise.
9933 (sqrt_test_data): Likewise.
9934 (tan_test_data): Likewise.
9935 (tan_tonearest_test_data): Likewise.
9936 (tan_towardzero_test_data): Likewise.
9937 (tan_downward_test_data): Likewise.
9938 (tan_upward_test_data): Likewise.
9939 (tanh_test_data): Likewise.
9940 (tgamma_test_data): Likewise.
9941 (trunc_test_data): Likewise.
9942 (y0_test_data): Likewise.
9943 (y1_test_data): Likewise.
9944 (yn_test_data): Likewise.
9945 (significand_test_data): Likewise.
9947 * math/gen-libm-test.pl (@functions): Remove variable.
9948 (generate_testfile): Don't handle START and END lines.
9949 * math/libm-test.inc (START): New macro.
9951 (END_COMPLEX): Likewise.
9952 (acos_test): Use END macro without arguments.
9953 (acos_test_tonearest): Likewise.
9954 (acos_test_towardzero): Likewise.
9955 (acos_test_downward): Likewise.
9956 (acos_test_upward): Likewise.
9957 (acosh_test): Likewise.
9958 (asin_test): Likewise.
9959 (asin_test_tonearest): Likewise.
9960 (asin_test_towardzero): Likewise.
9961 (asin_test_downward): Likewise.
9962 (asin_test_upward): Likewise.
9963 (asinh_test): Likewise.
9964 (atan_test): Likewise.
9965 (atanh_test): Likewise.
9966 (atan2_test): Likewise.
9967 (cabs_test): Likewise.
9968 (cacos_test): Use END_COMPLEX macro without arguments.
9969 (cacosh_test): Likewise.
9970 (carg_test): Use END macro without arguments.
9971 (casin_test): Use END_COMPLEX macro without arguments.
9972 (casinh_test): Likewise.
9973 (catan_test): Likewise.
9974 (catanh_test): Likewise.
9975 (cbrt_test): Use END macro without arguments.
9976 (ccos_test): Use END_COMPLEX macro without arguments.
9977 (ccosh_test): Likewise.
9978 (ceil_test): Use END macro without arguments.
9979 (cexp_test): Use END_COMPLEX macro without arguments.
9980 (cimag_test): Use END macro without arguments.
9981 (clog_test): Use END_COMPLEX macro without arguments.
9982 (clog10_test): Likewise.
9983 (conj_test): Likewise.
9984 (copysign_test): Use END macro without arguments.
9985 (cos_test): Likewise.
9986 (cos_test_tonearest): Likewise.
9987 (cos_test_towardzero): Likewise.
9988 (cos_test_downward): Likewise.
9989 (cos_test_upward): Likewise.
9990 (cosh_test): Likewise.
9991 (cosh_test_tonearest): Likewise.
9992 (cosh_test_towardzero): Likewise.
9993 (cosh_test_downward): Likewise.
9994 (cosh_test_upward): Likewise.
9995 (cpow_test): Use END_COMPLEX macro without arguments.
9996 (cproj_test): Likewise.
9997 (creal_test): Use END macro without arguments.
9998 (csin_test): Use END_COMPLEX macro without arguments.
9999 (csinh_test): Likewise.
10000 (csqrt_test): Likewise.
10001 (ctan_test): Likewise.
10002 (ctan_test_tonearest): Likewise.
10003 (ctan_test_towardzero): Likewise.
10004 (ctan_test_downward): Likewise.
10005 (ctan_test_upward): Likewise.
10006 (ctanh_test): Likewise.
10007 (ctanh_test_tonearest): Likewise.
10008 (ctanh_test_towardzero): Likewise.
10009 (ctanh_test_downward): Likewise.
10010 (ctanh_test_upward): Likewise.
10011 (erf_test): Use END macro without arguments.
10012 (erfc_test): Likewise.
10013 (exp_test): Likewise.
10014 (exp_test_tonearest): Likewise.
10015 (exp_test_towardzero): Likewise.
10016 (exp_test_downward): Likewise.
10017 (exp_test_upward): Likewise.
10018 (exp10_test): Likewise.
10019 (exp2_test): Likewise.
10020 (expm1_test): Likewise.
10021 (fabs_test): Likewise.
10022 (fdim_test): Likewise.
10023 (finite_test): Likewise.
10024 (floor_test): Likewise.
10025 (fma_test): Likewise.
10026 (fma_test_towardzero): Likewise.
10027 (fma_test_downward): Likewise.
10028 (fma_test_upward): Likewise.
10029 (fmax_test): Likewise.
10030 (fmin_test): Likewise.
10031 (fmod_test): Likewise.
10032 (fpclassify_test): Likewise.
10033 (frexp_test): Likewise.
10034 (gamma_test): Likewise.
10035 (hypot_test): Likewise.
10036 (ilogb_test): Likewise.
10037 (isfinite_test): Likewise.
10038 (isgreater_test): Likewise.
10039 (isgreaterequal_test): Likewise.
10040 (isinf_test): Likewise.
10041 (isless_test): Likewise.
10042 (islessequal_test): Likewise.
10043 (islessgreater_test): Likewise.
10044 (isnan_test): Likewise.
10045 (isnormal_test): Likewise.
10046 (issignaling_test): Likewise.
10047 (isunordered_test): Likewise.
10048 (j0_test): Likewise.
10049 (j1_test): Likewise.
10050 (jn_test): Likewise.
10051 (ldexp_test): Likewise.
10052 (lgamma_test): Likewise.
10053 (lrint_test): Likewise.
10054 (lrint_test_tonearest): Likewise.
10055 (lrint_test_towardzero): Likewise.
10056 (lrint_test_downward): Likewise.
10057 (lrint_test_upward): Likewise.
10058 (llrint_test): Likewise.
10059 (llrint_test_tonearest): Likewise.
10060 (llrint_test_towardzero): Likewise.
10061 (llrint_test_downward): Likewise.
10062 (llrint_test_upward): Likewise.
10063 (log_test): Likewise.
10064 (log10_test): Likewise.
10065 (log1p_test): Likewise.
10066 (log2_test): Likewise.
10067 (logb_test): Likewise.
10068 (logb_test_downward): Likewise.
10069 (lround_test): Likewise.
10070 (llround_test): Likewise.
10071 (modf_test): Likewise.
10072 (nearbyint_test): Likewise.
10073 (nextafter_test): Likewise.
10074 (nexttoward_test): Likewise.
10075 (pow_test): Likewise.
10076 (pow_test_tonearest): Likewise.
10077 (pow_test_towardzero): Likewise.
10078 (pow_test_downward): Likewise.
10079 (pow_test_upward): Likewise.
10080 (remainder_test): Likewise.
10081 (remainder_test_tonearest): Likewise.
10082 (remainder_test_towardzero): Likewise.
10083 (remainder_test_downward): Likewise.
10084 (remainder_test_upward): Likewise.
10085 (remquo_test): Likewise.
10086 (rint_test): Likewise.
10087 (rint_test_tonearest): Likewise.
10088 (rint_test_towardzero): Likewise.
10089 (rint_test_downward): Likewise.
10090 (rint_test_upward): Likewise.
10091 (round_test): Likewise.
10092 (scalb_test): Likewise.
10093 (scalbn_test): Likewise.
10094 (scalbln_test): Likewise.
10095 (signbit_test): Likewise.
10096 (sin_test): Likewise.
10097 (sin_test_tonearest): Likewise.
10098 (sin_test_towardzero): Likewise.
10099 (sin_test_downward): Likewise.
10100 (sin_test_upward): Likewise.
10101 (sincos_test): Likewise.
10102 (sinh_test): Likewise.
10103 (sinh_test_tonearest): Likewise.
10104 (sinh_test_towardzero): Likewise.
10105 (sinh_test_downward): Likewise.
10106 (sinh_test_upward): Likewise.
10107 (sqrt_test): Likewise.
10108 (tan_test): Likewise.
10109 (tan_test_tonearest): Likewise.
10110 (tan_test_towardzero): Likewise.
10111 (tan_test_downward): Likewise.
10112 (tan_test_upward): Likewise.
10113 (tanh_test): Likewise.
10114 (tgamma_test): Likewise.
10115 (trunc_test): Likewise.
10116 (y0_test): Likewise.
10117 (y1_test): Likewise.
10118 (yn_test): Likewise.
10119 (significand_test): Likewise.
10121 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
10124 * libio/genops.c (_IO_no_init): Initialize wide struct info.
10126 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
10129 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10130 __ppc_mdoio and __ppc_mdoom.
10131 * manual/platform.texi: Document new functions __ppc_yield,
10132 __ppc_mdoio and __ppc_mdoom.
10134 2013-05-22 Carlos O'Donell <carlos@redhat.com>
10136 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10137 (main): Mention "tls" pseudo-hwcap is legacy.
10138 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10140 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10142 * math/gen-libm-test.pl (parse_args): Output only string of
10143 arguments as text for test name, not full call or descriptions of
10144 tests for extra outputs.
10145 (generate_testfile): Do not pass function name to parse_args.
10146 Generate this_func variable from START.
10147 * math/libm-test.inc (struct test_f_f_data): Rename test_name
10149 (struct test_ff_f_data): Likewise.
10150 (test_ff_f_data_nexttoward): Likewise.
10151 (struct test_fi_f_data): Likewise.
10152 (struct test_fl_f_data): Likewise.
10153 (struct test_if_f_data): Likewise.
10154 (struct test_fff_f_data): Likewise.
10155 (struct test_c_f_data): Likewise.
10156 (struct test_f_f1_data): Likewise. Remove field extra_name.
10157 (struct test_fF_f1_data): Likewise.
10158 (struct test_ffI_f1_data): Likewise.
10159 (struct test_c_c_data): Rename test_name field to arg_str.
10160 (struct test_cc_c_data): Likewise.
10161 (struct test_f_i_data): Likewise.
10162 (struct test_ff_i_data): Likewise.
10163 (struct test_f_l_data): Likewise.
10164 (struct test_f_L_data): Likewise.
10165 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
10167 (COMMON_TEST_SETUP): New macro.
10168 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10169 (COMMON_TEST_CLEANUP): Likewise.
10170 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10171 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
10173 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10174 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
10176 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10177 (RUN_TEST_fff_f): Take argument string. Call new setup and
10179 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10180 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10182 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10183 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10185 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10186 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10188 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10189 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10191 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10192 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10194 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10195 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10197 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10198 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10200 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10201 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10203 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10204 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10206 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10207 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10209 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10210 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10212 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10213 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10215 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10216 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10218 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10219 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10221 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10222 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10224 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10226 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10228 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10229 to _sifields.sigfault.
10230 (si_addr_lsb): Define new macro.
10231 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10232 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10233 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10235 2013-05-03 Carlos O'Donell <carlos at redhat.com>
10238 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10240 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10242 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10243 loading the domain.
10245 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10247 * math/gen-libm-test.pl (parse_args): Do not include expected
10248 result in test name.
10249 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10250 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10251 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10252 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10253 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10256 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10258 * benchtests/Makefile: Sort function entries.
10260 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10261 tanh, asinh, acosh, atanh.
10262 * benchtests/acos-inputs: New file.
10263 * benchtests/acosh-inputs: New file.
10264 * benchtests/asin-inputs: New file.
10265 * benchtests/asinh-inputs: New file.
10266 * benchtests/atanh-inputs: New file.
10267 * benchtests/cosh-inputs: New file.
10268 * benchtests/log-inputs: New file.
10269 * benchtests/sinh-inputs: New file.
10270 * benchtests/tanh-inputs: New file.
10272 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10275 * posix/tst-getaddrinfo4.c: New test.
10276 * posix/Makefile (tests): Add it.
10278 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10281 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10282 when no services were used.
10283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10284 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10286 2013-05-21 Andreas Schwab <schwab@suse.de>
10289 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10290 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10292 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10293 redundant variable declarations and reallocation of buffer when
10294 parsing as IPv6 address. Always set NSS status when called from
10295 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10296 buffer too small. Correct computation of needed size.
10297 * nss/Makefile (tests): Add test-digits-dots.
10298 * nss/test-digits-dots.c: New test.
10300 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10302 * benchtests/Makefile: Remove instructions for adding
10304 * benchtests/README: New file to explain how to execute and
10305 enhance the benchmark tests.
10307 2013-05-21 Andreas Schwab <schwab@suse.de>
10310 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10311 * setjmp/tst-sigsetjmp.c: New test.
10313 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10315 * sysdeps/x86_64/memset.S (memset): New implementation.
10316 (__bzero): Likewise.
10317 (__memset_tail): New function.
10319 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10321 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10322 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10323 __memcpy_sse2_unaligned ifunc selection.
10324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10325 Add memcpy-sse2-unaligned.S.
10326 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10327 Add: __memcpy_sse2_unaligned.
10329 2013-05-19 Joseph Myers <joseph@codesourcery.com>
10332 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10333 math_force_eval before restoring floating-point envrionment.
10334 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10335 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10337 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10339 (__nearbyintl): Use math_force_eval before restoring
10340 floating-point environment.
10341 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10343 * math/gen-libm-test.pl (special_functions): Remove.
10344 (parse_args): Don't handle TEST_extra. Handle functions with no
10346 * math/libm-test.inc (struct test_sincos_data): Replace with
10347 struct test_fFF_11_data.
10348 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10349 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10350 (sincos_test_data): Change element type to struct
10351 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10352 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10353 RUN_TEST_LOOP_sincos.
10354 * math/README.libm-test: Don't mention special handling of
10355 individual functions.
10356 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10357 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10358 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10359 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10360 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10363 * math/gen-libm-test.pl (get_variable): Remove function.
10364 (parse_args): Don't show pointer parameters to call in test
10365 names. Use "extra output N" in test names for extra outputs
10366 rather than naming variables.
10368 2013-05-18 Joseph Myers <joseph@codesourcery.com>
10371 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10372 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10373 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10375 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10377 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10380 * math/gen-libm-test.pl (@tests): Remove variable.
10381 ($count): Likewise.
10382 (new_test): Remove function.
10383 (show_exceptions): New function.
10384 (special_functions): Use show_exceptions instead of new_test.
10385 (parse_args): Likewise.
10386 (generate_testfile): Pass only function name in generated call to
10387 print_max_error or print_complex_max_error.
10388 (get_ulps): Do not handle complex tests specially.
10389 (output_test): Rename to ...
10390 (get_all_ulps_for_test): ... this. Return a string rather than
10391 printing to a file. Require ulps to be present.
10392 (output_ulps): Generate arrays rather than #defines.
10393 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10394 (struct ulp_data): New type.
10395 (BUILD_COMPLEX_ULP): Remove macro.
10396 (compare_ulp_data): New function.
10397 (find_ulps): Likewise.
10398 (find_test_ulps): Likewise.
10399 (find_function_ulps): Likewise.
10400 (find_complex_function_ulps): Likewise.
10401 (print_max_error): Determine allowed ulps using
10402 find_function_ulps.
10403 (print_complex_max_error): Determine allowed ulps using
10404 find_complex_function_ulps.
10405 (check_float_internal): Determine max ulps using find_test_ulps.
10406 (check_float): Do not take max_ulp parameter. Update call to
10407 check_float_internal.
10408 (check_complex): Likewise.
10409 (check_int): Do not take max_ulp parameter.
10410 (check_long): Likewise.
10411 (check_bool): Likewise.
10412 (check_longlong): Likewise.
10413 (struct test_f_f_data): Remove max_ulp field.
10414 (struct test_ff_f_data): Likewise.
10415 (struct test_ff_f_data_nexttoward): Likewise.
10416 (struct test_fi_f_data): Likewise.
10417 (struct test_fl_f_data): Likewise.
10418 (struct test_if_f_data): Likewise.
10419 (struct test_fff_f_data): Likewise.
10420 (struct test_c_f_data): Likewise.
10421 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10422 (struct test_fF_f1_data): Likewise.
10423 (struct test_ffI_f1_data): Likewise.
10424 (struct test_c_c_data): Remove max_ulp field.
10425 (struct test_cc_c_data): Likewise.
10426 (struct test_f_i_data): Likewise.
10427 (struct test_ff_i_data): Likewise.
10428 (struct test_f_l_data): Likewise.
10429 (struct test_f_L_data): Likewise.
10430 (struct test_sincos_data): Likewise.
10431 (RUN_TEST_f_f): Do not handle ulps.
10432 (RUN_TEST_LOOP_f_f): Likewise.
10433 (RUN_TEST_2_f): Likewise.
10434 (RUN_TEST_LOOP_2_f): Likewise.
10435 (RUN_TEST_fff_f): Likewise.
10436 (RUN_TEST_LOOP_fff_f): Likewise.
10437 (RUN_TEST_c_f): Likewise.
10438 (RUN_TEST_LOOP_c_f): Likewise.
10439 (RUN_TEST_f_f1): Likewise.
10440 (RUN_TEST_LOOP_f_f1): Likewise.
10441 (RUN_TEST_fF_f1): Likewise.
10442 (RUN_TEST_LOOP_fF_f1): Likewise.
10443 (RUN_TEST_fI_f1): Likewise.
10444 (RUN_TEST_LOOP_fI_f1): Likewise.
10445 (RUN_TEST_ffI_f1): Likewise.
10446 (RUN_TEST_LOOP_ffI_f1): Likewise.
10447 (RUN_TEST_c_c): Likewise.
10448 (RUN_TEST_LOOP_c_c): Likewise.
10449 (RUN_TEST_cc_c): Likewise.
10450 (RUN_TEST_LOOP_cc_c): Likewise.
10451 (RUN_TEST_f_i): Likewise.
10452 (RUN_TEST_LOOP_f_i): Likewise.
10453 (RUN_TEST_f_i_tg): Likewise.
10454 (RUN_TEST_LOOP_f_i_tg): Likewise.
10455 (RUN_TEST_ff_i_tg): Likewise.
10456 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10457 (RUN_TEST_f_b): Likewise.
10458 (RUN_TEST_LOOP_f_b): Likewise.
10459 (RUN_TEST_f_b_tg): Likewise.
10460 (RUN_TEST_LOOP_f_b_tg): Likewise.
10461 (RUN_TEST_f_l): Likewise.
10462 (RUN_TEST_LOOP_f_l): Likewise.
10463 (RUN_TEST_f_L): Likewise.
10464 (RUN_TEST_LOOP_f_L): Likewise.
10465 (RUN_TEST_sincos): Likewise.
10466 (RUN_TEST_LOOP_sincos): Likewise.
10468 2013-05-17 Joseph Myers <joseph@codesourcery.com>
10472 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10473 main case of finite arguments, set rounding mode to FE_TONEAREST
10474 and discard exceptions.
10475 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10477 (remainder_tonearest_test_data): New variable.
10478 (remainder_test_tonearest): New function.
10479 (remainder_towardzero_test_data): New variable.
10480 (remainder_test_towardzero): New function.
10481 (remainder_downward_test_data): New variable.
10482 (remainder_test_downward): New function.
10483 (remainder_upward_test_data): New variable.
10484 (remainder_test_upward): New function.
10485 (main): Call the new test functions.
10487 * math/libm-test.inc (struct test_f_f1_data): Remove field
10489 (struct test_fF_f1_data): Likewise.
10490 (struct test_ffI_f1_data): Likewise.
10491 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10492 based on value of EXTRA_EXPECTED.
10493 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10494 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10495 EXTRA_VAR based on value of EXTRA_EXPECTED.
10496 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10497 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10498 EXTRA_VAR based on value of EXTRA_EXPECTED.
10499 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10500 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10501 EXTRA_VAR based on value of EXTRA_EXPECTED.
10502 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10503 * math/gen-libm-test.pl (parse_args): Don't output initializers
10504 for extra output values.
10506 * math/libm-test.inc (check_int): Expect result to be exactly
10507 equal to expected value and do not handle ulps.
10508 (check_long): Likewise.
10509 (check_longlong): Likewise.
10511 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10513 (cimag_test_data): Likewise.
10514 (conj_test_data): Likewise.
10515 (copysign_test_data): Likewise.
10516 (cproj_test_data): Likewise.
10517 (creal_test_data): Likewise.
10518 (fabs_test_data): Likewise.
10519 (fdim_test_data): Likewise.
10520 (finite_test_data): Likewise.
10521 (floor_test_data): Likewise.
10522 (fmax_test_data): Likewise.
10523 (fmin_test_data): Likewise.
10524 (fmod_test_data): Likewise.
10525 (fpclassify_test_data): Likewise.
10526 (frexp_test_data): Likewise.
10527 (ilogb_test_data): Likewise.
10528 (isfinite_test_data): Likewise.
10529 (isgreater_test_data): Likewise.
10530 (isgreaterequal_test_data): Likewise.
10531 (isinf_test_data): Likewise.
10532 (isless_test_data): Likewise.
10533 (islessequal_test_data): Likewise.
10534 (islessgreater_test_data): Likewise.
10535 (isnan_test_data): Likewise.
10536 (isnormal_test_data): Likewise.
10537 (issignaling_test_data): Likewise.
10538 (isunordered_test_data): Likewise.
10539 (ldexp_test_data): Likewise.
10540 (lrint_test_data): Likewise.
10541 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10542 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10543 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10544 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10545 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10546 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10548 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10549 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10550 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10551 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10553 (lrint_downward_test_data): Test for "inexact" exceptions.
10554 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10555 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10556 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10558 (lrint_upward_test_data): Test for "inexact" exceptions.
10559 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10561 (llrint_test_data): Test for "inexact" exceptions.
10562 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10563 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10564 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10565 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10566 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10567 (llrint_downward_test_data): Test for "inexact" exceptions.
10568 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10569 (llrint_upward_test_data): Test for "inexact" exceptions.
10570 (logb_test_data): Likewise.
10571 (logb_downward_test_data): Likewise.
10572 (nextafter_test_data): Likewise.
10573 (nexttoward_test_data): Likewise.
10574 (remainder_test_data): Likewise.
10575 (remquo_test_data): Likewise.
10576 (scalbn_test_data): Likewise.
10577 (scalbln_test_data): Likewise.
10578 (signbit_test_data): Likewise.
10579 (sqrt_test_data): Likewise.
10580 (significand_test_data): Likewise.
10582 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10585 * benchtests/bench-modf.c (struct args): Mark arg0 as
10587 * scripts/bench.pl: Mark members of struct args as volatile.
10589 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10592 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10593 negative infinity on POWER6 or lower.
10594 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10596 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10599 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10600 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10601 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10602 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10603 (_FP_SETQNAN): New macro.
10604 (_FP_SETQNAN_SEMIRAW): Likewise.
10605 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10606 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10607 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10608 (FP_EXTEND): Use _FP_FRAC_SNANP.
10609 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10610 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10612 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10614 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10617 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10619 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10620 with DIVIDE_BY_ZERO_EXCEPTION.
10621 (gamma_test_data): Likewise.
10622 (lgamma_test_data): Likewise.
10623 (log_test_data): Likewise.
10624 (log10_test_data): Likewise.
10625 (log2_test_data): Likewise.
10626 (tgamma_test_data): Likewise.
10628 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10629 (acos_test_tonearest): Likewise.
10630 (acos_test_towardzero): Likewise.
10631 (acos_test_downward): Likewise.
10632 (acos_test_upward): Likewise.
10633 (acosh_test): Likewise.
10634 (asin_test): Likewise.
10635 (asin_test_tonearest): Likewise.
10636 (asin_test_towardzero): Likewise.
10637 (asin_test_downward): Likewise.
10638 (asin_test_upward): Likewise.
10639 (asinh_test): Likewise.
10640 (atan_test): Likewise.
10641 (atanh_test): Likewise.
10642 (atan2_test): Likewise.
10643 (cabs_test): Likewise.
10644 (cacos_test): Likewise.
10645 (cacosh_test): Likewise.
10646 (casin_test): Likewise.
10647 (casinh_test): Likewise.
10648 (catan_test): Likewise.
10649 (catanh_test): Likewise.
10650 (cbrt_test): Likewise.
10651 (ccos_test): Likewise.
10652 (ccosh_test): Likewise.
10653 (cexp_test): Likewise.
10654 (clog_test): Likewise.
10655 (clog10_test): Likewise.
10656 (cos_test): Likewise.
10657 (cos_test_tonearest): Likewise.
10658 (cos_test_towardzero): Likewise.
10659 (cos_test_downward): Likewise.
10660 (cos_test_upward): Likewise.
10661 (cosh_test): Likewise.
10662 (cosh_test_tonearest): Likewise.
10663 (cosh_test_towardzero): Likewise.
10664 (cosh_test_downward): Likewise.
10665 (cosh_test_upward): Likewise.
10666 (cpow_test): Likewise.
10667 (csin_test): Likewise.
10668 (csinh_test): Likewise.
10669 (csqrt_test): Likewise.
10670 (ctan_test): Likewise.
10671 (ctan_test_tonearest): Likewise.
10672 (ctan_test_towardzero): Likewise.
10673 (ctan_test_downward): Likewise.
10674 (ctan_test_upward): Likewise.
10675 (ctanh_test): Likewise.
10676 (ctanh_test_tonearest): Likewise.
10677 (ctanh_test_towardzero): Likewise.
10678 (ctanh_test_downward): Likewise.
10679 (ctanh_test_upward): Likewise.
10680 (erf_test): Likewise.
10681 (erfc_test): Likewise.
10682 (exp_test): Likewise.
10683 (exp_test_tonearest): Likewise.
10684 (exp_test_towardzero): Likewise.
10685 (exp_test_downward): Likewise.
10686 (exp_test_upward): Likewise.
10687 (exp10_test): Likewise.
10688 (exp2_test): Likewise.
10689 (expm1_test): Likewise.
10690 (fmod_test): Likewise.
10691 (gamma_test): Likewise.
10692 (hypot_test): Likewise.
10693 (j0_test): Likewise.
10694 (j1_test): Likewise.
10695 (jn_test): Likewise.
10696 (lgamma_test): Likewise.
10697 (log_test): Likewise.
10698 (log10_test): Likewise.
10699 (log1p_test): Likewise.
10700 (log2_test): Likewise.
10701 (logb_test_downward): Likewise.
10702 (pow_test): Likewise.
10703 (pow_test_tonearest): Likewise.
10704 (pow_test_towardzero): Likewise.
10705 (pow_test_downward): Likewise.
10706 (pow_test_upward): Likewise.
10707 (remainder_test): Likewise.
10708 (remquo_test): Likewise.
10709 (sin_test): Likewise.
10710 (sin_test_tonearest): Likewise.
10711 (sin_test_towardzero): Likewise.
10712 (sin_test_downward): Likewise.
10713 (sin_test_upward): Likewise.
10714 (sincos_test): Likewise.
10715 (sinh_test): Likewise.
10716 (sinh_test_tonearest): Likewise.
10717 (sinh_test_towardzero): Likewise.
10718 (sinh_test_downward): Likewise.
10719 (sinh_test_upward): Likewise.
10720 (sqrt_test): Likewise.
10721 (tan_test): Likewise.
10722 (tan_test_tonearest): Likewise.
10723 (tan_test_towardzero): Likewise.
10724 (tan_test_downward): Likewise.
10725 (tan_test_upward): Likewise.
10726 (tanh_test): Likewise.
10727 (tgamma_test): Likewise.
10728 (y0_test): Likewise.
10729 (y1_test): Likewise.
10730 (yn_test): Likewise.
10732 * math/gen-libm-test.pl (adjust_arg): Remove function.
10733 (special_function): Remove argument $in_func. Only handle
10734 generating output for tables of tests, not inside functions.
10735 (parse_args): Likewise.
10736 (generate_testfile): Remove variable $in_func. Update call to
10738 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10739 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10740 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10741 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10742 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10743 (MAX_VALUE_INIT): Rename macro to max_value.
10744 (MIN_VALUE_INIT): Rename macro to min_value.
10745 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10746 (plus_zero): Remove variable.
10747 (minus_zero): Likewise.
10748 (plus_infty): Likewise.
10749 (minus_infty): Likewise.
10750 (qnan_value): Likewise.
10751 (max_value): Likewise.
10752 (min_value): Likewise.
10753 (min_subnorm_value): Likewise.
10755 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10757 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10758 uint64_t or uint32_t usage.
10759 * crypt/sha256-block.c: Likewise.
10760 * crypt/sha256-crypt.c: Likewise.
10761 * crypt/sha256.c: Likewise.
10762 * crypt/sha512-block.c: Likewise.
10763 * crypt/sha512-crypt.c: Likewise.
10764 * crypt/sha512.c: Likewise.
10765 * debug/backtrace-tst.c: Likewise.
10766 * debug/pcprofiledump.c: Likewise.
10767 * elf/cache.c: Likewise.
10768 * elf/dl-cache.c: Likewise.
10769 * elf/dl-misc.c: Likewise.
10770 * elf/dl-profile.c: Likewise.
10771 * elf/dl-support.c: Likewise.
10772 * elf/ldconfig.c: Likewise.
10773 * elf/sprof.c: Likewise.
10774 * iconv/dummy-repertoire.c: Likewise.
10775 * iconv/iconv_charmap.c: Likewise.
10776 * iconv/skeleton.c: Likewise.
10777 * iconvdata/8bit-generic.c: Likewise.
10778 * iconvdata/cp737.h: Likewise.
10779 * iconvdata/cp775.h: Likewise.
10780 * iconvdata/ibm1008.h: Likewise.
10781 * iconvdata/ibm1025.h: Likewise.
10782 * iconvdata/ibm1046.h: Likewise.
10783 * iconvdata/ibm1097.h: Likewise.
10784 * iconvdata/ibm1112.h: Likewise.
10785 * iconvdata/ibm1122.h: Likewise.
10786 * iconvdata/ibm1123.h: Likewise.
10787 * iconvdata/ibm1124.h: Likewise.
10788 * iconvdata/ibm1129.h: Likewise.
10789 * iconvdata/ibm1130.h: Likewise.
10790 * iconvdata/ibm1132.h: Likewise.
10791 * iconvdata/ibm1133.h: Likewise.
10792 * iconvdata/ibm1137.h: Likewise.
10793 * iconvdata/ibm1140.h: Likewise.
10794 * iconvdata/ibm1141.h: Likewise.
10795 * iconvdata/ibm1142.h: Likewise.
10796 * iconvdata/ibm1143.h: Likewise.
10797 * iconvdata/ibm1144.h: Likewise.
10798 * iconvdata/ibm1145.h: Likewise.
10799 * iconvdata/ibm1146.h: Likewise.
10800 * iconvdata/ibm1147.h: Likewise.
10801 * iconvdata/ibm1148.h: Likewise.
10802 * iconvdata/ibm1149.h: Likewise.
10803 * iconvdata/ibm1153.h: Likewise.
10804 * iconvdata/ibm1154.h: Likewise.
10805 * iconvdata/ibm1155.h: Likewise.
10806 * iconvdata/ibm1156.h: Likewise.
10807 * iconvdata/ibm1157.h: Likewise.
10808 * iconvdata/ibm1158.h: Likewise.
10809 * iconvdata/ibm1160.h: Likewise.
10810 * iconvdata/ibm1161.h: Likewise.
10811 * iconvdata/ibm1162.h: Likewise.
10812 * iconvdata/ibm1163.h: Likewise.
10813 * iconvdata/ibm1164.h: Likewise.
10814 * iconvdata/ibm1166.h: Likewise.
10815 * iconvdata/ibm1167.h: Likewise.
10816 * iconvdata/ibm12712.h: Likewise.
10817 * iconvdata/ibm1390.h: Likewise.
10818 * iconvdata/ibm1399.h: Likewise.
10819 * iconvdata/ibm16804.h: Likewise.
10820 * iconvdata/ibm4517.h: Likewise.
10821 * iconvdata/ibm4899.h: Likewise.
10822 * iconvdata/ibm4909.h: Likewise.
10823 * iconvdata/ibm4971.h: Likewise.
10824 * iconvdata/ibm5347.h: Likewise.
10825 * iconvdata/ibm803.h: Likewise.
10826 * iconvdata/ibm856.h: Likewise.
10827 * iconvdata/ibm901.h: Likewise.
10828 * iconvdata/ibm902.h: Likewise.
10829 * iconvdata/ibm9030.h: Likewise.
10830 * iconvdata/ibm9066.h: Likewise.
10831 * iconvdata/ibm921.h: Likewise.
10832 * iconvdata/ibm922.h: Likewise.
10833 * iconvdata/ibm9448.h: Likewise.
10834 * iconvdata/isiri-3342.h: Likewise.
10835 * iconvdata/jis0201.h: Likewise.
10836 * include/link.h: Likewise.
10837 * include/netdb.h: Likewise.
10838 * inet/check_native.c: Likewise.
10839 * inet/check_pf.c: Likewise.
10840 * inet/getipv4sourcefilter.c: Likewise.
10841 * inet/getnameinfo.c: Likewise.
10842 * inet/getsourcefilter.c: Likewise.
10843 * inet/htonl.c: Likewise.
10844 * inet/setipv4sourcefilter.c: Likewise.
10845 * inet/setsourcefilter.c: Likewise.
10846 * inet/test-inet6_opt.c: Likewise.
10847 * inet/tst-network.c: Likewise.
10848 * locale/C-collate.c: Likewise.
10849 * locale/C-ctype.c: Likewise.
10850 * locale/C-time.c: Likewise.
10851 * locale/C-translit.h: Likewise.
10852 * locale/loadarchive.c: Likewise.
10853 * locale/programs/3level.h: Likewise.
10854 * locale/programs/charmap.c: Likewise.
10855 * locale/programs/charmap.h: Likewise.
10856 * locale/programs/ld-address.c: Likewise.
10857 * locale/programs/ld-collate.c: Likewise.
10858 * locale/programs/ld-ctype.c: Likewise.
10859 * locale/programs/ld-identification.c: Likewise.
10860 * locale/programs/ld-measurement.c: Likewise.
10861 * locale/programs/ld-messages.c: Likewise.
10862 * locale/programs/ld-monetary.c: Likewise.
10863 * locale/programs/ld-name.c: Likewise.
10864 * locale/programs/ld-numeric.c: Likewise.
10865 * locale/programs/ld-paper.c: Likewise.
10866 * locale/programs/ld-telephone.c: Likewise.
10867 * locale/programs/ld-time.c: Likewise.
10868 * locale/programs/linereader.c: Likewise.
10869 * locale/programs/locale.c: Likewise.
10870 * locale/programs/locarchive.c: Likewise.
10871 * locale/programs/locfile.h: Likewise.
10872 * locale/programs/repertoire.c: Likewise.
10873 * locale/programs/simple-hash.c: Likewise.
10874 * locale/programs/simple-hash.h: Likewise.
10875 * malloc/memusage.c: Likewise.
10876 * malloc/memusagestat.c: Likewise.
10877 * nis/nis_defaults.c: Likewise.
10878 * nis/nis_hash.c: Likewise.
10879 * nis/nis_print.c: Likewise.
10880 * nis/nis_xdr.c: Likewise.
10881 * nscd/connections.c: Likewise.
10882 * nscd/hstcache.c: Likewise.
10883 * nscd/nscd_gethst_r.c: Likewise.
10884 * nscd/nscd_getserv_r.c: Likewise.
10885 * nscd/nscd_helper.c: Likewise.
10886 * nscd/servicescache.c: Likewise.
10887 * nss/makedb.c: Likewise.
10888 * nss/nss_db/db-XXX.c: Likewise.
10889 * nss/nss_db/db-initgroups.c: Likewise.
10890 * nss/nss_db/db-netgrp.c: Likewise.
10891 * nss/nss_files/files-network.c: Likewise.
10892 * nss/nss_files/files-parse.c: Likewise.
10893 * posix/bug-regex5.c: Likewise.
10894 * posix/fnmatch_loop.c: Likewise.
10895 * posix/regcomp.c: Likewise.
10896 * posix/regexec.c: Likewise.
10897 * posix/tst-rfc3484-2.c: Likewise.
10898 * posix/tst-rfc3484-3.c: Likewise.
10899 * posix/tst-rfc3484.c: Likewise.
10900 * resolv/nss_dns/dns-canon.c: Likewise.
10901 * resolv/nss_dns/dns-network.c: Likewise.
10902 * resolv/res_init.c: Likewise.
10903 * resolv/res_mkquery.c: Likewise.
10904 * resolv/tst-aton.c: Likewise.
10905 * stdlib/cxa_atexit.c: Likewise.
10906 * stdlib/cxa_finalize.c: Likewise.
10907 * stdlib/gen-fpioconst.c: Likewise.
10908 * stdlib/strtol_l.c: Likewise.
10909 * string/tst-endian.c: Likewise.
10910 * sunrpc/auth_des.c: Likewise.
10911 * sunrpc/clnt_udp.c: Likewise.
10912 * sunrpc/rtime.c: Likewise.
10913 * sunrpc/svcauth_des.c: Likewise.
10914 * sunrpc/xdr.c: Likewise.
10915 * sunrpc/xdr_intXX_t.c: Likewise.
10916 * sunrpc/xdr_rec.c: Likewise.
10917 * sysdeps/generic/ldconfig.h: Likewise.
10918 * sysdeps/generic/ldsodefs.h: Likewise.
10919 * sysdeps/generic/memusage.h: Likewise.
10920 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10921 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10922 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10923 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10924 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10925 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10926 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10927 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10928 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10929 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10930 * sysdeps/posix/getaddrinfo.c: Likewise.
10931 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10932 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10933 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10934 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10935 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10936 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10937 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10938 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10939 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10940 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10941 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10942 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10943 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10944 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10945 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10946 * sysdeps/x86_64/dl-tls.h: Likewise.
10947 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10948 * time/alt_digit.c: Likewise.
10949 * time/era.c: Likewise.
10950 * wcsmbs/tst-c16c32-1.c: Likewise.
10952 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10954 * math/libm-test.inc (struct test_sincos_data): New type.
10955 (RUN_TEST_LOOP_sincos): New macro.
10956 (sincos_test_data): New variable.
10957 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10959 2013-05-16 Richard Henderson <rth@redhat.com>
10961 * math/atest-exp2.c (LIMB64): New macro.
10962 (CONSTSZ): New macro.
10963 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10965 (print_mpn_fp): ... to function scope.
10966 (read_mpn_hex): Remove.
10967 (get_log2): Remove.
10968 (exp2_mpn): Use mp_log2.
10969 (main): Use mp_exp1.
10971 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10973 * math/libm-test.inc: Remove comment about not testing "inexact"
10975 (INEXACT_EXCEPTION): New macro.
10976 (NO_INEXACT_EXCEPTION): Likewise.
10977 (INVALID_EXCEPTION_OK): Update value.
10978 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10979 (OVERFLOW_EXCEPTION_OK): Likewise.
10980 (UNDERFLOW_EXCEPTION_OK): Likewise.
10981 (IGNORE_ZERO_INF_SIGN): Likewise.
10982 (ERRNO_UNCHANGED): Likewise.
10983 (ERRNO_EDOM): Likewise.
10984 (ERRNO_ERANGE): Likewise.
10985 (test_exceptions): Handle testing "inexact" exceptions.
10986 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10987 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10988 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10989 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10991 (rint_towardzero_test_data): Likewise.
10992 (rint_downward_test_data): Likewise.
10993 (rint_upward_test_data): Likewise.
10995 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10996 with OVERFLOW_EXCEPTION.
10997 (exp10_test_data): Likewise.
10998 (exp2_test_data): Likewise.
10999 (expm1_test_data): Likewise.
11000 (lgamma_test_data): Likewise.
11001 (pow_test_data): Likewise.
11002 (tgamma_test_data): Likewise.
11003 (yn_test_data): Remove duplicate test of overflow.
11005 * math/libm-test.inc (struct test_cc_c_data): New type.
11006 (RUN_TEST_LOOP_cc_c): New macro.
11007 (cpow_test_data): New variable.
11008 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11010 * math/libm-test.inc (struct test_f_L_data): New type.
11011 (RUN_TEST_LOOP_f_L): New macro.
11012 (llrint_test_data): New variable.
11013 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11014 (llrint_tonearest_test_data): New variable.
11015 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11016 (llrint_towardzero_test_data): New variable.
11017 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11018 (llrint_downward_test_data): New variable.
11019 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11020 (llrint_upward_test_data): New variable.
11021 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11022 (llround_test_data): New variable.
11023 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11025 2013-05-13 Peter Collingbourne <pcc@google.com>
11027 * math/atest-exp2.c (get_log2): Remove const attribute.
11029 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11031 * math/libm-test.inc (struct test_f_l_data): New type.
11032 (RUN_TEST_LOOP_f_l): New macro.
11033 (lrint_test_data): New variable.
11034 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11035 (lrint_tonearest_test_data): New variable.
11036 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11037 (lrint_towardzero_test_data): New variable.
11038 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11039 (lrint_downward_test_data): New variable.
11040 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11041 (lrint_upward_test_data): New variable.
11042 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11043 (lround_test_data): New variable.
11044 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11046 2013-05-15 Peter Collingbourne <pcc@google.com>
11048 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11049 (EXTRACT_WORDS64) Use where appropriate.
11050 (INSERT_WORDS64) Likewise.
11052 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11053 constraints with x constraints.
11054 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11056 * malloc/obstack.c (_obstack_compat): Add initializer.
11058 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
11060 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11061 si_trapno and add si_addr_lsb to _sifields.sigfault.
11062 (si_trapno): Remove macro.
11063 (si_addr_lsb): Define new macro.
11064 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11066 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11068 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11069 instead of TEST_f_l.
11070 (llrint_test_tonearest): Likewise.
11071 (llrint_test_towardzero): Likewise.
11072 (llrint_test_downward): Likewise.
11073 (llrint_test_upward): Likewise.
11074 (llround_test): Likewise.
11076 * math/libm-test.inc (struct test_f_i_data): Add comment.
11077 (RUN_TEST_LOOP_f_b): New macro.
11078 (RUN_TEST_LOOP_f_b_tg): Likewise.
11079 (finite_test_data): New variable.
11080 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11081 (isfinite_test_data): New variable.
11082 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11083 (isinf_test_data): New variable.
11084 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11085 (isnan_test_data): New variable.
11086 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11087 (isnormal_test_data): New variable.
11088 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11089 (issignaling_test_data): New variable.
11090 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11091 (signbit_test_data): New variable.
11092 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11094 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11095 with INVALID_EXCEPTION.
11096 (acosh_test_data): Likewise.
11097 (asin_test_data): Likewise.
11098 (atanh_test_data): Likewise.
11099 (fmod_test_data): Likewise.
11100 (log_test_data): Likewise.
11101 (log10_test_data): Likewise.
11102 (log2_test_data): Likewise.
11103 (pow_test_data): Likewise.
11104 (sqrt_test_data): Likewise.
11105 (y0_test_data): Likewise.
11106 (y1_test_data): Likewise.
11107 (yn_test_data): Likewise.
11109 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11112 * math/libm-test.inc (struct test_ff_i_data): New type.
11113 (RUN_TEST_LOOP_ff_i_tg): New macro.
11114 (isgreater_test_data): New variable.
11115 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11116 (isgreaterequal_test_data): New variable.
11117 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11118 (isless_test_data): New variable.
11119 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11120 (islessequal_test_data): New variable.
11121 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11122 (islessgreater_test_data): New variable.
11123 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11124 (isunordered_test_data): New variable.
11125 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11127 2013-05-14 David S. Miller <davem@davemloft.net>
11129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11131 2013-05-14 Joseph Myers <joseph@codesourcery.com>
11133 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11135 * math/libm-test.inc (struct test_fF_f1_data): Change type of
11137 (struct test_f_i_data): Change type of max_ulp to int.
11139 * math/libm-test.inc (test_ffI_f1_data): New type.
11140 (RUN_TEST_LOOP_ffI_f1): New macro.
11141 (remquo_test_data): New variable.
11142 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11144 * setjmp/tst-setjmp-fp.c: New file.
11145 * setjmp/Makefile (tests): Add tst-setjmp-fp.
11146 (link-libm): New variable.
11147 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11149 * math/libm-test.inc (struct test_f_i_data): New type.
11150 (RUN_TEST_LOOP_f_i): New macro.
11151 (RUN_TEST_LOOP_f_i_tg): Likewise.
11152 (fpclassify_test_data): New variable.
11153 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11154 (ilogb_test_data): New variable.
11155 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11157 * math/libm-test.inc (scalbln_test): Correct function name in END
11160 * math/libm-test.inc (struct test_f_f1_data): Add comment.
11161 (RUN_TEST_LOOP_fI_f1): New macro.
11162 (frexp_test_data): New variable.
11163 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11165 * math/libm-test.inc (struct test_fF_f1_data): New type.
11166 (RUN_TEST_LOOP_fF_f1): New macro.
11167 (modf_test_data): New variable.
11168 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11170 * math/libm-test.inc (struct test_f_f1_data): New type.
11171 (RUN_TEST_LOOP_f_f1): New macro.
11172 (gamma_test_data): New variable.
11173 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11174 (lgamma_test_data): New variable.
11175 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11177 2013-05-13 Carlos O'Donell <carlos@redhat.com>
11179 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11180 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11181 (main): Comment "tls" pseudo-hwcap.
11183 2013-05-13 Joseph Myers <joseph@codesourcery.com>
11185 * math/libm-test.inc (struct test_fl_f_data): New type.
11186 (RUN_TEST_LOOP_fl_f): New variable.
11187 (scalbln_test_data): New variable.
11188 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11190 * math/libm-test.inc (struct test_fi_f_data): New type.
11191 (RUN_TEST_LOOP_fi_f): New macro.
11192 (ldexp_test_data): New variable.
11193 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11194 (scalbn_test_data): New variable.
11195 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11197 * math/libm-test.inc (struct test_c_f_data): New type.
11198 (RUN_TEST_LOOP_c_f): New macro.
11199 (cabs_test_data): New variable.
11200 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11201 (carg_test_data): New variable.
11202 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11203 (cimag_test_data): New variable.
11204 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11205 (creal_test_data): New variable.
11206 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11208 * math/libm-test.inc (struct test_if_f_data): New type.
11209 (RUN_TEST_LOOP_if_f): New macro.
11210 (jn_test_data): New variable.
11211 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11212 (yn_test_data): New variable.
11213 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11215 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11217 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11219 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11220 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11222 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11224 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11225 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11226 (bench-deps): Add bench-timing.h.
11227 * benchtests-bench-skeleton.c: Include bench-timing.h.
11228 (main): Use TIMING_* macros instead of clock_gettime.
11229 * benchtests/bench-timing.h: New file.
11232 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11233 Renamed from _LIB_VERSION.
11234 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11236 2013-05-12 Joseph Myers <joseph@codesourcery.com>
11238 * math/libm-test.inc (struct test_fff_f_data): New type.
11239 (RUN_TEST_LOOP_fff_f): New macro.
11240 (fma_test_data): New variable.
11241 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11242 (fma_towardzero_test_data): New variable.
11243 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11244 (fma_downward_test_data): New variable.
11245 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11246 (fma_upward_test_data): New variable.
11247 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11249 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11250 (struct test_c_c_data): New type.
11251 (RUN_TEST_LOOP_c_c): New macro.
11252 (cacos_test_data): New variable.
11253 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11254 (cacosh_test_data): New variable.
11255 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11256 (casin_test_data): New variable.
11257 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11258 (casinh_test_data): New variable.
11259 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11260 (catan_test_data): New variable.
11261 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11262 (catanh_test_data): New variable.
11263 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11264 (ccos_test_data): New variable.
11265 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11266 (ccosh_test_data): New variable.
11267 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11268 (cexp_test_data): New variable.
11269 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11270 (clog_test_data): New variable.
11271 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11272 (clog10_test_data): New variable.
11273 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11274 (conj_test_data): New variable.
11275 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11276 (cproj_test_data): New variable.
11277 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11278 (csin_test_data): New variable.
11279 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11280 (csinh_test_data): New variable.
11281 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11282 (csqrt_test_data): New variable.
11283 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11284 (ctan_test_data): New variable.
11285 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11286 (ctan_tonearest_test_data): New variable.
11287 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11288 (ctan_towardzero_test_data): New variable.
11289 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11290 (ctan_downward_test_data): New variable.
11291 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11292 (ctan_upward_test_data): New variable.
11293 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11294 (ctanh_test_data): New variable.
11295 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11296 (ctanh_tonearest_test_data): New variable.
11297 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11298 (ctanh_towardzero_test_data): New variable.
11299 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11300 (ctanh_downward_test_data): New variable.
11301 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11302 (ctanh_upward_test_data): New variable.
11303 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11304 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11307 * math/libm-test.inc (struct test_ff_f_data): New type.
11308 (struct test_ff_f_data_nexttoward): Likewise.
11309 (RUN_TEST_LOOP_2_f): New macro.
11310 (RUN_TEST_LOOP_ff_f): Likewise.
11311 (atan2_test_data): New variable.
11312 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11313 (copysign_test_data): New variable.
11314 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11315 (fdim_test_data): New variable.
11316 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11317 (fmax_test_data): New variable.
11318 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11319 (fmin_test_data): New variable.
11320 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11321 (fmod_test_data): New variable.
11322 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11323 (hypot_test_data): New variable.
11324 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11325 (nextafter_test_data): New variable.
11326 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11327 (nexttoward_test_data): New variable.
11328 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11329 (pow_test_data): New variable.
11330 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11331 (pow_tonearest_test_data): New variable.
11332 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11333 (pow_towardzero_test_data): New variable.
11334 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11335 (pow_downward_test_data): New variable.
11336 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11337 (pow_upward_test_data): New variable.
11338 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11339 (remainder_test_data): New variable.
11340 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11341 (scalb_test_data): New variable.
11342 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11343 * sysdeps/i386/fpu/libm-test-ulps: Update.
11345 2013-05-11 Joseph Myers <joseph@codesourcery.com>
11347 * math/libm-test.inc (fma_test): Use max_value instead of local
11349 (nextafter_test): Likewise.
11351 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11352 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11353 (acos_downward_test_data): New variable.
11354 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11355 (acos_upward_test_data): New variable.
11356 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11357 (acosh_test_data): New variable.
11358 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11359 (asin_test_data): New variable.
11360 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11361 (asin_tonearest_test_data): New variable.
11362 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11363 (asin_towardzero_test_data): New variable.
11364 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11365 (asin_downward_test_data): New variable.
11366 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11367 (asin_upward_test_data): New variable.
11368 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11369 (asinh_test_data): New variable.
11370 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11371 (atan_test_data): New variable.
11372 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11373 (atanh_test_data): New variable.
11374 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11375 (cbrt_test_data): New variable.
11376 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11377 (ceil_test_data): New variable.
11378 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11379 (cos_test_data): New variable.
11380 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11381 (cos_tonearest_test_data): New variable.
11382 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11383 (cos_towardzero_test_data): New variable.
11384 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11385 (cos_downward_test_data): New variable.
11386 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11387 (cos_upward_test_data): New variable.
11388 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11389 (cosh_test_data): New variable.
11390 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11391 (cosh_tonearest_test_data): New variable.
11392 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11393 (cosh_towardzero_test_data): New variable.
11394 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11395 (cosh_downward_test_data): New variable.
11396 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11397 (cosh_upward_test_data): New variable.
11398 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11399 (erf_test_data): New variable.
11400 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11401 (erfc_test_data): New variable.
11402 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11403 (exp_test_data): New variable.
11404 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11405 (exp_tonearest_test_data): New variable.
11406 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11407 (exp_towardzero_test_data): New variable.
11408 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11409 (exp_downward_test_data): New variable.
11410 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11411 (exp_upward_test_data): New variable.
11412 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11413 (exp10_test_data): New variable.
11414 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11415 (exp2_test_data): New variable.
11416 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11417 (expm1_test_data): New variable.
11418 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11419 (fabs_test_data): New variable.
11420 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11421 (floor_test_data): New variable.
11422 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11423 (j0_test_data): New variable.
11424 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11425 (j1_test_data): New variable.
11426 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11427 (log_test_data): New variable.
11428 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11429 (log10_test_data): New variable.
11430 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11431 (log1p_test_data): New variable.
11432 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11433 (log2_test_data): New variable.
11434 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11435 (logb_test_data): New variable.
11436 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11437 (logb_downward_test_data): New variable.
11438 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11439 (nearbyint_test_data): New variable.
11440 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11441 (rint_test_data): New variable.
11442 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11443 (rint_tonearest_test_data): New variable.
11444 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11445 (rint_towardzero_test_data): New variable.
11446 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11447 (rint_downward_test_data): New variable.
11448 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11449 (rint_upward_test_data): New variable.
11450 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11451 (round_test_data): New variable.
11452 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11453 (sin_test_data): New variable.
11454 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11455 (sin_tonearest_test_data): New variable.
11456 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11457 (sin_towardzero_test_data): New variable.
11458 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11459 (sin_downward_test_data): New variable.
11460 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11461 (sin_upward_test_data): New variable.
11462 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11463 (sinh_test_data): New variable.
11464 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11465 (sinh_tonearest_test_data): New variable.
11466 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11467 (sinh_towardzero_test_data): New variable.
11468 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11469 (sinh_downward_test_data): New variable.
11470 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11471 (sinh_upward_test_data): New variable.
11472 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11473 (sqrt_test_data): New variable.
11474 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11475 (tan_test_data): New variable.
11476 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11477 (tan_tonearest_test_data): New variable.
11478 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11479 (tan_towardzero_test_data): New variable.
11480 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11481 (tan_downward_test_data): New variable.
11482 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11483 (tan_upward_test_data): New variable.
11484 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11485 (tanh_test_data): New variable.
11486 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11487 (tgamma_test_data): New variable.
11488 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11489 (trunc_test_data): New variable.
11490 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11491 (y0_test_data): New variable.
11492 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11493 (y1_test_data): New variable.
11494 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11495 (significand_test_data): New variable.
11496 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11498 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11501 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11503 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11505 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11507 2013-05-10 Andreas Jaeger <aj@suse.de>
11510 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11511 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11513 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11515 * math/gen-libm-test.pl (adjust_arg): New function.
11516 (special_functions): Handle generating output in both functions
11518 (parse_args): Likewise.
11519 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11520 $in_func argument to parse_args.
11521 * math/libm-test.inc (struct test_f_f_data): New type.
11522 (IF_ROUND_INIT_): New macro.
11523 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11524 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11525 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11526 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11527 (ROUND_RESTORE_): Likewise.
11528 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11529 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11530 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11531 (ROUND_RESTORE_FE_UPWARD): Likewise.
11532 (RUN_TEST_LOOP_f_f): New macro.
11533 (acos_test_data): New variable.
11534 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11535 (acos_tonearest_test_data): New variable.
11536 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11538 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11540 * benchtests/bench-skeleton.c (startup): Fix coding style.
11542 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11545 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11546 negative infinity argument.
11547 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11548 negative infinity argument.
11549 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11550 negative infinity argument.
11551 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11554 2013-05-10 Florian Weimer <fweimer@redhat.com>
11556 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11557 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11558 * iconv/iconv_prog.c (main): Likewise.
11559 * locale/programs/charmap-dir.c (charmap_readdir)
11560 (fopen_uncompressed): Likewise.
11561 * locale/programs/locfile.c (siblings_uncached)
11562 (write_locale_data): Use lstat64 instead of lstat.
11563 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11566 2013-05-10 Andreas Jaeger <aj@suse.de>
11569 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11571 Include <locale.h>.
11573 2013-05-09 Carlos O'Donell <carlos@redhat.com>
11575 * elf/dl-close.c (_dl_close_worker): Add comments.
11577 2013-05-09 Joseph Myers <joseph@codesourcery.com>
11580 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11582 (__ieee754_rem_pio2l): Update comments.
11585 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11587 (__ieee754_rem_pio2l): Update comments.
11589 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11590 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11592 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11595 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11596 (M_PI_34_LOG10El): Likewise.
11597 (M_PI2_LOG10El): Likewise.
11598 (M_PI4_LOG10El): Likewise.
11599 (M_PI_LOG10El): Likewise.
11601 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11605 2013-05-08 Joseph Myers <joseph@codesourcery.com>
11607 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11608 (MINUS_ZERO_INIT): Likewise.
11609 (PLUS_INFTY_INIT): Likewise.
11610 (MINUS_INFTY_INIT): Likewise.
11611 (QNAN_VALUE_INIT): Likewise.
11612 (MAX_VALUE_INIT): Likewise.
11613 (MIN_VALUE_INIT): Likewise.
11614 (MIN_SUBNORM_VALUE_INIT): Likewise.
11615 (plus_zero): Initialize with PLUS_ZERO_INIT.
11616 (minus_zero): Initialize with MINUS_ZERO_INIT.
11617 (plus_infty): Initialize with PLUS_INFTY_INIT.
11618 (minus_infty): Initialize with MINUS_INFTY_INIT.
11619 (qnan_value): Initialize with QNAN_VALUE_INIT.
11620 (max_value): Initialize with MAX_VALUE_INIT.
11621 (min_value): Initialize with MIN_VALUE_INIT.
11622 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11624 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11625 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11626 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11627 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11629 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11630 (RUN_TEST_2_f): Likewise.
11631 (RUN_TEST_ff_f): Likewise.
11632 (RUN_TEST_fi_f): Likewise.
11633 (RUN_TEST_fl_f): Likewise.
11634 (RUN_TEST_fff_f): Likewise.
11635 (RUN_TEST_c_f): Likewise.
11636 (RUN_TEST_f_f1): Likewise.
11637 (RUN_TEST_fF_f1): Likewise.
11638 (RUN_TEST_fI_f1): Likewise.
11639 (RUN_TEST_ffI_f1): Likewise.
11640 (RUN_TEST_c_c): Likewise.
11641 (RUN_TEST_cc_c): Likewise.
11642 (RUN_TEST_f_i): Likewise.
11643 (RUN_TEST_f_i_tg): Likewise.
11644 (RUN_TEST_ff_i_tg): Likewise.
11645 (RUN_TEST_f_b): Likewise.
11646 (RUN_TEST_f_b_tg): Likewise.
11647 (RUN_TEST_f_l): Likewise.
11648 (RUN_TEST_f_L): Likewise.
11649 (RUN_TEST_sincos): Likewise.
11650 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11651 whether to show exceptions. Do not include ");\n" in return
11653 (special_functions): Output call to RUN_TEST_sincos instead of
11654 check_float calls. Update calls to new_test.
11655 (parse_args): Output call to single RUN_TEST_* macro instead of
11656 check_* calls and other assignments. Update calls to new_test.
11662 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11663 input to result for tgamma overflow.
11664 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11665 (gamma_coeff): New variable.
11666 (NCOEFF): New macro.
11667 (gamma_positive): New function.
11668 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11669 underflow here. Use gamma_positive instead of exp (lgamma) for
11671 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11672 (gamma_coeff): New variable.
11673 (NCOEFF): New macro.
11674 (gammaf_positive): New function.
11675 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11676 underflow here. Use gamma_positive instead of exp (lgamma) for
11678 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11679 (gamma_coeff): New variable.
11680 (NCOEFF): New macro.
11681 (gammal_positive): New function.
11682 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11683 underflow here. Use gamma_positive instead of exp (lgamma) for
11685 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11686 (gamma_coeff): New variable.
11687 (NCOEFF): New macro.
11688 (gammal_positive): New function.
11689 (__ieee754_gammal_r): Handle positive infinity, overflow and
11690 underflow here. Handle NaN the same as positive infinity. Remove
11691 check x < 0xffffffff for negative integers. Use gamma_positive
11692 instead of exp (lgamma) for other arguments.
11693 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11694 (gamma_coeff): New variable.
11695 (NCOEFF): New macro.
11696 (gammal_positive): New function.
11697 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11698 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11699 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11700 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11701 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11702 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11703 * sysdeps/generic/math_private.h (__gamma_productf): New
11705 (__gamma_product): Likewise.
11706 (__gamma_productl): Likewise.
11707 * math/Makefile (libm-calls): Add gamma_product.
11708 * math/libm-test.inc (tgamma_test): Add more tests.
11709 * sysdeps/i386/fpu/libm-test-ulps: Update.
11710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11712 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
11714 * benchtests/bench-skeleton.c (main): Preheat CPU.
11716 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11718 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11720 2013-05-07 Roland McGrath <roland@hack.frob.com>
11722 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11723 and _dl_skip_args_internal.
11725 2013-05-07 Carlos O'Donell <carlos@redhat.com>
11727 * manual/message.texi (Message Translation): Talk about users.
11728 Message to key mapping impacts design.
11730 2013-05-06 Roland McGrath <roland@hack.frob.com>
11732 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11734 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11736 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11737 * sysdeps/wordsize-64/glob64.c: ... here.
11739 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11740 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11743 * debug/getlogin_r_chk.c: Moved to ...
11744 * login/getlogin_r_chk.c: ... here.
11745 * debug/Makefile (routines): Move getlogin_r_chk to ...
11746 * login/Makefile (routines): ... here.
11747 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11748 * login/Versions (libc: GLIBC_2.4): ... here.
11750 * io/poll.c (__poll): Renamed from poll.
11751 Add libc_hidden_def.
11752 (poll): Define as weak alias.
11754 * debug/ptsname_r_chk.c: Moved to ...
11755 * login/ptsname_r_chk.c: ... here.
11756 * debug/Makefile (routines): Move ptsname_r_chk to ...
11757 * login/Makefile (routines): ... here.
11758 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11759 * login/Versions (libc: GLIBC_2.4): ... here.
11761 * posix/getlogin.c: Moved to ...
11762 * login/getlogin.c: ... here.
11763 * posix/getlogin_r.c: Moved to ...
11764 * login/getlogin_r.c: ... here.
11765 * posix/getlogin_r.c: Moved to ...
11766 * login/getlogin_r.c: ... here.
11767 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11768 * login/Makefile (routines): ... here.
11769 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11770 * login/Versions (libc: GLIBC_2.0): ... here.
11772 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11773 (setrlimit): Define as weak alias.
11775 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11776 Call __ names for open, ftruncate, and close.
11777 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11778 (truncate): Define as weak alias.
11780 2013-05-06 Joseph Myers <joseph@codesourcery.com>
11782 * math/gen-libm-test.pl (parse_args): Initialize x before each
11783 test of frexp, modf and remquo.
11785 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11786 test signgam value.
11788 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11792 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11794 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11796 2013-05-06 Roland McGrath <roland@hack.frob.com>
11798 * elf/dl-writev.h: New file.
11799 * elf/dl-misc.c: Include it.
11800 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11801 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11803 2013-05-04 Joseph Myers <joseph@codesourcery.com>
11805 * math/libm-test.inc (noXFails): Remove variable.
11806 (noXPasses): Likewise.
11807 (BUILD_COMPLEX_INT): Remove macro.
11808 (print_screen): Remove xfail argument.
11809 (print_screen_max_error): Likewise.
11810 (update_stats): Likewise.
11811 (print_max_error): Likewise. Update calls to other affected
11813 (print_complex_max_error): Likewise.
11814 (test_single_exception): Update calls to print_screen.
11815 (test_single_errno): Likewise.
11816 (check_float_internal): Remove xfail argument. Update calls to
11817 other affected functions.
11818 (check_float): Likewise.
11819 (check_complex): Likewise.
11820 (check_int): Likewise.
11821 (check_long): Likewise.
11822 (check_bool): Likewise.
11823 (check_longlong): Likewise.
11824 (main): Don't print noXFails and noXPasses.
11825 * math/gen-libm-test.pl (top level): Don't mention expected
11826 failure handling in comment.
11827 (new_test): Don't handle expected failures.
11828 (parse_args): Don't mention expected failure handling in comment.
11829 (generate_testfile): Don't handle expected failures.
11830 (parse_ulps): Likewise.
11831 (print_ulps_file): Likewise.
11832 (get_failure): Remove function.
11833 (output_test): Don't handle expected failures.
11834 * make/README.libm-test: Don't mention expected failure handling.
11836 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11837 (minus_zero): Likewise.
11838 (plus_infty): Likewise.
11839 (minus_infty): Likewise.
11840 (qnan_value): Likewise.
11841 (max_value): Likewise.
11842 (min_value): Likewise.
11843 (min_subnorm_value): Likewise.
11844 (initialize): Do not initialize those variables dynamically.
11846 2013-05-03 Roland McGrath <roland@hack.frob.com>
11848 * io/open.c (__open_2): Moved to ...
11849 * io/open_2.c: ... this new file.
11850 * io/open64.c (__open64_2): Moved to ...
11851 * io/open64_2.c: ... this new file.
11852 * io/openat.c (__openat_2): Moved to ...
11853 * io/openat_2.c: ... this new file.
11854 * io/openat64.c (__openat64_2): Moved to ...
11855 * io/openat64_2.c: ... this new file.
11856 * io/Makefile (routines): Add them.
11857 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11858 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11859 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11860 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11861 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11862 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11863 (__openat64): Add hidden_ver.
11864 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11865 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11867 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11868 Separately conditionalize setting of GLRO(dl_sysinfo) so
11869 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11870 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11872 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11874 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11875 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11877 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11878 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11879 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11880 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11881 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11883 2013-05-03 Joseph Myers <joseph@codesourcery.com>
11885 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11886 test signgam value.
11888 * math/libm-test.inc (hypot_test): Do not use
11889 IGNORE_ZERO_INF_SIGN.
11891 2013-05-03 Andreas Jaeger <aj@suse.de>
11893 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11895 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11896 (PF_MAX): Adjust for VSOCK change.
11898 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11902 2013-05-02 Carlos O'Donell <carlos@redhat.com>
11905 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11906 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11907 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11909 2013-05-02 David S. Miller <davem@davemloft.net>
11911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11913 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
11915 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11917 2013-05-01 Roland McGrath <roland@hack.frob.com>
11919 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11921 2013-05-01 Richard Smith <richard@metafoo.co.uk>
11924 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11925 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11926 Use __attribute__ ((__gnu_inline__)).
11927 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11928 Don't use __attribute__ ((__gnu_inline__)).
11930 2013-05-01 Joseph Myers <joseph@codesourcery.com>
11933 * math/s_catan.c (__catan): Handle small real or imaginary part of
11934 input specially to avoid spurious underflow.
11935 * math/s_catanf.c (__catanf): Likewise.
11936 * math/s_catanh.c (__catanh): Likewise.
11937 * math/s_catanhf.c (__catanhf): Likewise.
11938 * math/s_catanhl.c (__catanhl): Likewise.
11939 * math/s_catanl.c (__catanl): Likewise.
11940 * math/libm-test.inc (catan_test): Add more tests.
11941 (catanh_test): Likewise.
11942 * sysdeps/i386/fpu/libm-test-ulps: Update.
11943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11945 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11949 2013-04-30 Joseph Myers <joseph@codesourcery.com>
11952 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11953 accurately for denominator in atan2.
11954 * math/s_catanf.c (__catanf): Likewise.
11955 * math/s_catanh.c (__catanh): Likewise.
11956 * math/s_catanhf.c (__catanhf): Likewise.
11957 * math/s_catanhl.c (__catanhl): Likewise.
11958 * math/s_catanl.c (__catanl): Likewise.
11959 * math/libm-test.inc (catan_test): Add more tests.
11960 (catanh_test): Likewise.
11961 * sysdeps/i386/fpu/libm-test-ulps: Update.
11962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11964 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11966 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11968 * benchtests/Makefile (bench): Remove slow benchmarks.
11969 * benchtests/atan-inputs: Add slow benchmark inputs.
11970 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11971 (BENCH_FUNC): Accept variant offset.
11973 * benchtests/bench-skeleton.c (main): Run benchmark for each
11975 * benchtests/cos-inputs: Add slow benchmark inputs.
11976 * benchtests/exp-inputs: Likewise.
11977 * benchtests/pow-inputs: Likewise.
11978 * benchtests/sin-inputs: Likewise.
11979 * benchtests/slowatan-inputs: Remove.
11980 * benchtests/slowatan.c: Remove.
11981 * benchtests/slowcos-inputs: Remove.
11982 * benchtests/slowcos.c: Remove.
11983 * benchtests/slowexp-inputs: Remove.
11984 * benchtests/slowexp.c: Remove.
11985 * benchtests/slowpow-inputs: Remove.
11986 * benchtests/slowpow.c: Remove.
11987 * benchtests/slowsin-inputs: Remove.
11988 * benchtests/slowsin.c: Remove.
11989 * benchtests/slowtan-inputs: Remove.
11990 * benchtests/slowtan.c: Remove.
11991 * benchtests/tan-inputs: Add slow benchmark inputs.
11992 * scripts/bench.pl: Parse comments and directives.
11994 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11996 ($(objpfx)bench-%.c): Remove *-ITER.
11997 * benchtests/bench-modf.c: Remove definition of ITER.
11998 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11999 (main): Loop for DURATION seconds instead of fixed number of
12001 * scripts/bench.pl: Don't expect iterations in parameters.
12003 2013-04-29 Roland McGrath <roland@hack.frob.com>
12005 * io/fchdir.c (__fchdir): Renamed from fchdir.
12006 (fchdir): Define as weak alias.
12008 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12010 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12011 (ERRNO_EDOM): Likewise.
12012 (ERRNO_ERANGE): Likewise.
12013 (noErrnoTests): New variable.
12014 (init_max_error): Set errno to 0.
12015 (test_single_errno): New function.
12016 (test_errno): Likewise.
12017 (check_float_internal): Call test_errno. Set errno to 0.
12018 (check_complex): Refer to errno tests in comment.
12019 (check_int): Call test_errno. Set errno to 0.
12020 (check_long): Likewise.
12021 (check_bool): Likewise.
12022 (check_longlong): Likewise.
12023 (cos_test): Use ERRNO_* flags for errno tests instead of
12025 (expm1_test): Likewise.
12026 (fmod_test): Likewise.
12027 (ilogb_test): Likewise.
12028 (lgamma_test): Likewise.
12029 (pow_test): Likewise.
12030 (remainder_test): Likewise.
12031 (sin_test): Likewise.
12032 (tan_test): Likewise.
12033 (yn_test): Likewise.
12034 (initialize): Set errno to 0.
12035 (main): Print number of errno tests.
12036 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12038 2013-04-29 Andreas Jaeger <aj@suse.de>
12041 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12045 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12046 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12050 * stdlib/random.c (__initstate): Return NULL if
12054 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12055 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12058 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12062 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12064 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12065 of individual tests.
12066 (casin_test): Likewise.
12067 (casinh_test): Likewise.
12069 2013-04-27 Joseph Myers <joseph@codesourcery.com>
12072 * math/s_catan.c (__catan): Handle arguments with large real or
12073 imaginary part separately without squaring.
12074 * math/s_catanf.c (__catanf): Likewise.
12075 * math/s_catanh.c (__catanh): Likewise.
12076 * math/s_catanhf.c (__catanhf): Likewise.
12077 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12079 (__catanhl): Handle arguments with large real or imaginary part
12080 separately without squaring.
12081 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12083 (__catanl): Handle arguments with large real or imaginary part
12084 separately without squaring.
12085 * math/libm-test.inc (catan_test): Add more tests.
12086 (catanh_test): Likewise.
12087 * sysdeps/i386/fpu/libm-test-ulps: Update.
12088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12090 2013-04-27 Andreas Jaeger <aj@suse.de>
12093 * stdlib/stdlib.h: Update guards for qecvt.
12094 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12097 2013-04-27 Allan McRae <allan@archlinux.org>
12099 * sysdeps/i386/fpu/libm-test-ulps: Update.
12101 2013-04-26 Joseph Myers <joseph@codesourcery.com>
12104 * math/s_catan.c: Include <float.h>.
12105 (__catan): Ensure underflow exception occurs for underflowed
12107 * math/s_catanf.c: Include <float.h>.
12108 (__catanf): Ensure underflow exception occurs for underflowed
12110 * math/s_catanh.c: Include <float.h>.
12111 (__catanh): Ensure underflow exception occurs for underflowed
12113 * math/s_catanhf.c: Include <float.h>.
12114 (__catanhf): Ensure underflow exception occurs for underflowed
12116 * math/s_catanhl.c: Include <float.h>.
12117 (__catanhl): Ensure underflow exception occurs for underflowed
12119 * math/s_catanl.c: Include <float.h>.
12120 (__catanl): Ensure underflow exception occurs for underflowed
12122 * math/libm-test.inc (catan_test): Add more tests.
12123 (catanh_test): Likewise.
12126 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12127 underflowed result.
12128 * math/s_ccoshf.c (__ccoshf): Likewise.
12129 * math/s_ccoshl.c (__ccoshl): Likewise.
12130 * math/s_csin.c (__csin): Likewise.
12131 * math/s_csinf.c (__csinf): Likewise.
12132 * math/s_csinh.c (__csinh): Likewise.
12133 * math/s_csinhf.c (__csinhf): Likewise.
12134 * math/s_csinhl.c (__csinhl): Likewise.
12135 * math/s_csinl.c (__csinl): Likewise.
12136 * math/libm-test.inc (ccos_test): Add more tests.
12137 (ccosh_test): Likewise.
12138 (csin_test): Likewise.
12139 (csinh_test): Likewise.
12141 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12143 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12144 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12145 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12146 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12147 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12148 powerpc/power5+/fpu folders.
12149 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12152 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12156 2013-04-25 Joseph Myers <joseph@codesourcery.com>
12158 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12159 additions to variable.
12160 [$(config-machine) = x86_64] (modules-names): Likewise.
12161 ($(objpfx)tst-audit3): Remove dependency.
12162 ($(objpfx)tst-audit3.out): Likewise.
12163 ($(objpfx)tst-audit4): Likewise.
12164 ($(objpfx)tst-audit4.out): Likewise.
12165 ($(objpfx)tst-audit5): Likewise.
12166 ($(objpfx)tst-audit5.out): Likewise.
12167 ($(objpfx)tst-audit6): Likewise.
12168 ($(objpfx)tst-audit6.out): Likewise.
12169 ($(objpfx)tst-audit7): Likewise.
12170 ($(objpfx)tst-audit7.out): Likewise.
12171 (tst-audit3-ENV): Remove variable.
12172 (tst-audit4-ENV): Likewise.
12173 (tst-audit5-ENV): Likewise.
12174 (tst-audit6-ENV): Likewise.
12175 (tst-audit7-ENV): Likewise.
12176 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12177 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12178 addition to variable.
12179 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12180 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12181 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12182 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12183 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12184 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12185 tst-audit3, tst-audit4 and tst-audit5.
12186 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12187 tst-audit6 and tst-audit7.
12188 [$(subdir) = elf] (modules-names): Add audit modules for those
12190 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12191 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12192 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12193 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12194 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12195 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12196 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12197 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12198 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12199 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12200 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12201 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12202 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12203 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12204 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12205 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12207 [$(subdir) = elf && $(config-cflags-avx) = yes]
12208 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12209 [$(subdir) = elf && $(config-cflags-avx) = yes]
12210 (CFLAGS-tst-auditmod4a.c): Likewise.
12211 [$(subdir) = elf && $(config-cflags-avx) = yes]
12212 (CFLAGS-tst-auditmod4b.c): Likewise.
12213 [$(subdir) = elf && $(config-cflags-avx) = yes]
12214 (CFLAGS-tst-auditmod6b.c): Likewise.
12215 [$(subdir) = elf && $(config-cflags-avx) = yes]
12216 (CFLAGS-tst-auditmod6c.c): Likewise.
12217 [$(subdir) = elf && $(config-cflags-avx) = yes]
12218 (CFLAGS-tst-auditmod7b.c): Likewise.
12219 * elf/tst-audit3.c: Move to ...
12220 * sysdeps/x86_64/tst-audit3.c: ... here.
12221 * elf/tst-audit4.c: Move to ...
12222 * sysdeps/x86_64/tst-audit4.c: ... here.
12223 * elf/tst-audit5.c: Move to ...
12224 * sysdeps/x86_64/tst-audit5.c: ... here.
12225 * elf/tst-audit6.c: Move to ...
12226 * sysdeps/x86_64/tst-audit6.c: ... here.
12227 * elf/tst-audit7.c: Move to ...
12228 * sysdeps/x86_64/tst-audit7.c: ... here.
12229 * elf/tst-auditmod3a.c: Move to ...
12230 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12231 * elf/tst-auditmod3b.c: Move to ...
12232 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12233 * elf/tst-auditmod4a.c: Move to ...
12234 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12235 * elf/tst-auditmod4b.c: Move to ...
12236 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12237 * elf/tst-auditmod5a.c: Move to ...
12238 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12239 * elf/tst-auditmod5b.c: Move to ...
12240 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12241 * elf/tst-auditmod6a.c: Move to ...
12242 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12243 * elf/tst-auditmod6b.c: Move to ...
12244 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12245 * elf/tst-auditmod6c.c: Move to ...
12246 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12247 * elf/tst-auditmod7a.c: Move to ...
12248 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12249 * elf/tst-auditmod7b.c: Move to ...
12250 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12252 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12255 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12256 define unconditionally.
12257 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12258 define unconditionally.
12259 (INT8_C, INT16_C, etc.): Likewise.
12261 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12263 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12264 __ehdr_start with hidden visibility.
12266 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12268 2013-04-24 Carlos O'Donell <carlos@redhat.com>
12270 * math/libm-test.inc (cos_test): Use accurate hex constants.
12271 (sincost_test): Likewise.
12273 2013-04-24 Joseph Myers <joseph@codesourcery.com>
12275 * math/libm-test.inc (catan_test): Add more tests.
12276 (catanh_test): Likewise.
12278 * math/s_catanf.c (__catanf): Use suffixed floating-point
12280 * math/s_catanhf.c (__catanhf): Likewise.
12281 * math/s_catanhl.c (__catanhl): Likewise.
12282 * math/s_catanl.c (__catanl): Likewise.
12285 * math/s_catan.c (__catan): Calculate imaginary part of result
12286 with log1p not log unless computing log of number close to 0.
12287 * math/s_catanf.c (__catanf): Likewise.
12288 * math/s_catanl.c (__catanl): Likewise.
12289 * math/s_catanh.c (__catanh): Calculate real part of result with
12290 log1p not log unless computing log of number close to 0.
12291 * math/s_catanhf.c (__catanhf): Likewise.
12292 * math/s_catanhl.c (__catanhl): Likewise.
12293 * math/libm-test.inc (catan_test): Add more tests.
12294 (catanh_test): Likewise.
12295 * sysdeps/i386/fpu/libm-test-ulps: Update.
12296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12298 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12300 * benchtests/Makefile: Mention files in which fast and slow
12301 paths of math functions are implemented.
12303 2013-04-23 Roland McGrath <roland@hack.frob.com>
12305 * sysdeps/posix/timespec_get.c: New file.
12307 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12309 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12311 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12313 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12314 powerpc/power5/fpu folders.
12315 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12316 * benchtests/Makefile: Add modf testcase.
12317 * benchtests/bench-modf.c: New file: Benchmark test for mo
12319 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12322 * time/Makefile (tests): Add tst-strptime-whitespace.
12323 * time/strptime_l.c (get_number): Use ISSPACE.
12324 (__strptime_internal): Likewise.
12325 * time/tst-strptime-whitespace.c: New test case.
12327 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12329 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12331 (_nss_files_init): Set it here.
12333 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12335 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12336 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12339 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12341 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12343 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12345 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12348 2013-04-21 David S. Miller <davem@davemloft.net>
12350 * po/ru.po: Update Russion translation from translation project.
12352 2013-04-17 Adam Conrad <adconrad@0c3.net>
12354 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12357 2013-04-17 Carlos O'Donell <carlos@redhat.com>
12359 * configure.in: Remove i386 configure warning. Remove i386 case.
12360 * configure: Regenerate.
12361 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
12362 Add example to error message.
12363 * sysdeps/i386/configure: Regenerate.
12365 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12367 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12369 * benchtests/cos-inputs: New file.
12370 * benchtests/slowcos-inputs: New file.
12371 * benchtests/slowcos.c: New file.
12372 * benchtests/slowtan-inputs: New file.
12373 * benchtests/slowtan.c: New file.
12374 * benchtests/tan-inputs: New file.
12376 2013-04-16 Roland McGrath <roland@hack.frob.com>
12378 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12381 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12383 * benchtests/Makefile: Include cppflags-iterator.mk to add
12384 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12386 * Makefile.in (bench-clean): New target.
12387 * benchtests/Makefile (bench-clean): Likewise.
12389 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12391 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12393 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12395 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12397 2013-04-15 Andreas Schwab <schwab@suse.de>
12399 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12400 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12401 * nscd/pwdcache.c (cache_addpw): Likewise.
12402 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12405 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12407 * benchtests/Makefile (bench): Write all output to
12408 bench-out.tmp together.
12410 2013-04-15 Andreas Schwab <schwab@suse.de>
12412 * nscd/nscd.c (main): Don't fork again after closing files.
12414 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12416 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12418 * benchtests/Rules (bench-deps): Collect dependencies into a
12419 single variable. Add Makefile to dependencies.
12420 ($(objpfx)bench-%.c): Depend on bench-deps.
12422 2013-04-12 Roland McGrath <roland@hack.frob.com>
12423 Xavier Roche <roche+kml2@exalead.com>
12426 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12427 just that it's a file descriptor.
12428 * manual/llio.texi (Synchronizing AIO Operations): Update description
12429 for EBADF error from aio_fsync.
12431 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12433 * Rules (bench): Move target definition...
12434 * benchtests/Makefile: ... here.
12436 2013-04-11 Carlos O'Donell <carlos@redhat.com>
12438 * math/libm-test.inc (cos_test): Fix PI/2 test.
12439 (sincos_test): Likewise.
12440 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12441 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12443 2013-04-11 Andreas Schwab <schwab@suse.de>
12446 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12447 accept exponent character only when digits were seen.
12448 * stdio-common/Makefile (tests): Add bug26.
12449 * stdio-common/bug26.c: New file.
12452 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12455 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12457 * Makeconfig (rtld-prefix): Define built linker prefix.
12458 * Rules (run-bench): Use it.
12459 * math/Makefile (run-regen-ulps): Likewise.
12461 * Rules (bench): Remove eval.
12463 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12464 Roland McGrath <roland@hack.frob.com>
12465 Ondrej Bilka <neleai@seznam.cz>
12468 * time/getdate.c: Include ctype.h and alloca.h.
12469 (__getdate_r): Trim leading and trailing spaces of input.
12470 * time/tst-getdate.c (tests): Add tests with leading and
12473 2013-04-08 Roland McGrath <roland@hack.frob.com>
12476 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12477 when computing value.
12479 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12481 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12482 Use testrun.sh to run libm tests.
12485 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12487 2013-04-06 Marko Myllynen <myllynen@redhat.com>
12490 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12492 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12494 * Makefile.in (regen-ulps): New target.
12495 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12496 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12497 [ifneq (no,$(PERL)] (regen-ulps): New target.
12498 [ifeq (no,$(PERL)] (regen-ulps): New target.
12499 * math/libm-test.inc (ulps_file_name): Define.
12500 (output_dir): New variable.
12501 (options): Add "output-dir" option.
12502 (parse_opt): Handle 'o' case.
12503 (main): If output_dir is non-NULL use it as a prefix
12505 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12507 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12509 [BZ #10060, #10062]
12510 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12511 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12512 fail configure if __sync_val_compare_and_swap is not inlined.
12513 * sysdeps/i386/configure: Regenerate.
12514 * configure.in: Build for i686 when configured for i386.
12515 * configure: Regenerate.
12516 * README: Remove i386 reference.
12518 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12520 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12521 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12523 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12525 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12526 (lmsnanval): New variables.
12527 (F): Add conversion tests.
12528 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12529 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12531 * stdio-common/tstdiomisc.c (F): Properly collect individual
12534 [BZ #14686, #15336]
12535 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12536 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12537 Instead, use input NaN values or generate a qNaN by arithmetic
12538 operation. Also fix bugs to comply with the standard.
12539 * math/libm-test.inc (remainder_test): Add more tests.
12541 [BZ #15335, #15342]
12542 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12543 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12544 input NaN values or generate a qNaN by arithmetic operation.
12546 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12549 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12552 2013-04-03 Joseph Myers <joseph@codesourcery.com>
12555 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12556 underflowed result.
12557 * math/s_cexpf.c (__cexpf): Likewise.
12558 * math/s_cexpl.c (__cexpl): Likewise.
12559 * math/libm-test.inc (cexp_test): Add more tests.
12561 2013-04-03 Andreas Schwab <schwab@suse.de>
12564 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12565 order arrays from heap if bigger than alloca cutoff.
12567 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12569 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12570 (SNAN_TESTS_double): Refer to GCC PR56831.
12571 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12574 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12576 * Rules (bench): Move bench.out after the run is complete.
12578 * Rules (bench): Echo currently running benchmark.
12580 * benchtests/Makefile (bench): Add atan and slowatan.
12581 * benchtests/atan-inputs: New file.
12582 * benchtests/slowatan-inputs: New file.
12583 * benchtests/slowatan.c: New file.
12585 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12586 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12590 * sysdeps/unix/sysv/linux/kernel-features.h
12591 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12592 __ASSUME_XFS_RESTRICTED_CHOWN.
12593 * sysdeps/unix/sysv/linux/pathconf.c
12594 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12595 Save and restore errno.
12597 2013-04-02 Joseph Myers <joseph@codesourcery.com>
12600 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12601 arguments using __kernel_casinh.
12602 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12603 arguments using __kernel_casinhf.
12604 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12605 arguments using __kernel_casinhl.
12606 * math/libm-test.inc (cacosh_test): Add more tests.
12607 * sysdeps/i386/fpu/libm-test-ulps: Update.
12608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12610 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12612 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12613 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12615 * bench/Makefile (bench): Add sin and slowsin.
12616 * benchtests/sin-inputs: New file.
12617 * benchtests/slowsin-inputs: New file.
12618 * benchtests/slowsin.c: New file.
12620 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12621 (bench): Add slowexp and slowpow.
12622 (exp-ITER): Increase iterations.
12623 (pow-ITER): Likewise.
12624 * benchtests/exp-inputs: Change input.
12625 * benchtests/pow-inputs: Likewise.
12626 * benchtests/slowexp-inputs: New file.
12627 * benchtests/slowexp.c: New file.
12628 * benchtests/slowpow-inputs: New file.
12629 * benchtests/slowpow.c: New file.
12631 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12633 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12635 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12636 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12637 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12638 * benchtests/Makefile: Add rint benchtest.
12639 * benchtests/rint-inputs: Input for rint benchtest.
12641 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12643 * Versions.def (libm): Add GLIBC_2.18.
12644 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12645 hidden libm prototypes.
12646 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12647 * math/Makefile (libm-calls): Add s_issignaling.
12648 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12649 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12650 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12652 * math/math.h [__USE_GNU] (issignaling): New macro.
12653 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12654 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12655 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12656 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12657 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12658 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12659 * manual/arith.texi (issignaling): New section.
12660 * manual/libm-err-tab.pl (@all_functions): Update comment.
12661 * math/gen-libm-test.pl (parse_args): Apply special handling for
12663 * math/libm-test.inc (print_float, issignaling_test): New
12665 (check_float_internal): Add issignaling checks.
12666 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12667 default definition.
12668 * sysdeps/powerpc/math-tests.h: New file.
12669 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12671 * math/test-snan.c (TEST_FUNC): Likewise.
12673 2013-03-30 David S. Miller <davem@davemloft.net>
12675 * po/de.po: Update from translation team.
12677 2013-03-30 Joseph Myers <joseph@codesourcery.com>
12680 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12681 imaginary part less than 1.0 and real part less than 0.5
12683 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12684 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12685 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12686 (cacos_test): Add more tests.
12687 (casin_test): Likewise.
12688 (casinh_test): Likewise.
12689 * sysdeps/i386/fpu/libm-test-ulps: Update.
12690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12692 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12694 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12695 ONE with its value.
12697 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12698 (__pow_mp): Replace ONE and MONE with their values.
12699 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12700 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12701 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12702 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12703 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12704 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12706 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12708 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12709 (__pow_mp): Replace ZERO and MZERO with their values.
12710 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12711 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12712 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12713 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12714 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12715 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12718 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12720 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12722 2013-03-28 Roland McGrath <roland@hack.frob.com>
12724 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12725 Declare with __attribute__ ((weak)).
12726 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12727 Call __call_tls_dtors only if it's not NULL.
12729 2013-03-28 Roland McGrath <roland@hack.frob.com>
12731 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12732 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12733 magic __ehdr_start linker symbol if it's defined.
12734 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12735 them up here if it was already done.
12737 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12738 (_dl_aux_init): Use const in cast when setting it.
12739 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12740 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12741 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12743 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12745 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12746 * csu/libc-tls.c: Nor here.
12747 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12749 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12750 (__libc_message): Never call vsyslog.
12752 2013-03-28 Alan Modra <amodra@gmail.com>
12754 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12756 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12759 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12762 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12766 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12769 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12770 Don't add gid passed as argument.
12772 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12774 2013-03-27 Joseph Myers <joseph@codesourcery.com>
12777 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12778 imaginary part between 1.0 and 1.5 and real part less than 0.5
12780 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12781 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12782 * math/libm-test.inc (cacos_test): Add more tests.
12783 (casin_test): Likewise.
12784 (casinh_test): Likewise.
12785 * sysdeps/i386/fpu/libm-test-ulps: Update.
12786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12788 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12790 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12793 (denorm): Likewise.
12794 (__dbl_mp): Likewise.
12795 (add_magnitudes): Likewise.
12796 (sub_magnitudes): Likewise.
12804 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12806 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12807 (__dubcos): Likewise.
12808 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12809 (__ieee754_acos): Likewise.
12810 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12811 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12812 (__exp1): Likewise.
12813 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12814 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12816 (my_log2): Likewise.
12817 (checkint): Likewise.
12818 * sysdeps/ieee754/dbl-64/e_remainder.c
12819 (__ieee754_remainder): Likewise.
12820 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12821 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12822 (bsloww): Likewise.
12823 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12825 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12826 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12827 MANTISSA_STORE_T to store computations on mantissa. Use
12828 macros for rounding and division.
12829 (denorm): Likewise.
12830 (__dbl_mp): Likewise.
12831 (add_magnitudes): Likewise.
12832 (sub_magnitudes): Likewise.
12835 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12836 powers of two in terms of TWOPOW macro.
12837 (mp_no): Make type of mantissa as MANTISSA_T.
12838 [!RADIXI]: Define RADIXI.
12839 [!TWO52]: Define TWO52.
12840 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12842 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12844 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12845 llroundl symbol when building for PPC32.
12847 2013-03-24 Mark H Weaver <mhw@netris.org>
12849 * manual/arith.texi (Normalization Functions): Fix prototypes for
12850 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12852 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12855 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12856 high value to check if expl overflow.
12857 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12858 to check for underflow and overflow.
12859 * math/libm-test.inc: Add exp test.
12861 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12864 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12867 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12869 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12872 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12874 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12875 wrap blocks consisting of several statements.
12877 * sysdeps/generic/math-tests.h: New file.
12878 * sysdeps/i386/fpu/math-tests.h: Likewise.
12879 * math/test-snan.c: Include it.
12880 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12882 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12885 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12886 (__ieee754_j0l): Do not improve calculations using cos of twice
12887 input for inputs above LDBL_MAX / 2.0L.
12888 (__ieee754_y0l): Likewise.
12889 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12890 (__ieee754_j1l): Do not improve calculations using cos of twice
12891 input for inputs above LDBL_MAX / 2.0L.
12892 (__ieee754_y1l): Likewise.
12893 * math/libm-test.inc (j0_test): Add another test.
12894 (j1_test): Likewise.
12895 (y0_test): Likewise.
12896 (y1_test): Likewise.
12897 * sysdeps/i386/fpu/libm-test-ulps: Update.
12899 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12901 * Rules ($(objpfx)bench-%.c): Include code from a C source
12904 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12907 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12908 imaginary part 1.0 and real part less than 0.5 specially.
12909 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12910 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12911 * math/libm-test.inc (cacos_test): Add more tests.
12912 (casin_test): Likewise.
12913 (casinh_test): Likewise.
12914 * sysdeps/i386/fpu/libm-test-ulps: Update.
12915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12917 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12919 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12920 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12922 2013-03-20 Joseph Myers <joseph@codesourcery.com>
12924 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12925 * config.make.in (config-cflags-sse4): Remove variable.
12926 (config-cflags-avx): Likewise.
12927 (config-cflags-sse2avx): Likewise.
12928 (config-cflags-novzeroupper): Likewise.
12929 (config-asflags-i686): Likewise.
12930 (have-mfma4): Likewise.
12931 (have-as-vis3): Likewise.
12933 * configure.in (MIG): Do not AC_SUBST.
12934 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12935 (libc_cv_cc_sse4): Do not AC_SUBST.
12936 (libc_cv_cc_avx): Likewise.
12937 (libc_cv_cc_sse2avx): Likewise.
12938 (libc_cv_cc_novzeroupper): Likewise.
12939 (libc_cv_cc_fma4): Likewise.
12940 (libc_cv_as_i686): Likewise.
12941 (libc_cv_sparc_as_vis3): Likewise.
12942 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12944 (config-asflags-i686): Likewise.
12945 (config-cflags-avx): Likewise.
12946 (config-cflags-sse2avx): Likewise.
12947 (have-mfma4): Likewise.
12948 (config-cflags-novzeroupper): Likewise.
12949 * sysdeps/mach/configure.in (MIG): Likewise.
12950 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12951 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12953 (config-cflags-avx): Likewise.
12954 (config-cflags-sse2avx): Likewise.
12955 (have-mfma4): Likewise.
12956 (config-cflags-novzeroupper): Likewise.
12957 * configure: Regenerated.
12958 * sysdeps/i386/configure: Likewise.
12959 * sysdeps/mach/configure: Likewise.
12960 * sysdeps/sparc/configure: Likewise.
12961 * sysdeps/x86_64/configure: Likewise.
12963 2013-03-20 Roland McGrath <roland@hack.frob.com>
12966 * locale/programs/localedef.c (options): Put N_ translation marker
12967 on argument names, not just descriptions.
12969 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12971 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12973 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
12976 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12978 2013-03-19 Roland McGrath <roland@hack.frob.com>
12980 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12981 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12982 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12983 [!BEFORE_ABORT] (before_abort): New function.
12984 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12985 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12986 (writev_for_fatal): New function.
12987 (WRITEV_FOR_FATAL): New macro; call that.
12988 (backtrace_and_maps): New function.
12989 (BEFORE_ABORT): New macro; call that.
12990 (struct str_list): Type removed.
12991 (__libc_message, __libc_fatal): Functions removed.
12992 Include <sysdeps/posix/libc_fatal.c> instead.
12994 2013-03-19 Joseph Myers <joseph@codesourcery.com>
12996 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12998 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
13001 2013-03-19 Andreas Schwab <schwab@suse.de>
13003 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
13004 * sysdeps/gnu/configure: Regenerate.
13006 * configure.in: Substitute libc_cv_rtlddir.
13007 * configure: Regenerate.
13008 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13009 * Makeconfig (rtlddir, inst_rtlddir): New variables.
13010 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13011 * elf/Makefile (install-others, CFLAGS-interp.c)
13012 (ldso_install, common-ldd-rewrite): Likewise.
13013 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13014 $(inst_slibdir)/$(rtld-installed-name).
13015 * scripts/rellns-sh: Add -p option.
13016 * Makerules (make-shlib-link): Use rellns-sh to get relative name
13019 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13021 * manual/nptl.texi: Renamed to ...
13022 * manual/threads.texi: ... this.
13023 * manual/Makefile (chapters): Update.
13025 2013-03-18 Roland McGrath <roland@hack.frob.com>
13028 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13029 on argument names, not just descriptions.
13030 * malloc/memusagestat.c (options): Likewise.
13031 * nss/getent.c (options): Likewise.
13033 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
13036 * iconv/iconv_prog.c (options): Put N_ translation marker
13037 on argument names, not just descriptions.
13038 * iconv/iconvconfig.c (options): Likewise.
13040 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
13042 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13043 implementation which is faster on all x86_64 architectures.
13044 Tested on AMD, Intel Nehalem, SNB, IVB.
13045 * sysdeps/x86_64/strnlen.S: Likewise.
13047 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13048 Remove all multiarch strlen and strnlen versions.
13049 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13050 Remove strlen and strnlen related parts.
13052 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13053 Inline strlen part.
13054 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13056 * sysdeps/x86_64/multiarch/strlen.S: Remove.
13057 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13058 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13059 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13060 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13061 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13063 2013-03-17 Carlos O'Donell <carlos@redhat.com>
13065 * manual/memory.texi (Malloc Tunable Parameters):
13066 Sort parameters alphabetically. Add comments for missing entries.
13068 2013-03-17 David S. Miller <davem@davemloft.net>
13070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13072 2013-03-16 Joseph Myers <joseph@codesourcery.com>
13075 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13076 for arguments at most half maximum finite value.
13077 * math/libm-test.inc (j0_test): Add more tests.
13078 (j1_test): Likewise.
13079 (y0_test): Likewise.
13080 (y1_test): Likewise.
13081 * sysdeps/i386/fpu/libm-test-ulps: Update.
13082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13085 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13086 1 / x and functions P and Q for arguments above 0x1p256L.
13087 (__ieee754_y0l): Likewise.
13088 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13089 (__ieee754_y1l): Likewise.
13090 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13091 (j1_test): Likewise.
13092 (y0_test): Likewise.
13093 (y1_test): Likewise.
13095 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
13097 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13100 2013-03-15 Roland McGrath <roland@hack.frob.com>
13102 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13103 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13104 zero since it's initialized to EXEC_PAGESIZE.
13106 * sysdeps/unix/sysv/linux/ldsodefs.h
13107 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13108 * sysdeps/generic/ldsodefs.h: ... here.
13110 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
13112 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13114 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13116 * math/test-snan.c: Renamed from
13117 sysdeps/powerpc/fpu/test-powerpc-snan.c.
13118 * math/Makefile (tests): Add test-snan.
13119 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13122 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13123 SUFFIX. Initialize qNaN_var with __builtin_nan family of
13125 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
13126 __builtin_nan family of functions.
13127 * math/libm-test.inc (initialize): Initialize qnan_value with
13128 __builtin_nan family of functions.
13129 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13131 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13133 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
13134 storage class. Initialize qNaN_var and sNaN_var with
13135 __builtin_nan and __builtin_nans families of functions,
13138 * math/libm-test.inc (acosh_test): Also test with qNaN input.
13139 (sqrt_test): Remove duplicate test with qNaN input.
13140 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13141 (round_test, signbit_test, significand_test): Note missing +/-Inf
13142 as well as qNaN tests.
13144 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13145 qNaN_var. Fix a few strings, too.
13146 * math/libm-test.inc (nan_value): Rename to qnan_value.
13147 * math/gen-libm-test.pl (%beautify): Adjust to that.
13148 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13149 * math/test-misc.c (main): Likewise.
13150 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13151 to __qnan_bytes, and __qnan_union, respectively.
13152 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13154 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13155 and lqnanval, respectively.
13156 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13157 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13158 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13159 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13161 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13162 * math/test-misc.c (main) [__x86_64__]: Enable test for long
13165 * math/test-misc.c (main): Fix copy'n'pastos.
13166 * misc/tst-efgcvt.c (special): Likewise.
13168 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13169 Remove declarations.
13171 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13173 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13174 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13175 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13176 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13178 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13180 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13181 macro to return vdso values correctly in IFUNC implementations.
13182 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13183 Optimization by using IFUNC.
13185 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13186 Richard Henderson <rth@redhat.com>
13187 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13189 * Makefile.in (bench): New target.
13190 * NEWS: Mention the benchmark framework.
13191 * Rules (bench): Likewise.
13192 (binaries-bench): Generate binaries for functions to
13194 * benchtests/Makefile: New makefile for benchmark tests.
13195 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13197 * benchtests/exp-inputs: New input file for EXP function.
13198 * benchtests/pow-inputs: New input file for POW function.
13199 * scripts/bench.pl: New script to generate source files for
13200 benchmark programs.
13202 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13204 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13205 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13206 computations on mantissa. Use macros for rounding and
13208 (denorm): Likewise.
13209 (__dbl_mp): Likewise.
13210 (add_magnitudes): Likewise.
13211 (sub_magnitudes): Likewise.
13214 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13215 powers of two in terms of TWOPOW macro.
13216 (mp_no): Make type of mantissa as MANTISSA_T.
13217 [!RADIXI]: Define RADIXI.
13218 [!TWO52]: Define TWO52.
13219 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13221 * manual/nptl.texi (cindex): Modify threads to pthreads.
13223 2013-03-15 Joseph Myers <joseph@codesourcery.com>
13225 * sysdeps/x86_64/preconfigure: Regenerated.
13227 2013-03-14 Joseph Myers <joseph@codesourcery.com>
13230 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13232 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13233 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13235 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13236 * math/libm-test.inc (j0_test): Do not allow one spurious
13237 underflow exception.
13238 (y1_test): Likewise.
13240 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13242 * manual/Makefile (chapters): Add nptl.
13243 * manual/debug.texi (Debugging Support): Add link to Threads
13245 * manual/nptl.texi: New file.
13247 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13249 2013-03-14 Petr Baudis <pasky@ucw.cz>
13251 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13252 for non-NULL pointer before the memory validity test. Pointed
13253 out by Holger Brunck <holger.brunck@keymile.com>.
13255 2013-03-13 Andreas Schwab <schwab@suse.de>
13257 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13260 2013-03-13 Joseph Myers <joseph@codesourcery.com>
13262 * timezone/zic.c: Update from tzcode 2013b.
13264 2013-03-12 Carlos O'Donell <carlos@redhat.com>
13266 * manual/install.texi (Configuring and compiling):
13267 Mention i686 and i586.
13268 * INSTALL: Regenerate.
13270 2013-03-12 Roland McGrath <roland@hack.frob.com>
13272 * sysdeps/init_array/elf-init.c: New file.
13274 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13275 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13277 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13278 __gmon_start__ as global, but as static with a .preinit_array pointer.
13279 * sysdeps/init_array/gmon-start.c: New file. Use that.
13280 * sysdeps/init_array/crti.S: New file, empty except for comments.
13281 * sysdeps/init_array/crtn.S: Likewise.
13283 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
13285 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13288 Remove Prefer_SSE_for_memop.
13289 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13290 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13291 HAS_PREFER_SSE_FOR_MEMOP.
13292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13294 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13295 Remove bzero, memset ifunc support.
13296 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13297 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13298 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13299 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13301 2013-03-11 Andreas Schwab <schwab@suse.de>
13304 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13307 (GLIBC_2.16): Remove pthread_atfork.
13309 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13311 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13312 (ptestcases.h): Likewise.
13314 2013-03-08 Roland McGrath <roland@hack.frob.com>
13316 * Makeconfig ($(common-objpfx)config.status): Depend on
13317 sysdeps/*/preconfigure{,.in} too.
13319 2013-03-08 Joseph Myers <joseph@codesourcery.com>
13321 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13322 (__free_hook): Use void * instead of __malloc_ptr_t.
13323 (__malloc_hook): Likewise.
13324 (__realloc_hook): Likewise.
13325 (__memalign_hook): Likewise.
13326 (__after_morecore_hook): Likewise.
13327 * malloc/arena.c (save_malloc_hook): Likewise.
13328 (save_free_hook): Likewise.
13329 * malloc/hooks.c (malloc_hook_ini): Likewise.
13330 (realloc_hook_ini): Likewise.
13331 (memalign_hook_ini): Likewise.
13332 * malloc/malloc.c (malloc_hook_ini): Likewise.
13333 (realloc_hook_ini): Likewise.
13334 (memalign_hook_ini): Likewise.
13335 (__free_hook): Likewise.
13336 (__malloc_hook): Likewise.
13337 (__realloc_hook): Likewise.
13338 (__memalign_hook): Likewise.
13339 (__libc_malloc): Likewise.
13340 (__libc_free): Likewise.
13341 (__libc_realloc): Likewise.
13342 (__libc_memalign): Likewise.
13343 (__libc_valloc): Likewise.
13344 (__libc_pvalloc): Likewise.
13345 (__libc_calloc): Likewise.
13346 (__posix_memalign): Likewise.
13347 * malloc/morecore.c (__sbrk): Likewise.
13348 (__default_morecore): Likewise.
13350 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13352 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13353 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13354 __malloc_ptrdiff_t.
13356 * malloc/malloc.h (__malloc_size_t): Remove macro.
13357 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13359 (old_memalign_hook): Likewise.
13360 (old_realloc_hook): Likewise.
13361 (struct hdr): Likewise.
13363 (mallochook): Likewise.
13364 (memalignhook): Likewise.
13365 (reallochook): Likewise.
13366 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13367 (tr_old_realloc_hook): Likewise.
13368 (tr_old_memalign_hook): Likewise.
13369 (tr_mallochook): Likewise.
13370 (tr_reallochook): Likewise.
13371 (tr_memalignhook): Likewise.
13373 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13375 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13376 default_ldbl_pack and using as default implementation.
13377 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13379 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13380 redundant definition.
13381 (ldbl_insert_mantissa): Likewise.
13382 (ldbl_canonicalize): Likewise.
13383 (ldbl_nearbyint): Likewise.
13384 (ldbl_pack): Rename to ldbl_pack_ppc.
13385 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13386 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13387 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13389 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13392 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13393 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13394 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13395 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13396 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13397 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13398 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13400 2013-03-07 Andreas Jaeger <aj@suse.de>
13402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13405 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13407 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13408 Include mpa.h and declare __MPEXP.
13409 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13410 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13411 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13412 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13413 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13414 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13415 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13417 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13418 (__slowpow): Use long double EXPL and LOGL functions to
13420 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13421 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13422 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13423 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13424 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13425 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13428 intermediate variable to calculate exponent.
13430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13434 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13435 [!NO__SQR]: Define __sqr.
13436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13437 and NO__SQR. Remove all code except __mul and __sqr. Include
13438 sysdeps/ieee754/dbl-64/mpa.c.
13439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13442 * posix/Makefile (tests): Add tst-pathconf.
13443 * posix/tst-pathconf.c: New test case.
13444 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13446 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13448 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
13450 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13452 2013-03-06 Andreas Jaeger <aj@suse.de>
13454 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13455 definition via __MAP_ANONYMOUS.
13457 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13458 it's not part of Linux headers.
13460 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13461 (MAP_HUGE_MASK): Define.
13463 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13465 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13466 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13468 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13469 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13471 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13472 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13474 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13476 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13477 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13478 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13479 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13480 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13481 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13483 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13486 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13487 Handle f2fs and efivarfs.
13489 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13492 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13493 (EFIVARFS_MAGIC): Add.
13494 (F2FS_LINK_MAX): Add.
13496 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13498 * stdio-common/vfprintf.c: Replace __builtin_expect with
13501 2013-03-06 Joseph Myers <joseph@codesourcery.com>
13504 * sysdeps/generic/bp-sym.h: Remove file.
13505 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13506 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13507 <bp-sym.h> and <bp-asm.h>.
13508 (__longjmp): Don't use BP_SYM.
13509 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13511 (memcpy): Don't use BP_SYM.
13512 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13513 <bp-sym.h> and <bp-asm.h>.
13514 (memcpy): Don't use BP_SYM.
13515 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13517 (memcpy): Don't use BP_SYM.
13518 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13520 (memset): Don't use BP_SYM.
13521 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13522 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13523 (__bzero): Don't use BP_SYM.
13524 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13525 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13526 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13527 <bp-sym.h> and <bp-asm.h>.
13528 (memcmp): Don't use BP_SYM. Remove comment about bounded
13530 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13531 <bp-sym.h> and <bp-asm.h>.
13532 (memcpy): Don't use BP_SYM.
13533 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13534 <bp-sym.h> and <bp-asm.h>.
13535 (memset): Don't use BP_SYM.
13536 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13537 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13538 (__bzero): Don't use BP_SYM.
13539 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13540 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13541 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13542 <bp-sym.h> and <bp-asm.h>.
13543 (strncmp): Don't use BP_SYM. Remove comment about bounded
13545 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13546 <bp-sym.h> and <bp-asm.h>.
13547 (memcpy): Don't use BP_SYM.
13548 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13549 <bp-sym.h> and <bp-asm.h>.
13550 (memset): Don't use BP_SYM.
13551 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13552 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13553 (__bzero): Don't use BP_SYM.
13554 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13555 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13556 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13557 <bp-sym.h> and <bp-asm.h>.
13558 (__memchr): Don't use BP_SYM.
13559 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13560 <bp-sym.h> and <bp-asm.h>.
13561 (memcmp): Don't use BP_SYM. Remove comment about bounded
13563 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13564 <bp-sym.h> and <bp-asm.h>.
13565 (memcpy): Don't use BP_SYM.
13566 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13567 <bp-sym.h> and <bp-asm.h>.
13568 (__mempcpy): Don't use BP_SYM.
13569 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13570 <bp-sym.h> and <bp-asm.h>.
13571 (__memrchr): Don't use BP_SYM.
13572 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13573 <bp-sym.h> and <bp-asm.h>.
13574 (memset): Don't use BP_SYM.
13575 (__bzero): Likewise.
13576 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13577 <bp-sym.h> and <bp-asm.h>.
13578 (__rawmemchr): Don't use BP_SYM.
13579 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13580 <bp-sym.h> and <bp-asm.h>.
13581 (__STRCMP): Don't use BP_SYM.
13582 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13583 <bp-sym.h> and <bp-asm.h>.
13584 (strchr): Don't use BP_SYM.
13585 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13586 <bp-sym.h> and <bp-asm.h>.
13587 (__strchrnul): Don't use BP_SYM.
13588 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13589 <bp-sym.h> and <bp-asm.h>.
13590 (strlen): Don't use BP_SYM.
13591 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13592 <bp-sym.h> and <bp-asm.h>.
13593 (strncmp): Don't use BP_SYM. Remove comment about bounded
13595 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13596 <bp-sym.h> and <bp-asm.h>.
13597 (__strnlen): Don't use BP_SYM.
13598 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13599 <bp-sym.h> and <bp-asm.h>.
13600 (__GI__setjmp): Don't use BP_SYM.
13601 (_setjmp): Likewise.
13602 (__sigsetjmp): Likewise.
13603 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13604 (L(start_addresses)): Don't use BP_SYM.
13605 (_start): Likewise.
13606 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13608 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13609 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13610 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13611 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13612 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13614 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13615 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13616 about bounded pointers.
13617 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13618 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13619 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13621 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13622 about bounded pointers. Remove GKM FIXME comments.
13623 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13624 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13626 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13627 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13628 Remove GKM FIXME comments.
13629 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13630 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13631 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13633 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13634 about bounded pointers. Remove GKM FIXME comment.
13635 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13637 (strncmp): Don't use BP_SYM. Remove comment about bounded
13639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13640 <bp-sym.h> and <bp-asm.h>.
13641 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13643 <bp-sym.h> and <bp-asm.h>.
13644 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13647 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13649 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13652 2013-03-05 David S. Miller <davem@davemloft.net>
13654 * po/es.po: Update from translation team.
13656 2013-03-05 Andreas Jaeger <aj@suse.de>
13658 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13659 <bits/mman-linux.h>.
13660 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13662 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13663 <bits/mman-linux.h> to end of file.
13664 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13666 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13667 <bits/mman-linux.h> to end of file.
13668 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13670 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13671 <bits/mman-linux.h> to end of file.
13673 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13674 (MCL_CURRENT, MCL_FUTURE): Define here.
13676 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13679 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13681 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13683 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13685 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13686 fourth parameter needed for rt_sigprocmask syscall.
13687 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13688 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13689 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13690 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13691 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13692 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13694 2013-03-04 Joseph Myers <joseph@codesourcery.com>
13697 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13698 comment about bounded pointers.
13699 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13700 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13702 2013-03-04 Andreas Jaeger <aj@suse.de>
13704 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13705 common definitions.
13707 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13708 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13709 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13710 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13711 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13712 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13714 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13717 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13718 __ieee754_sqrl instead of __sqrl.
13720 2013-03-01 Joseph Myers <joseph@codesourcery.com>
13722 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13723 * sysdeps/powerpc/fpu_control.h: ... here.
13724 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13725 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13726 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13727 * sysdeps/powerpc/bits/mathinline.h: ... here.
13729 2013-03-01 Roland McGrath <roland@hack.frob.com>
13731 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13732 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13733 to just [NEED_DL_SYSINFO_DSO].
13734 * elf/dl-support.c: Likewise.
13735 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13736 * elf/rtld.c (dl_main): Likewise.
13737 * elf/setup-vdso.h (setup_vdso): Likewise.
13738 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13739 * sysdeps/unix/sysv/linux/dl-sysdep.c
13740 (_dl_discover_osversion): Likewise.
13742 2013-03-01 Carlos O'Donell <carlos@redhat.com>
13744 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13745 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13747 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13749 * NEWS: Mention libm performance improvements and non-x86 PI
13752 * csu/libc-start.c (__pthread_initialize_minimal): Change
13753 function arguments.
13754 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13756 2013-02-28 Joseph Myers <joseph@codesourcery.com>
13759 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13760 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13761 <bp-sym.h> and <bp-asm.h>.
13762 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13763 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13765 (memcpy): Don't use BP_SYM.
13766 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13768 (__mpn_add_n): Don't use BP_SYM.
13769 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13770 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13772 (__mpn_addmul_1): Don't use BP_SYM.
13773 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13774 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13776 (_setjmp): Don't use BP_SYM.
13777 (__novmx_setjmp): Likewise.
13778 (__GI__setjmp): Likewise.
13779 (__vmx_setjmp): Likewise.
13780 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13782 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13783 (__bzero): Don't use BP_SYM.
13784 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13785 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13786 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13787 <bp-sym.h> and <bp-asm.h>.
13788 (memcpy): Don't use BP_SYM.
13789 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13790 <bp-sym.h> and <bp-asm.h>.
13791 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13792 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13793 <bp-sym.h> and <bp-asm.h>.
13794 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13795 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13797 (__mpn_lshift): Don't use BP_SYM.
13798 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13799 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13801 (memset): Don't use BP_SYM.
13802 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13803 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13804 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13806 (__mpn_mul_1): Don't use BP_SYM.
13807 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13808 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13809 <bp-sym.h> and <bp-asm.h>.
13810 (memcmp): Don't use BP_SYM.
13811 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13812 <bp-sym.h> and <bp-asm.h>.
13813 (memcpy): Don't use BP_SYM.
13814 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13815 <bp-sym.h> and <bp-asm.h>.
13816 (memset): Don't use BP_SYM.
13817 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13818 <bp-sym.h> and <bp-asm.h>.
13819 (strncmp): Don't use BP_SYM.
13820 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13821 <bp-sym.h> and <bp-asm.h>.
13822 (memcpy): Don't use BP_SYM.
13823 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13824 <bp-sym.h> and <bp-asm.h>.
13825 (memset): Don't use BP_SYM.
13826 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13827 <bp-sym.h> and <bp-asm.h>.
13828 (__memchr): Don't use BP_SYM.
13829 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13830 <bp-sym.h> and <bp-asm.h>.
13831 (memcmp): Don't use BP_SYM.
13832 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13833 <bp-sym.h> and <bp-asm.h>.
13834 (memcpy): Don't use BP_SYM.
13835 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13836 <bp-sym.h> and <bp-asm.h>.
13837 (__mempcpy): Don't use BP_SYM.
13838 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13839 <bp-sym.h> and <bp-asm.h>.
13840 (__memrchr): Don't use BP_SYM.
13841 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13842 <bp-sym.h> and <bp-asm.h>.
13843 (memset): Don't use BP_SYM.
13844 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13845 <bp-sym.h> and <bp-asm.h>.
13846 (__rawmemchr): Don't use BP_SYM.
13847 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13848 <bp-sym.h> and <bp-asm.h>.
13849 (__STRCMP): Don't use BP_SYM.
13850 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13851 <bp-sym.h> and <bp-asm.h>.
13852 (strchr): Don't use BP_SYM.
13853 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13854 <bp-sym.h> and <bp-asm.h>.
13855 (__strchrnul): Don't use BP_SYM.
13856 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13857 <bp-sym.h> and <bp-asm.h>.
13858 (strlen): Don't use BP_SYM.
13859 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13860 <bp-sym.h> and <bp-asm.h>.
13861 (strncmp): Don't use BP_SYM.
13862 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13863 <bp-sym.h> and <bp-asm.h>.
13864 (__strnlen): Don't use BP_SYM.
13865 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13867 (__mpn_rshift): Don't use BP_SYM.
13868 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13869 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13870 <bp-sym.h> and <bp-asm.h>.
13871 (__sigsetjmp): Don't use BP_SYM.
13872 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13873 (L(start_addresses)): Don't use BP_SYM.
13874 (_start): Likewise.
13875 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13877 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13878 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13879 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13880 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13882 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13883 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13884 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13885 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13887 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13889 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13890 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13892 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13894 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13895 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13896 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13898 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13900 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13902 (strncmp): Don't use BP_SYM,
13903 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13905 (__mpn_sub_n): Don't use BP_SYM.
13906 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13907 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13909 (__mpn_submul_1): Don't use BP_SYM.
13910 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13912 <bp-sym.h> and <bp-asm.h>.
13913 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13915 <bp-sym.h> and <bp-asm.h>.
13916 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13919 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13922 Use ZK to minimize writes to Z.
13923 (sub_magnitudes): Simplify code a bit.
13924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13925 Use ZK to minimize writes to Z.
13926 (sub_magnitudes): Simplify code a bit.
13928 2013-02-27 Roland McGrath <roland@hack.frob.com>
13930 * csu/gmon-start.c: Add special exception to license text.
13932 2013-02-27 Richard Henderson <rth@redhat.com>
13934 * scripts/config.guess: Update from config.git.
13935 * scripts/config.sub: Likewise.
13937 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13939 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13941 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13943 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13945 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13947 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13949 2013-02-26 Roland McGrath <roland@hack.frob.com>
13951 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13952 [$(build-shared = yes].
13954 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13956 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13957 (__mul): Reduce iterations for calculating mantissa.
13959 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13961 (__mpranred): Likewise.
13964 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13965 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13967 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13969 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13970 Define __attribute__.
13972 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13974 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13976 * posix/regex_internal.h (__attribute): Remove.
13977 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13978 (re_string_context_at): Likewise.
13979 (bitset_not): Use __attribute__ and mark function as possibly
13981 (bitset_merge): Likewise.
13982 (bitset_mask): Likewise.
13983 (re_string_char_size_at): Likewise.
13984 (re_string_wchar_at): Likewise.
13985 (re_string_elem_size_at): Likewise.
13987 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13989 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13993 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13997 (denorm): Likewise.
13998 (__dbl_mp): Likewise.
13999 (add_magnitudes): Likewise.
14000 (sub_magnitudes): Likewise.
14004 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
14007 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
14010 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14014 up changes with default code.
14015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14018 2013-02-24 Allan McRae <allan@archlinux.org>
14020 * manual/socket.texi (The Internet Namespace): Order menu items
14021 to match that in the file.
14023 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14024 node listing of the info page menu.
14026 2013-02-21 Joseph Myers <joseph@codesourcery.com>
14029 * sysdeps/i386/bp-asm.h: Remove file.
14030 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14031 (PARMS): Do not use macros from bp-asm.h.
14035 (__mpn_add_n): Do not use BP_SYM
14036 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14038 (PARMS): Do not use macros from bp-asm.h.
14041 (__mpn_addmul_1): Do not use BP_SYM
14042 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14044 (PARMS): Do not use macros from bp-asm.h.
14045 (SIGMSK): Likewise.
14046 (_setjmp): Likewise. Do not use BP_SYM.
14047 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14049 (PARMS): Do not use macros from bp-asm.h.
14050 (SIGMSK): Likewise.
14051 (setjmp): Likewise. Do not use BP_SYM.
14052 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14054 (PARMS): Do not use macros from bp-asm.h.
14055 (__frexp): Do not use BP_SYM.
14057 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14059 (PARMS): Do not use macros from bp-asm.h.
14060 (__frexpf): Do not use BP_SYM.
14061 (frexpf): Likewise.
14062 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14064 (PARMS): Do not use macros from bp-asm.h.
14065 (__frexpl): Do not use BP_SYM.
14066 (frexpl): Likewise.
14067 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14069 (PARMS): Do not use macros from bp-asm.h.
14070 (__remquo): Do not use BP_SYM.
14071 (remquo): Likewise.
14072 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14074 (PARMS): Do not use macros from bp-asm.h.
14075 (__remquof): Do not use BP_SYM.
14076 (remquof): Likewise.
14077 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14079 (PARMS): Do not use macros from bp-asm.h.
14080 (__remquol): Do not use BP_SYM.
14081 (remquol): Likewise.
14082 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14084 (PARMS): Do not use macros from bp-asm.h.
14087 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
14088 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14090 (PARMS): Do not use macros from bp-asm.h.
14091 (strlen): Do not use BP_SYM.
14092 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14094 (PARMS): Do not use macros from bp-asm.h.
14098 (__mpn_add_n): Do not use BP_SYM.
14099 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14101 (PARMS): Do not use macros from bp-asm.h.
14104 (__mpn_addmul_1): Do not use BP_SYM.
14105 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14108 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14110 (PARMS): Do not use macros from bp-asm.h.
14113 (__mpn_lshift): Do not use BP_SYM.
14114 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
14116 (PARMS): Do not use macros from bp-asm.h.
14120 (memcpy): Likewise. Do not use BP_SYM.
14121 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14122 libc_hidden_def and weak_alias.
14123 (mempcpy): Do not use BP_SYM in weak_alias.
14124 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14126 (PARMS): Do not use macros from bp-asm.h.
14129 [!BZERO_P] (CHR): Likewise.
14130 (memset): Likewise. Do not use BP_SYM.
14131 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14133 (PARMS): Do not use macros from bp-asm.h.
14136 (__mpn_mul_1): Do not use BP_SYM.
14137 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14139 (PARMS): Do not use macros from bp-asm.h.
14142 (__mpn_rshift): Do not use BP_SYM.
14143 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14145 (PARMS): Do not use macros from bp-asm.h.
14148 (strchr): Likewise. Do not use BP_SYM.
14149 (index): Do not use BP_SYM in weak_alias.
14150 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14152 (PARMS): Do not use macros from bp-asm.h.
14155 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
14156 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14158 (PARMS): Do not use macros from bp-asm.h.
14159 (strlen): Do not use BP_SYM.
14160 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14162 (PARMS): Do not use macros from bp-asm.h.
14166 (__mpn_sub_n): Do not use BP_SYM.
14167 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14169 (PARMS): Do not use macros from bp-asm.h.
14172 (__mpn_submul_1): Do not use BP_SYM.
14173 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14175 (PARMS): Do not use macros from bp-asm.h.
14179 (__mpn_add_n): Do not use BP_SYM.
14180 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14183 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14185 (PARMS): Do not use macros from bp-asm.h.
14188 (memcmp): Do not use BP_SYM.
14189 (bcmp): Do not use BP_SYM in weak_alias.
14190 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14192 (PARMS): Do not use macros from bp-asm.h.
14196 (memcpy): Likewise. Do not use BP_SYM.
14197 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14199 (PARMS): Do not use macros from bp-asm.h.
14203 (memmove): Likewise. Do not use BP_SYM.
14204 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14206 (PARMS): Do not use macros from bp-asm.h.
14210 (__mempcpy): Likewise. Do not use BP_SYM.
14211 (mempcpy): Do not use BP_SYM in weak_alias.
14212 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14214 (PARMS): Do not use macros from bp-asm.h.
14217 [!BZERO_P] (CHR): Likewise.
14218 (memset): Likewise. Do not use BP_SYM.
14219 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14221 (PARMS): Do not use macros from bp-asm.h.
14223 (strcmp): Do not use BP_SYM.
14224 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14226 (PARMS): Do not use macros from bp-asm.h.
14229 [USE_AS_STRTOK_R] (SAVE): Likewise.
14230 (FUNCTION): Likewise. Do not use BP_SYM.
14231 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14233 (strtok_r): Likewise.
14234 (__GI___strtok_r): Likewise.
14235 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14236 (PARMS): Do not use macros from bp-asm.h.
14239 (__mpn_lshift): Do not use BP_SYM.
14240 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14241 (PARMS): Do not use macros from bp-asm.h.
14244 (__memchr): Do not use BP_SYM.
14245 (memchr): Do not use BP_SYM in weak_alias.
14246 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14247 (PARMS): Do not use macros from bp-asm.h.
14250 (memcmp): Do not use BP_SYM.
14251 (bcmp): Do not use BP_SYM in weak_alias.
14252 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14253 (PARMS): Do not use macros from bp-asm.h.
14256 (__mpn_mul_1): Do not use BP_SYM.
14257 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14259 (PARMS): Do not use macros from bp-asm.h.
14262 (__rawmemchr): Do not use BP_SYM.
14263 (rawmemchr): Do not use BP_SYM in weak_alias.
14264 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14265 (PARMS): Do not use macros from bp-asm.h.
14268 (__mpn_rshift): Do not use BP_SYM.
14269 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14270 (PARMS): Do not use macros from bp-asm.h.
14271 (SIGMSK): Likewise.
14272 (__sigsetjmp): Likewise. Do not use BP_SYM.
14273 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14274 (_start): Do not use BP_SYM.
14275 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14276 (PARMS): Do not use macros from bp-asm.h.
14279 (__stpcpy): Likewise. Do not use BP_SYM.
14280 (stpcpy): Do not use BP_SYM in weak_alias.
14281 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14283 (PARMS): Do not use macros from bp-asm.h.
14287 (__stpncpy): Likewise. Do not use BP_SYM.
14288 (stpncpy): Do not use BP_SYM in weak_alias.
14289 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14290 (PARMS): Do not use macros from bp-asm.h.
14293 (strchr): Likewise. Do not use BP_SYM.
14294 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14296 (PARMS): Do not use macros from bp-asm.h.
14299 (__strchrnul): Likewise. Do not use BP_SYM.
14300 (strchrnul): Do not use BP_SYM in weak_alias.
14301 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14303 (PARMS): Do not use macros from bp-asm.h.
14305 (strcspn): Do not use BP_SYM.
14306 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14308 (PARMS): Do not use macros from bp-asm.h.
14311 (strpbrk): Likewise. Do not use BP_SYM.
14312 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14314 (PARMS): Do not use macros from bp-asm.h.
14317 (strrchr): Likewise. Do not use BP_SYM.
14318 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14319 (PARMS): Do not use macros from bp-asm.h.
14321 (strspn): Do not use BP_SYM.
14322 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14323 (PARMS): Do not use macros from bp-asm.h.
14327 (FUNCTION): Likewise. Do not use BP_SYM.
14328 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14330 (strtok_r): Likewise.
14331 (__GI___strtok_r): Likewise.
14332 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14333 (PARMS): Do not use macros from bp-asm.h.
14337 (__mpn_sub_n): Do not use BP_SYM.
14338 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14340 (PARMS): Do not use macros from bp-asm.h.
14343 (__mpn_submul_1): Do not use BP_SYM.
14344 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14346 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14348 (PARMS): Do not use macros from bp-asm.h.
14353 (__clone): Do not use BP_SYM.
14354 (clone): Do not use BP_SYM in weak_alias.
14355 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14357 (PARMS): Do not use macros from bp-asm.h.
14359 (__mmap64): Do not use BP_SYM.
14360 (mmap64): Do not use BP_SYM in weak_alias.
14361 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14362 <bp-sym.h> and <bp-asm.h>.
14363 (PARMS): Do not use macros from bp-asm.h.
14364 (__posix_fadvise64_l64): Do not use BP_SYM.
14365 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14366 (PARMS): Do not use macros from bp-asm.h.
14368 (semtimedop): Do not use BP_SYM.
14369 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14372 2013-02-21 Allan McRae <allan@archlinux.org>
14374 * manual/message.texi (Charset conversion in gettext):
14375 Move @end statement to beginning of line.
14377 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14384 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14385 (denorm): Likewise.
14386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14389 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14391 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14392 tail-call to the resolved function if pltexit isn't needed.
14394 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14397 or Y being zero as being unlikely.
14398 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14401 2013-02-20 Carlos O'Donell <carlos@redhat.com>
14403 * manual/nss.texi (System Databases and Name Service Switch):
14404 Remove frobnicate @pxref.
14406 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14408 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14409 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14411 2013-02-20 Petr Machata <pmachata@redhat.com>
14413 * elf/elf.h (R_ARM_TARGET1): New macro.
14414 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14415 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14416 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14417 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14418 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14419 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14420 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14421 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14422 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14423 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14424 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14425 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14426 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14427 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14428 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14429 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14430 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14431 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14432 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14433 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14434 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14435 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14436 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14437 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14438 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14439 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14440 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14441 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14442 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14443 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14444 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14445 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14446 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14447 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14448 (R_ARM_THM_GOT_BREL12): Likewise.
14449 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14450 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14451 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14452 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14453 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14454 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14455 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14456 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14457 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14459 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14461 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14462 __attribute_used__ to __attribute__ ((unused)).
14464 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14466 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14469 comment formatting.
14470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14472 2013-02-19 Joseph Myers <joseph@codesourcery.com>
14475 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14477 (ENTER): Remove both macro definitions.
14479 (CHECK_BOUNDS_LOW): Likewise.
14480 (CHECK_BOUNDS_HIGH): Likewise.
14481 (CHECK_BOUNDS_BOTH): Likewise.
14482 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14483 (RETURN_BOUNDED_POINTER): Likewise.
14484 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14485 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14486 (POP_ERRNO_LOCATION_RETURN): Likewise.
14487 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14488 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14489 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14491 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14492 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14493 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14494 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14495 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14496 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14497 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14498 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14499 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14500 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14501 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14502 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14503 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14504 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14506 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14507 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14509 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14510 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14511 * sysdeps/i386/i586/memset.S (memset): Likewise.
14512 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14513 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14514 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14516 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14517 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14518 Change uses of L(2) to L(out).
14519 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14520 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14521 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14522 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14523 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14525 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14526 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14528 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14529 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14530 (RETURN): Do not use macro LEAVE.
14531 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14532 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14533 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14534 * sysdeps/i386/i686/memset.S (memset): Likewise.
14535 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14536 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14537 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14538 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14540 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14541 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14542 L(1_2) and L(1_3) into L(1).
14543 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14544 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14545 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14546 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14547 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14548 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14549 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14550 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14551 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14553 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14554 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14555 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14556 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14557 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14558 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14559 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14560 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14561 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14562 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14563 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14564 * sysdeps/i386/strspn.S (strspn): Likewise.
14565 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14567 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14568 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14569 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14570 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14571 L(1_3) into L(1_1).
14572 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14573 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14574 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14576 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14578 2013-02-19 Jakub Jelinek <jakub@redhat.com>
14580 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14583 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14585 * math/atest-exp.c (exp_mpn): Remove ROUND.
14586 * math/atest-exp2.c (exp_mpn): Likewise.
14587 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14589 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14590 * stdlib/tst-tls-atexit-lib.c: Likewise.
14591 * stdlib/tst-tls-atexit.c: Likewise.
14593 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14595 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14596 and __attribute_alloc_size__.
14598 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14600 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14601 __attribute_alloc_size__.
14602 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14603 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14605 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14607 * include/programs/xmalloc.h: New file.
14608 * catgets/gencat.c: Include it.
14609 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14610 * elf/pldd.c: Likewise.
14611 * iconv/iconv_charmap.c: Likewise.
14612 * iconv/iconvconfig.c: Likewise.
14613 * iconv/strtab.c: Likewise.
14614 * locale/programs/locale.c: Likewise.
14615 * locale/programs/localedef.h: Likewise.
14616 * locale/programs/simple-hash.c: Likewise.
14617 * nscd/nscd.h: Likewise.
14618 * nss/makedb.c: Likewise.
14619 * sysdeps/generic/ldconfig.h: Likewise.
14621 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14623 * Versions.def: Add GLIBC_2.18.
14624 * include/link.h (struct link_map): New member l_tls_dtor_count.
14625 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14626 (__call_tls_dtors): Likewise.
14627 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14628 __cxa_thread_atexit_impl.
14629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14637 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14645 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14646 (tests): Add test case tst-tls-atexit.
14647 (modules-names): Add shared library for tst-tls-atexit.
14648 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
14649 (GLIBC_PRIVATE): Add __call_tls_dtors.
14650 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14652 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14653 * stdlib/tst-tls-atexit.c: New test case.
14654 * stdlib/tst-tls-atexit-lib.c: New test case.
14656 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
14658 * elf/Versions (ld): Add _dl_find_dso_for_object.
14659 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14660 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14661 (dl_open_worker): Use _dl_find_dso_for_object.
14662 * elf/dl-sym.c (do_sym): Likewise.
14663 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14665 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14667 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14668 Syntactic changes only.
14669 (_dl_runtime_profile): Do a tail-call to the resolved function.
14671 2013-02-17 Joseph Myers <joseph@codesourcery.com>
14674 * sysdeps/x86_64/bp-asm.h: Remove file.
14675 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14676 <bp-sym.h> and <bp-asm.h>.
14677 (__clone): Do not use BP_SYM.
14678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14679 <bp-sym.h> and <bp-asm.h>.
14680 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14681 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14683 (_setjmp): Do not use BP_SYM.
14684 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14686 (setjmp): Do not use BP_SYM.
14687 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14689 (mempcpy): Do not use BP_SYM in weak_alias.
14690 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14692 (strchr): Do not use BP_SYM.
14693 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14695 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14696 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14697 (_start): Do not use BP_SYM.
14698 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14700 (strcat): Do not use BP_SYM.
14701 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14703 (STRCMP): Do not use BP_SYM.
14704 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14706 (STRCPY): Do not use BP_SYM.
14707 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14709 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14711 (FUNCTION): Do not use BP_SYM.
14712 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14714 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14716 2013-02-17 Andreas Jaeger <aj@suse.de>
14718 * time/Versions: Sort entries.
14719 * string/Versions: Likewise.
14720 * resolv/Versions: Likewise.
14721 * posix/Versions: Likewise.
14722 * iconv/Versions: Likewise.
14723 * elf/Versions: Likewise.
14724 * wcsmbs/Versions: Likewise.
14726 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14728 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14729 loop termination condition.
14731 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14732 variable to calculate EZ.
14735 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14736 the lower precision input.
14738 2013-02-15 Joseph Myers <joseph@codesourcery.com>
14741 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14742 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14743 (run-via-rtld-prefix): Do not handle %-bp tests.
14744 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14745 (all-object-suffixes): Remove .ob.
14746 (bppfx): Remove variable.
14747 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14748 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14749 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14750 [$(build-bounded) = yes] (libtype.ob): Likewise.
14751 * Makerules (elide-routines.ob): Remove variable.
14752 (do-tests-clean): Do not handle *-bp.out.
14753 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14754 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14755 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14756 (tests): Do not include $(tests-bp.out).
14757 (xtests): Do not include $(xtests-bp.out).
14758 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14759 [$(build-bounded) = yes] ($(addprefix
14760 $(objpfx),$(binaries-bounded))): Remove rule.
14761 ($(objpfx)%-bp.out): Remove rule.
14762 * config.make.in (build-bounded): Remove variable.
14763 * crypt/Makefile [$(build-bounded) = yes]
14764 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14765 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14766 append to variable.
14767 [$(build-bounded) = yes] (install-lib): Likewise.
14768 [$(build-bounded) = yes] (generated): Likewise.
14769 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14771 * intl/Makefile [$(build-bounded) = yes]
14772 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14773 * math/Makefile [$(build-bounded) = yes]
14774 ($(tests:%=$(objpfx)%-bp): Likewise.
14775 * misc/Makefile [$(build-bounded) = yes]
14776 ($(objpfx)tst-tsearch-bp): Likewise.
14777 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14778 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14780 * string/Makefile (o-objects.ob): Remove variable.
14781 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14782 (CFLAGS-.ob): Remove variable.
14783 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14784 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14785 both definitions of variable.
14786 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14787 (ASFLAGS-.ob): Remove variable.
14789 2013-02-14 Joseph Myers <joseph@codesourcery.com>
14792 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14793 Remove __BOUNDED_POINTERS__ from condition.
14794 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14795 * string/bits/string2.h [!__NO_STRING_INLINES &&
14796 !__BOUNDED_POINTERS__]: Likewise.
14797 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14799 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14800 Remove conditional code.
14801 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14802 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14803 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14807 * csu/libc-start.c: Do not include <bp-sym.h>.
14808 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14809 * elf/dl-open.c: Do not include <bp-sym.h>.
14810 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14811 * math/fegetenv.c: Do not include <bp-sym.h>.
14812 (fegetenv): Do not use BP_SYM in versioned symbols.
14813 * nptl/sysdeps/pthread/bits/libc-lockP.h
14814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14817 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14819 (__pthread_mutex_destroy): Likewise.
14820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14821 (__pthread_mutex_lock): Likewise.
14822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14823 (__pthread_mutex_trylock): Likewise.
14824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14825 (__pthread_mutex_unlock): Likewise.
14826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14827 (__pthread_mutexattr_init): Likewise.
14828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14829 (__pthread_mutexattr_destroy): Likewise.
14830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14831 (__pthread_mutexattr_settype): Likewise.
14832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14833 (__pthread_rwlock_init): Likewise.
14834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14835 (__pthread_rwlock_destroy): Likewise.
14836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14837 (__pthread_rwlock_rdlock): Likewise.
14838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14839 (__pthread_rwlock_tryrdlock): Likewise.
14840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14841 (__pthread_rwlock_wrlock): Likewise.
14842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14843 (__pthread_rwlock_trywrlock): Likewise.
14844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14845 (__pthread_rwlock_unlock): Likewise.
14846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14847 (__pthread_key_create): Likewise.
14848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14849 (__pthread_setspecific): Likewise.
14850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14851 (__pthread_getspecific): Likewise.
14852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14855 (_pthread_cleanup_push_defer): Likewise.
14856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14857 (_pthread_cleanup_pop_restore): Likewise.
14858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14859 (pthread_setcancelstate): Likewise.
14860 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14862 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14863 (memchr): Do not use BP_SYM in weak_alias.
14864 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14865 (fegetenv): Do not use BP_SYM in versioned symbols.
14866 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14867 (fesetenv): Do not use BP_SYM in versioned symbols.
14868 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14869 (feupdateenv): Do not use BP_SYM in versioned symbols.
14870 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14871 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14872 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14873 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14874 (open64): Do not use BP_SYM in weak_alias.
14875 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14876 (fegetenv): Do not use BP_SYM in versioned symbols.
14877 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14878 (fesetenv): Do not use BP_SYM in versioned symbols.
14879 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14880 (feupdateenv): Do not use BP_SYM in versioned symbols.
14881 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14882 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14883 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14884 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14885 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14886 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14887 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14889 (__libc_start_main): Do not use BP_SYM.
14891 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14894 redundant return line.
14896 (denorm): Likewise.
14897 (dbl_mp): Likewise.
14898 (sub_magnitudes): Likewise.
14904 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14906 (denorm): Likewise.
14907 (dbl_mp): Likewise.
14908 (sub_magnitudes): Likewise.
14915 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14917 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14918 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14921 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14922 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14923 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14924 of __mul for squares.
14925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14929 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14930 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14932 2013-02-13 Joseph Myers <joseph@codesourcery.com>
14935 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14937 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14938 prototype or function definition. Rename ubp_* variables and
14939 parameters. Remove argv definitions conditional on
14940 [__BOUNDED_POINTERS__].
14941 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14942 * elf/dl-runtime.c (_dl_fixup): Likewise.
14943 * include/set-hooks.h (RUN_HOOK): Likewise.
14944 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14946 * string/strcpy.c (strcpy): Do not use __unbounded.
14947 * sysdeps/generic/frame.h (struct layout): Likewise.
14948 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14949 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14950 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14951 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14952 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14953 (__backtrace): Likewise.
14954 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14956 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14957 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14958 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14960 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14961 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14962 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14963 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14964 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14965 Do not use __unbounded.
14966 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14967 Rename __unboundedrlimits parameter to rlimits in prototype.
14968 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14969 Do not use __unbounded.
14970 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14971 not use __ptrvalue.
14972 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14973 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14974 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14975 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14976 __ptrvalue or __unbounded.
14977 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14978 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14980 (__new_msgctl): Do not use __ptrvalue.
14981 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14983 (__libc_msgrcv): Do not use __ptrvalue.
14984 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14985 startup_info): Do not use __unbounded.
14986 (__libc_start_main): Likewise. Rename ubp_* variables and
14987 parameters. Remove argv definitions conditional on
14988 [__BOUNDED_POINTERS__].
14989 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14991 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14993 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14995 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14997 (__new_shmctl): Do not use __ptrvalue.
14998 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14999 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15001 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15002 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
15003 (__libc_sigaction): Likewise.
15004 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
15005 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
15007 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15009 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
15011 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
15013 * string/mempcpy.c: Implement by calling memcpy.
15015 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15017 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15019 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15022 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15023 values in the mantissa.
15025 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15026 minimize writes to Z.
15027 (sub_magnitudes): Simplify code a bit.
15029 2013-02-12 Roland McGrath <roland@hack.frob.com>
15031 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15032 from the message. The linker prefixes all warnings with that already.
15034 2013-02-12 Andreas Schwab <schwab@suse.de>
15037 * posix/regexec.c (extend_buffers): Add parameter min_len.
15038 (check_matching): Pass minimum needed length.
15039 (clean_state_log_if_needed): Likewise.
15040 (get_subexp): Likewise.
15041 * posix/Makefile (tests): Add bug-regex34.
15042 (bug-regex34-ENV): Define.
15043 * posix/bug-regex34.c: New file.
15046 * posix/regcomp.c (parse_bracket_exp): When looking up collating
15047 elements compare against the byte sequence of it, not its name.
15048 * posix/Makefile (tests): Add bug-regex35.
15049 (bug-regex35-ENV): Define.
15050 * posix/bug-regex35.c: New file.
15052 2013-02-11 Tom de Vries <tom@codesourcery.com>
15054 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
15056 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15057 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15058 (CHECK_EOL): Add undef.
15060 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
15062 * bits/stdlib-bsearch.h: New file.
15063 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
15064 * stdlib/stdlib.h: Likewise.
15066 2013-02-11 Roland McGrath <roland@hack.frob.com>
15068 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15069 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15071 * manual/search.texi (Array Search Function): Add missing const in
15073 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15074 declaration to use rlim_t.
15075 (Basic Scheduling Functions): Remove erroneous const from
15076 sched_getparam prototype. Remove erroneous * from
15077 sched_get_priority_max and sched_get_priority_min prototypes.
15078 (Resource Usage): Fix summary @comment on vtimes to refer to
15079 sys/vtimes.h rather than vtimes.h.
15080 Add missing *s in vtimes prototype.
15081 (Limits on Resources): Fix ulimit prototype to return long int.
15082 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15083 prototypes to use long int rather than double.
15084 (BSD Random): Fix initstate and setstate to use char *, not void *.
15085 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15086 prototype to make second argument 'struct aiocb64 *const[]'.
15087 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15088 (Status of AIO Operations): Remove erroneous const in aio_return and
15089 aio_return64 prototypes.
15090 (Synchronizing I/O): Fix sync prototype to return void.
15091 * manual/startup.texi (Suboptions): Remove an erroneous const in
15092 getsubopt prototype.
15093 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15094 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15095 use size_t rather than int.
15096 (Scanning All Users): Likewise for getpwent_r.
15097 (Setting Groups): Add missing const to setgroups prototype.
15098 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15099 * manual/socket.texi (Host Names): Fix gethostbyaddr and
15100 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15101 'const void *' rather than 'const char *'.
15102 (Host Address Functions): Likewise for inet_ntop.
15103 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15104 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15105 ssize_t for return value.
15106 (Sending Data): Likewise for send, sendto, sendmsg.
15107 (Socket Option Functions): Add a missing const in setsockopt prototype.
15108 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15109 use wchar_t for the argument.
15110 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15111 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15113 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15114 double/float/long double for second argument.
15115 Fix return types of significand, significandf, significandl.
15116 * manual/filesys.texi (Setting Permissions): Use mode_t for second
15117 argument in fchmod prototype.
15118 (File Owner): Use uid_t and gid_t in fchown prototype.
15119 (File Times): Add const to utimes, futimes, and lutimes prototypes.
15120 (Making Special Files): Use mode_t and dev_t in mknod prototype.
15121 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15122 use 'const struct dirent **' as argument types to CMP function pointer
15124 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15125 (File Times): Fix summary magic @comment for struct utimbuf and utime
15126 to refer to utime.h, not time.h.
15127 * manual/string.texi (Argz Functions): Add missing const in
15128 argz_extract and argz_next prototypes.
15129 (Finding Tokens in a String): Likewise for basename.
15130 (String/Array Comparison): Fix typo in wcscasecmp prototype.
15131 (Copying and Concatenation): Fix typo in wmemmove prototype.
15132 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15133 (Signal Stack): Remove erroneous const in sigstack prototype.
15134 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15136 (Simple Calendar Time): Likewise for stime.
15137 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15139 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15140 say sys/sysctl.h instead.
15141 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15142 and vsyslog prototypes.
15144 2013-02-11 Tom de Vries <tom@codesourcery.com>
15146 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15149 2013-02-11 Roland McGrath <roland@hack.frob.com>
15151 * misc/sys/mman.h: Fix typo in mremap comment.
15153 2013-02-08 Roland McGrath <roland@hack.frob.com>
15155 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15156 the '\0' terminator.
15158 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15161 * debug/segfault.c: Don't include <bp-checks.h>.
15162 * sysdeps/generic/bp-checks.h: Remove file.
15163 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15164 (__GETDENTS): Don't use CHECK_N.
15165 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15166 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15167 (__getgroups): Don't use CHECK_N.
15168 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15169 (setgroups): Don't use CHECK_N.
15170 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15171 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15172 (__libc_msgrcv): Don't use CHECK_N.
15173 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15174 (__libc_msgsnd): Don't use CHECK_N.
15175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15177 (__libc_pread): Don't use CHECK_N.
15178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15179 include <bp-checks.h>.
15180 (__libc_pread64): Don't use CHECK_N.
15181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15182 include <bp-checks.h>.
15183 (__libc_pwrite): Don't use CHECK_N.
15184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15185 include <bp-checks.h>.
15186 (__libc_pwrite64): Don't use CHECK_N.
15187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15189 (__libc_pread): Don't use CHECK_N.
15190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15191 include <bp-checks.h>.
15192 (__libc_pread64): Don't use CHECK_N.
15193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15194 include <bp-checks.h>.
15195 (__libc_pwrite): Don't use CHECK_N.
15196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15197 include <bp-checks.h>.
15198 (__libc_pwrite64): Don't use CHECK_N.
15199 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15200 (do_pread): Don't use CHECK_N.
15201 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15202 (do_pread64): Don't use CHECK_N.
15203 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15204 (do_pwrite): Don't use CHECK_N.
15205 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15206 (do_pwrite64): Don't use CHECK_N.
15207 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15208 (__libc_readv): Don't use CHECK_N.
15209 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15210 (semop): Don't use CHECK_N.
15211 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15213 (semtimedop): Don't use CHECK_N.
15214 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15215 (__libc_pread): Don't use CHECK_N.
15216 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15218 (__libc_pread64): Don't use CHECK_N.
15219 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15221 (__libc_pwrite): Don't use CHECK_N.
15222 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15224 (__libc_pwrite64): Don't use CHECK_N.
15225 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15227 (__libc_msgrcv): Don't use CHECK_N.
15228 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15229 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15230 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15231 (__libc_writev): Don't use CHECK_N.
15233 2013-02-08 Roland McGrath <roland@hack.frob.com>
15235 * string/strcpy.c: Removed unused variable.
15237 * Makeconfig (+sysdep-includes): Define with := rather than =.
15238 Use an existing include/ subdir of each sysdeps dir before it.
15240 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15242 * nscd/connection.c (register_traced_file): Comment function.
15243 [HAVE_INOTIFY] (union __inev): Define.
15244 [HAVE_INOTIFY] (inotify_check_files): New function.
15245 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15246 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15248 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15250 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15252 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15253 loaded if not already and that a failure is permanent.
15255 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15258 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15259 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15261 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15264 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15265 (CHECK_1_NULL_OK): Likewise.
15266 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15267 (__fxstat): Do not use CHECK_1.
15268 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15270 (___fxstat64): Do not use CHECK_1.
15271 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15273 (__fxstatat): Do not use CHECK_1.
15274 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15276 (__fxstatat64): Do not use CHECK_1.
15277 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15279 (__fxstat): Do not use CHECK_1.
15280 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15282 (__fxstatat): Do not use CHECK_1.
15283 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15285 (__getresgid): Do not use CHECK_1.
15286 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15288 (__getresuid): Do not use CHECK_1.
15289 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15291 (__lxstat): Do not use CHECK_1.
15292 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15294 (__old_msgctl): Do not use CHECK_1.
15295 (__new_msgctl): Likewise.
15296 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15298 (__new_setrlimit): Do not use CHECK_1.
15299 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15301 (__old_shmctl): Do not use CHECK_1.
15302 (__new_shmctl): Likewise.
15303 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15305 (__xstat): Do not use CHECK_1.
15306 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15307 (__lxstat): Do not use CHECK_1.
15308 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15310 (___lxstat64): Do not use CHECK_1.
15311 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15312 (__old_msgctl): Do not use CHECK_1.
15313 (__new_msgctl): Likewise.
15314 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15316 (__gettimeofday): Do not use CHECK_1.
15317 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15318 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15319 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15321 (__gettimeofday): Do not use CHECK_1.
15322 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15323 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15324 (__new_shmctl): Do not use CHECK_1.
15325 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15327 (do_sigtimedwait): Do not use CHECK_1.
15328 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15330 (do_sigwaitinfo): Do not use CHECK_1.
15331 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15333 (msgctl): Do not use CHECK_1.
15334 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15336 (shmctl): Do not use CHECK_1.
15337 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15338 (ustat): Do not use CHECK_1.
15339 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15341 (__fxstat): Do not use CHECK_1.
15342 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15344 (__fxstatat): Do not use CHECK_1.
15345 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15347 (__lxstat): Do not use CHECK_1.
15348 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15350 (__xstat): Do not use CHECK_1.
15351 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15352 (__xstat): Do not use CHECK_1.
15353 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15354 (___xstat64): Do not use CHECK_1.
15357 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15359 (CHECK_BOUNDS_HIGH): Likewise.
15360 * string/strcpy.c: Do not include <bp-checks.h>.
15361 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15363 2013-02-07 Roland McGrath <roland@hack.frob.com>
15365 * nscd/nscd-client.h (__nscd_drop_map_ref):
15366 Add __attribute__ ((unused)).
15367 * nis/nss-nisplus.h (niserr2nss): Likewise.
15369 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15370 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15372 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15373 Remove inline keyword.
15374 * include/rounding-mode.h (round_away): Likewise.
15375 * libio/wfileops.c (adjust_wide_data): Likewise.
15376 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15377 (__m128i_strloadu_tolower): Likewise.
15378 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15379 (__m128i_strloadu_tolower): Likewise.
15380 * time/mktime.c (ydhms_diff): Likewise.
15381 * locale/elem-hash.h (elem_hash): Likewise.
15382 * locale/setlocale.c (setdata): Likewise.
15383 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15384 (re_string_wchar_at): Likewise.
15385 (bitset_not, bitset_merge, bitset_mask): Likewise.
15386 [!(__GNUC__ > 3)] (inline): Remove macro.
15387 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15388 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15389 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15390 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15391 * string/memcmp.c (memcmp_bytes): Likewise.
15392 * locale/programs/locarchive.c (compute_hashval): Likewise.
15393 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15394 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15395 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15396 * nss/getent.c (print_rpc, print_protocols): Likewise.
15397 (print_passwd, print_group, print_aliases): Likewise.
15398 * nis/nss-nisplus.h (niserr2nss): Likewise.
15399 * nscd/connections.c (restart_p): Likewise.
15400 Change return type to bool.
15402 2013-02-05 Roland McGrath <roland@hack.frob.com>
15404 * Makeconfig (all-Depend-files): Add existing
15405 $(sorted-subdirs:=/Depend) files.
15406 (all-subdirs): Remove nss.
15407 * sysdeps/unix/inet/Subdirs: Add it here instead.
15408 * hesiod/Depend: New file.
15410 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15411 instead of calling alloca.
15413 * io/lseek.c (__lseek): Rename to __libc_lseek.
15414 Define __lseek as an alias.
15416 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15418 2013-02-04 Carlos O'Donell <carlos@redhat.com>
15420 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15421 else clause and remove check for non-standard endianness.
15423 2013-02-04 David S. Miller <davem@davemloft.net>
15425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15427 2013-02-04 Joseph Myers <joseph@codesourcery.com>
15430 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15431 (__ubp_memchr): Remove prototype.
15432 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15433 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15434 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15435 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15436 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15438 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15439 (__ubp_memchr): Likewise.
15440 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15441 (__ubp_memchr): Likewise.
15442 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15443 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15444 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15445 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15447 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15448 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15449 (__getcwd): Do not use CHECK_STRING.
15450 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15452 (__real_chown): Do not use CHECK_STRING.
15453 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15455 (fchownat): Do not use CHECK_STRING.
15456 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15458 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15460 (__lchown): Do not use CHECK_STRING.
15461 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15462 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15463 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15464 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15466 include <bp-checks.h>.
15467 (truncate64): Do not use CHECK_STRING.
15468 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15470 (__real_chown): Do not use CHECK_STRING.
15471 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15473 (__lchown): Do not use CHECK_STRING.
15474 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15476 (__chown): Do not use CHECK_STRING.
15477 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15479 (truncate64): Do not use CHECK_STRING.
15480 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15482 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15483 (__xmknod): Do not use CHECK_STRING.
15484 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15486 (__xmknodat): Do not use CHECK_STRING.
15487 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15488 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15490 2013-02-04 Andreas Schwab <schwab@suse.de>
15493 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15494 * include/netdb.h: Likewise for h_errno.
15495 * elf/tst-stackguard1.c: Include <tls.h>.
15497 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15499 * elf/link.h (struct link_map): Extend the l_addr comment.
15500 * include/link.h (struct link_map): Likewise.
15502 2013-02-01 Joseph Myers <joseph@codesourcery.com>
15505 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15506 (BOUNDED_1): Remove macro.
15507 * debug/backtrace.c: Don't include <bp-checks.h>.
15508 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15509 (__backtrace): Likewise.
15510 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15512 (__backtrace): Don't use BOUNDED_1.
15513 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15515 (__backtrace): Don't use BOUNDED_1.
15516 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15517 (__backtrace): Don't use BOUNDED_1.
15518 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15519 (shmat): Don't use BOUNDED_N.
15521 2013-01-31 Joseph Myers <joseph@codesourcery.com>
15524 * sysdeps/generic/bp-start.h: Remove file.
15525 * csu/libc-start.c: Don't include <bp-start.h>.
15526 (LIBC_START_MAIN): Set up __environ directly instead of using
15527 INIT_ARGV_and_ENVIRON.
15528 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15532 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15534 (CHECK_FCNTL): Likewise.
15535 (CHECK_N_PAGES): Likewise.
15538 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15540 (CHECK_SIGSET_NULL_OK): Likewise.
15541 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15543 (sigpending): Don't use CHECK_SIGSET.
15544 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15546 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15547 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15549 (do_sigsuspend): Don't use CHECK_SIGSET.
15550 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15552 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15553 (do_sigwait): Don't use CHECK_SIGSET.
15554 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15556 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15557 include <bp-checks.h>.
15558 (sigpending): Don't use CHECK_SIGSET.
15559 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15560 include <bp-checks.h>.
15561 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15562 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15564 (sigpending): Don't use CHECK_SIGSET.
15565 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15567 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15570 * sysdeps/generic/bp-semctl.h: Remove file.
15571 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15572 <bp-checks.h> and <bp-semctl.h>.
15573 (__old_semctl): Don't use CHECK_SEMCTL.
15574 (__new_semctl): Likewise.
15575 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15577 (__old_semctl): Don't use CHECK_SEMCTL.
15578 (__new_semctl): Likewise.
15579 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15580 <bp-checks.h> and <bp-semctl.h>.
15581 (__old_semctl): Don't use CHECK_SEMCTL.
15582 (__new_semctl): Likewise.
15583 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15584 <bp-checks.h> and <bp-semctl.h>.
15585 (semctl): Don't use CHECK_SEMCTL.
15588 * Makerules (elide-bp-thunks): Remove variable.
15589 (elide-routines.oS): Don't use $(elide-bp-thunks).
15590 (elide-routines.os): Likewise.
15591 (elide-routines.o): Likewise.
15592 (elide-routines.op): Likewise.
15593 (elide-routines.og): Likewise.
15594 (objects): Don't use $(bp-thunks).
15595 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15597 (common-generated): Do not add s-proto-bp.d.
15598 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15601 Do not generate makefile rules for bounded-pointer thunks.
15602 * sysdeps/generic/bp-thunks.h: Remove file.
15603 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15604 * sysdeps/unix/s-proto-bp.S: Likewise.
15607 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15608 parts of result separately when argument is not close to line from
15609 -i to i and one part of argument is small.
15610 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15611 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15612 * math/libm-test.inc (cacos_test): Add more tests.
15613 (casin_test): Likewise.
15614 (casinh_test): Likewise.
15615 * sysdeps/i386/fpu/libm-test-ulps: Update.
15616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15618 2013-01-31 David S. Miller <davem@davemloft.net>
15620 * po/de.po: Update from translation team.
15622 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15624 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15626 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15628 * configure.in (_AC_PROG_CC_C89): New definition.
15629 * configure: Regenerate.
15631 * configure.in (AC_PROG_CPP): New definition.
15632 * configure: Regenerate.
15634 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15636 * debug/tst-backtrace.h: New file.
15637 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15638 (ret): Remove variable.
15640 (FAIL): Remove macro.
15641 (NO_INLINE): Likewise.
15642 (fn1): Use match function instead of strstr.
15643 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15644 (ret): Remove variable.
15646 (FAIL): Remove macro.
15647 (NO_INLINE): Likewise.
15648 (fn): Use match function instead of strstr.
15649 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15650 (ret): Remove variable.
15652 (FAIL): Remove macro.
15653 (NO_INLINE): Likewise.
15654 (handle_signal): Use match function instead of strstr.
15655 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15656 (ret): Remove variable.
15658 (FAIL): Remove macro.
15659 (NO_INLINE): Likewise.
15660 (handle_signal): Use match function instead of strstr.
15662 2013-01-23 Roland McGrath <roland@hack.frob.com>
15664 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15666 2013-01-23 David S. Miller <davem@davemloft.net>
15668 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15669 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15670 argument of CAS if possible.
15671 * sysdeps/sparc/sparc64/bits/atomic.h
15672 (__arch_compare_and_exchange_val_32_acq): Likewise.
15673 (__arch_compare_and_exchange_val_64_acq): Likewise.
15675 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15677 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15678 * sysdeps/posix/ulimit.c: ... this.
15679 Include <limits.h>.
15680 * sysdeps/unix/bsd/ulimit.c: Remove file.
15682 2013-01-23 Adam Conrad <adconrad@0c3.net>
15684 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15685 (LDFLAGS-tst-array5): Likewise.
15687 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15690 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15691 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15692 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15693 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15695 2013-01-21 David S. Miller <davem@davemloft.net>
15697 * sysdeps/sparc/backtrace.c: New file.
15698 * sysdeps/sparc/sparc32/backtrace.h: New file.
15699 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15700 * sysdeps/sparc/sparc64/backtrace.h: New file.
15701 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15702 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15705 2013-01-21 Andreas Schwab <schwab@suse.de>
15708 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15711 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15717 2013-01-18 Joseph Myers <joseph@codesourcery.com>
15718 Mark Mitchell <mark@codesourcery.com>
15719 Tom de Vries <tom@codesourcery.com>
15720 Paul Pluzhnikov <ppluzhnikov@google.com>
15722 * debug/tst-backtrace2.c: New file.
15723 * debug/tst-backtrace3.c: Likewise.
15724 * debug/tst-backtrace4.c: Likewise.
15725 * debug/tst-backtrace5.c: Likewise.
15726 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15727 (CFLAGS-tst-backtrace3.c): Likewise.
15728 (CFLAGS-tst-backtrace4.c): Likewise.
15729 (CFLAGS-tst-backtrace5.c): Likewise.
15730 (LDFLAGS-tst-backtrace2): Likewise.
15731 (LDFLAGS-tst-backtrace3): Likewise.
15732 (LDFLAGS-tst-backtrace4): Likewise.
15733 (LDFLAGS-tst-backtrace5): Likewise.
15734 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15735 tst-backtrace4 and tst-backtrace5.
15737 2013-01-18 Anton Blanchard <anton@samba.org>
15738 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15740 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15741 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15742 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15743 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15745 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15746 "+r" and remove output regs list as redundant. Add explicit inline
15747 asm to specify register of return val to work around compiler codegen
15748 bug. Remove (int) cast on return value. Add return type parameter to
15749 use in macro so that this macro does not truncate return value for
15751 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15752 pass to INTERNAL_VSYSCALL_NCS.
15753 (INLINE_VSYSCALL): Add 'long int' as return type to
15754 INTERNAL_VSYSCALL_NCS macro invocation.
15755 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15756 INTERNAL_VSYSCALL_NCS macro invocation.
15757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15759 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15762 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15763 Fix application of SIMD FP exception mask.
15765 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15766 mp_no from a power of two.
15767 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15768 __mpexp_twomm1. Use __pow_mp.
15770 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15773 2013-01-17 David S. Miller <davem@davemloft.net>
15775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15777 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15780 * include/complex.h: Condition contents on [!_COMPLEX_H].
15781 (__kernel_casinhf): New prototype.
15782 (__kernel_casinh): Likewise.
15783 (__kernel_casinhl): Likewise.
15784 * math/Makefile (libm_calls): Add k_casinh.
15785 * math/k_casinh.c: New file.
15786 * math/k_casinhf.c: Likewise.
15787 * math/k_casinhl.c: Likewise.
15788 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15789 finite nonzero arguments.
15790 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15791 finite nonzero arguments.
15792 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15793 finite nonzero arguments.
15794 * math/s_casinh.c: Do not include <float.h>.
15795 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15796 * math/s_casinhf.c: Do not include <float.h>.
15797 (__casinhf): Move code for finite nonzero arguments to
15799 * math/s_casinhl.c: Do not include <float.h>.
15800 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15802 (__casinhl): Move code for finite nonzero arguments to
15804 * math/libm-test.inc (cacos_test): Add more tests.
15805 * sysdeps/i386/fpu/libm-test-ulps: Update.
15806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15808 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15810 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15811 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15812 [!HAVE_MREMAP]: Remove [defined linux] case.
15813 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15815 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15817 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15819 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
15821 * elf/elf.h (R_386_SIZE32): New relocation.
15822 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15824 (elf_machine_rela): Likewise.
15825 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15826 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15828 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15830 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15831 (FP_FAST_FMA): Do not define.
15832 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15833 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15834 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15835 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15836 !_SOFT_FLOAT]: Likewise.
15837 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15838 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15840 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15841 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15842 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15843 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15844 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15845 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15848 2013-01-16 Andreas Schwab <schwab@suse.de>
15851 * include/stdlib.h (__mktemp): Add declaration.
15852 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15853 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15855 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15857 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15859 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15860 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15861 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15863 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15864 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15866 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15868 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15869 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15870 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15872 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15873 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15875 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15877 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15879 2013-01-15 David S. Miller <davem@davemloft.net>
15881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15882 trunc{,f} to libm-sysdep_routes.
15883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15893 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15894 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15895 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15896 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15897 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15898 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15901 nearbyint{,f} to libm-sysdep_routes.
15902 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15913 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15915 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15916 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15918 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15919 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15920 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15922 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15923 libc_feholdexcept and libc_fesetenv.
15925 2013-01-15 Mike Frysinger <vapier@gentoo.org>
15927 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15929 2013-01-14 David S. Miller <davem@davemloft.net>
15931 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15932 (SPARC_ASM_VIS2_IFUNC): Likewise.
15933 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15935 use of 'siam' instruction.
15936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15942 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15943 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15954 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15956 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15964 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15965 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15969 routines to libm-sysdep_routines.
15970 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15973 fdim/fdimf to libm-sysdep_routines.
15974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15982 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15983 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15984 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15985 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15987 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15989 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15990 to optimize copies.
15992 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15993 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15996 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15997 local variable MPTWO.
15998 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16001 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16003 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
16006 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16008 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16010 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16012 * manual/pattern.texi (glob_t): Document gl_flags.
16013 (glob64_t): Likewise.
16015 2013-01-11 David S. Miller <davem@davemloft.net>
16017 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16018 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16019 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
16020 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16021 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16022 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16023 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16024 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16025 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16026 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16027 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16028 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16029 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16031 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16032 sparc V9 rather than using V8 code.
16033 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16034 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16036 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16038 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16041 2013-01-11 Roland McGrath <roland@hack.frob.com>
16043 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16044 not in the main loop.
16045 * configure: Regenerated.
16047 2013-01-11 Joseph Myers <joseph@codesourcery.com>
16049 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16050 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16052 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
16053 [!__GLIBC_HAVE_LONG_LONG] case.
16054 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16055 condition to just #else.
16056 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16057 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16058 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16059 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16061 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16062 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16063 #elif condition to just #else.
16064 * sysdeps/unix/sysv/linux/sys/sysmacros.h
16065 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16066 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16067 #elif condition to just #else.
16069 2013-01-11 Steve Ellcey <sellcey@mips.com>
16071 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16072 (EF_MIPS_ARCH_64): Fix value.
16073 (EF_MIPS_ARCH_32R2): New.
16074 (EF_MIPS_ARCH_64R2): New.
16076 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
16078 * Makeconfig (+link-pie-before-libc): New.
16079 (+link-pie-after-libc): Likewise.
16080 (+link-pie-tests): Likewise.
16081 (+link-pie): Rewritten.
16082 (link-before-libc): Remove $(config-LDFLAGS).
16083 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16084 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16085 (config-LDFLAGS): Renamed to ...
16086 (rtld-LDFLAGS): This.
16087 (rtld-tests-LDFLAGS): New macro.
16088 (link-libc-rpath-link): Likewise.
16089 (link-libc-tests-rpath-link): Likewise.
16090 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16091 (link-libc): Prepand $(link-libc-rpath-link).
16092 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16093 (test-program-prefix): New macro.
16094 (test-via-rtld-prefix): Likewise.
16095 (test-program-cmd): Likewise.
16096 (host-test-program-cmd): Likewise.
16097 * Makefile ($(common-objpfx)testrun.sh): Replace
16098 $(run-program-prefix) with $(test-program-prefix).
16099 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16101 ($(common-objpfx)shlib.lds): Likewise.
16102 (build-module-helper): Likewise.
16103 ($(common-objpfx)format.lds): Likewise.
16104 * Rules (binaries-pie-tests): New.
16105 (binaries-pie-notests): Likewise.
16106 (binaries-pie): Rewritten.
16107 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16108 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16109 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16110 (make-test-out): Replace $(host-built-program-cmd) with
16111 $(host-test-program-cmd).
16112 * config.make.in (build-hardcoded-path-in-tests): New variable.
16113 * configure.in (--enable-hardcoded-path-in-tests): New configure
16115 (hardcoded_path_in_tests): New AC_SUBST.
16116 * configure: Regenerated.
16117 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16118 $(built-program-cmd) with $(test-program-cmd).
16119 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16120 (test_program_cmd): This.
16121 * elf/Makefile ($(objpfx)order.out): Run test with
16122 $(test-program-prefix).
16123 ($(objpfx)order2.out): Likewise.
16124 ($(objpfx)tst-initorder.out): Likewise.
16125 ($(objpfx)tst-initorder2.out): Likewise.
16126 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16127 $(test-program-cmd).
16128 ($(objpfx)tst-array1-static.out): Likewise.
16129 ($(objpfx)tst-array2.out): Likewise.
16130 ($(objpfx)tst-array3.out): Likewise.
16131 ($(objpfx)tst-array4.out): Likewise.
16132 ($(objpfx)tst-array5.out): Likewise.
16133 ($(objpfx)tst-array5-static.out): Likewise.
16134 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16135 $(test-program-cmd).
16136 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16137 $(run-program-prefix) with $(test-program-prefix).
16138 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16139 (test_program_prefix): This.
16140 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16141 $(run-program-prefix) with $(test-program-prefix).
16142 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16143 (test_program_prefix): This.
16144 * iconvdata/tst-tables.sh: Likewise.
16145 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16146 $(run-program-prefix) with $(test-program-prefix).
16147 ($(objpfx)tst-translit.out): Likewise.
16148 ($(objpfx)tst-gettext2.out): Likewise.
16149 ($(objpfx)tst-gettext4.out): Likewise.
16150 ($(objpfx)tst-gettext6.out): Likewise.
16151 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16152 (test_program_prefix): This.
16153 * intl/tst-gettext2.sh: Likewise.
16154 * intl/tst-gettext4.sh Likewise.
16155 * intl/tst-gettext6.sh: Likewise.
16156 * intl/tst-translit.sh: Likewise.
16157 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16158 with $(test-program-cmd).
16159 * libio/Makefile ($(objpfx)test-freopen.out): Replace
16160 $(run-program-prefix) with $(test-program-prefix).
16161 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16162 (test_program_prefix): This.
16163 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16164 $(run-program-prefix) with $(test-program-prefix).
16165 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16166 (test_program_prefix): This.
16167 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16168 * posix/Makefile ($(objpfx)globtest.out): Replace
16169 $(run-via-rtld-prefix) and $(test-wrapper) with
16170 $(test-program-prefix) and $(test-via-rtld-prefix).
16171 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16172 $(test-program-prefix).
16173 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16174 $(host-test-program-cmd).
16175 (tst-spawn-ARGS): Likewise.
16176 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16177 $(test-program-prefix).
16178 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16179 (test_via_rtld_prefix): This.
16180 (test_wrapper): Renamed to ...
16181 (test_program_prefix): This.
16182 (run_program_prefix): Replaced by test_program_prefix.
16183 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16184 (test_program_prefix): This.
16185 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16186 with $(host-test-program-cmd).
16187 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16188 $(run-program-prefix) with $(test-program-prefix).
16189 ($(objpfx)tst-printf.out): Likewise.
16190 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16191 $(test-program-cmd).
16192 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16193 (test_program_prefix): This.
16194 * stdio-common/tst-unbputc.sh: Likewise.
16195 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16196 $(run-program-prefix) with $(test-program-prefix).
16197 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16198 (test_program_prefix): This.
16199 * string/Makefile ($(objpfx)tst-svc.out): Replace
16200 $(built-program-cmd) with $(test-program-cmd).
16202 2013-01-11 Andreas Jaeger <aj@suse.de>
16205 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16206 value. Sync with Linux 3.7.
16208 2013-01-10 David S. Miller <davem@davemloft.net>
16210 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16211 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16212 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16214 2013-01-10 Roland McGrath <roland@hack.frob.com>
16216 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16218 * configure: Regenerated.
16220 2013-01-10 David S. Miller <davem@davemloft.net>
16222 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16223 sparc V9 rather than using V8 code.
16224 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16225 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16227 2013-01-10 Roland McGrath <roland@hack.frob.com>
16229 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16230 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16231 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16232 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16233 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16234 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16235 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16236 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16237 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16238 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16239 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16240 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16241 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16242 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16243 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16244 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16245 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16246 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16247 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16248 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16249 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16250 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16251 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16252 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16253 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16254 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16255 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16257 2013-01-10 David S. Miller <davem@davemloft.net>
16259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16261 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16263 * posix/Makefile (tests-static): New variable.
16264 (tests): Add $(tests-static).
16265 (tst-exec-static-ARGS): New variable.
16266 (tst-spawn-static-ARGS): Likewise.
16267 * posix/tst-exec-static.c: New file.
16268 * posix/tst-spawn-static.c: Likewise.
16269 * posix/tst-exec.c: Support run directly.
16270 * posix/tst-spawn.c: Likewise.
16272 2013-01-10 Joseph Myers <joseph@codesourcery.com>
16274 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16276 * math/bits/mathcalls.h (llrint): Likewise.
16277 (llround): Likewise.
16278 * stdlib/stdlib.h (struct drand48_data): Likewise.
16279 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16280 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16281 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16283 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16285 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16286 (elf_greg_t): Likewise.
16287 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16288 (__jmp_buf): Likewise.
16289 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16291 (llrint): Likewise, for all definitions.
16292 (llrintl): Likewise.
16294 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16295 Remove [__GNUC__] condition.
16296 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16297 condition to just [__USE_ISOC99].
16298 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16300 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16303 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16304 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16306 (_POSIX_V6_ILP32_OFF32): Likewise.
16307 (_XBS5_ILP32_OFF32): Likewise.
16308 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16309 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16311 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16313 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16315 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16316 doubles __mpexp_twomm1. Adjust usage.
16317 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16320 2013-01-10 Andreas Schwab <schwab@suse.de>
16323 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16324 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16326 2013-01-09 David S. Miller <davem@davemloft.net>
16329 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16330 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16331 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16332 TCP_FASTOPEN): Define.
16333 (tcp_repair_opt): New structure.
16334 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16336 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16337 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16338 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16339 (tcp_cookie_transactions): New structure.
16341 2013-01-09 Anton Blanchard <anton@samba.org>
16343 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16344 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16345 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16346 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16348 2013-01-09 Joseph Myers <joseph@codesourcery.com>
16350 * include/features.h (__USE_ANSI): Remove.
16352 2013-01-09 Roland McGrath <roland@hack.frob.com>
16354 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16356 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16358 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16360 * sysdeps/s390/fpu/libm-test-ulps: Update.
16362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16364 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16368 (denorm): Likewise.
16369 (__mp_dbl): Likewise.
16370 (__dbl_mp): Likewise.
16371 (add_magnitudes): Likewise.
16372 (sub_magnitudes): Likewise.
16378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16382 (denorm): Likewise.
16383 (__mp_dbl): Likewise.
16384 (__dbl_mp): Likewise.
16385 (add_magnitudes): Likewise.
16386 (sub_magnitudes): Likewise.
16392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16396 (denorm): Likewise.
16397 (__mp_dbl): Likewise.
16398 (__dbl_mp): Likewise.
16399 (add_magnitudes): Likewise.
16400 (sub_magnitudes): Likewise.
16407 2013-01-08 Joseph Myers <joseph@codesourcery.com>
16409 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16410 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16411 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16412 2 && __USE_EXTERN_INLINES]: Likewise.
16414 2013-01-08 Andreas Jaeger <aj@suse.de>
16417 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16419 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16420 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16422 2013-01-07 Anton Blanchard <anton@samba.org>
16424 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16425 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16426 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16427 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16428 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16429 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16430 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16431 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16433 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16434 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16435 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16436 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16437 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16438 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16439 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16440 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16441 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16442 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16443 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16444 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16445 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16446 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16447 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16448 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16449 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16450 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16451 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16452 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16453 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16454 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16456 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16457 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16458 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16459 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16460 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16461 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16462 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16463 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16464 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16465 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16466 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16468 2013-01-07 Joseph Myers <joseph@codesourcery.com>
16470 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16471 (__MALLOC_PMT): Likewise.
16472 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16473 [__GNUC__], only on [_LIBC].
16474 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16475 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16476 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16477 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16478 forward declaration.
16479 (realloc_hook_ini): Likewise.
16480 (memalign_hook_ini): Likewise.
16481 (__libc_memalign): Do not use __MALLOC_PMT in variable
16483 (__libc_valloc): Likewise.
16484 (__libc_pvalloc): Likewise.
16485 (__libc_calloc): Likewise.
16486 (__posix_memalign): Likewise.
16489 * math/s_casinh.c: Include <float.h>.
16490 (__casinh): Do not do computation with squaring and square root
16491 for large arguments.
16492 * math/s_casinhf.c: Include <float.h>.
16493 (__casinhf): Do not do computation with squaring and square root
16494 for large arguments.
16495 * math/s_casinhl.c: Include <float.h>.
16496 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16497 (__casinhl): Do not do computation with squaring and square root
16498 for large arguments.
16499 * math/libm-test.inc (casin_test): Add more tests.
16500 (casinh_test): Likewise.
16501 * sysdeps/i386/fpu/libm-test-ulps: Update.
16502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16504 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16506 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16507 (__x86_64_raw_data_cache_size): Likewise.
16508 (__x86_64_data_cache_size_half): Likewise.
16509 (__x86_64_raw_data_cache_size_half): Likewise.
16510 (__x86_64_shared_cache_size): Likewise.
16511 (__x86_64_raw_shared_cache_size): Likewise.
16512 (__x86_64_shared_cache_size_half): Likewise.
16513 (__x86_64_raw_shared_cache_size_half): Likewise.
16514 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16516 (__x86_data_cache_size): This.
16517 (__x86_64_raw_data_cache_size): Renamed to ...
16518 (__x86_raw_data_cache_size): This.
16519 (__x86_64_data_cache_size_half): Renamed to ...
16520 (__x86_data_cache_size_half): This.
16521 (__x86_64_raw_data_cache_size_half): Renamed to ...
16522 (__x86_raw_data_cache_size_half): This.
16523 (__x86_64_shared_cache_size): Renamed to ...
16524 (__x86_shared_cache_size): This.
16525 (__x86_64_raw_shared_cache_size): Renamed to ...
16526 (__x86_raw_shared_cache_size): This.
16527 (__x86_64_shared_cache_size_half): Renamed to ...
16528 (__x86_shared_cache_size_half): This.
16529 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16530 (__x86_raw_shared_cache_size_half): This.
16531 * sysdeps/x86_64/memcpy.S: Updated.
16532 * sysdeps/x86_64/memset.S: Likewise.
16533 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16534 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16535 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16537 2013-01-04 David S. Miller <davem@davemloft.net>
16539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16541 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16543 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16544 1 to avoid redefinition warning.
16545 (__USE_GNU): Don't define.
16546 (init_signaling_nan): Protoize.
16548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16550 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16552 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16553 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16554 (__cpymn): Likewise.
16555 (norm): Remove commented code.
16556 (denorm): Likewise.
16557 (__mp_dbl): Likewise.
16559 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16560 (__cpymn): Likewise.
16561 (norm): Remove commented code.
16562 (denorm): Likewise.
16563 (__mp_dbl): Likewise.
16566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16567 mp_no value for 1.0 and 2.0.
16568 (norm): Use RADIXI instead of radixi.d.
16569 (denorm): Likewise.
16570 (__mul): Use 0.0 instead of zero.d.
16571 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16572 mp_no value for 1.0 and 2.0.
16573 (norm): Use RADIXI instead of radixi.d.
16574 (denorm): Likewise.
16575 (__mul): Use 0.0 instead of zero.d.
16577 2013-01-04 Joseph Myers <joseph@codesourcery.com>
16580 * math/s_casinh.c (__casinh): Reduce finite argument to first
16581 quadrant then set signs of results at the end.
16582 * math/s_casinhf.c (__casinhf): Likewise.
16583 * math/s_casinhl.c (__casinhl): Likewise.
16584 * math/libm-test.inc (casin_test): Add more tests.
16585 (casinh_test): Likewise.
16586 * sysdeps/i386/fpu/libm-test-ulps: Update.
16587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16589 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16591 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16593 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16595 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16597 (denorm): Likewise.
16598 (__mp_dbl): Likewise.
16601 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16602 and adjust the header comment.
16604 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16605 variable name from declaration.
16607 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16610 Initialize COMMON_CPUID_INDEX_7 element.
16611 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16612 (CPUID_RTM): Likewise.
16613 (HAS_RTM): Likewise.
16614 (COMMON_CPUID_INDEX_7): New enum.
16616 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16619 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16620 size is zero, record memory as freed.
16622 2013-01-03 Andreas Jaeger <aj@suse.de>
16624 * po/ia.po: Add new Interlingua translation.
16626 2012-01-03 Allan McRae <allan@archlinux.org>
16628 * locale/programs/localedef.c: Fix description of '--posix' flag.
16630 2013-01-02 Joseph Myers <joseph@codesourcery.com>
16632 * NEWS: Update dates in second copyright notice.
16633 * README: Update copyright dates in example.
16634 * manual/libc.texinfo: Update copyright dates.
16635 * scripts/test-installation.pl: Update copyright date in --version
16638 * hurd/ctty-input.c: Fix copyright notice formatting.
16639 * hurd/ctty-output.c: Likewise.
16640 * hurd/dtable.c: Likewise.
16641 * hurd/hurd-raise.c: Likewise.
16642 * hurd/hurdprio.c: Likewise.
16643 * hurd/msgportdemux.c: Likewise.
16644 * misc/sys/file.h: Likewise.
16645 * misc/sys/ioctl.h: Likewise.
16646 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16647 * sysdeps/mach/hurd/chdir.c: Likewise.
16648 * sysdeps/mach/hurd/fchdir.c: Likewise.
16649 * sysdeps/mach/hurd/rename.c: Likewise.
16650 * sysdeps/mach/hurd/rmdir.c: Likewise.
16651 * sysdeps/mach/hurd/seekdir.c: Likewise.
16652 * sysdeps/mach/hurd/setsid.c: Likewise.
16653 * sysdeps/posix/wait3.c: Likewise.
16655 * All files with FSF copyright notices: Update copyright dates
16656 using scripts/update-copyrights.
16657 * intl/plural.c: Regenerated.
16658 * locale/programs/charmap-kw.h: Likewise.
16659 * locale/programs/locfile-kw.h: Likewise.
16661 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16663 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16666 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16667 calculation loop and add branch prediction.
16669 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16670 check access beyond bounds of m1np.
16672 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16674 (__inv): Remove local variable MPTWO to use the global
16676 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16677 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16679 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16680 MP3HALFS static const.
16682 2013-01-01 David S. Miller <davem@davemloft.net>
16684 * po/ca.po: Update from translation team.
16686 2013-01-01 Joseph Myers <joseph@codesourcery.com>
16688 * scripts/update-copyrights: New file.
16689 * Makeconfig: Reformat copyright notice.
16690 * ctype/ctype.h: Likewise.
16691 * debug/swprintf_chk.c: Likewise.
16692 * elf/dl-cache.c: Likewise.
16693 * elf/dl-debug.c: Likewise.
16694 * elf/dl-object.c: Likewise.
16695 * grp/initgroups.c: Likewise.
16696 * hurd/Makefile: Likewise.
16697 * hurd/hurd/signal.h: Likewise.
16698 * hurd/hurdfault.c: Likewise.
16699 * hurd/hurdioctl.c: Likewise.
16700 * hurd/hurdlookup.c: Likewise.
16701 * hurd/intr-msg.c: Likewise.
16702 * iconv/gconv_open.c: Likewise.
16703 * libio/swprintf.c: Likewise.
16704 * locale/lc-ctype.c: Likewise.
16705 * locale/nl_langinfo.c: Likewise.
16706 * mach/Machrules: Likewise.
16707 * mach/Makefile: Likewise.
16708 * malloc/obstack.h: Likewise.
16709 * manual/Makefile: Likewise.
16710 * manual/tsort.awk: Likewise.
16711 * misc/bits/stab.def: Likewise.
16712 * nis/nis_print_group_entry.c: Likewise.
16713 * nis/nis_table.c: Likewise.
16714 * nis/nss_compat/compat-pwd.c: Likewise.
16715 * nis/nss_compat/compat-spwd.c: Likewise.
16716 * po/Makefile: Likewise.
16717 * posix/fnmatch.c: Likewise.
16718 * posix/regex.h: Likewise.
16719 * resolv/Makefile: Likewise.
16720 * resolv/nss_dns/dns-network.c: Likewise.
16721 * resolv/res_hconf.c: Likewise.
16722 * scripts/gen-sorted.awk: Likewise.
16723 * soft-fp/soft-fp.h: Likewise.
16724 * stdio-common/printf.h: Likewise.
16725 * stdlib/monetary.h: Likewise.
16726 * stdlib/random.c: Likewise.
16727 * stdlib/random_r.c: Likewise.
16728 * sysdeps/generic/Makefile: Likewise.
16729 * sysdeps/gnu/Makefile: Likewise.
16730 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16732 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16733 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16734 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16735 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16736 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16737 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16738 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16739 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16740 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16741 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16742 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16743 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16744 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16745 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16746 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16747 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16748 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16749 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16750 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16751 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16752 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16753 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16754 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16758 * sysdeps/mach/hurd/errnos.awk: Likewise.
16759 * sysdeps/mach/hurd/fork.c: Likewise.
16760 * sysdeps/mach/hurd/getcwd.c: Likewise.
16761 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16762 * sysdeps/mach/hurd/mmap.c: Likewise.
16763 * sysdeps/mach/hurd/utimes.c: Likewise.
16764 * sysdeps/mach/hurd/xmknod.c: Likewise.
16765 * sysdeps/posix/profil.c: Likewise.
16766 * sysdeps/posix/readdir_r.c: Likewise.
16767 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16768 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16769 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16770 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16772 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16773 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16774 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16775 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16776 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16777 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16778 * sysdeps/pthread/lio_listio.c: Likewise.
16779 * sysdeps/sparc/dl-procinfo.h: Likewise.
16780 * sysdeps/unix/i386/sysdep.S: Likewise.
16781 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16782 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16783 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16784 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16786 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16787 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16788 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16789 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16790 * sysdeps/wordsize-32/divdi3.c: Likewise.
16791 * time/sys/time.h: Likewise.
16792 * wcsmbs/Makefile: Likewise.
16794 2013-01-01 David S. Miller <davem@davemloft.net>
16796 * po/fr.po: Update from translation team.
16798 * catgets/gencat.c: Update copyright year.
16799 * csu/version.c: Likewise.
16800 * debug/catchsegv.sh: Likewise.
16801 * debug/pcprofiledump.c: Likewise.
16802 * debug/xtrace.sh: Likewise.
16803 * elf/ldconfig.c: Likewise.
16804 * elf/ldd.bash.in: Likewise.
16805 * elf/pldd.c: Likewise.
16806 * elf/sotruss.ksh: Likewise.
16807 * elf/sprof.c: Likewise.
16808 * iconv/iconv_prog.c: Likewise.
16809 * iconv/iconvconfig.c: Likewise.
16810 * locale/programs/locale.c: Likewise.
16811 * locale/programs/localedef.c: Likewise.
16812 * login/programs/pt_chown.c: Likewise.
16813 * malloc/memusage.sh: Likewise.
16814 * malloc/memusagestat.c: Likewise.
16815 * malloc/mtrace.pl: Likewise.
16816 * nscd/nscd.c: Likewise.
16817 * nss/getent.c: Likewise.
16818 * nss/makedb.c: Likewise.
16819 * posix/getconf.c: Likewise.
16821 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16823 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16826 2012-12-30 Mike Frysinger <vapier@gentoo.org>
16828 * math/bits/mathcalls.h (modf): Use __nonnull.
16830 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16832 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16833 (split): Use macro CN instead of the bare value.
16834 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16836 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16837 instead of the bare value.
16838 (power1): Likewise.
16840 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16842 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16844 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16846 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16848 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16849 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16850 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16851 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16853 2012-12-28 Andreas Jaeger <aj@suse.de>
16855 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16856 values are from Linux 3.7.
16858 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16859 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16861 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16863 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16866 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16868 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16869 variables with preprocessor constants.
16870 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16871 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16872 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16874 2012-12-27 Bruno Haible <bruno@clisp.org>
16877 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16880 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16882 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16883 and use variable directly.
16884 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16886 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16888 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16889 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16891 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16892 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16893 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16894 include directive. Remove local variable MPONE.
16895 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16896 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16897 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16899 2012-12-25 David S. Miller <davem@davemloft.net>
16901 * version.h (RELEASE): Set to "development".
16902 (VERSION): Set to "2.17.90".
16903 * NEWS: Add 2.18 section.
16905 2012-12-21 David S. Miller <davem@davemloft.net>
16907 * po/hr.po: Update from translation team.
16909 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16911 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16913 2012-12-19 Steve Ellcey <sellcey@mips.com>
16915 * NEWS: Mention new memcpy for MIPS.
16917 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16919 * manual/contrib.texi (Contributors): Spelling correction.
16921 2012-12-15 David S. Miller <davem@davemloft.net>
16923 * po/ru.po: Update from translation team.
16925 2012-12-13 David S. Miller <davem@davemloft.net>
16927 * NEWS: Mention IFUNC testsuite enhancements.
16929 * po/pl.po: Update from translation team.
16930 * po/bg.po: Likewise.
16932 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16933 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16935 2012-12-11 David S. Miller <davem@davemloft.net>
16937 * po/sv.po: Update from translation team.
16939 * po/vi.po: Update from translation team.
16941 * po/cs.po: Update from translation team.
16943 * po/de.po: Update from translation team.
16944 * po/eo.po: Likewise.
16945 * po/nl.po: Likewise.
16947 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16950 * manual/argp.texi (Argp Helper Functions): Move node to follow
16951 Argp Parsing State.
16954 * manual/conf.texi (Limits on File System Capacity): Mention if
16955 terminating null is included in the max size.
16957 2012-12-10 Andreas Jaeger <aj@suse.de>
16959 * po/cs.po: Update from translation team.
16961 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16963 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16964 void pointer and cast to uintptr_t.
16965 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16967 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16968 * sysdeps/s390/s390-64/memset.S: Likewise.
16970 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
16973 * menual/message.texi (Message Translation): Fix typos.
16974 (Helper programs for gettext): Likewise.
16976 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16979 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16982 2012-12-07 David S. Miller <davem@davemloft.net>
16984 * po/libc.pot: Update.
16986 2012-12-07 Richard Henderson <rth@redhat.com>
16989 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16990 normal/normal case to before the switch.
16991 (_FP_DIV): Likewise.
16993 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16994 Mike Frysinger <vapier@gentoo.org>
16996 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16997 check for __NR_fadvise64_64.
16999 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
17001 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
17002 0, not just to plain "0" as a statement.
17003 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
17006 2012-12-06 Joseph Myers <joseph@codesourcery.com>
17008 * NEWS: Use sourceware.org in Bugzilla URL.
17010 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17013 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17015 * stdio-common/tst-put-error.c (do_test): Add newline to the
17016 padded test to ensure flush.
17018 2012-12-05 Jeff Law <law@redhat.com>
17020 * sunrpc/etc.rpc (fedfs_admin): Add entry.
17022 2012-12-05 Joseph Myers <joseph@codesourcery.com>
17024 * README: Don't refer to ports add-on as distributed separately.
17025 Mention AArch64 in list of systems supported in the ports add-on.
17027 * LICENSES: Add more non-FSF copyright and license notices.
17029 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17032 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17034 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17035 10000 as width of padded output.
17037 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17039 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17041 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17042 variable LX with __attribute__ ((unused)).
17043 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17045 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17046 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17047 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17048 with __attribute__ ((unused)).
17050 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
17052 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17054 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17056 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17057 (CFLAGS-nldbl-acos.c): New variable.
17058 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17059 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17060 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17061 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17062 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17063 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17064 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17065 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17066 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17067 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17068 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17069 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17070 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17071 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17072 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17073 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17074 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17075 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17076 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17077 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17078 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17079 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17080 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17081 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17082 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17083 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17084 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17085 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17086 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17087 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17088 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17089 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17090 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17091 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17092 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17093 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17094 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17095 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17096 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17097 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17098 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17099 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17100 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17101 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17102 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17103 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17104 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17105 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17106 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17107 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17108 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17109 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17110 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17111 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17112 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17113 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17114 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17115 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17116 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17117 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17118 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17119 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17120 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17121 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17122 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17123 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17124 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17125 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17126 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17127 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17128 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17129 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17130 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17131 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17132 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17133 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17134 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17135 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17136 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17137 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17138 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17139 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17140 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17141 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17142 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17143 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17144 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17145 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17146 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17147 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17148 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17149 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17150 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17151 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17152 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17153 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17154 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17157 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17160 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17161 whole low double instead of just low 47 bits when splitting values
17164 2012-12-03 Allan McRae <allan@archlinux.org>
17166 * manual/stdio.texi (Predefined Printf Handlers): Remove
17167 @hsep and @vsep usage.
17169 2012-12-03 Mike Frysinger <vapier@gentoo.org>
17171 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17172 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17174 2012-12-03 Jeff Law <law@redhat.com>
17176 * time/sys/time.h (settimeofday): Do not mark TV argument
17179 2012-12-01 Mike Frysinger <vapier@gentoo.org>
17181 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17182 when currently writing and seek to current position when not.
17183 * libio/Makefile (tests): Remove bug-fclose1.
17184 * libio/bug-fclose1.c: Delete.
17186 2012-12-01 Joseph Myers <joseph@codesourcery.com>
17188 * manual/arith.texi (feenableexcept): Fix typo.
17189 (fedisableexcept): Likewise.
17191 2012-11-30 Roland McGrath <roland@hack.frob.com>
17193 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17194 second, differently-typed declaration, rather than a cast.
17196 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17198 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17199 * include/rpc/svc.h: ... here.
17201 2012-11-30 Aurelien Jarno <aurel32@debian.org>
17204 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17205 depending n and resplen2 to catch cases where answer
17208 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17210 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17211 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17213 2012-11-29 Mike Frysinger <vapier@gentoo.org>
17215 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17217 2012-11-29 Roland McGrath <roland@hack.frob.com>
17219 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17221 2012-11-28 Jeff Law <law@redhat.com>
17224 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17225 dataset_temporary. Track alloca usage into alloca_used.
17226 If dataset is large allocate and release it via malloc/free.
17228 2012-06-04 Florian Weimer <fweimer@redhat.com>
17231 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17233 2012-11-28 David S. Miller <davem@davemloft.net>
17235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17237 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17240 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17241 of pi/2 rounded to nearest to 64 bits.
17242 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17243 nearest to 64 bits.
17244 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17247 2012-11-28 Jeff Law <law@redhat.com>
17248 Martin Osvald <mosvald@redhat.com>
17251 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17252 * sunrpc/svc.c: Include time.h.
17253 (__svc_accept_failed): New function.
17254 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17255 any reason other than EINTR, call __svc_accept_failed.
17256 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17257 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17259 2012-11-28 Andreas Schwab <schwab@suse.de>
17261 * scripts/abilist.awk: Also handle indirect functions in .opd
17264 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17267 * sysdeps/x86/fpu/powl_helper.c: New file.
17268 * sysdeps/x86/fpu/Makefile: Likewise.
17269 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17271 (__ieee754_powl): Use __powl_helper for finite arguments except
17272 integer exponents below 8.
17273 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17275 (__ieee754_powl): Use __powl_helper for finite arguments except
17276 integer exponents below 8.
17277 * math/libm-test.inc (pow_test): Add more tests and enable some
17278 previously disabled tests.
17279 * sysdeps/i386/fpu/libm-test-ulps: Update.
17280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17282 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17283 Carlos O'Donell <carlos_odonell@mentor.com>
17285 * nss/makedb.c (is_prime): Assert that input is odd and greater
17286 than 4. Note that fact in a comment too.
17287 (next_prime): Add 4 to input.
17289 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17292 * libio/Makefile (tests): Add test case tst-fwrite-error.
17293 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17294 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17295 * libio/tst-fwrite-error.c: New test case.
17297 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17299 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17300 before casting to void *.
17301 * include/libc-internal.h (__pointer_type): New macro.
17302 (__integer_if_pointer_type_sub): Likewise.
17303 (__integer_if_pointer_type): Likewise.
17304 (cast_to_integer): Likewise.
17305 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17306 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17307 before casting to atomic64_t.
17308 (atomic_exchange_acq): Likewise.
17309 (__arch_exchange_and_add_body): Likewise.
17310 (__arch_add_body): Likewise.
17311 (atomic_add_negative): Likewise.
17312 (atomic_add_zero): Likewise.
17314 2012-11-26 Joseph Myers <joseph@codesourcery.com>
17316 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17317 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17318 (add_fdes): Likewise.
17319 (linear_search_fdes): Likewise.
17320 (binary_search_unencoded_fdes): Likewise.
17322 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17324 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17326 2012-11-24 Adam Conrad <adconrad@0c3.net>
17328 * configure.in: Autodetect C++ header directories.
17329 * configure: Regenerated.
17331 2012-11-23 Mike Frysinger <vapier@gentoo.org>
17333 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17335 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17339 2012-11-22 Joseph Myers <joseph@codesourcery.com>
17341 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17342 LDBL_MANT_DIG == 106]: Disable some tests.
17343 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17345 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17349 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17350 input for small inputs. Return +/- pi/2 for large inputs.
17351 * math/libm-test.inc (atan_test): Add more tests.
17353 * sysdeps/generic/unwind-dw2-fde-glibc.c
17354 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17355 __attribute__ ((unused)).
17358 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17359 x * y if x and y are nonzero and z is zero.
17362 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17363 nonzero exponents with absolute value below 0x1p-117 to +/-
17367 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17368 up arguments below 2**-450, not just those below 2**-500.
17369 * math/libm-test.inc (hypot_test): Add another test.
17372 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17373 Return a+b for ratio over 2**120, not 2**60.
17374 * math/libm-test.inc (hypot_test): Add another test.
17376 * math/libm-test.inc (clog_test): Use
17377 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17378 (clog10_test): Likewise.
17381 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17383 2012-11-22 Andreas Schwab <schwab@suse.de>
17385 * sysdeps/i386/fpu/libm-test-ulps: Update.
17387 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17389 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17390 printf output with newline.
17392 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17395 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17396 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17397 -z nodlopen, -z initfirst and -z execstack support.
17398 * configure: Regenerated.
17400 * elf/elf.h (DF_1_NODIRECT): New macro.
17401 (DF_1_IGNMULDEF): Likewise.
17402 (DF_1_NOKSYMS): Likewise.
17403 (DF_1_NOHDR): Likewise.
17404 (DF_1_EDITED): Likewise.
17405 (DF_1_NORELOC): Likewise.
17406 (DF_1_SYMINTPOSE): Likewise.
17407 (DF_1_GLOBAUDIT): Likewise.
17408 (DF_1_SINGLETON): Likewise.
17409 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17410 DT_1_SUPPORTED_MASK bits.
17411 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17413 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17415 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17417 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17419 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17422 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17423 (sendmmsg): Move declarations...
17424 * socket/sys/socket.h: ... here.
17425 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17426 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17428 * socket/recvmmsg.c: ... this new file.
17429 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17430 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17431 definition of __sendmmsg hidden.
17432 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17433 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17434 Move ENOSYS stub into and include it from...
17435 * socket/sendmmsg.c: ... this new file.
17436 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17437 (sysdep_routines): Move recvmmsg and sendmmsg...
17438 * socket/Makefile (routines): ... here.
17439 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17440 (GLIBC_PRIVATE): Add __sendmmsg.
17441 * include/sys/socket.h (__sendmmsg): Add declarations.
17442 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17445 2012-11-20 Joseph Myers <joseph@codesourcery.com>
17447 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17448 variable I1 with __attribute__ ((unused)).
17449 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17451 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17453 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17454 DUMMY variables with __attribute__ ((unused)).
17456 * bits/byteswap.h: Include <bits/types.h>.
17457 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17459 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17461 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17462 string_t. Do not manually set errno.
17463 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17464 length with __strnlen. Make sure to both set errno and return it on
17467 2012-11-19 David S. Miller <davem@davemloft.net>
17469 With help from Joseph Myers.
17470 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17471 very large arguments properly.
17472 * math/libm-test.inc (atan_test): New tests.
17473 (atan2_test): New tests.
17474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17477 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17480 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17483 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17484 [POSIX] (EADDRNOTAVAIL): Likewise.
17485 [POSIX] (EAFNOSUPPORT): Likewise.
17486 [POSIX] (EALREADY): Likewise.
17487 [POSIX] (ECONNABORTED): Likewise.
17488 [POSIX] (ECONNREFUSED): Likewise.
17489 [POSIX] (ECONNRESET): Likewise.
17490 [POSIX] (EDESTADDRREQ): Likewise.
17491 [POSIX] (EDQUOT): Likewise.
17492 [POSIX] (EHOSTUNREACH): Likewise.
17493 [POSIX] (EIDRM): Likewise.
17494 [POSIX] (EISCONN): Likewise.
17495 [POSIX] (ELOOP): Likewise.
17496 [POSIX] (EMULTIHOP): Likewise.
17497 [POSIX] (ENETDOWN): Likewise.
17498 [POSIX] (ENETUNREACH): Likewise.
17499 [POSIX] (ENOBUFS): Likewise.
17500 [POSIX] (ENODATA): Likewise.
17501 [POSIX] (ENOLINK): Likewise.
17502 [POSIX] (ENOMSG): Likewise.
17503 [POSIX] (ENOPROTOOPT): Likewise.
17504 [POSIX] (ENOSR): Likewise.
17505 [POSIX] (ENOSTR): Likewise.
17506 [POSIX] (ENOTCONN): Likewise.
17507 [POSIX] (ENOTSOCK): Likewise.
17508 [POSIX] (EOPNOTSUPP): Likewise.
17509 [POSIX] (EOVERFLOW): Likewise.
17510 [POSIX] (EPROTO): Likewise.
17511 [POSIX] (EPROTONOSUPPORT): Likewise.
17512 [POSIX] (EPROTOTYPE): Likewise.
17513 [POSIX] (ESTALE): Likewise.
17514 [POSIX] (ETIME): Likewise.
17515 [POSIX] (ETXTBSY): Likewise.
17516 [POSIX] (EWOULDBLOCK): Likewise.
17517 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17518 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17519 [POSIX] (SEEK_CUR): Likewise.
17520 [POSIX] (SEEK_END): Likewise.
17521 [POSIX || UNIX98] (mode_t): Do not require.
17522 [POSIX] (off_t): Likewise.
17523 [POSIX] (pid_t): Likewise.
17524 [POSIX] (sys/stat.h): Do not allow header.
17525 [POSIX] (unistd.h): Likewise.
17526 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17527 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17528 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17529 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17531 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17532 sigevent): Specify elements.
17533 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17535 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17536 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17538 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17539 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17540 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17541 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17542 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17543 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17544 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17545 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17546 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17547 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17548 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17549 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17550 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17551 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17553 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17555 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17557 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17559 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17560 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17561 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17562 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17563 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17564 Specify lower bound on value.
17565 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17566 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17567 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17568 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17569 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17570 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17571 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17572 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17574 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17576 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17577 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17578 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17579 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17580 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17581 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17582 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17583 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17584 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17585 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17586 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17587 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17588 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17589 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17590 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17591 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17593 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17595 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17596 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17597 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17598 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17599 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17600 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17602 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17603 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17604 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17605 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17606 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17607 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17608 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17610 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17611 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17612 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17613 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17614 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17615 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17616 specify as optional.
17617 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17618 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17619 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17620 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17621 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17622 [XPG3] (NL_LANGMAX): Likewise.
17623 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17624 [POSIX || XPG3] (NL_NMAX): Likewise.
17625 [POSIX || XPG3] (NL_SETMAX): Likewise.
17626 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17627 [XPG3] (NZERO): Likewise.
17628 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17629 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17630 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17631 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17632 (REG_ERANGE): Expect.
17633 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17635 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17636 Use (void) in prototype.
17637 [POSIX] (*_t): Allow.
17638 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17639 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17640 (WRDE_BADVAL): Expect.
17642 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17644 [XPG3 || XPG4] (O_RSYNC): Likewise.
17645 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17647 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17648 [XPG3 || XPG4] (sigqueue): Likewise.
17649 [XPG3 || XPG4] (sigtimedwait): Likewise.
17650 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17651 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17652 [XPG3 || XPG4] (vsnprintf): Likewise.
17653 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17655 [XPG3 || XPG4] (blksize_t): Likewise.
17656 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17658 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17659 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17660 [XPG3 || XPG4] (struct itimerspec): Likewise.
17661 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17662 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17663 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17664 [XPG3 || XPG4] (clockid_t): Likewise.
17665 [XPG3 || XPG4] (timer_t): Likewise.
17666 [XPG3 || XPG4] (clock_getres): Likewise.
17667 [XPG3 || XPG4] (clock_gettime): Likewise.
17668 [XPG3 || XPG4] (clock_settime): Likewise.
17669 [XPG3 || XPG4] (nanosleep): Likewise.
17670 [XPG3 || XPG4] (timer_create): Likewise.
17671 [XPG3 || XPG4] (timer_delete): Likewise.
17672 [XPG3 || XPG4] (timer_gettime): Likewise.
17673 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17674 [XPG3 || XPG4] (timer_settime): Likewise.
17675 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17676 [XPG3 || XPG4] (getlogin_r): Likewise.
17677 [XPG3 || XPG4] (pread): Likewise.
17678 [XPG3 || XPG4] (pthread_atfork): Likewise.
17679 [XPG3 || XPG4] (pwrite): Likewise.
17682 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17685 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17687 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17688 finalizing MALLSTREAM.
17690 * sysdeps/mach/hurd/syncfs.c: New file.
17692 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17695 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17696 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17697 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17698 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17699 (_nss_dns_gethostbyname4_r): Likewise.
17700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17701 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17703 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17706 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17708 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17710 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17711 * elf/cache.c (print_entry): Print ",AArch64" for
17714 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17715 * elf/cache.c (print_entry): Print ",hard-float" for
17718 2012-11-18 David S. Miller <davem@davemloft.net>
17720 With help from Joseph Myers.
17721 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17723 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17725 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17726 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17728 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17729 * math/libm-test.inc (y0_test): New tests.
17730 (y1_test): New tests.
17731 * sysdeps/i386/fpu/libm-test-ulps: Update.
17732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17735 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17737 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17739 * configure: Regenerated.
17741 2012-11-17 David S. Miller <davem@davemloft.net>
17744 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17745 nonzero exponents with absolute value below 0x1p-128 to +/-
17748 2012-11-17 Joseph Myers <joseph@codesourcery.com>
17750 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17752 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17754 * posix/getconf-speclist.c: New file.
17755 * posix/posix-envs.def: Likewise.
17756 * posix/confstr.c (START_ENV_GROUP): New macro.
17757 (END_ENV_GROUP): Likewise.
17758 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17759 (KNOWN_PRESENT_ENV_STRING): Likewise.
17760 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17761 (UNKNOWN_ENVIRONMENT): Likewise.
17762 (confstr): Include posix-envs.def instead of handling
17763 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17764 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17765 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17766 (END_ENV_GROUP): Likewise.
17767 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17768 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17769 (UNKNOWN_ENVIRONMENT): Likewise.
17770 (__sysconf): Include posix-envs.def instead of handling associated
17771 cases directly here.
17772 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17773 preprocessing getconf-speclist.c rather than running getconf or
17774 generating empty file.
17776 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17778 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17780 2012-11-16 Andrej Lajovic <natrij@gmail.com>
17783 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17785 2012-11-16 David S. Miller <davem@davemloft.net>
17787 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17788 smaller than LDBL_EPSILON/2.0L, just return xm1.
17790 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17792 * elf/tst-array1.c (init): Set constructor priority to 1000.
17793 (fini): Set destructor priority to 1000.
17794 * elf/tst-array2dep.c: Likewise.
17796 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17799 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17800 (_IO_new_file_xsputn): Also return EOF if none of the input
17801 data was written when overflow failed.
17802 * libio/iopadn.c (_IO_padn): Likewise.
17803 * libio/iowpadn.c (_IO_wpadn): Likewise.
17804 * stdio-common/tst-put-error.c: Add copyright notice.
17805 (do_test): Add case for printing padded string.
17806 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17807 _IO_padn returned error.
17808 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17809 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17812 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17814 * libio/libioP.h: Add comment note that the references to C++
17815 bits are now obsolete.
17817 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17819 * math/libm-test.inc (check_complex): Use asprintf.
17821 2012-11-14 Joseph Myers <joseph@codesourcery.com>
17823 * debug/pcprofiledump.c (print_version): Update copyright year.
17824 * malloc/memusagestat.c (print_version): Likewise.
17826 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17829 * elf/Makefile (tests): Add tst-audit8.
17830 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17831 ($(objpfx)tst-audit8.out): New target.
17832 (tst-audit8-ENV): New variable.
17833 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17834 audit if l_reloc_result is NULL.
17835 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17836 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17837 * elf/tst-audit8.c: New file.
17839 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17841 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17842 * misc/Makefile (CFLAGS-select.c): Define.
17843 * posix/Makefile (CFLAGS-pause.c): Define.
17845 2012-11-13 David S. Miller <davem@davemloft.net>
17847 * crypt/Makefile: Move test targets after toplevel Rules
17848 inclusion. Grab any necessary sysdep routines when linking.
17849 * crypt/md5.c (md5_process_block): Remove define, we will always
17850 name it __md5_process_block.
17851 (md5_finish_ctx): Update md5_process_block call.
17852 (md5_stream): Likewise.
17853 (md5_process_bytes): Likewise.
17854 (md5_process_block): Rename to __md5_process_block and move to ...
17855 * crypt/md5-block.c: ... here.
17856 * crypt/sha256.c (sha256_process_block): Move to ...
17857 * crypt/sha256-block.c: ... here.
17858 * crypt/sha512.c (sha512_process_block): Move to ...
17859 * crypt/sha512-block.c: ... here.
17860 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17862 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17863 * sysdeps/sparc/sparc64/multiarch/Makefile
17864 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17866 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17867 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17869 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17870 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17871 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17872 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17873 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17874 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17875 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17876 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17877 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17879 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17880 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17882 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17884 2012-11-13 Joseph Myers <joseph@codesourcery.com>
17886 * timezone/tzselect.ksh: Update from tzcode git revision
17887 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17888 * timezone/zdump.c: Likewise.
17889 * timezone/zic.c: Likewise.
17890 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17891 in TZVERSION setting, not $(PKGVERSION).
17892 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17893 REPORT_BUGS_TO settings.
17896 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17899 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17901 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17902 detection to immediately after _FP_ROUND().
17903 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17906 2012-11-11 David S. Miller <davem@davemloft.net>
17908 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17910 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17911 __close rather than their public counterparts.
17913 2012-11-10 Joseph Myers <joseph@codesourcery.com>
17915 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17917 [UNIX98] (sem_timedwait): Do not expect.
17918 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17919 [XPG4 || UNIX98] (sockatmark): Do not expect.
17920 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17921 (clock_getcpuclockid): Do not expect.
17922 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17923 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17925 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17926 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17927 [UNIX98] (vwscanf): Likewise.
17928 [UNIX98] (vswscanf): Likewise.
17930 2012-11-09 Joseph Myers <joseph@codesourcery.com>
17932 * timezone/version.h: Remove file.
17933 * timezone/README: Do not refer to version.h.
17934 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17935 $(objpfx)version.h.
17936 ($(objpfx)zdump.o): Likewise.
17937 ($(objpfx)version.h): New target.
17939 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17941 * timezone/README: Don't mention modification to tzselect.ksh.
17942 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17943 work on unmodified tzselect.ksh. Substitute version numbers in
17946 * Makefile (format-me): Remove.
17947 (INSTALL): Adjust indentation. Use commands directly instead of
17948 using $(format-me).
17950 * aclocal.m4 (ACX_PKGVERSION): New macro.
17951 (ACX_BUGURL): Likewise.
17952 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17953 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17954 (REPORT_BUGS_TO): Likewise.
17955 * configure: Regenerated.
17956 * config.h.in (PKGVERSION): New macro.
17957 (REPORT_BUGS_TO): Likewise.
17958 * config.make.in (PKGVERSION): New variable.
17959 (PKGVERSION_TEXI): Likewise.
17960 (REPORT_BUGS_TO): Likewise.
17961 (REPORT_BUGS_TEXI): Likewise.
17962 * Makefile (format-me): Use -I$(common-objpfx)manual.
17963 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17964 ($(common-objpfx)manual/%): New target.
17965 (manual/%): Remove target.
17966 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17967 (print_version): Use PKGVERSION.
17968 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17969 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17970 and REPORT_BUGS_TO.
17971 ($(objpfx)xtrace): Likewise.
17972 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17973 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17974 (print_version): Use PKGVERSION.
17975 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17976 (do_version): Use PKGVERSION.
17977 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17979 (common-ldd-rewrite): Likewise.
17980 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17981 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17982 (print_version): Use PKGVERSION.
17983 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17984 * elf/pldd.c (argp_program_bug_address): Remove variable.
17985 (more_help): New function.
17986 (argp): Use more_help.
17987 (print_version): Use PKGVERSION.
17988 * elf/sln.c (main): Use PKGVERSION.
17989 (usage): Use REPORT_BUGS_TO.
17990 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17991 (top level): Use PKGVERSION.
17992 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17993 (print_version): Use PKGVERSION.
17994 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17995 (print_version): Use PKGVERSION.
17996 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17997 (print_version): Use PKGVERSION.
17998 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17999 (print_version): Use PKGVERSION.
18000 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
18001 (print_version): Use PKGVERSION.
18002 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
18003 (print_version): Use PKGVERSION.
18004 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
18006 ($(objpfx)memusage): Likewise.
18007 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
18008 (do_version): Use PKGVERSION.
18009 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18010 (print_version): Use PKGVERSION.
18011 * malloc/mtrace.pl ($PACKAGE): Remove variable.
18012 ($PKGVERSION): New variable.
18013 ($REPORT_BUGS_TO): Likewise.
18014 (usage): Use $REPORT_BUGS_TO.
18015 (top level): Use $PKGVERSION.
18016 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18017 ($(objpfx)pkgvers.texi): New rule.
18018 ($(objpfx)stamp-pkgvers): Likewise.
18019 * manual/install.texi: Include pkgvers.texi.
18020 (--with-pkgversion): Document new configure option.
18021 (--with-bugurl): Likewise.
18022 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18023 than necessarily for this particular distribution. Use
18024 REPORT_BUGS_TO for where to report bugs.
18025 * INSTALL: Regenerated.
18026 * manual/libc.texinfo: Include pkgvers.texi.
18027 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18028 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18029 (print_version): Use PKGVERSION.
18030 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18031 (print_version): Use PKGVERSION.
18032 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18033 (print_version): Use PKGVERSION.
18034 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18035 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18037 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18038 (print_version): Use PKGVERSION.
18039 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18040 (print_version): Use PKGVERSION.
18041 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18044 * timezone/checktab.awk: Update from tzcode 2012i.
18045 * timezone/ialloc.c: Likewise.
18046 * timezone/private.h: Likewise.
18047 * timezone/scheck.c: Likewise.
18048 * timezone/tzfile.h: Likewise.
18049 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18050 (TZVERSION): Hardcode tzcode version number.
18051 * timezone/zdump.c: Update from tzcode 2012i.
18052 * timezone/zic.c: Likewise.
18053 * timezone/version.h: New file.
18054 * timezone/README: Describe version.h. Update upstream location.
18057 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18058 (mktemp): Enable declaration.
18059 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18061 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18064 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18066 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18068 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18070 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18072 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18076 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18077 offset in buffer as u_int32_t not u_long. Consistently use memcpy
18078 for copies of such integer values.
18079 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18080 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18082 2012-11-09 Andreas Jaeger <aj@suse.de>
18084 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18085 definitions and declarations that are provided by
18086 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18088 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18090 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
18091 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18092 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18095 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18097 * elf/elf.h: Update comment before AArch64 relocations.
18099 2012-11-07 David S. Miller <davem@davemloft.net>
18101 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18102 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18103 (__start_context): Declare.
18104 (__makecontext_ret): Delete.
18105 (__makecontext): Hook up __start_context instead of
18107 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18108 (sysdep_routines): Add __start_context when in stdlib.
18110 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18112 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18113 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18114 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
18116 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
18117 (READELF): New variable. Use it instead of hardcoded "readelf".
18119 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
18121 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18122 * sysdeps/x86/Makefile: Here.
18123 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18124 * sysdeps/x86/tst-xmmymm.sh: This.
18126 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18128 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18130 [UNIX98] (pthread_barrier_t): Do not expect.
18131 [UNIX98] (pthread_barrierattr_t): Likewise.
18132 [UNIX98] (pthread_spinlock_t): Likewise.
18133 [UNIX98] (pthread_barrier_destroy): Likewise.
18134 [UNIX98] (pthread_barrier_init): Likewise.
18135 [UNIX98] (pthread_barrier_wait): Likewise.
18136 [UNIX98] (pthread_barrierattr_destroy): Likewise.
18137 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18138 [UNIX98] (pthread_barrierattr_init): Likewise.
18139 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18140 [UNIX98] (pthread_getcpuclockid): Likewise.
18141 [UNIX98] (pthread_mutex_timedlock): Likewise.
18142 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18143 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18144 [UNIX98] (pthread_sigmask): Likewise.
18145 [UNIX98] (pthread_spin_destroy): Likewise.
18146 [UNIX98] (pthread_spin_init): Likewise.
18147 [UNIX98] (pthread_spin_lock): Likewise.
18148 [UNIX98] (pthread_spin_trylock): Likewise.
18149 [UNIX98] (pthread_spin_unlock): Likewise.
18150 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18152 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18153 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18154 [XPG3 || XPG4] (pthread_cond_t): Likewise.
18155 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18156 [XPG3 || XPG4] (pthread_key_t): Likewise.
18157 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18158 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18159 [XPG3 || XPG4] (pthread_once_t): Likewise.
18160 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18161 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18162 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18163 [XPG3 || XPG4] (pthread_t): Likewise.
18165 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18167 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18169 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18170 Change function return type to int.
18172 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18173 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18174 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18175 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18176 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18177 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18178 [!POSIX] (posix_madvise): Likewise.
18179 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18181 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18182 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18183 (mode_t): Likewise.
18184 (posix_mem_offset): Likewise.
18185 (posix_typed_mem_get_info): Likewise.
18186 (posix_typed_mem_open): Likewise.
18188 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18189 Change condition to [XOPEN2K8].
18191 * conform/conformtest.pl: Preprocess allow-header data with -x c
18192 instead of from stdin.
18193 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18194 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18195 [C99-based standards] (cerfc): Likewise.
18196 [C99-based standards] (cexp2): Likewise.
18197 [C99-based standards] (cexpm1): Likewise.
18198 [C99-based standards] (clog10): Likewise.
18199 [C99-based standards] (clog1p): Likewise.
18200 [C99-based standards] (clog2): Likewise.
18201 [C99-based standards] (clgamma): Likewise.
18202 [C99-based standards] (ctgamma): Likewise.
18203 [C99-based standards] (cerff): Likewise.
18204 [C99-based standards] (cerfcf): Likewise.
18205 [C99-based standards] (cexp2f): Likewise.
18206 [C99-based standards] (cexpm1f): Likewise.
18207 [C99-based standards] (clog10f): Likewise.
18208 [C99-based standards] (clog1pf): Likewise.
18209 [C99-based standards] (clog2f): Likewise.
18210 [C99-based standards] (clgammaf): Likewise.
18211 [C99-based standards] (ctgammaf): Likewise.
18212 [C99-based standards] (cerfl): Likewise.
18213 [C99-based standards] (cerfcl): Likewise.
18214 [C99-based standards] (cexp2l): Likewise.
18215 [C99-based standards] (cexpm1l): Likewise.
18216 [C99-based standards] (clog10l): Likewise.
18217 [C99-based standards] (clog1pl): Likewise.
18218 [C99-based standards] (clog2l): Likewise.
18219 [C99-based standards] (clgammal): Likewise.
18220 [C99-based standards] (ctgammal): Likewise.
18221 * conform/data/inttypes.h-data [C99-based standards]: Include
18222 stdint.h-data. Remove all expectations for stdint.h contents.
18223 [C99-based standards] (PRI*): Do not allow.
18224 [C99-based standards] (SCN*): Likewise.
18225 [C99-based standards] (*_t): Likewise.
18226 [C99-based-standards] (PRId8): Expect macro.
18227 [C99-based-standards] (PRIi8): Likewise.
18228 [C99-based-standards] (PRIo8): Likewise.
18229 [C99-based-standards] (PRIu8): Likewise.
18230 [C99-based-standards] (PRIx8): Likewise.
18231 [C99-based-standards] (PRIX8): Likewise.
18232 [C99-based-standards] (SCNd8): Likewise.
18233 [C99-based-standards] (SCNi8): Likewise.
18234 [C99-based-standards] (SCNo8): Likewise.
18235 [C99-based-standards] (SCNu8): Likewise.
18236 [C99-based-standards] (SCNx8): Likewise.
18237 [C99-based-standards] (PRIdLEAST8): Likewise.
18238 [C99-based-standards] (PRIiLEAST8): Likewise.
18239 [C99-based-standards] (PRIoLEAST8): Likewise.
18240 [C99-based-standards] (PRIuLEAST8): Likewise.
18241 [C99-based-standards] (PRIxLEAST8): Likewise.
18242 [C99-based-standards] (PRIXLEAST8): Likewise.
18243 [C99-based-standards] (SCNdLEAST8): Likewise.
18244 [C99-based-standards] (SCNiLEAST8): Likewise.
18245 [C99-based-standards] (SCNoLEAST8): Likewise.
18246 [C99-based-standards] (SCNuLEAST8): Likewise.
18247 [C99-based-standards] (SCNxLEAST8): Likewise.
18248 [C99-based-standards] (PRIdFAST8): Likewise.
18249 [C99-based-standards] (PRIiFAST8): Likewise.
18250 [C99-based-standards] (PRIoFAST8): Likewise.
18251 [C99-based-standards] (PRIuFAST8): Likewise.
18252 [C99-based-standards] (PRIxFAST8): Likewise.
18253 [C99-based-standards] (PRIXFAST8): Likewise.
18254 [C99-based-standards] (SCNdFAST8): Likewise.
18255 [C99-based-standards] (SCNiFAST8): Likewise.
18256 [C99-based-standards] (SCNoFAST8): Likewise.
18257 [C99-based-standards] (SCNuFAST8): Likewise.
18258 [C99-based-standards] (SCNxFAST8): Likewise.
18259 [C99-based-standards] (PRId16): Likewise.
18260 [C99-based-standards] (PRIi16): Likewise.
18261 [C99-based-standards] (PRIo16): Likewise.
18262 [C99-based-standards] (PRIu16): Likewise.
18263 [C99-based-standards] (PRIx16): Likewise.
18264 [C99-based-standards] (PRIX16): Likewise.
18265 [C99-based-standards] (SCNd16): Likewise.
18266 [C99-based-standards] (SCNi16): Likewise.
18267 [C99-based-standards] (SCNo16): Likewise.
18268 [C99-based-standards] (SCNu16): Likewise.
18269 [C99-based-standards] (SCNx16): Likewise.
18270 [C99-based-standards] (PRIdLEAST16): Likewise.
18271 [C99-based-standards] (PRIiLEAST16): Likewise.
18272 [C99-based-standards] (PRIoLEAST16): Likewise.
18273 [C99-based-standards] (PRIuLEAST16): Likewise.
18274 [C99-based-standards] (PRIxLEAST16): Likewise.
18275 [C99-based-standards] (PRIXLEAST16): Likewise.
18276 [C99-based-standards] (SCNdLEAST16): Likewise.
18277 [C99-based-standards] (SCNiLEAST16): Likewise.
18278 [C99-based-standards] (SCNoLEAST16): Likewise.
18279 [C99-based-standards] (SCNuLEAST16): Likewise.
18280 [C99-based-standards] (SCNxLEAST16): Likewise.
18281 [C99-based-standards] (PRIdFAST16): Likewise.
18282 [C99-based-standards] (PRIiFAST16): Likewise.
18283 [C99-based-standards] (PRIoFAST16): Likewise.
18284 [C99-based-standards] (PRIuFAST16): Likewise.
18285 [C99-based-standards] (PRIxFAST16): Likewise.
18286 [C99-based-standards] (PRIXFAST16): Likewise.
18287 [C99-based-standards] (SCNdFAST16): Likewise.
18288 [C99-based-standards] (SCNiFAST16): Likewise.
18289 [C99-based-standards] (SCNoFAST16): Likewise.
18290 [C99-based-standards] (SCNuFAST16): Likewise.
18291 [C99-based-standards] (SCNxFAST16): Likewise.
18292 [C99-based-standards] (PRId32): Likewise.
18293 [C99-based-standards] (PRIi32): Likewise.
18294 [C99-based-standards] (PRIo32): Likewise.
18295 [C99-based-standards] (PRIu32): Likewise.
18296 [C99-based-standards] (PRIx32): Likewise.
18297 [C99-based-standards] (PRIX32): Likewise.
18298 [C99-based-standards] (SCNd32): Likewise.
18299 [C99-based-standards] (SCNi32): Likewise.
18300 [C99-based-standards] (SCNo32): Likewise.
18301 [C99-based-standards] (SCNu32): Likewise.
18302 [C99-based-standards] (SCNx32): Likewise.
18303 [C99-based-standards] (PRIdLEAST32): Likewise.
18304 [C99-based-standards] (PRIiLEAST32): Likewise.
18305 [C99-based-standards] (PRIoLEAST32): Likewise.
18306 [C99-based-standards] (PRIuLEAST32): Likewise.
18307 [C99-based-standards] (PRIxLEAST32): Likewise.
18308 [C99-based-standards] (PRIXLEAST32): Likewise.
18309 [C99-based-standards] (SCNdLEAST32): Likewise.
18310 [C99-based-standards] (SCNiLEAST32): Likewise.
18311 [C99-based-standards] (SCNoLEAST32): Likewise.
18312 [C99-based-standards] (SCNuLEAST32): Likewise.
18313 [C99-based-standards] (SCNxLEAST32): Likewise.
18314 [C99-based-standards] (PRIdFAST32): Likewise.
18315 [C99-based-standards] (PRIiFAST32): Likewise.
18316 [C99-based-standards] (PRIoFAST32): Likewise.
18317 [C99-based-standards] (PRIuFAST32): Likewise.
18318 [C99-based-standards] (PRIxFAST32): Likewise.
18319 [C99-based-standards] (PRIXFAST32): Likewise.
18320 [C99-based-standards] (SCNdFAST32): Likewise.
18321 [C99-based-standards] (SCNiFAST32): Likewise.
18322 [C99-based-standards] (SCNoFAST32): Likewise.
18323 [C99-based-standards] (SCNuFAST32): Likewise.
18324 [C99-based-standards] (SCNxFAST32): Likewise.
18325 [C99-based-standards] (PRId64): Likewise.
18326 [C99-based-standards] (PRIi64): Likewise.
18327 [C99-based-standards] (PRIo64): Likewise.
18328 [C99-based-standards] (PRIu64): Likewise.
18329 [C99-based-standards] (PRIx64): Likewise.
18330 [C99-based-standards] (PRIX64): Likewise.
18331 [C99-based-standards] (SCNd64): Likewise.
18332 [C99-based-standards] (SCNi64): Likewise.
18333 [C99-based-standards] (SCNo64): Likewise.
18334 [C99-based-standards] (SCNu64): Likewise.
18335 [C99-based-standards] (SCNx64): Likewise.
18336 [C99-based-standards] (PRIdLEAST64): Likewise.
18337 [C99-based-standards] (PRIiLEAST64): Likewise.
18338 [C99-based-standards] (PRIoLEAST64): Likewise.
18339 [C99-based-standards] (PRIuLEAST64): Likewise.
18340 [C99-based-standards] (PRIxLEAST64): Likewise.
18341 [C99-based-standards] (PRIXLEAST64): Likewise.
18342 [C99-based-standards] (SCNdLEAST64): Likewise.
18343 [C99-based-standards] (SCNiLEAST64): Likewise.
18344 [C99-based-standards] (SCNoLEAST64): Likewise.
18345 [C99-based-standards] (SCNuLEAST64): Likewise.
18346 [C99-based-standards] (SCNxLEAST64): Likewise.
18347 [C99-based-standards] (PRIdFAST64): Likewise.
18348 [C99-based-standards] (PRIiFAST64): Likewise.
18349 [C99-based-standards] (PRIoFAST64): Likewise.
18350 [C99-based-standards] (PRIuFAST64): Likewise.
18351 [C99-based-standards] (PRIxFAST64): Likewise.
18352 [C99-based-standards] (PRIXFAST64): Likewise.
18353 [C99-based-standards] (SCNdFAST64): Likewise.
18354 [C99-based-standards] (SCNiFAST64): Likewise.
18355 [C99-based-standards] (SCNoFAST64): Likewise.
18356 [C99-based-standards] (SCNuFAST64): Likewise.
18357 [C99-based-standards] (SCNxFAST64): Likewise.
18358 [C99-based-standards] (PRIdMAX): Likewise.
18359 [C99-based-standards] (PRIiMAX): Likewise.
18360 [C99-based-standards] (PRIoMAX): Likewise.
18361 [C99-based-standards] (PRIuMAX): Likewise.
18362 [C99-based-standards] (PRIxMAX): Likewise.
18363 [C99-based-standards] (PRIXMAX): Likewise.
18364 [C99-based-standards] (SCNdMAX): Likewise.
18365 [C99-based-standards] (SCNiMAX): Likewise.
18366 [C99-based-standards] (SCNoMAX): Likewise.
18367 [C99-based-standards] (SCNuMAX): Likewise.
18368 [C99-based-standards] (SCNxMAX): Likewise.
18369 [C99-based-standards] (PRIdPTR): Likewise.
18370 [C99-based-standards] (PRIiPTR): Likewise.
18371 [C99-based-standards] (PRIoPTR): Likewise.
18372 [C99-based-standards] (PRIuPTR): Likewise.
18373 [C99-based-standards] (PRIxPTR): Likewise.
18374 [C99-based-standards] (PRIXPTR): Likewise.
18375 [C99-based-standards] (SCNdPTR): Likewise.
18376 [C99-based-standards] (SCNiPTR): Likewise.
18377 [C99-based-standards] (SCNoPTR): Likewise.
18378 [C99-based-standards] (SCNuPTR): Likewise.
18379 [C99-based-standards] (SCNxPTR): Likewise.
18380 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18382 * conform/data/stdint.h-data: Update comments to clarify
18384 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18386 [C99-based standards] (INT8_MAX): Likewise.
18387 [C99-based standards] (INT16_MIN): Likewise.
18388 [C99-based standards] (INT16_MAX): Likewise.
18389 [C99-based standards] (INT32_MIN): Likewise.
18390 [C99-based standards] (INT32_MAX): Likewise.
18391 [C99-based standards] (INT64_MIN): Likewise.
18392 [C99-based standards] (INT64_MAX): Likewise.
18393 [C99-based standards] (UINT8_MAX): Likewise.
18394 [C99-based standards] (UINT16_MAX): Likewise.
18395 [C99-based standards] (UINT32_MAX): Likewise.
18396 [C99-based standards] (UINT64_MAX): Likewise.
18397 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18398 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18399 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18400 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18401 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18402 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18403 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18404 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18405 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18406 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18407 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18408 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18409 [C99-based standards] (INT_FAST8_MIN): Likewise.
18410 [C99-based standards] (INT_FAST8_MAX): Likewise.
18411 [C99-based standards] (INT_FAST16_MIN): Likewise.
18412 [C99-based standards] (INT_FAST16_MAX): Likewise.
18413 [C99-based standards] (INT_FAST32_MIN): Likewise.
18414 [C99-based standards] (INT_FAST32_MAX): Likewise.
18415 [C99-based standards] (INT_FAST64_MIN): Likewise.
18416 [C99-based standards] (INT_FAST64_MAX): Likewise.
18417 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18418 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18419 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18420 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18421 [C99-based standards] (INTPTR_MIN): Likewise.
18422 [C99-based standards] (INTPTR_MAX): Likewise.
18423 [C99-based standards] (UINTPTR_MAX): Likewise.
18424 [C99-based standards] (INTMAX_MIN): Likewise.
18425 [C99-based standards] (INTMAX_MAX): Likewise.
18426 [C99-based standards] (UINTMAX_MAX): Likewise.
18427 [C99-based standards] (PTRDIFF_MIN): Likewise.
18428 [C99-based standards] (PTRDIFF_MAX): Likewise.
18429 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18430 [C99-based standards] (SIZE_MAX): Likewise.
18431 [C99-based standards] (WCHAR_MAX): Likewise.
18432 [C99-based standards] (WINT_MAX): Likewise.
18433 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18434 constraint on value.
18435 [C99-based standards] (WCHAR_MIN): Likewise.
18436 [C99-based standards] (WINT_MIN): Likewise.
18437 [C99-based standards] (*_t): Allow.
18438 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18439 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18440 Include math.h-data and complex.h-data. Remove all expectations
18441 of math.h and complex.h contents.
18442 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18444 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18445 (struct tm): Expect tag.
18446 [C99-based-standards] (wcstof): Expect function.
18447 [C99-based-standards] (wcstold): Likewise.
18448 [C99-based-standards] (wcstoll): Likewise.
18449 [C99-based-standards] (wcstoull): Likewise.
18450 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18451 macro-int-constant. Specify type.
18452 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18453 constraint on value.
18454 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18456 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18458 [ISO C standards]: Do not allow headers.
18459 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18460 wcs[abcdefghijklmnopqrstuvwxyz]*.
18461 [ISO C standards] (*_t): Do not allow.
18462 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18464 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18465 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18467 [ISO C standards]: Do not allow headers.
18468 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18469 is[abcdefghijklmnopqrstuvwxyz]*.
18470 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18471 to[abcdefghijklmnopqrstuvwxyz]*.
18472 [ISO C standards] (*_t): Do not allow.
18473 * conform/data/stdalign.h-data: New file.
18474 * conform/data/stdbool.h-data: Likewise.
18475 * conform/data/stdnoreturn.h-data: Likewise.
18477 2012-11-07 Roland McGrath <roland@hack.frob.com>
18480 * manual/filesys.texi (Directory Entries): Typo fix.
18481 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18483 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18485 * elf/elf.h (EM_AARCH64): New macro.
18486 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18487 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18488 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18489 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18490 (R_AARCH64_TLSDESC): Likewise.
18491 (NT_ARM_TLS): Likewise.
18492 (NT_ARM_HW_BREAK): Likewise.
18493 (NT_ARM_HW_WATCH): Likewise.
18495 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18498 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18499 (__ieee754_powl): Saturate nonzero exponents with absolute value
18500 below 0x1p-79 to +/- 0x1p-79.
18501 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18502 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18503 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18504 nonzero exponents with absolute value below 0x1p-32 to +/-
18506 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18507 (__ieee754_powl): Saturate nonzero exponents with absolute value
18508 below 0x1p-79 to +/- 0x1p-79.
18509 * math/libm-test.inc (pow_test): Add more tests.
18511 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18513 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18514 _dl_s390_cap_flags with kernel. Increase string length.
18515 (_dl_s390_platforms): Add z196 and zEC12.
18517 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18519 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18520 Change XOPEN21K to XOPEN2K.
18522 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18524 * string/memmove.c: Use memcpy when possible.
18526 2012-11-06 Andreas Jaeger <aj@suse.de>
18528 * po/eo.po: Update from translation team.
18530 2012-11-06 Joseph Myers <joseph@codesourcery.com>
18533 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18534 exponent and small x and y exponents, scale x or y up. Increase
18535 by 2 the exponent used in scaling up.
18536 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18537 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18538 * math/libm-test.inc (fma_test): Add more tests.
18539 (fma_test_towardzero): Likewise.
18540 (fma_test_downward): Likewise.
18541 (fma_test_upward): Likewise.
18543 2012-11-05 Joseph Myers <joseph@codesourcery.com>
18546 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18550 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18551 namespace for names of struct fields.
18552 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18554 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18555 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18557 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18560 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18562 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18564 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18568 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18571 2012-11-04 Joseph Myers <joseph@codesourcery.com>
18574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18575 definitely overflow as x * y not x * y + z.
18576 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18577 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18578 * math/libm-test.inc (fma_test): Add more tests.
18579 (fma_test_towardzero): Likewise.
18580 (fma_test_downward): Likewise.
18581 (fma_test_upward): Likewise.
18583 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18587 * include/stub-tag.h: Remove file.
18588 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18590 * manual/maint.texi (Porting): Don't reference it.
18591 * Makerules ($(objpfx)stubs): Likewise.
18592 * dirent/closedir.c: Don't include <stub-tag.h>.
18593 * dirent/dirfd.c: Likewise.
18594 * dirent/fdopendir.c: Likewise.
18595 * dirent/getdents.c: Likewise.
18596 * dirent/getdents64.c: Likewise.
18597 * dirent/opendir.c: Likewise.
18598 * dirent/readdir.c: Likewise.
18599 * dirent/readdir64.c: Likewise.
18600 * dirent/readdir64_r.c: Likewise.
18601 * dirent/readdir_r.c: Likewise.
18602 * dirent/rewinddir.c: Likewise.
18603 * dirent/seekdir.c: Likewise.
18604 * dirent/telldir.c: Likewise.
18605 * gmon/profil.c: Likewise.
18606 * grp/setgroups.c: Likewise.
18607 * inet/if_index.c: Likewise.
18608 * io/access.c: Likewise.
18609 * io/chdir.c: Likewise.
18610 * io/chmod.c: Likewise.
18611 * io/chown.c: Likewise.
18612 * io/close.c: Likewise.
18613 * io/dup.c: Likewise.
18614 * io/dup2.c: Likewise.
18615 * io/dup3.c: Likewise.
18616 * io/euidaccess.c: Likewise.
18617 * io/faccessat.c: Likewise.
18618 * io/fchdir.c: Likewise.
18619 * io/fchmod.c: Likewise.
18620 * io/fchmodat.c: Likewise.
18621 * io/fchown.c: Likewise.
18622 * io/fchownat.c: Likewise.
18623 * io/fcntl.c: Likewise.
18624 * io/flock.c: Likewise.
18625 * io/fstatfs.c: Likewise.
18626 * io/fstatfs64.c: Likewise.
18627 * io/fstatvfs.c: Likewise.
18628 * io/fstatvfs64.c: Likewise.
18629 * io/futimens.c: Likewise.
18630 * io/fxstat.c: Likewise.
18631 * io/fxstat64.c: Likewise.
18632 * io/fxstatat.c: Likewise.
18633 * io/fxstatat64.c: Likewise.
18634 * io/getcwd.c: Likewise.
18635 * io/isatty.c: Likewise.
18636 * io/lchmod.c: Likewise.
18637 * io/lchown.c: Likewise.
18638 * io/link.c: Likewise.
18639 * io/linkat.c: Likewise.
18640 * io/lseek.c: Likewise.
18641 * io/lseek64.c: Likewise.
18642 * io/lxstat64.c: Likewise.
18643 * io/mkdir.c: Likewise.
18644 * io/mkdirat.c: Likewise.
18645 * io/mkfifo.c: Likewise.
18646 * io/mkfifoat.c: Likewise.
18647 * io/open.c: Likewise.
18648 * io/open64.c: Likewise.
18649 * io/openat.c: Likewise.
18650 * io/openat64.c: Likewise.
18651 * io/pipe.c: Likewise.
18652 * io/pipe2.c: Likewise.
18653 * io/poll.c: Likewise.
18654 * io/posix_fadvise.c: Likewise.
18655 * io/posix_fadvise64.c: Likewise.
18656 * io/posix_fallocate.c: Likewise.
18657 * io/posix_fallocate64.c: Likewise.
18658 * io/read.c: Likewise.
18659 * io/readlink.c: Likewise.
18660 * io/readlinkat.c: Likewise.
18661 * io/rmdir.c: Likewise.
18662 * io/sendfile.c: Likewise.
18663 * io/sendfile64.c: Likewise.
18664 * io/statfs.c: Likewise.
18665 * io/statfs64.c: Likewise.
18666 * io/statvfs.c: Likewise.
18667 * io/statvfs64.c: Likewise.
18668 * io/symlink.c: Likewise.
18669 * io/symlinkat.c: Likewise.
18670 * io/ttyname.c: Likewise.
18671 * io/ttyname_r.c: Likewise.
18672 * io/umask.c: Likewise.
18673 * io/unlink.c: Likewise.
18674 * io/unlinkat.c: Likewise.
18675 * io/utime.c: Likewise.
18676 * io/utimensat.c: Likewise.
18677 * io/write.c: Likewise.
18678 * io/xmknod.c: Likewise.
18679 * io/xmknodat.c: Likewise.
18680 * io/xstat.c: Likewise.
18681 * io/xstat64.c: Likewise.
18682 * login/getpt.c: Likewise.
18683 * login/grantpt.c: Likewise.
18684 * login/unlockpt.c: Likewise.
18685 * math/e_acoshl.c: Likewise.
18686 * math/e_acosl.c: Likewise.
18687 * math/e_asinl.c: Likewise.
18688 * math/e_atan2l.c: Likewise.
18689 * math/e_atanhl.c: Likewise.
18690 * math/e_coshl.c: Likewise.
18691 * math/e_expl.c: Likewise.
18692 * math/e_fmodl.c: Likewise.
18693 * math/e_gammal_r.c: Likewise.
18694 * math/e_hypotl.c: Likewise.
18695 * math/e_j0l.c: Likewise.
18696 * math/e_j1l.c: Likewise.
18697 * math/e_jnl.c: Likewise.
18698 * math/e_lgammal_r.c: Likewise.
18699 * math/e_log10l.c: Likewise.
18700 * math/e_log2l.c: Likewise.
18701 * math/e_logl.c: Likewise.
18702 * math/e_powl.c: Likewise.
18703 * math/e_rem_pio2l.c: Likewise.
18704 * math/e_sinhl.c: Likewise.
18705 * math/e_sqrtl.c: Likewise.
18706 * math/fclrexcpt.c: Likewise.
18707 * math/fedisblxcpt.c: Likewise.
18708 * math/feenablxcpt.c: Likewise.
18709 * math/fegetenv.c: Likewise.
18710 * math/fegetexcept.c: Likewise.
18711 * math/fegetround.c: Likewise.
18712 * math/feholdexcpt.c: Likewise.
18713 * math/fesetenv.c: Likewise.
18714 * math/fesetround.c: Likewise.
18715 * math/feupdateenv.c: Likewise.
18716 * math/fgetexcptflg.c: Likewise.
18717 * math/fraiseexcpt.c: Likewise.
18718 * math/fsetexcptflg.c: Likewise.
18719 * math/ftestexcept.c: Likewise.
18720 * math/k_cosl.c: Likewise.
18721 * math/k_rem_pio2l.c: Likewise.
18722 * math/k_sinl.c: Likewise.
18723 * math/k_tanl.c: Likewise.
18724 * math/s_asinhl.c: Likewise.
18725 * math/s_atanl.c: Likewise.
18726 * math/s_cbrtl.c: Likewise.
18727 * math/s_erfl.c: Likewise.
18728 * math/s_expm1l.c: Likewise.
18729 * math/s_log1pl.c: Likewise.
18730 * math/s_tanhl.c: Likewise.
18731 * misc/acct.c: Likewise.
18732 * misc/brk.c: Likewise.
18733 * misc/chflags.c: Likewise.
18734 * misc/chroot.c: Likewise.
18735 * misc/fchflags.c: Likewise.
18736 * misc/fgetxattr.c: Likewise.
18737 * misc/flistxattr.c: Likewise.
18738 * misc/fremovexattr.c: Likewise.
18739 * misc/fsetxattr.c: Likewise.
18740 * misc/fsync.c: Likewise.
18741 * misc/ftruncate.c: Likewise.
18742 * misc/futimes.c: Likewise.
18743 * misc/futimesat.c: Likewise.
18744 * misc/getdomain.c: Likewise.
18745 * misc/getdtsz.c: Likewise.
18746 * misc/gethostid.c: Likewise.
18747 * misc/gethostname.c: Likewise.
18748 * misc/getloadavg.c: Likewise.
18749 * misc/getpagesize.c: Likewise.
18750 * misc/getsysstats.c: Likewise.
18751 * misc/getxattr.c: Likewise.
18752 * misc/gtty.c: Likewise.
18753 * misc/ioctl.c: Likewise.
18754 * misc/lgetxattr.c: Likewise.
18755 * misc/listxattr.c: Likewise.
18756 * misc/llistxattr.c: Likewise.
18757 * misc/lremovexattr.c: Likewise.
18758 * misc/lsetxattr.c: Likewise.
18759 * misc/lutimes.c: Likewise.
18760 * misc/madvise.c: Likewise.
18761 * misc/mincore.c: Likewise.
18762 * misc/mlock.c: Likewise.
18763 * misc/mlockall.c: Likewise.
18764 * misc/mmap.c: Likewise.
18765 * misc/mprotect.c: Likewise.
18766 * misc/msync.c: Likewise.
18767 * misc/munlock.c: Likewise.
18768 * misc/munlockall.c: Likewise.
18769 * misc/munmap.c: Likewise.
18770 * misc/preadv.c: Likewise.
18771 * misc/preadv64.c: Likewise.
18772 * misc/ptrace.c: Likewise.
18773 * misc/pwritev.c: Likewise.
18774 * misc/pwritev64.c: Likewise.
18775 * misc/readv.c: Likewise.
18776 * misc/reboot.c: Likewise.
18777 * misc/remap_file_pages.c: Likewise.
18778 * misc/removexattr.c: Likewise.
18779 * misc/revoke.c: Likewise.
18780 * misc/select.c: Likewise.
18781 * misc/setdomain.c: Likewise.
18782 * misc/setegid.c: Likewise.
18783 * misc/seteuid.c: Likewise.
18784 * misc/sethostid.c: Likewise.
18785 * misc/sethostname.c: Likewise.
18786 * misc/setregid.c: Likewise.
18787 * misc/setreuid.c: Likewise.
18788 * misc/setxattr.c: Likewise.
18789 * misc/sstk.c: Likewise.
18790 * misc/stty.c: Likewise.
18791 * misc/swapoff.c: Likewise.
18792 * misc/swapon.c: Likewise.
18793 * misc/sync.c: Likewise.
18794 * misc/syncfs.c: Likewise.
18795 * misc/syscall.c: Likewise.
18796 * misc/truncate.c: Likewise.
18797 * misc/ualarm.c: Likewise.
18798 * misc/usleep.c: Likewise.
18799 * misc/ustat.c: Likewise.
18800 * misc/utimes.c: Likewise.
18801 * misc/vhangup.c: Likewise.
18802 * misc/writev.c: Likewise.
18803 * posix/_exit.c: Likewise.
18804 * posix/alarm.c: Likewise.
18805 * posix/execve.c: Likewise.
18806 * posix/fexecve.c: Likewise.
18807 * posix/fork.c: Likewise.
18808 * posix/fpathconf.c: Likewise.
18809 * posix/getaddrinfo.c: Likewise.
18810 * posix/getegid.c: Likewise.
18811 * posix/geteuid.c: Likewise.
18812 * posix/getgid.c: Likewise.
18813 * posix/getgroups.c: Likewise.
18814 * posix/getlogin.c: Likewise.
18815 * posix/getlogin_r.c: Likewise.
18816 * posix/getpgid.c: Likewise.
18817 * posix/getpid.c: Likewise.
18818 * posix/getppid.c: Likewise.
18819 * posix/getresgid.c: Likewise.
18820 * posix/getresuid.c: Likewise.
18821 * posix/getsid.c: Likewise.
18822 * posix/getuid.c: Likewise.
18823 * posix/glob64.c: Likewise.
18824 * posix/nanosleep.c: Likewise.
18825 * posix/pathconf.c: Likewise.
18826 * posix/pause.c: Likewise.
18827 * posix/posix_madvise.c: Likewise.
18828 * posix/pread.c: Likewise.
18829 * posix/pread64.c: Likewise.
18830 * posix/pwrite.c: Likewise.
18831 * posix/pwrite64.c: Likewise.
18832 * posix/sched_getaffinity.c: Likewise.
18833 * posix/sched_getp.c: Likewise.
18834 * posix/sched_gets.c: Likewise.
18835 * posix/sched_primax.c: Likewise.
18836 * posix/sched_primin.c: Likewise.
18837 * posix/sched_rr_gi.c: Likewise.
18838 * posix/sched_setaffinity.c: Likewise.
18839 * posix/sched_setp.c: Likewise.
18840 * posix/sched_sets.c: Likewise.
18841 * posix/sched_yield.c: Likewise.
18842 * posix/setgid.c: Likewise.
18843 * posix/setlogin.c: Likewise.
18844 * posix/setpgid.c: Likewise.
18845 * posix/setresgid.c: Likewise.
18846 * posix/setresuid.c: Likewise.
18847 * posix/setsid.c: Likewise.
18848 * posix/setuid.c: Likewise.
18849 * posix/sleep.c: Likewise.
18850 * posix/spawni.c: Likewise.
18851 * posix/sysconf.c: Likewise.
18852 * posix/times.c: Likewise.
18853 * posix/wait.c: Likewise.
18854 * posix/wait3.c: Likewise.
18855 * posix/wait4.c: Likewise.
18856 * posix/waitpid.c: Likewise.
18857 * resolv/gai_sigqueue.c: Likewise.
18858 * resource/getpriority.c: Likewise.
18859 * resource/getrlimit.c: Likewise.
18860 * resource/getrusage.c: Likewise.
18861 * resource/nice.c: Likewise.
18862 * resource/setpriority.c: Likewise.
18863 * resource/setrlimit.c: Likewise.
18864 * resource/ulimit.c: Likewise.
18865 * rt/aio_cancel.c: Likewise.
18866 * rt/aio_fsync.c: Likewise.
18867 * rt/aio_read.c: Likewise.
18868 * rt/aio_sigqueue.c: Likewise.
18869 * rt/aio_suspend.c: Likewise.
18870 * rt/aio_write.c: Likewise.
18871 * rt/clock_getres.c: Likewise.
18872 * rt/clock_gettime.c: Likewise.
18873 * rt/clock_nanosleep.c: Likewise.
18874 * rt/clock_settime.c: Likewise.
18875 * rt/lio_listio.c: Likewise.
18876 * rt/mq_close.c: Likewise.
18877 * rt/mq_getattr.c: Likewise.
18878 * rt/mq_notify.c: Likewise.
18879 * rt/mq_open.c: Likewise.
18880 * rt/mq_receive.c: Likewise.
18881 * rt/mq_send.c: Likewise.
18882 * rt/mq_setattr.c: Likewise.
18883 * rt/mq_timedreceive.c: Likewise.
18884 * rt/mq_timedsend.c: Likewise.
18885 * rt/mq_unlink.c: Likewise.
18886 * rt/shm_open.c: Likewise.
18887 * rt/shm_unlink.c: Likewise.
18888 * rt/timer_create.c: Likewise.
18889 * rt/timer_delete.c: Likewise.
18890 * rt/timer_getoverr.c: Likewise.
18891 * rt/timer_gettime.c: Likewise.
18892 * rt/timer_settime.c: Likewise.
18893 * setjmp/__longjmp.c: Likewise.
18894 * setjmp/setjmp.c: Likewise.
18895 * signal/kill.c: Likewise.
18896 * signal/killpg.c: Likewise.
18897 * signal/raise.c: Likewise.
18898 * signal/sigaction.c: Likewise.
18899 * signal/sigaltstack.c: Likewise.
18900 * signal/sigblock.c: Likewise.
18901 * signal/sigignore.c: Likewise.
18902 * signal/sigintr.c: Likewise.
18903 * signal/signal.c: Likewise.
18904 * signal/sigpause.c: Likewise.
18905 * signal/sigpending.c: Likewise.
18906 * signal/sigqueue.c: Likewise.
18907 * signal/sigreturn.c: Likewise.
18908 * signal/sigset.c: Likewise.
18909 * signal/sigsetmask.c: Likewise.
18910 * signal/sigstack.c: Likewise.
18911 * signal/sigsuspend.c: Likewise.
18912 * signal/sigtimedwait.c: Likewise.
18913 * signal/sigvec.c: Likewise.
18914 * signal/sigwait.c: Likewise.
18915 * signal/sigwaitinfo.c: Likewise.
18916 * signal/sysv_signal.c: Likewise.
18917 * socket/accept.c: Likewise.
18918 * socket/accept4.c: Likewise.
18919 * socket/bind.c: Likewise.
18920 * socket/connect.c: Likewise.
18921 * socket/getpeername.c: Likewise.
18922 * socket/getsockname.c: Likewise.
18923 * socket/getsockopt.c: Likewise.
18924 * socket/isfdtype.c: Likewise.
18925 * socket/listen.c: Likewise.
18926 * socket/recv.c: Likewise.
18927 * socket/recvfrom.c: Likewise.
18928 * socket/recvmsg.c: Likewise.
18929 * socket/send.c: Likewise.
18930 * socket/sendmsg.c: Likewise.
18931 * socket/sendto.c: Likewise.
18932 * socket/setsockopt.c: Likewise.
18933 * socket/shutdown.c: Likewise.
18934 * socket/sockatmark.c: Likewise.
18935 * socket/socket.c: Likewise.
18936 * socket/socketpair.c: Likewise.
18937 * stdio-common/ctermid.c: Likewise.
18938 * stdio-common/cuserid.c: Likewise.
18939 * stdio-common/remove.c: Likewise.
18940 * stdio-common/rename.c: Likewise.
18941 * stdio-common/renameat.c: Likewise.
18942 * stdio-common/tempname.c: Likewise.
18943 * stdlib/getcontext.c: Likewise.
18944 * stdlib/makecontext.c: Likewise.
18945 * stdlib/setcontext.c: Likewise.
18946 * stdlib/swapcontext.c: Likewise.
18947 * stdlib/system.c: Likewise.
18948 * streams/fattach.c: Likewise.
18949 * streams/fdetach.c: Likewise.
18950 * streams/getmsg.c: Likewise.
18951 * streams/getpmsg.c: Likewise.
18952 * streams/putmsg.c: Likewise.
18953 * streams/putpmsg.c: Likewise.
18954 * sysdeps/unix/bsd/getpt.c: Likewise.
18955 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18956 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18957 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18960 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18961 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18962 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18963 * sysvipc/msgctl.c: Likewise.
18964 * sysvipc/msgget.c: Likewise.
18965 * sysvipc/msgrcv.c: Likewise.
18966 * sysvipc/msgsnd.c: Likewise.
18967 * sysvipc/semctl.c: Likewise.
18968 * sysvipc/semget.c: Likewise.
18969 * sysvipc/semop.c: Likewise.
18970 * sysvipc/semtimedop.c: Likewise.
18971 * sysvipc/shmat.c: Likewise.
18972 * sysvipc/shmctl.c: Likewise.
18973 * sysvipc/shmdt.c: Likewise.
18974 * sysvipc/shmget.c: Likewise.
18975 * termios/tcdrain.c: Likewise.
18976 * termios/tcflow.c: Likewise.
18977 * termios/tcflush.c: Likewise.
18978 * termios/tcgetattr.c: Likewise.
18979 * termios/tcgetpgrp.c: Likewise.
18980 * termios/tcsendbrk.c: Likewise.
18981 * termios/tcsetattr.c: Likewise.
18982 * termios/tcsetpgrp.c: Likewise.
18983 * time/adjtime.c: Likewise.
18984 * time/clock.c: Likewise.
18985 * time/getitimer.c: Likewise.
18986 * time/gettimeofday.c: Likewise.
18987 * time/setitimer.c: Likewise.
18988 * time/settimeofday.c: Likewise.
18989 * time/stime.c: Likewise.
18990 * time/time.c: Likewise.
18992 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
18994 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18997 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18999 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
19001 2012-11-03 Joseph Myers <joseph@codesourcery.com>
19004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
19005 FE_TONEAREST before applying Dekker multiplication and Knuth
19006 addition. Clear inexact exceptions and check for exact zero
19007 results afterwards.
19008 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19009 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19010 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19011 * math/libm-test.inc (fma_test): Add more tests.
19012 (fma_test_towardzero): Likewise.
19013 (fma_test_downward): Likewise.
19014 (fma_test_upward): Likewise.
19015 * sysdeps/generic/math_private.h (default_libc_fesetround): New
19017 (libc_fesetround): New macro.
19018 (libc_fesetroundf): Likewise.
19019 (libc_fesetroundl): Likewise.
19020 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19022 (libc_fesetround_387): Likewise.
19023 (libc_fesetroundf): New macro.
19024 (libc_fesetround): Likewise.
19025 (libc_fesetroundl): Likewise.
19026 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19028 (libc_fesetroundf): New macro.
19029 (libc_fesetround): Likewise.
19030 (libc_fesetroundl): Likewise.
19031 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19032 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19033 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19035 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19036 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19038 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19039 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19041 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19045 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19046 integer constant usable in #if and use that to give value to enum
19048 (FE_DIVBYZERO): Likewise.
19049 (FE_UNDERFLOW): Likewise.
19050 (FE_OVERFLOW): Likewise.
19051 (FE_INVALID): Likewise.
19052 (FE_INVALID_SNAN): Likewise.
19053 (FE_INVALID_ISI): Likewise.
19054 (FE_INVALID_IDI): Likewise.
19055 (FE_INVALID_ZDZ): Likewise.
19056 (FE_INVALID_IMZ): Likewise.
19057 (FE_INVALID_COMPARE): Likewise.
19058 (FE_INVALID_SOFTWARE): Likewise.
19059 (FE_INVALID_SQRT): Likewise.
19060 (FE_INVALID_INTEGER_CONVERSION): Likewise.
19061 (FE_TONEAREST): Likewise.
19062 (FE_TOWARDZERO): Likewise.
19063 (FE_UPWARD): Likewise.
19064 (FE_DOWNWARD): Likewise.
19065 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19066 (FE_DIVBYZERO): Likewise.
19067 (FE_OVERFLOW): Likewise.
19068 (FE_UNDERFLOW): Likewise.
19069 (FE_INEXACT): Likewise.
19070 (FE_TONEAREST): Likewise.
19071 (FE_DOWNWARD): Likewise.
19072 (FE_UPWARD): Likewise.
19073 (FE_TOWARDZERO): Likewise.
19074 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19075 (FE_UNDERFLOW): Likewise.
19076 (FE_OVERFLOW): Likewise.
19077 (FE_DIVBYZERO): Likewise.
19078 (FE_INVALID): Likewise.
19079 (FE_TONEAREST): Likewise.
19080 (FE_TOWARDZERO): Likewise.
19081 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19082 (FE_OVERFLOW): Likewise.
19083 (FE_UNDERFLOW): Likewise.
19084 (FE_DIVBYZERO): Likewise.
19085 (FE_INEXACT): Likewise.
19086 (FE_TONEAREST): Likewise.
19087 (FE_TOWARDZERO): Likewise.
19088 (FE_UPWARD): Likewise.
19089 (FE_DOWNWARD): Likewise.
19090 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19091 (FE_DIVBYZERO): Likewise.
19092 (FE_OVERFLOW): Likewise.
19093 (FE_UNDERFLOW): Likewise.
19094 (FE_INEXACT): Likewise.
19095 (FE_TONEAREST): Likewise.
19096 (FE_DOWNWARD): Likewise.
19097 (FE_UPWARD): Likewise.
19098 (FE_TOWARDZERO): Likewise.
19100 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
19102 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19104 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
19106 * scripts/cross-test-ssh.sh (command): Use newlines to separate
19107 commands. Quote $PWD.
19108 (blacklist_exports): Don't use remove_newlines. Replace "declare
19110 (remove_newlines): Remove.
19112 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
19114 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19115 * stdlib/stdlib.h (atof): Moved to ...
19116 * include/bits/stdlib-float.h: Here. New file.
19117 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19118 * stdlib/bits/stdlib-float.h: New file.
19119 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19121 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19124 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19126 * conform/conformtest.pl (@headers): Add fenv.h.
19127 * conform/data/fenv.h-data: New file.
19128 * include/fenv.h [_ISOMAC]: Disable all contents of file except
19129 include of <math/fenv.h>.
19131 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19132 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19133 && !UNIX98]. Enables tests for XOPEN2K8.
19134 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19135 POSIX2008]: Likewise.
19137 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19138 (struct rusage): Do not expect type or its members.
19141 * math/math.h (FP_NAN): Define macro to integer constant usable in
19142 #if and use that to give value to enum constant.
19143 (FP_INFINITE): Likewise.
19144 (FP_ZERO): Likewise.
19145 (FP_SUBNORMAL): Likewise.
19146 (FP_NORMAL): Likewise.
19148 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
19150 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19151 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19154 2012-11-02 Roland McGrath <roland@hack.frob.com>
19156 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19157 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19158 autoconf-time if not.
19159 * configure.in: Remove AC_PREREQ.
19161 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19163 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19164 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19165 of the internal implementation.
19167 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19169 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19170 except include of <misc/sys/syslog.h>.
19172 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19175 function returns with a NULL context exit with zero.
19177 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19179 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19181 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19183 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19184 (run_program_cmd): This.
19185 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19186 (tst_langinfo): New variable. Use it.
19188 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19190 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19191 floating point opcodes.
19193 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19195 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19198 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19200 * sysdeps/mach/hurd/powerpc: Remove directory.
19201 * sysdeps/mach/powerpc: Likewise.
19203 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19205 * scripts/check-local-headers.sh: Ignore c++ headers.
19207 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19209 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19210 __libc_cleanup_region_start argument.
19212 2012-11-01 Joseph Myers <joseph@codesourcery.com>
19216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19217 x * y using scaling, not as x * y + z.
19218 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19219 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19220 * math/libm-test.inc (fma_test): Add more tests.
19221 (fma_test_towardzero): Likewise.
19222 (fma_test_downward): Likewise.
19223 (fma_test_upward): Likewise.
19225 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19227 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19229 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19231 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19234 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19236 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19238 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19245 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19248 Fix the order of the list for glibc 2.17.
19249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19252 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19256 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19259 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19260 for low part of x being zero before using __atanl (y).
19261 * math/libm-test.inc (atan2_test): Add another test.
19263 * manual/install.texi (Configuring and compiling): Document
19264 general use of test-wrapper and test-wrapper-env.
19265 * INSTALL: Regenerated.
19267 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19268 (__fma): Do not extract and scale down low bits on after-rounding
19269 systems when result rounded to normal precision would have normal
19271 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19272 (__fmal): Do not extract and scale down low bits on after-rounding
19273 systems when result rounded to normal precision would have normal
19275 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19276 (__fmal): Do not extract and scale down low bits on after-rounding
19277 systems when result rounded to normal precision would have normal
19279 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19281 (fma_test): Add more tests.
19282 (fma_test_towardzero): Likewise.
19283 (fma_test_downward): Likewise.
19284 (fma_test_upward): Likewise.
19286 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19288 * sysdeps/i386/tininess.h: Renamed to ...
19289 * sysdeps/x86/tininess.h: This.
19290 * sysdeps/x86_64/tininess.h: Removed.
19292 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19294 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19295 input. Use $(build-program-cmd).
19296 ($(objpfx)tst-array1-static.out): Likewise.
19297 ($(objpfx)tst-array2.out): Likewise.
19298 ($(objpfx)tst-array3.out): Likewise.
19299 ($(objpfx)tst-array4.out): Likewise.
19300 ($(objpfx)tst-array5.out): Likewise.
19301 ($(objpfx)tst-array5-static.out): Likewise.
19303 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19305 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19308 * nss/nsswitch.h (nss_interface_function): Provide new
19309 macro for use with NSS functions.
19310 * grp/initgroups.c: Use new macro.
19311 * nss/getXXbyYY.c: Likewise.
19312 * nss/getXXbyYY_r.c: Likewise.
19313 * nss/getXXent.c: Likewise.
19314 * nss/getXXent_r.c: Likewise.
19315 * sysdeps/posix/getaddrinfo.c: Likewise.
19317 2012-10-30 Andreas Jaeger <aj@suse.de>
19319 * po/ru.po: Update Russion translation from translation project.
19321 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19326 result and shift together with sticky bit instead of replicating
19327 round-to-nearest rounding.
19328 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19329 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19330 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19331 missing underflow exceptions.
19332 (fma_test_towardzero): Add more tests.
19333 (fma_test_downward): Likewise.
19334 (fma_test_upward): Likewise.
19337 * sysdeps/generic/tininess.h: New file.
19338 * sysdeps/i386/tininess.h: Likewise.
19339 * sysdeps/sh/tininess.h: Likewise.
19340 * sysdeps/x86_64/tininess.h: Likewise.
19341 * stdlib/tst-strtod-underflow.c: Likewise.
19342 * stdlib/tst-tininess.c: Likewise.
19343 * stdlib/strtod_l.c: Include <tininess.h>.
19344 (round_and_return): Do not set errno for exact underflow cases.
19345 Force an underflow exception when setting errno for underflow.
19346 Determine underflow based on rounding to normal precision if
19347 TININESS_AFTER_ROUNDING.
19348 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19349 ERANGE for exact underflow cases.
19350 * stdlib/Makefile (tests): Add tst-tininess and
19351 tst-strtod-underflow.
19352 ($(objpfx)tst-tininess): Use $(link-libm).
19353 ($(objpfx)tst-strtod-underflow): Likewise.
19355 2012-10-30 Andreas Jaeger <aj@suse.de>
19358 * elf/Makefile (tests): Remove conditional for have-initfini-array
19359 since this is now always required and the variable does not exist
19361 (tests-static): Likewise.
19362 (modules-names): Likewise.
19364 * po/eo.po: Add Esperanto translation from translation project.
19366 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19367 merged with constructor/destructor.
19368 (init_array): Likewise.
19369 * elf/tst-array2dep.c (fini_array): Likewise.
19370 (init_array): Likewise.
19372 2012-10-29 Mike Frysinger <vapier@gentoo.org>
19374 * manual/message.texi: Delete @cartouche tags.
19376 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19378 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19380 * sysdeps/mach/hurd/fsync.c: Likewise.
19382 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19383 [_POSIX_REALTIME_SIGNALS]: Change condition to
19384 [_POSIX_REALTIME_SIGNALS > 0].
19386 2012-10-27 Andreas Jaeger <aj@suse.de>
19388 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19389 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19390 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19391 [__WORDSIZE != 64]: Likewise.
19393 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19395 * iconvdata/tst-table.sh: Remove ${SHELL}.
19396 * iconvdata/tst-tables.sh: Likewise.
19398 2012-10-25 David S. Miller <davem@davemloft.net>
19400 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19401 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19404 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19406 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19407 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19408 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19411 2012-10-25 Roland McGrath <roland@hack.frob.com>
19413 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19414 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19417 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19418 Jim Blandy <jimb@codesourcery.com>
19420 * scripts/cross-test-ssh.sh: New file.
19421 * manual/install.texi (Configuring and compiling): Document use of
19423 * INSTALL: Regenerated.
19425 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19427 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19430 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19432 * Makeconfig (run-program-prefix): Fix comment.
19434 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19435 Jim Blandy <jimb@codesourcery.com>
19437 * Makeconfig (test-wrapper): New variable,
19438 (test-wrapper-env): Likewise.
19439 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19440 (run-built-tests): Define to yes.
19441 (run-program-prefix): Use $(test-wrapper).
19442 (built-program-cmd): Likewise.
19443 * Rules (make-test-out): Use $(test-wrapper-env) and
19444 $(host-built-program-cmd).
19445 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19446 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19448 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19449 $(test-wrapper-env) to tst-rtld-load-self.sh.
19450 ($(objpfx)order2.out): Use $(test-wrapper).
19451 ($(objpfx)tst-initorder.out): Likewise.
19452 ($(objpfx)tst-initorder2.out): Likewise.
19453 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19454 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19455 (test_wrapper_env): New variable. Use it to run ld.so.
19456 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19457 Use it to run ld.so.
19458 (test_wrapper_env): Likewise.
19459 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19460 $(test-wrapper) to run-iconv-test.sh.
19461 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19462 (ICONV): Use $test_wrapper.
19463 * posix/Makefile ($(objpfx)globtest.out): Pass
19464 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19465 globtest.sh, not $(run-program-prefix).
19466 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19467 (test_wrapper): Likewise.
19468 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19469 set together with run_via_rtld_prefix.
19470 (run_program_prefix): Define in terms of test_wrapper and
19471 run_via_rtld_prefix.
19473 2012-10-24 Roland McGrath <roland@hack.frob.com>
19475 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19476 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19480 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19481 Declare __clock_getres, __clock_gettime, __clock_settime,
19482 __clock_nanosleep, and __clock_getcpuclockid.
19483 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19484 Remove librt_hidden_def (clock_gettime).
19485 * sysdeps/unix/clock_gettime.c: Likewise.
19486 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19487 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19488 * rt/clock_getres.c: Define __clock_getres as an alias.
19489 * sysdeps/posix/clock_getres.c: Likewise.
19490 * rt/clock_settime.c: Define __clock_settime as an alias.
19491 * sysdeps/unix/clock_settime.c: Likewise.
19492 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19493 * sysdeps/unix/clock_nanosleep.c: Likewise.
19494 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19495 * rt/clock-compat.c: New file.
19496 * rt/Makefile (librt-routines): Add clock-compat and move
19497 $(clock-routines) to ...
19498 (routines): ... here, new variable.
19499 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19500 Don't add get_clockfreq here.
19501 * rt/Versions (libc: GLIBC_2.17): New version set.
19502 Add clock_* symbols here.
19503 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19504 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19505 (GLIBC_2.17): Add clock_* symbols.
19506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19508 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19517 * NEWS: Mention the move.
19519 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19520 Use __open, __read, __close rather than their public counterparts.
19521 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19522 (__get_clockfreq_via_cpuinfo): Likewise.
19523 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19524 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19526 * config.h.in (HAVE_IFUNC): New #undef.
19527 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19529 * configure: Regenerated.
19531 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19533 * configure.in: Move READELF check to start of file.
19534 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19535 libc_cv_asm_gnu_indirect_function in the process.
19536 * configure: Regenerated.
19538 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19540 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19541 send the output to /dev/null.
19542 (libc_cv_cc_with_libunwind): Likewise.
19543 (libc_cv_as_noexecstack): Likewise.
19544 * configure: Regenerate.
19546 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19548 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19550 * posix/globtest.sh (TMPDIR): Do not set.
19551 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19552 (testout): Likewise.
19554 2012-10-24 Andreas Jaeger <aj@suse.de>
19556 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19557 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19558 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19559 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19560 posix_fadvise64, posix_fallocate64.
19562 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19563 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19564 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19566 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19568 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19571 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19572 <bits/fcntl-linux.h>.
19573 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19575 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19576 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19577 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19578 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19579 [__WORDSIZE != 64]: Likewise.
19581 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19583 * Makeconfig (run-built-tests): New variable.
19584 * Rules [$(cross-compiling) = yes]: Change condition to
19585 [$(run-built-tests) = no].
19586 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19587 to [$(run-built-tests) = yes].
19588 * elf/Makefile [$(cross-compiling) = no]: Likewise
19589 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19590 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19591 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19592 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19593 * io/Makefile [$(cross-compiling) = no]: Likewise.
19594 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19595 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19596 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19597 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19598 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19599 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19600 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19601 * string/Makefile [$(cross-compiling) = no]: Likewise.
19603 * posix/Makefile ($(objpfx)globtest.out): Pass
19604 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19605 $(rtld-installed-name).
19606 * posix/globtest.sh (elf_objpfx): Remove variable.
19607 (rtld_installed_name): Likewise.
19608 (library_path): Likewise.
19609 (run_program_prefix): New variable. Use for running globtest
19612 2012-10-23 Jim Blandy <jimb@codesourcery.com>
19613 Joseph Myers <joseph@codesourcery.com>
19615 * Makeconfig (host-built-program-cmd): New variable.
19616 * elf/Makefile (tst-stackguard1-ARGS): Use
19617 $(host-built-program-cmd).
19618 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19619 (tst-spawn-ARGS): Likewise.
19620 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19622 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19623 Jim Blandy <jimb@codesourcery.com>
19625 * Makeconfig (run-via-rtld-prefix): New variable.
19626 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19627 (built-program-cmd): Likewise.
19629 2012-10-22 Andreas Jaeger <aj@suse.de>
19631 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19632 __O_RSYNC if it exists, otherwise to O_SYNC.
19634 2012-10-22 Jim Blandy <jimb@codesourcery.com>
19635 Joseph Myers <joseph@codesourcery.com>
19637 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19639 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19641 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19644 2012-10-22 Andreas Jaeger <aj@suse.de>
19646 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19648 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19651 bits/fcntl-linux.h.
19653 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19654 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19656 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19658 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19661 2012-10-21 Jim Blandy <jimb@codesourcery.com>
19662 Joseph Myers <joseph@codesourcery.com>
19664 * config.make.in (NM): New variable.
19666 2012-10-21 Andreas Jaeger <aj@suse.de>
19668 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19669 definitions and declarations that are provided by
19670 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19672 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19675 * elf/Makefile (tests-static): Add tst-leaks1-static.
19676 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19677 ($(objpfx)tst-leaks1-static): New rule.
19678 ($(objpfx)tst-leaks1-static-mem): Likewise.
19679 (tst-leaks1-static-ENV): New macro.
19680 * elf/dl-open.c (dl_open_worker): Check the main application
19681 only if SHARED is defined.
19682 * elf/tst-leaks1-static.c: New file.
19684 2012-10-20 Andreas Jaeger <aj@suse.de>
19686 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19687 generic values for Linux.
19688 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19689 and declarations that are provided by <bits/fcntl-linux.h> and
19690 include <bits/fcntl-linux.h>.
19691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19692 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19694 2012-10-20 Roland McGrath <roland@hack.frob.com>
19696 * io/fcntl.h: Move include of <bits/types.h> to the top and
19697 include it unconditionally.
19699 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19701 * wcsmbs/Makefile (tests-ifunc): New variable.
19702 (tests): Add $(tests-ifunc).
19703 * wcsmbs/test-wcschr-ifunc.c: New file.
19704 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19705 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19706 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19707 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19708 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19710 * string/Makefile (tests-ifunc): New variable.
19711 (tests): Add $(tests-ifunc).
19712 * string/test-memccpy.c (TEST_NAME): New macro.
19713 * string/test-memchr.c (TEST_NAME): Likewise.
19714 * string/test-memcmp.c (TEST_NAME): Likewise.
19715 * string/test-memcpy.c (TEST_NAME): Likewise.
19716 * string/test-memmem.c (TEST_NAME): Likewise.
19717 * string/test-memmove.c (TEST_NAME): Likewise.
19718 * string/test-memset.c (TEST_NAME): Likewise.
19719 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19720 * string/test-stpcpy.c (TEST_NAME): Likewise.
19721 * string/test-stpncpy.c (TEST_NAME): Likewise.
19722 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19723 * string/test-strcasestr.c (TEST_NAME): Likewise.
19724 * string/test-strcat.c (TEST_NAME): Likewise.
19725 * string/test-strchr.c (TEST_NAME): Likewise.
19726 * string/test-strcmp.c(TEST_NAME): Likewise.
19727 * string/test-strcpy.c (TEST_NAME): Likewise.
19728 * string/test-strcspn.c (TEST_NAME): Likewise.
19729 * string/test-strlen.c (TEST_NAME): Likewise.
19730 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19731 * string/test-strncmp.c (TEST_NAME): Likewise.
19732 * string/test-strncpy.c (TEST_NAME): Likewise.
19733 * string/test-strnlen.c (TEST_NAME): Likewise.
19734 * string/test-strpbrk.c (TEST_NAME): Likewise.
19735 * string/test-strrchr.c (TEST_NAME): Likewise.
19736 * string/test-strspn.c (TEST_NAME): Likewise.
19737 * string/test-strstr.c (TEST_NAME): Likewise.
19738 * string/test-bcopy-ifunc.c: New file.
19739 * string/test-bzero-ifunc.c: Likewise.
19740 * string/test-memccpy-ifunc.c: Likewise.
19741 * string/test-memchr-ifunc.c: Likewise.
19742 * string/test-memcmp-ifunc.c: Likewise.
19743 * string/test-memcpy-ifunc.c: Likewise.
19744 * string/test-memmem-ifunc.c: Likewise.
19745 * string/test-memmove-ifunc.c: Likewise.
19746 * string/test-mempcpy-ifunc.c: Likewise.
19747 * string/test-memset-ifunc.c: Likewise.
19748 * string/test-rawmemchr-ifunc.c: Likewise.
19749 * string/test-stpcpy-ifunc.c: Likewise.
19750 * string/test-stpncpy-ifunc.c: Likewise.
19751 * string/test-strcasecmp-ifunc.c: Likewise.
19752 * string/test-strcasestr-ifunc.c: Likewise.
19753 * string/test-strcat-ifunc.c: Likewise.
19754 * string/test-strchr-ifunc.c: Likewise.
19755 * string/test-strchrnul-ifunc.c: Likewise.
19756 * string/test-strcmp-ifunc.c: Likewise.
19757 * string/test-strcpy-ifunc.c: Likewise.
19758 * string/test-strcspn-ifunc.c: Likewise.
19759 * string/test-strlen-ifunc.c: Likewise.
19760 * string/test-strncasecmp-ifunc.c: Likewise.
19761 * string/test-strncat-ifunc.c: Likewise.
19762 * string/test-strncmp-ifunc.c: Likewise.
19763 * string/test-strncpy-ifunc.c: Likewise.
19764 * string/test-strnlen-ifunc.c: Likewise.
19765 * string/test-strpbrk-ifunc.c: Likewise.
19766 * string/test-strrchr-ifunc.c: Likewise.
19767 * string/test-strspn-ifunc.c: Likewise.
19768 * string/test-strstr-ifunc.c: Likewise.
19770 * debug/Makefile (tests-ifunc): New variable.
19771 (tests): Add $(tests-ifunc).
19772 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19773 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19774 * debug/test-stpcpy_chk-ifunc.c: New file.
19775 * debug/test-strcpy_chk-ifunc.c: Likewise.
19777 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19780 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19781 header is not read in.
19783 2012-10-19 Joseph Myers <joseph@codesourcery.com>
19785 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19786 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19787 directly. Pass built executable to script as
19788 $(built-program-cmd).
19789 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19790 $testprogram without using LD_LIBRARY_PATH and $ldso.
19792 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19793 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19794 $(rtld-installed-name).
19795 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19796 (rtld_installed_name): Likewise.
19797 (library_path): Likewise.
19798 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19799 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19800 $(run-program-prefix) to tst-tables.sh.
19801 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19802 it to run tst-table-from and tst-table-to.
19803 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19804 Pass it to tst-table.sh.
19805 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19806 $(run-program-prefix) to tst-gettext.sh.
19807 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19809 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19811 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19812 to run tst-gettext.
19813 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19814 to run tst-gettext2.
19815 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19816 to run tst-translit.
19817 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19818 $(run-program-prefix) to tst-mtrace.sh.
19819 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19821 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19822 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19823 $(rtld-installed-name).
19824 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19825 (rtld_installed_name): Likewise.
19826 (run_program_prefix): New variable. Use it to run wordexp-test.
19828 * Makeconfig (ARCH): Remove all definitions.
19829 (machine): Likewise.
19830 [ARCH]: Remove conditional code.
19831 [!objdir]: Give error.
19832 [!objdir] (objpfx): Remove.
19833 [!objdir] (common-objpfx): Likewise.
19834 [!objdir] (common-objdir): Likewise.
19835 * configure.in (config_makefile): Remove. Hardcode Makefile in
19836 AC_CONFIG_FILES call.
19837 * configure: Regenerated.
19840 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19842 (testout): Likewise.
19844 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19845 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19846 $(rtld-installed-name).
19847 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19848 (rtld_installed_name): Likwise.
19849 (runit): Remove function.
19850 (run_getconf): New variable, Use it for running getconf binary.
19852 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19855 * string/test-memmem.c (check_result): New function.
19856 (do_one_test): Use it.
19857 (check1): New function.
19858 (test_main): Use it.
19860 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19862 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19864 2012-10-18 Joseph Myers <joseph@codesourcery.com>
19866 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19867 (_G_LSEEK64): Likewise.
19868 (_G_MMAP64): Likewise.
19869 (_G_FSTAT64): Likewise.
19870 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19871 (_G_LSEEK64): Likewise.
19872 (_G_MMAP64): Likewise.
19873 (_G_FSTAT64): Likewise.
19874 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19875 unconditional. Call __mmap64 directly.
19876 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19877 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19878 __lseek64 directly.
19879 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19880 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19882 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19883 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19884 __lseek64 directly.
19885 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19886 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19887 __lseek64 directly.
19888 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19889 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19890 __lseek64 directly.
19891 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19892 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19893 __fxstat64 directly.
19894 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19895 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19897 (freopen64) [!_G_OPEN64]: Remove conditional code.
19898 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19900 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19901 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19903 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19904 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19906 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19907 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19909 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19910 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19912 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19913 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19915 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19916 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19918 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19920 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19923 * manual/memory.texi (Malloc Tunable Parameters): Add note
19924 about free list pointers overwriting some perturb bytes.
19925 Wording suggested by Roland McGrath.
19927 2012-10-17 Joseph Myers <joseph@codesourcery.com>
19929 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19930 (lgamma_test): Likewise.
19931 (tgamma_test): Likewise.
19933 2012-10-16 Florian Weimer <fweimer@redhat.com>
19936 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19937 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19939 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19941 * NEWS: Mention BZ #14716.
19942 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19943 when removing AVAILABLE1_USES_J macro.
19945 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19947 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19948 (__bswap_64): __uint64_t for unsigned 64-bit int.
19950 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19952 * include/string.h (memmem): Declare libc hidden alias.
19953 * string/memmem.c (memmem): Define libc hidden alias.
19954 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19955 __read, __close instead of open, read, close.
19957 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19959 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19960 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19962 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19963 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19964 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19966 (__rawmemchr_sse2): Likewise.
19967 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19968 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19969 (__strchr_sse2): Likewise.
19970 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19971 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19972 (__strcasecmp_sse2): Likewise.
19973 (__strncasecmp_sse2): Likewise.
19974 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19975 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19976 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19977 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19978 (__strrchr_sse2): Likewise.
19979 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19981 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19982 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19983 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19984 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19985 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19986 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19987 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19988 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19989 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19990 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19991 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19992 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19993 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19994 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19995 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19996 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19997 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19998 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19999 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
20000 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
20001 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
20002 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
20003 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
20004 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20005 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
20006 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20007 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20008 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20009 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20010 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20012 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20014 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20015 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20016 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20017 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20019 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20021 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20022 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20023 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20024 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20026 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20027 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20028 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20029 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20030 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20031 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20032 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20033 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20034 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20035 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20036 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20037 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20038 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20039 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20040 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20041 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20042 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20043 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20044 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20045 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20046 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20047 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20048 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20049 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20050 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20051 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20052 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20053 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20054 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20055 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20056 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20057 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20058 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20059 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20060 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20061 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20062 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20063 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20064 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20065 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20066 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20068 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20069 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20070 * include/ifunc-impl-list.h: New file.
20071 * misc/ifunc-impl-list.c: Likewise.
20072 * misc/Makefile (routines): Add ifunc-impl-list.
20073 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20074 * string/test-string.h: Include <ifunc-impl-list.h>.
20075 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20076 impl_array): New variables.
20077 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20079 (test_init): Call __libc_ifunc_impl_list to initialize
20080 func_list if TEST_IFUNC and TEST_NAME are defined.
20082 * string/Makefile (strop-tests): Add bcopy and bzero.
20083 * string/test-bcopy.c: New file.
20084 * string/test-bzero.c: Likewise.
20085 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20087 * string/test-memset.c: Support bzero test if TEST_BZERO is
20089 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20091 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20093 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20096 2012-10-10 Joseph Myers <joseph@codesourcery.com>
20098 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20099 * configure: Regenerated.
20101 * Makeconfig (+link-static-before-libc): Don't include
20102 $(link-static-libc).
20104 * libio/libio.h (_IO_pos_t): Remove.
20106 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20108 * NEWS: Add note about FIPS mode. Wording suggested by Roland
20111 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20113 * crypt/crypt-entry.c: Include fips-private.h.
20114 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20115 * crypt/md5c-test.c (main): Tolerate disabled MD5.
20116 * sysdeps/unix/sysv/linux/fips-private.h: New file.
20117 * sysdeps/generic/fips-private.h: New file, dummy fallback.
20119 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20121 * crypt/crypt-private.h: Include stdbool.h.
20122 (_ufc_setup_salt_r): Return bool.
20123 * crypt/crypt-entry.c: Include errno.h.
20124 (__crypt_r): Return NULL with EINVAL for bad salt.
20125 * crypt/crypt_util.c (bad_for_salt): New.
20126 (_ufc_setup_salt_r): Check that salt is long enough and within
20127 the specified alphabet.
20128 * crypt/badsalttest.c: New file.
20129 * crypt/Makefile (tests): Add it.
20130 ($(objpfx)badsalttest): New.
20132 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
20134 * NEWS: Add entry for BZ #14602.
20136 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20138 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20140 * math/libm-test.inc: Update comment listing what functions and
20142 (isgreater_test): New function.
20143 (isgreaterequal_test): Likewise.
20144 (isless_test): Likewise.
20145 (islessequal_test): Likewise.
20146 (islessgreater_test): Likewise.
20147 (isunordered_test): Likewise.
20148 (main): Call the new functions.
20150 2012-10-09 Roland McGrath <roland@hack.frob.com>
20152 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20153 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20154 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20155 * sysdeps/i386/configure: Regenerated.
20156 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20157 * sysdeps/mach/configure: Regenerated.
20158 * sysdeps/mach/hurd/configure: Regenerated.
20159 * sysdeps/powerpc/configure: Regenerated.
20160 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20161 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20162 * sysdeps/s390/s390-32/configure: Regenerated.
20163 * sysdeps/s390/s390-64/configure: Regenerated.
20164 * sysdeps/sh/configure: Regenerated.
20165 * sysdeps/sparc/configure: Regenerated.
20166 * sysdeps/unix/sysv/linux/configure: Regenerated.
20167 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20168 * sysdeps/x86_64/configure: Regenerated.
20170 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20171 defined. Don't check if MAP is NULL.
20173 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20175 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20176 (_G_stat64): Likewise.
20177 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20178 (_G_stat64): Likewise.
20179 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20180 instead of struct _G_stat64.
20181 * libio/fileops.c (mmap_remap_check): Likewise.
20182 (decide_maybe_mmap): Likewise.
20183 (_IO_new_file_seekoff): Likewise.
20184 (_IO_file_stat): Likewise.
20185 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20187 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20188 instead of struct _G_stat64.
20189 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20191 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20194 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20196 (CHECK_EOL): New macro.
20197 (two_way_short_needle): Check beginning of haystack for EOL. Use
20199 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20200 Replace with CHECK_EOL.
20201 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20202 Replace with CHECK_EOL.
20204 2012-10-08 Joseph Myers <joseph@codesourcery.com>
20206 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20208 * math/libm-test.inc: Update comment listing what functions and
20210 (finite_test): New function.
20211 (isinf_test): Likewise.
20212 (isnan_test): Likewise.
20213 (fpclassify_test): Test subnormal input.
20214 (isfinite_test): Likewise.
20215 (isnormal_test): Likewise.
20216 (main): Call the new functions.
20218 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20221 * Makerules (%.dynsym): Force C locale when running
20222 $(OBJDUMP) --dynamic-syms.
20224 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20226 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20229 2012-10-06 David S. Miller <davem@davemloft.net>
20231 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20232 upper 32-bits of the length value in %o2 since we use branch-on-register
20233 tests which consider the entire 64-bit register.
20235 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20237 * string/test-strstr.c (check2): Add a test for page boundary.
20239 2012-10-05 David S. Miller <davem@davemloft.net>
20241 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20242 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20244 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20246 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20247 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20248 and bzero when HWCAP_SPARC_CRYPTO is present.
20250 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20253 * string/test-strstr.c (check2): New function.
20254 (test_main): Call check2.
20256 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20258 * string/bug-strcasestr1.c (do_test): Moved to ...
20259 * string/test-strcasestr.c (check1): Here. New function.
20260 (do_one_test): Break out result checking code into ...
20261 (check_result): This. New function.
20262 (do_one_test): Call check_result.
20263 (test_main): Call check1.
20264 * string/bug-strchr1.c (do_test): Moved to ...
20265 * string/test-strchr.c (check1): Here. New function.
20266 (do_one_test): Break out result checking code into ...
20267 (check_result): This. New function.
20268 (do_one_test): Call check_result.
20269 (test_main): Call check1.
20270 * string/bug-strstr1.c (main): Moved to ...
20271 * string/test-strstr.c (check1): Here. New function.
20272 (do_one_test): Break out result checking code into ...
20273 (check_result): This. New function.
20274 (do_one_test): Call check_result.
20275 (test_main): Call check1.
20276 * string/bug-strcasestr1.c: Removed.
20277 * string/bug-strchr1.c: Likewise.
20278 * string/bug-strstr1.c: Likewise.
20280 * elf/Makefile (dl-routines): Add hwcaps.
20281 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20282 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20283 (_dl_important_hwcaps): Moved to ...
20284 * elf/dl-hwcaps.c: Here. New file.
20285 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20288 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20289 if IS_IN_rtld isn't defined.
20291 * elf/dl-support.c (_dl_sysinfo_map): New.
20292 Include "get-dynamic-info.h" and "setup-vdso.h".
20293 (_dl_non_dynamic_init): Call setup_vdso.
20294 * elf/dynamic-link.h: Don't include <assert.h>.
20295 (elf_get_dynamic_info): Moved to ...
20296 * elf/get-dynamic-info.h: Here. New file.
20297 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20298 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20299 * elf/setup-vdso.h: Here. New file.
20300 * elf/rtld.c: Include "setup-vdso.h".
20301 (dl_main): Call setup_vdso.
20303 2012-10-05 Joseph Myers <joseph@codesourcery.com>
20305 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20306 creal in comment listing functions tested. List finite, isinf,
20307 isnan, isless, islessequal, isgreater, isgreaterequal,
20308 islessgreater, isunordered, lgamma_r and pow10 as functions and
20309 macros not tested. Mention which functions not tested are aliases
20310 for other functions. Fix typo. Note that signs of NaNs are not
20313 * scripts/config.guess: Update from config.git.
20314 * scripts/config.sub: Likewise.
20316 2012-10-04 Roland McGrath <roland@hack.frob.com>
20318 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20319 * misc/madvise.c (madvise): Renamed to __madvise.
20320 Make madvise a weak alias.
20321 * include/sys/mman.h: Declare __madvise.
20322 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20323 * sysdeps/unix/syscalls.list
20324 (madvise): Make __madvise the strong name, and madvise a weak alias.
20325 * sysdeps/unix/sysv/linux/syscalls.list
20326 (madvise, mmap): Remove redundant entries.
20327 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20328 * malloc/malloc.c (mtrim): Likewise.
20329 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20331 2012-10-03 Roland McGrath <roland@hack.frob.com>
20333 * sysdeps/mach/hurd/dl-cache.c: File removed.
20334 * config.h.in (USE_LDCONFIG): New #undef.
20335 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20336 * configure: Regenerated.
20337 * elf/Makefile (dl-routines): Add dl-cache only under
20338 [$(use-ldconfig) = yes].
20339 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20340 cache on [USE_LDCONFIG].
20341 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20343 * elf/rtld.c (dl_main): Likewise.
20345 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20347 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20348 _SC_LEVEL4_CACHE_LINESIZE.
20350 2012-10-03 Roland McGrath <roland@hack.frob.com>
20352 * sysdeps/unix/bsd/confstr.h: File removed.
20354 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
20356 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20359 2012-10-02 Roland McGrath <roland@hack.frob.com>
20361 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20362 Make 'mapoff' field ElfW(Off) rather than off_t.
20364 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20366 * nscd/Makefile: Remove nscd-cflags and all its users.
20367 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20368 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20371 * malloc.c (malloc_printerr): Clarify error message.
20373 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20377 Set bit_FMA_Usable if FMA is supported.
20378 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20380 (bit_FMA4_Usable): Updated.
20381 (index_FMA_Usable): New macro.
20382 (CPUID_FMA): Likewise
20383 (HAS_FMA): Defined with bit_FMA_Usable.
20385 2012-10-01 Roland McGrath <roland@hack.frob.com>
20387 * bits/types.h (__swblk_t): Type removed.
20388 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20389 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20390 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20391 (__SWBLK_T_TYPE): Likewise.
20392 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20393 (__SWBLK_T_TYPE): Likewise.
20394 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20395 (__SWBLK_T_TYPE): Likewise.
20396 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20397 (__SWBLK_T_TYPE): Likewise.
20399 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
20400 Honza Horak <hhorak@redhat.com>
20402 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20403 (xdr_mapname): Use YPMAXMAP as maxsize.
20404 (xdr_peername): Use YPMAXPEER as maxsize.
20405 (xdr_keydat): Use YPAXRECORD as maxsize.
20406 (xdr_valdat): Use YPMAXRECORD as maxsize.
20408 2012-10-01 Roland McGrath <roland@hack.frob.com>
20410 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20412 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20413 * csu/init-first.c: ... here.
20414 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20415 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20416 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20417 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20418 * sysdeps/i386/init-first.c: File removed.
20419 * sysdeps/sh/init-first.c: File removed.
20421 2012-10-01 Joseph Myers <joseph@codesourcery.com>
20424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20425 if x * y might underflow to zero and z is zero.
20426 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20427 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20428 * math/libm-test.inc (min_subnorm_value): New variable.
20429 (fma_test): Add more tests.
20430 (fma_test_towardzero): Likewise.
20431 (fma_test_downward): Likewise
20432 (fma_test_upward): Likewise.
20433 (initialize): Set min_subnorm_value.
20435 2012-09-29 Joseph Myers <joseph@codesourcery.com>
20438 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20440 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20441 mode for addition resulting in exact zero.
20442 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20443 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20445 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20446 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20447 * math/libm-test.inc (fma_test): Add more tests.
20448 (fma_test_towardzero): New function.
20449 (fma_test_downward): Likewise.
20450 (fma_test_upward): Likewise.
20451 (main): Call the new functions.
20453 2012-09-28 David S. Miller <davem@davemloft.net>
20455 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20457 2012-09-28 Roland McGrath <roland@hack.frob.com>
20459 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20460 instead of SIGALRM.
20462 * sysdeps/gnu/_G_config.h: Moved to ...
20463 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20464 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20465 * sysdeps/generic/_G_config.h: ... here.
20467 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20469 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20471 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20472 Conditionalize target on [libnss_test1.so-version].
20474 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20476 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20477 (elfobjdir): Move out of conditionals.
20479 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20480 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20481 (__nss_lookup_function): Conditionalize label remove_from_tree on
20482 [!DO_STATIC_NSS || SHARED], matching its only use.
20484 2012-09-28 David S. Miller <davem@davemloft.net>
20486 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20487 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20489 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20491 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20492 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20493 when HWCAP_SPARC_CRYPTO is present.
20495 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20497 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20499 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20502 * stdio-common/vfprintf.c (process_string_arg): Revert
20505 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20507 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20509 * stdio-common/tst-sprintf.c: Include <locale.h>
20510 (main): Test sprintf's handling of incomplete multibyte
20513 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20515 * elf/dl-runtime.c (VERSYMIDX): Removed.
20516 * elf/dl-version.c (VERSYMIDX): Likewise.
20517 * elf/do-rel.h (VERSYMIDX): Likewise.
20518 (VALIDX): Likewise.
20519 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20520 * elf/rtld.c (VALIDX): Likewise.
20521 (ADDRIDX): Likewise.
20522 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20523 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20524 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
20525 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20526 (VALIDX): Likewise.
20527 (ADDRIDX): Likewise.
20529 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20531 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20533 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20536 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20538 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20539 addresses are in the same scope as 192.0.2/24.
20540 * posix/gai.conf: Document new scope table defaults.
20542 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20545 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20546 for ftell. Compute offsets from write pointers instead.
20547 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20549 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20552 * libio/Makefile (tests): New test case tst-fseek.
20553 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20554 combination works in wide mode.
20555 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20556 state when the external buffer state changes.
20558 2012-09-27 David S. Miller <davem@davemloft.net>
20561 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20562 pass reloc->r_addend in as the 'high' argument to
20563 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20567 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20569 * rt/tst-aio2.c: Include <pthread.h>.
20570 * rt/tst-aio3.c: Likewise.
20572 2012-09-27 Steve Ellcey <sellcey@mips.com>
20574 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20576 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20578 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20579 contents on [SHARED].
20581 2012-09-26 Marek Polacek <polacek@redhat.com>
20585 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20586 for C++ and GCC <4.3 as well as for non GCC compilers.
20588 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20590 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20592 2012-09-25 Roland McGrath <roland@hack.frob.com>
20594 * Makefile.in (all, install): Declare with .PHONY.
20595 Reported by Michael Hope <michael.hope@linaro.org>.
20597 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20599 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20600 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20602 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20604 (sydep_routines): Add the new and the internal functions.
20605 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20606 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20608 (GLIBC_2.17): Add the new function.
20609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20610 (GLIBC_2.17): Likewise.
20611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20612 (GLIBC_2.17): Likewise.
20613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20614 (GLIBC_2.17): Likewise.
20615 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20617 2012-09-25 Alan Modra <amodra@gmail.com>
20619 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20620 Add release barrier before setting once_control to say
20621 initialisation is done. Add hints on lwarx. Use macro in
20623 (clear_once_control): Add release barrier.
20625 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20628 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20630 * math/s_clog10.c (__clog10): Likewise.
20631 * math/s_clog10f.c (__clog10f): Likewise.
20632 * math/s_clog10l.c (__clog10l): Likewise.
20633 * math/s_clogf.c (__clogf): Likewise.
20634 * math/s_clogl.c (__clogl): Likewise.
20635 * math/Makefile (libm-calls): Add x2y2m1.
20636 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20637 (__x2y2m1): Likewise.
20638 (__x2y2m1l): Likewise.
20639 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20640 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20641 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20642 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20643 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20644 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20645 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20646 * sysdeps/i386/fpu/libm-test-ulps: Update.
20647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20650 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20651 int as type of variable DEPTH.
20652 (glob): Use size_t instead of int as type of variables NEWCOUNT
20655 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20657 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20658 Add s_sincosf-sse2.
20659 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20660 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20661 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20662 macros for using routine as __sincosf_ia32.
20663 Use macro for function declaration and weak_alias.
20664 * sysdeps/i386/fpu/libm-test-ulps: Update.
20666 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20669 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
20670 subnormal argument.
20671 * math/s_cexpf.c (__cexpf): Likewise.
20672 * math/s_csinf.c (__csinf): Likewise.
20673 * math/s_csinhf.c (__csinhf): Likewise.
20674 * math/s_ctanf.c (__ctanf): Likewise.
20675 * math/s_ctanhf.c (__ctanhf): Likewise.
20676 * math/s_ccosh.c (__ccoshf): Likewise.
20677 * math/s_cexp.c (__cexpl): Likewise.
20678 * math/s_csin.c (__csin): Likewise.
20679 * math/s_csinh.c (__csinh): Likewise.
20680 * math/s_ctan.c (__ctan): Likewise.
20681 * math/s_ctanh.c (ctanh): Likewise.
20682 * math/s_ccoshl.c (__ccoshl): Likewise.
20683 * math/s_cexpl.c (__cexpl): Likewise.
20684 * math/s_csinl.c (__csinl): Likewise.
20685 * math/s_csinhl.c (__csinhl): Likewise.
20686 * math/s_ctanl.c (__ctanl): Likewise.
20687 * math/s_ctanhl.c (__ctanhl): Likewise.
20689 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20691 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20692 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20693 (_IO_off_t): Define to __off_t, not _G_off_t.
20694 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20695 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20696 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20697 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20698 type of __dummy and __dummy2 fields.
20699 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20700 (_G_ssize_t): Likewise.
20701 (_G_off_t): Likewise.
20702 (_G_pid_t): Likewise.
20703 (_G_uid_t): Likewise.
20704 (_G_wchar_t): Likewise.
20705 (_G_wint_t): Likewise.
20706 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20707 (_G_ssize_t): Likewise.
20708 (_G_off_t): Likewise.
20709 (_G_pid_t): Likewise.
20710 (_G_uid_t): Likewise.
20711 (_G_wchar_t): Likewise.
20712 (_G_wint_t): Likewise.
20713 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20714 (_G_ssize_t): Likewise.
20715 (_G_off_t): Likewise.
20716 (_G_pid_t): Likewise.
20717 (_G_uid_t): Likewise.
20718 (_G_wchar_t): Likewise.
20719 (_G_wint_t): Likewise.
20721 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20723 * malloc/arena.c: Include malloc-sysdep.h.
20724 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20725 is sufficient to shrink the heap or an unmap is needed.
20726 * sysdeps/generic/malloc-sysdep.h: New file. Define
20727 new function check_may_shrink_heap.
20728 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20729 new function check_may_shrink_heap.
20731 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20733 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20736 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20738 * catgets/test-gencat.sh: Add "set -e".
20739 * elf/tst-pathopt.sh: Likewise.
20740 * grp/tst_fgetgrent.sh: Likewise.
20741 * iconvdata/run-iconv-test.sh: Likewise.
20742 * intl/tst-gettext.sh: Likewise.
20743 * intl/tst-gettext2.sh: Likewise.
20744 * intl/tst-gettext4.sh: Likewise.
20745 * intl/tst-gettext6.sh: Likewise.
20746 * intl/tst-translit.sh: Likewise.
20747 * io/ftwtest-sh: Likewise.
20748 * libio/test-freopen.sh: Likewise.
20749 * malloc/tst-mtrace.sh: Likewise.
20750 * posix/globtest.sh: Likewise.
20751 * posix/tst-getconf.sh: Likewise.
20752 * posix/wordexp-tst.sh: Likewise.
20753 * stdio-common/tst-printf.sh: Likewise.
20754 * stdio-common/tst-unbputc.sh: Likewise.
20755 * stdlib/tst-fmtmsg.sh: Likewise.
20756 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20757 * catgets/Makefile: Do not specify -e option when running
20758 testsuite shell scripts.
20759 * elf/Makefile: Likewise.
20760 * grp/Makefile: Likewise.
20761 * iconvdata/Makefile: Likewise.
20762 * intl/Makefile: Likewise.
20763 * io/Makefile: Likewise.
20764 * libio/Makefile: Likewise.
20765 * malloc/Makefile: Likewise.
20766 * posix/Makefile: Likewise.
20767 * stdio-common/Makefile: Likewise.
20768 * stdlib/Makefile: Likewise.
20769 * sysdeps/x86_64/Makefile: Likewise.
20771 * io/ftwtest-sh: Add copyright header.
20772 * posix/globtest.sh: Likewise.
20773 * posix/tst-getconf.sh: Likewise.
20774 * posix/wordexp-tst.sh: Likewise.
20775 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20777 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20780 * Makeconfig (+link): Defined as $(+link-static) if
20781 $(build-shared) isn't yes.
20782 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20784 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20786 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20789 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20790 new chunk size with MALLOC_ALIGN_MASK.
20792 2012-09-24 Joseph Myers <joseph@codesourcery.com>
20795 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20797 (__printf_fphex): Determine rounding using get_rounding_mode and
20799 * stdio-common/tst-printf-round.c (struct hex_test): New
20801 (hex_tests): New variable.
20802 (test_hex_in_one_mode): New function.
20803 (do_test): Also run tests for hex float output.
20805 2012-09-21 Joseph Myers <joseph@codesourcery.com>
20807 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20808 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20809 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20810 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20811 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20812 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20813 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20814 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20816 2012-09-20 Joseph Myers <joseph@codesourcery.com>
20818 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20819 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20820 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20821 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20823 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20826 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20828 * elf/tst-rtld-load-self.sh: New test.
20829 * elf/Makefile: Run it.
20831 2012-09-18 Joseph Myers <joseph@codesourcery.com>
20833 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20834 (tst-writev-ENV): Remove.
20835 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20837 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20839 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20841 2012-09-17 Joseph Myers <joseph@codesourcery.com>
20843 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20845 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20847 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20848 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20849 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20852 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20855 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20856 * config.make.in (have-cpp-asm-debuginfo): Removed.
20857 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20858 * configure: Regenerated.
20860 2012-09-14 Joseph Myers <joseph@codesourcery.com>
20863 * stdio-common/printf_fp.c: Include <stdbool.h> and
20865 (___printf_fp): Determine rounding using get_rounding_mode and
20867 * stdio-common/tst-printf-round.c: New file.
20868 * stdio-common/Makefile (tests): Add tst-printf-round.
20869 (link-libm): New variable.
20870 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20872 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20875 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20876 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20878 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20881 2012-09-13 Joseph Myers <joseph@codesourcery.com>
20883 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20884 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20885 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20886 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20888 2012-09-12 Joseph Myers <joseph@codesourcery.com>
20891 * include/rounding-mode.h: New file.
20892 * sysdeps/generic/get-rounding-mode.h: Likewise.
20893 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20894 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20895 (MAX_VALUE): New macro.
20896 (MIN_VALUE): Likewise.
20897 (overflow_value): New function.
20898 (underflow_value): Likewise.
20899 (round_and_return): Use overflow_value and underflow_value to
20900 determine return values in overflow and underflow cases. Use
20901 round_away to determine rounding depending on rounding mode.
20902 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20903 determine return values in overflow and underflow cases.
20904 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20905 (struct test_results): New structure.
20906 (struct test): Use struct test_results to store expected results
20907 for all rounding modes.
20908 (TEST): Include expected results for all rounding modes.
20909 (test_in_one_mode): New function.
20910 (do_test): Use test_in_one_mode to compute and check results.
20911 Check results for all rounding modes.
20912 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20915 2012-12-09 Allan McRae <allan@archlinux.org>
20917 * sysdeps/i386/fpu/libm-test-ulps: Update
20919 2012-09-11 Joseph Myers <joseph@codesourcery.com>
20921 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20922 (_G_int32_t): Likewise.
20923 (_G_uint16_t): Likewise.
20924 (_G_uint32_t): Likewise.
20925 (_G_HAVE_BOOL): Likewise.
20926 (_G_HAVE_ATEXIT): Likewise.
20927 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20928 (_G_HAVE_IO_FILE_OPEN): Likewise.
20929 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20930 (_G_int32_t): Likewise.
20931 (_G_uint16_t): Likewise.
20932 (_G_uint32_t): Likewise.
20933 (_G_HAVE_BOOL): Likewise.
20934 (_G_HAVE_ATEXIT): Likewise.
20935 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20936 (_G_HAVE_IO_FILE_OPEN): Likewise.
20937 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20938 (_G_int32_t): Likewise.
20939 (_G_uint16_t): Likewise.
20940 (_G_uint32_t): Likewise.
20941 (_G_HAVE_BOOL): Likewise.
20942 (_G_HAVE_ATEXIT): Likewise.
20943 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20944 (_G_HAVE_IO_FILE_OPEN): Likewise.
20946 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20948 * csu/libc-tls.c: Update copyright years.
20950 2012-09-10 Joseph Myers <joseph@codesourcery.com>
20952 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20953 [!_G_USING_THUNKS]: Remove conditional code.
20954 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20955 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20957 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20958 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20959 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20960 (_G_VTABLE_LABEL_PREFIX): Likewise.
20961 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20962 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20963 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20964 (_G_VTABLE_LABEL_PREFIX): Likewise.
20965 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20966 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20967 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20968 (_G_VTABLE_LABEL_PREFIX): Likewise.
20969 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20971 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20973 * libio/Makefile: Include ../Makeconfig before tests.
20974 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20975 only if $(build-shared) is yes.
20977 * iconv/gconv_db.c: Update copyright years.
20979 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20981 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20982 unwind info if defined PIC. Fix special cases description.
20983 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20985 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20987 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20989 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20991 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20993 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20996 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20997 (LDLIBS-tst-chk4): This.
20998 (LDFLAGS-tst-chk5): Renamed to ...
20999 (LDLIBS-tst-chk5): This.
21000 (LDFLAGS-tst-chk6): Renamed to ...
21001 (LDLIBS-tst-chk6): This.
21002 (LDFLAGS-tst-lfschk4): Renamed to ...
21003 (LDLIBS-tst-lfschk4): This.
21004 (LDFLAGS-tst-lfschk5): Renamed to ...
21005 (LDLIBS-tst-lfschk5): This.
21006 (LDFLAGS-tst-lfschk6): Renamed to ...
21007 (LDLIBS-tst-lfschk6): This.
21009 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21010 on $(common-objpfx)soversions.mk.
21012 2012-09-07 Joseph Myers <joseph@codesourcery.com>
21015 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21018 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21020 * malloc/arena.c (arena_get_retry): New function that gets
21021 another arena for the caller to try its request on.
21022 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21023 current arena cannot fulfill the request.
21024 (__libc_memalign): Likewise.
21025 (__libc_memalign): Likewise.
21026 (__libc_pvalloc): Likewise.
21027 (__libc_calloc): Likewise.
21029 2012-09-05 John Tobey <john.tobey@gmail.com>
21032 * manual/arith.texi (Operations on Complex): Fix description
21033 of carg branch cut.
21035 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21038 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21042 * manual/memory.texi (Memory): Make order of menu items match
21045 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21047 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21048 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
21049 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21051 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21053 * csu/libc-tls.c (static_dtv): Renamed to ...
21054 (_dl_static_dtv): This. Make it global.
21055 (_dl_initial_dtv): Removed.
21056 (__libc_setup_tls): Updated.
21057 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21058 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21061 2012-09-06 Petr Machata <pmachata@redhat.com>
21063 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21064 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21065 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21066 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21068 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21071 * csu/libc-tls.c (_dl_initial_dtv): New variable.
21072 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21075 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21078 * Makeconfig (link-static-before-libc): Replace $(+prector)
21080 (link-static-after-libc): Replace $(+postctor) with
21082 (link-bounded): Replace $(+prector)/$(+postctor) with
21083 $(+prectorT)/$(+postctorT).
21084 (+prectorT): New macro.
21085 (+postctorT): Likewise.
21087 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21089 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21090 (round_str): Handle values above the maximum for IBM long double
21092 * stdlib/tst-strtod-round.c (tests): Regenerated.
21094 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21096 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21098 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21099 zarch_nohighgprs around the zarch optimized routines.
21100 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21101 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21102 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21105 2012-09-05 David S. Miller <davem@davemloft.net>
21107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21109 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21110 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21111 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21112 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21115 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21117 * malloc/arena.c: Fold copyright years.
21118 * malloc/mcheck.c, malloc/memusage.c: Likewise.
21120 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21122 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21124 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21126 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
21128 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21130 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21131 change internal state upon failure.
21133 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21135 * malloc/mcheck.c (mcheck_check_all): Fix typo.
21136 * malloc/memusage.c (mmap): Likewise.
21137 (mmap64, mremap): Likewise. Adjust name in comment.
21139 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21141 * libio/fileops.c: Fix typos in comments.
21142 * libio/oldfileops.c: Likewise.
21143 * libio/wfileops.c: Likewise.
21145 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21148 * malloc/Makefile (tests): Add tst-malloc-usable test case.
21149 (tst-malloc-usable-ENV): Set environment for test case.
21150 * malloc/hooks.c (malloc_check_get_size): New function to get
21152 * malloc/malloc.c (musable): Use malloc_check_get_size.
21153 * malloc/tst-malloc-usable.c: New test case.
21155 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21157 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21159 2012-09-05 Allan McRae <allan@archlinux.org>
21162 * configure.in (CXX_SYSINCLUDES): Use compiler output to
21163 determine header location.
21164 * configure: Regenerated.
21166 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21168 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21170 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
21171 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21173 (test): Regenerate.
21175 2012-09-04 David S. Miller <davem@davemloft.net>
21177 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21178 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21179 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21181 2012-09-04 Florian Weimer <fweimer@redhat.com>
21183 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21186 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21188 2012-09-04 Joseph Myers <joseph@codesourcery.com>
21191 * libio/iogetdelim.c: Include <limits.h>.
21192 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21193 + len + 1 would overflow.
21195 2012-09-03 Andreas Jaeger <aj@suse.de>
21197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21198 * sysdeps/i386/fpu/libm-test-ulps: Update.
21200 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21202 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21203 Add s_sinf-sse2, s_conf-sse2.
21205 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21206 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21207 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21208 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21210 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21211 for using routine as __sinf_ia32.
21212 Use macro for function declaration and weak_alias.
21213 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21214 for using routine as __cosf_ia32.
21215 Use macro for function declaration and weak_alias.
21217 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21218 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21220 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21221 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21222 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21224 * math/libm-test.inc (cos_test): Add more test cases.
21225 (sin_test): Likewise.
21226 (sincos_test): Likewise.
21228 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21230 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21231 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21233 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21235 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21238 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21239 first element of the GOT.
21240 (elf_machine_load_address): Return the difference between
21241 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21243 2012-09-01 Allan McRae <allan@archlinux.org>
21246 * configure.in (AWK): Require gawk version 3.0 or later.
21247 * configure: Regenerated.
21249 2012-09-01 Joseph Myers <joseph@codesourcery.com>
21251 * sysdeps/unix/sysv/linux/kernel-features.h
21252 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21253 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21254 [__NR_clock_getres]: Make code unconditional.
21255 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21256 (clock_getcpuclockid): Remove code left unreachable by removal of
21258 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21259 code unconditional.
21260 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21261 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21262 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21263 Make code unconditional.
21264 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21265 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21266 * sysdeps/unix/sysv/linux/clock_settime.c
21267 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21269 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21270 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21272 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21275 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21276 scripts/test-installation.pl.
21278 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21279 and $ld_so_version if it is set.
21281 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21284 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21285 failure if reading from procfs failed.
21286 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21288 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21290 * sysdeps/unix/sysv/linux/kernel-features.h
21291 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21292 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21293 Remove conditional code.
21294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21295 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21296 Remove conditional code.
21297 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21298 * sysdeps/unix/sysv/linux/i386/fxstat.c
21299 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21300 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21301 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21302 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21304 * sysdeps/unix/sysv/linux/i386/lxstat.c
21305 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21306 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21307 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21308 Remove conditional code.
21309 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21310 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21311 Remove conditional code.
21312 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21313 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21314 <kernel-features.h>.
21315 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21317 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21318 Remove conditional code.
21319 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21320 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21321 Remove conditional.
21323 2012-08-27 Mike Frysinger <vapier@gentoo.org>
21326 * NEWS: Add fixed bug number.
21328 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21331 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21332 underflowing exponent in case of negative sign.
21333 * stdlib/tst-strtod-round-data: Add more tests.
21334 * stdlib/tst-strtod-round.c (tests): Regenerated.
21337 * stdlib/strtod_l.c (NDIG): Remove.
21338 (HEXNDIG): Likewise.
21339 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21340 smallest representable value.
21341 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21342 lie within an exact representation of 1/2 ulp of the result.
21343 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21345 (TENS_P9_IDX): Define unconditionally.
21346 (TENS_P9_SIZE): Likewise.
21347 (TENS_P10_IDX): Likewise.
21348 (TENS_P10_SIZE): Likewise.
21349 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21350 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21351 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21352 entries for 10^2^13 and 10^2^14.
21353 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21354 (TENS_P13_IDX): Define.
21355 (TENS_P13_SIZE): Likewise.
21356 (TENS_P14_IDX): Likewise.
21357 (TENS_P14_SIZE): Likewise.
21358 (_fpioconst_pow10): Change array size to
21359 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21361 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21362 1024]: Add entries for 10^2^13 and 10^2^14.
21363 [LAST_POW10 > _LAST_POW10]: Remove #error.
21364 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21365 (_fpioconst_pow10): Change array size to
21366 FPIOCONST_POW10_ARRAY_SIZE.
21367 * stdlib/gen-fpioconst.c: New file.
21368 * stdlib/gen-tst-strtod-round.c: Likewise.
21369 * stdlib/tst-strtod-round-data: Likewise.
21370 * stdlib/tst-strtod-round.c: Likewise.
21371 * stdlib/Makefile (tests): Add tst-strtod-round.
21374 * stdlib/strtod_l.c: Include <stdint.h>.
21375 (NDEBUG): Do not define.
21376 (round_and_return): Change EXPONENT parameter to type intmax_t.
21377 Rearrange calculations to avoid internal overflow possibilities.
21378 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21379 Rearrange calculations to avoid internal overflow possibilities.
21380 Assert that number fits inside MPNSIZE limbs.
21381 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21382 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21383 calculations and add assertions to avoid internal overflow
21384 possibilities. Add casts to avoid signed/unsigned operations.
21385 * stdlib/tst-strtod-overflow.c: New file.
21386 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21388 2012-08-25 Marek Polacek <polacek@redhat.com>
21390 * time/time.h: Fix some typos in comments.
21392 2012-08-23 Roland McGrath <roland@hack.frob.com>
21394 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21395 * posix/tst-rfc3484-2.c: Likewise.
21396 * posix/tst-rfc3484-3.c: Likewise.
21398 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21400 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21401 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21403 2012-08-23 Joseph Myers <joseph@codesourcery.com>
21405 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21406 #include of fxstatat64.c.
21408 2012-08-22 Roland McGrath <roland@hack.frob.com>
21410 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21411 * shadow/getspent_r.c: Likewise.
21412 * shadow/getspnam.c: Likewise.
21413 * shadow/getspnam_r.c: Likewise.
21414 * gshadow/getsgent.c: Likewise.
21415 * gshadow/getsgent_r.c: Likewise.
21416 * gshadow/getsgnam.c: Likewise.
21417 * gshadow/getsgnam_r.c: Likewise.
21418 * inet/getnetbyad.c: Likewise.
21419 * inet/getnetbyad_r.c: Likewise.
21420 * inet/getnetbynm.c: Likewise.
21421 * inet/getnetbynm_r.c: Likewise.
21422 * inet/getnetent.c: Likewise.
21423 * inet/getnetent_r.c: Likewise.
21424 * inet/getproto.c: Likewise.
21425 * inet/getproto_r.c: Likewise.
21426 * inet/getprtent.c: Likewise.
21427 * inet/getprtent_r.c: Likewise.
21428 * inet/getprtname.c: Likewise.
21429 * inet/getprtname_r.c: Likewise.
21430 * inet/getrpcbyname.c: Likewise.
21431 * inet/getrpcbyname_r.c: Likewise.
21432 * inet/getrpcbynumber.c: Likewise.
21433 * inet/getrpcbynumber_r.c: Likewise.
21434 * inet/getrpcent.c: Likewise.
21435 * inet/getrpcent_r.c: Likewise.
21436 * inet/getaliasent.c: Likewise.
21437 * inet/getaliasent_r.c: Likewise.
21438 * inet/getaliasname.c: Likewise.
21439 * inet/getaliasname_r.c: Likewise.
21440 * nscd/getgrgid_r.c: Likewise.
21441 * nscd/getgrnam_r.c: Likewise.
21442 * nscd/gethstbyad_r.c: Likewise.
21443 * nscd/gethstbynm3_r.c: Likewise.
21444 * nscd/getpwnam_r.c: Likewise.
21445 * nscd/getpwuid_r.c: Likewise.
21446 * nscd/getsrvbynm_r.c: Likewise.
21447 * nscd/getsrvbypt_r.c: Likewise.
21448 * nscd/gai.c: Likewise.
21450 * configure.in (build_nscd): New substituted variable, set
21451 by --disable-build-nscd and defaults to $use_nscd.
21452 * configure: Regenerated.
21453 * config.make.in (build-nscd): New substituted variable.
21454 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21455 Change conditional to require [$(build-nscd) = yes] as well.
21456 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21459 * configure.in (use_nscd): New substituted variable, set by
21460 --disable-nscd. If enabled, define USE_NSCD.
21461 * configure: Regenerated.
21462 * config.h.in: Add USE_NSCD.
21463 * config.make.in (use-nscd): New substituted variable.
21464 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21465 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21466 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21467 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21468 (CFLAGS-getgrnam_r.c): Likewise.
21469 (CFLAGS-initgroups.c): Likewise.
21470 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21471 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21473 * inet/getnetgrent_r.c
21474 (nscd_setnetgrent): New function, broken out of ...
21475 (setnetgrent): ... here. Call it.
21476 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21477 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21478 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21479 * nscd/Makefile (routines, aux): Move definitions after include of
21480 Makeconfig. Conditionalize on [$(use-nscd) != no].
21481 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21482 Conditionalize on [USE_NSCD].
21483 (is_nscd, nscd_init_cb): Likewise.
21484 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21485 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21486 * nss/nss_db/db-init.c: Likewise.
21487 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21489 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21490 (make_request): Use it.
21491 (cache_valid_p): New function.
21492 (__check_pf): Use it.
21493 * NEWS: Add item for --disable-nscd.
21495 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21497 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21498 to support sed >= 4.2.1-20-ga9bf076.
21499 * configure: Regenerated.
21501 2012-08-22 Roland McGrath <roland@hack.frob.com>
21503 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21504 Conditionalize whole body on [IREL].
21506 2012-08-22 Jeff Law <law@redhat.com>
21509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21510 if the family is PF_UNSPEC.
21512 2012-08-22 Mike Frysinger <vapier@gentoo.org>
21514 * Makerules (lib-version): Rename from V.
21515 (install-lib-nosubdir): Change V to lib-version.
21517 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21520 * powerpc32/power6/wcschr.c: New file.
21521 * powerpc32/power6/wcscpy.c: New file.
21522 * powerpc32/power6/wcsrchr.c: New file.
21523 * powerpc64/power6/wcschr.c: New file.
21524 * powerpc64/power6/wcscpy.c: New file.
21525 * powerpc64/power6/wcsrchr.c: New file.
21527 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21529 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21530 (two_way_short_needle): Use it.
21531 * string/strstr.c (AVAILABLE1_USES_J): Define.
21532 * string/strcasestr.c: Likewise.
21534 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21536 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21539 * NEWS: Add an entry.
21540 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21541 define their defaults.
21542 (two_way_short_needle): Detect end-of-string on-the-fly.
21543 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21544 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21545 * string/bug-strcasestr1.c: New test.
21546 * string/Makefile: Run it.
21548 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21551 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21552 the first character.
21554 2012-08-21 Roland McGrath <roland@hack.frob.com>
21556 * csu/elf-init.c (__libc_csu_irel): Function removed.
21557 * csu/libc-start.c (apply_irel): New function.
21558 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21560 2012-08-21 Joseph Myers <joseph@codesourcery.com>
21562 * sysdeps/unix/sysv/linux/kernel-features.h
21563 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21564 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21565 <kernel-features.h>.
21566 [__NR_fadvise64_64]: Make code unconditional.
21567 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21568 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21569 !__NR_fadvise64_64)]: Likewise.
21570 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21571 !__NR_fadvise64_64))]: Likewise.
21572 [__NR_fadvise64]: Make code unconditional.
21573 [!__NR_fadvise64]: Remove conditional code.
21574 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21575 <kernel-features.h>.
21576 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21578 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21581 not include <kernel-features.h>.
21582 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21584 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21586 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21587 include <kernel-features.h>.
21588 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21590 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21593 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21595 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21596 slight instruction rearrangements per scrollpipe analysis.
21597 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21599 2012-08-20 Roland McGrath <roland@hack.frob.com>
21601 * manual/syslog.texi (syslog; vsyslog, closelog):
21602 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21603 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21605 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21606 DSOCAPS to match condition on defining it.
21608 2012-08-20 Joseph Myers <joseph@codesourcery.com>
21610 * sysdeps/unix/sysv/linux/kernel-features.h
21611 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21613 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21614 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21616 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21617 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21619 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21620 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21622 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21623 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21625 * sysdeps/unix/sysv/linux/kernel-features.h
21626 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21627 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21629 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21630 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21631 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21632 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21633 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21634 Make code unconditional.
21635 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21636 (__mmap64) [!__NR_mmap2]: Likewise.
21637 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21638 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21639 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21640 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21641 [__NR_mmap2]: Make code unconditional.
21642 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21643 (__mmap64) [!__NR_mmap2]: Likewise.
21645 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21647 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21649 2012-08-18 Andreas Jaeger <aj@suse.de>
21651 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21653 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21655 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21656 * include/unistd.h (__have_sock_cloexec): Likewise.
21657 (__have_pipe2): Likewise.
21658 (__have_dup3): Likewise.
21660 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21663 * include/unistd.h (__have_pipe2): Change define into an extern int.
21664 (__have_dup3): Likewise.
21665 * socket/have_sock_cloexec.c: Include fcntl.h.
21666 (__have_pipe2): New variable.
21667 (__have_dup3): Likewise.
21669 2012-08-17 Mike Frysinger <vapier@gentoo.org>
21671 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21673 2012-08-17 Marek Polacek <polacek@redhat.com>
21675 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21676 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21678 2012-08-17 Roland McGrath <roland@hack.frob.com>
21680 * configure.in: Add AC_SUBST for sysheaders.
21681 * configure: Regenerated.
21682 * config.make.in (sysheaders): New substituted variable.
21684 * sysdeps/unix/mkfifo.c: Moved ...
21685 * sysdeps/posix/mkfifo.c: ... here.
21686 * sysdeps/unix/mkfifoat.c: Moved ...
21687 * sysdeps/posix/mkfifoat.c: ... here.
21689 * sysdeps/unix/utime.c: Moved ...
21690 * sysdeps/posix/utime.c: ... here.
21692 * sysdeps/unix/time.c: Moved ...
21693 * sysdeps/posix/time.c: ... here.
21694 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21695 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
21697 * sysdeps/unix/nice.c: Moved ...
21698 * sysdeps/posix/nice.c: ... here.
21700 * sysdeps/unix/alarm.c: Moved ...
21701 * sysdeps/posix/alarm.c: ... here.
21703 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21705 2012-08-17 Jeff Law <law@redhat.com>
21707 * intl/Makefile (codeset_mo): New variable.
21708 ($(codeset_mo)): New target.
21709 (tst-codeset.out): Depend on that. Remove explicit rule.
21710 (tst-gettext3.out, tst-gettext5.out): Likewise.
21711 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21712 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21713 * intl/tst-codeset.sh: Remove.
21714 * intl/tst-gettext3.sh: Likewise.
21715 * intl/tst-gettext5.sh: Likewise.
21717 2012-08-17 Roland McGrath <roland@hack.frob.com>
21719 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21720 * sysdeps/unix/syscalls.list: ... here.
21722 * sysdeps/posix/getaddrinfo.c
21723 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21724 (gaiconf_init, gaiconf_reload): Use them.
21725 [!_STATBUF_ST_NSEC]
21726 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21727 Define using time_t rather than struct timespec.
21729 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21730 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21732 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21734 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21735 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21738 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21739 __libc_cleanup_push argument.
21741 * bits/param.h: New file.
21742 * misc/sys/param.h: New file.
21743 * include/sys/param.h: New file.
21744 * misc/Makefile (headers): Add bits/param.h.
21745 * sysdeps/generic/sys/param.h: File removed.
21746 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21747 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21748 * sysdeps/mach/hurd/bits/param.h: New file.
21749 * sysdeps/mach/hurd/sys/param.h: File removed.
21751 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21754 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21756 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21757 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21760 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21761 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21762 rather than -D_IO_MTSAFE_IO conditionally.
21763 * stdio-common/Makefile (CPPFLAGS): Likewise.
21764 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21765 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21766 Use $(libio-mtsafe).
21767 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21768 of -D_IO_MTSAFE_IO.
21769 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21770 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21771 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21772 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21773 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21774 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21775 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21776 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21777 (CFLAGS-fread_u_chk.c): Likewise.
21778 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21779 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21780 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21781 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21782 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21783 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21784 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21785 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21786 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21788 * libio/Makefile: Test [$(libc-reentrant) = yes]
21789 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21792 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21793 * sysdeps/pthread/configure: File removed.
21794 * sysdeps/pthread/Makeconfig: New file.
21795 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21796 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21798 2012-08-16 Gary Benson <gbenson@redhat.com>
21800 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21801 unmapping the first object in a namespace.
21803 2012-08-16 Roland McGrath <roland@hack.frob.com>
21805 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21806 (__internal_setnetgrent): ... this. Add internal_function to
21807 definition. Add libc_hidden_def.
21808 (setnetgrent): Update caller.
21809 (internal_endnetgrent): Renamed to ...
21810 (__internal_endnetgrent): ... this. Add internal_function to
21811 definition. Add libc_hidden_def.
21812 (endnetgrent): Update caller.
21813 (internal_getnetgrent_r): Renamed to ...
21814 (__internal_getnetgrent_r): ... this. Add internal_function to
21815 definition. Add libc_hidden_def.
21816 (__getnetgrent_r): Update caller.
21817 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21819 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21821 * stdlib/longlong.h: Update from GCC.
21823 2012-08-16 Roland McGrath <roland@hack.frob.com>
21825 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21826 on _QL, which is set by umul_ppmm but never used.
21827 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21828 variables, which are set by GMP macros but never used.
21829 * stdio-common/_itowa.c (_itowa): Likewise.
21830 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21831 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21833 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21835 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21836 struct La_sh_regs is not constant.
21837 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21838 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21839 and struct La_sparc64_regs are not constant.
21841 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21843 * sysdeps/unix/sysv/linux/kernel-features.h
21844 (__ASSUME_POSIX_TIMERS): Remove.
21845 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21846 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21847 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21848 Make code unconditional.
21849 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21850 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21851 Make code unconditional.
21852 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21853 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21854 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21855 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21856 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21857 Make code unconditional.
21858 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21859 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21860 (__libc_missing_posix_timers): Remove.
21862 2012-08-15 Roland McGrath <roland@hack.frob.com>
21864 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21865 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21867 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21869 * elf/dl-sym.c: Include <stdlib.h>.
21871 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21872 constants, which avoids warnings in 32-bit builds.
21874 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21875 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21877 * misc/lseek.c: File moved to ...
21878 * io/lseek.c: ... here.
21880 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21882 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21883 shifting LEN more than 31 bits at once.
21885 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21888 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21889 segmentation fault for a case of two empty input strings.
21890 * string/test-strncasecmp.c (check1): Renamed to...
21891 (bz12205): ...this.
21892 (bz14195): Add new testcase for two empty input strings and N > 0.
21893 (test_main): Call new testcase, adapt for renamed function.
21895 2012-08-15 Andreas Jaeger <aj@suse.de>
21898 * crypt/md5test2.c: New test, based on test supplied by Serge
21899 Belyshev <belyshev@depni.sinp.msu.ru>.
21900 * crypt/Makefile (xtests): Add md5test-giant..
21901 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21903 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21906 * crypt/md5.c (md5_process_block): Don't assume the buffer
21907 length is less than 2**32.
21908 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21909 length is less than 2**64.
21911 2012-08-15 Roland McGrath <roland@hack.frob.com>
21913 * string/str-two-way.h: Include <sys/param.h>.
21914 (MAX): Macro removed.
21916 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21917 Move #define and #undef of memmove to just before and after
21918 including <string.h>.
21920 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21921 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21922 and after including <string.h>. Move declarations of
21923 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21924 to before #include "string/memmove.c".
21926 * include/dirent.h: Declare __getdirentries.
21928 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21929 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21931 2012-08-14 Mike Frysinger <vapier@gentoo.org>
21933 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21934 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21935 * sysdeps/i386/configure: Regenerated.
21936 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21937 STABS_CURRENT_FILE, and STABS_FUN.
21938 (END): Remove call to STABS_FUN_END.
21939 (STABS_CURRENT_FILE1): Delete.
21940 (STABS_CURRENT_FILE): Likewise.
21941 (STABS_FUN): Likewise.
21942 (STABS_FUN_END): Likewise.
21943 (STABS_FUN2): Likewise.
21944 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21945 * sysdeps/x86_64/configure: Regenerated.
21947 2012-08-14 Roland McGrath <roland@hack.frob.com>
21949 * elf/dl-open.c: Include <atomic.h>.
21950 * elf/dl-lookup.c: Likewise.
21952 2012-08-14 Joseph Myers <joseph@codesourcery.com>
21954 * sysdeps/unix/sysv/linux/kernel-features.h
21955 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21956 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21958 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21960 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21961 condition on __ASSUME_CLONE_THREAD_FLAGS.
21963 2012-08-14 Andreas Jaeger <aj@suse.de>
21965 * sysdeps/i386/fpu/libm-test-ulps: Update.
21967 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21969 * include/atomic.h (atomic_exchange_and_add): Split into ...
21970 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21973 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21977 2012-08-13 Jeff Law <law@redhat.com>
21979 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21980 null byte in the output string.
21982 2012-08-10 Joseph Myers <joseph@codesourcery.com>
21984 * sysdeps/unix/sysv/linux/kernel-features.h
21985 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21986 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21987 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21988 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21989 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21990 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21991 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21993 2012-08-09 Jeff Law <law@redhat.com>
21996 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21997 When avoid_arena is set, don't retry in the that arena. Pick the
21998 next one, whatever it might be.
21999 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
22000 (arena_lock): Pass in new parameter to arena_get2.
22001 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
22003 (__libc_malloc): Unify retrying after main arena failure with
22004 __libc_memalign version.
22005 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
22007 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
22010 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22011 to __redirect_strstr.
22012 (__strstr_sse42): Use typeof __redirect_strstr.
22013 (__strstr_ia32): Likewise.
22014 (__libc_strstr): New prototype.
22015 (strstr): Renamed to ...
22016 (__libc_strstr): This.
22017 (strstr): New strong alias of __libc_strstr.
22018 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22019 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22022 (__libc_time): New prototype.
22023 (time_ifunc): Replace time with __libc_time.
22024 (time): New strong alias and hidden definition of __libc_time.
22025 (__GI_time): Remove strong alias.
22026 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22027 Include <stddef.h>.
22028 (memmove): Redefined to __redirect_memmove.
22029 (__memmove_sse2): Use typeof __redirect_memmove.
22030 (__memmove_ssse3): Likewise.
22031 (__memmove_ssse3_back): Likewise.
22032 (__libc_memmove): New prototype.
22033 (memmove): Renamed to ...
22034 (__libc_memmove): This.
22035 (memmove): New strong alias of __libc_memmove.
22037 2012-08-08 Mark Salter <msalter@redhat.com>
22040 (R_MN10300_TLS_GD): Define.
22041 (R_MN10300_TLS_LD): Likewise.
22042 (R_MN10300_TLS_LDO): Likewise.
22043 (R_MN10300_TLS_GOTIE): Likewise.
22044 (R_MN10300_TLS_IE): Likewise.
22045 (R_MN10300_TLS_LE): Likewise.
22046 (R_MN10300_TLS_DTPMOD): Likewise.
22047 (R_MN10300_TLS_DTPOFF): Likewise.
22048 (R_MN10300_TLS_TPOFF): Likewise.
22049 (R_MN10300_SYM_DIFF): Likewise.
22050 (R_MN10300_ALIGN): Likewise.
22051 (R_MN10300_NUM): Update.
22053 2012-08-08 Joseph Myers <joseph@codesourcery.com>
22055 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22058 2012-08-08 Roland McGrath <roland@hack.frob.com>
22060 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22062 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22063 sysdeps/unix -> sysdeps/posix move.
22064 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22066 2012-08-07 Allan McRae <allan@archlinux.org>
22069 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22070 (SUNOS_CPP): Likewise.
22071 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22073 (open_input): Call CPP using execvp.
22075 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22077 * sysdeps/unix/sysv/linux/kernel-features.h
22078 (__ASSUME_PROT_GROWSUPDOWN): Remove.
22079 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22080 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22081 (__ASSUME_WAITID_SYSCALL): Likewise.
22082 * sysdeps/unix/sysv/linux/dl-execstack.c
22083 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22084 code unconditional.
22085 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22087 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22088 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22089 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22091 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22093 [__ASSUME_WAITID_SYSCALL]: Likewise.
22094 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22096 2012-08-07 Roland McGrath <roland@hack.frob.com>
22098 * sysdeps/unix/closedir.c: Renamed to ...
22099 * sysdeps/posix/closedir.c: ... here.
22100 * sysdeps/unix/dirfd.c: Renamed to ...
22101 * sysdeps/posix/dirfd.c: ... here.
22102 * sysdeps/unix/dirstream.h: Renamed to ...
22103 * sysdeps/posix/dirstream.h: ... here.
22104 * sysdeps/unix/fdopendir.c: Renamed to ...
22105 * sysdeps/posix/fdopendir.c: ... here.
22106 * sysdeps/unix/opendir.c: Renamed to ...
22107 * sysdeps/posix/opendir.c: ... here.
22108 * sysdeps/unix/readdir.c: Renamed to ...
22109 * sysdeps/posix/readdir.c: ... here.
22110 * sysdeps/unix/readdir_r.c: Renamed to ...
22111 * sysdeps/posix/readdir_r.c: ... here.
22112 * sysdeps/unix/rewinddir.c: Renamed to ...
22113 * sysdeps/posix/rewinddir.c: ... here.
22114 * sysdeps/unix/seekdir.c: Renamed to ...
22115 * sysdeps/posix/seekdir.c: ... here.
22116 * sysdeps/unix/telldir.c: Renamed to ...
22117 * sysdeps/posix/telldir.c: ... here.
22118 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22119 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22120 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22121 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22123 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22124 * bits/fcntl.h: ... here.
22126 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22128 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22129 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22130 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22131 (struct flock): Move l_start, l_len to the beginning.
22132 Use __pid_t for l_pid.
22133 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22134 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22135 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22136 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22137 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22138 [__USE_LARGEFILE64] (struct flock64): New type.
22139 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22141 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22142 * bits/dirent.h: ... here.
22144 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22145 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22147 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22149 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22150 Change from 2.6.0 to 2.6.16.
22151 * sysdeps/unix/sysv/linux/configure: Regenerated.
22152 * sysdeps/unix/sysv/linux/kernel-features.h
22153 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22154 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22156 (__ASSUME_UTIMES): Likewise.
22157 (__ASSUME_CLONE_STOPPED): Remove.
22158 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22159 architectures, not kernel version.
22160 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22161 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22162 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22163 (__ASSUME_WAITID_SYSCALL): Likewise.
22164 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22165 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22166 * README: State 2.6.16 as minimum Linux kernel version. Do not
22167 refer to older versions.
22169 2012-08-06 Roland McGrath <roland@hack.frob.com>
22171 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22172 Define alphasort64 as an alias.
22173 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22174 Define versionsort64 as an alias.
22175 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22176 Define scandir64 as an alias.
22177 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22178 Define scandirat64 as an alias.
22179 * dirent/alphasort64.c (alphasort64):
22180 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22181 * dirent/versionsort64.c: Likewise.
22182 * dirent/scandir64.c: Likewise.
22183 * dirent/scandirat64.c: Likewise.
22184 * sysdeps/wordsize-64/alphasort.c: File removed.
22185 * sysdeps/wordsize-64/alphasort64.c: File removed.
22186 * sysdeps/wordsize-64/scandir.c: File removed.
22187 * sysdeps/wordsize-64/scandir64.c: File removed.
22188 * sysdeps/wordsize-64/scandirat.c: File removed.
22189 * sysdeps/wordsize-64/scandirat64.c: File removed.
22190 * sysdeps/wordsize-64/versionsort.c: File removed.
22191 * sysdeps/wordsize-64/versionsort64.c: File removed.
22192 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22193 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22194 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22195 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22196 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22197 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22198 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22199 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22201 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22202 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22203 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22204 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22205 [defined __arch64__ || defined __sparcv9]
22206 (__INO_T_MATCHES_INO64_T): New macro.
22207 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22208 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22209 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22210 * sysdeps/unix/sysv/linux/bits/dirent.h
22211 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22212 (_DIRENT_MATCHES_DIRENT64): New macro.
22214 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22215 Define lockf64 as an alias.
22216 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22217 Define fseeko64 as an alias.
22218 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22219 Define ftello64 as an alias.
22220 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22221 Define _IO_fgetpos64 and fgetpos64 as aliases.
22222 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22223 Define _IO_fsetpos64 and fsetpos64 as aliases.
22224 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22225 Conditionalize body on this.
22226 * libio/fseeko64.c: Likewise.
22227 * libio/ftello64.c: Likewise.
22228 * libio/iofgetpos64.c: Likewise.
22229 * libio/iofsetpos64.c: Likewise.
22230 * sysdeps/wordsize-64/lockf.c: File removed.
22231 * sysdeps/wordsize-64/lockf64.c: File removed.
22232 * sysdeps/wordsize-64/fseeko.c: File removed.
22233 * sysdeps/wordsize-64/fseeko64.c: File removed.
22234 * sysdeps/wordsize-64/ftello.c: File removed.
22235 * sysdeps/wordsize-64/ftello64.c: File removed.
22236 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22237 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22238 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22239 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22240 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22241 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22242 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22243 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22244 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22245 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22246 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22247 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22248 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22249 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22251 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22252 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22253 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22254 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22255 [defined __arch64__ || defined __sparcv9]
22256 (__OFF_T_MATCHES_OFF64_T): New macro.
22257 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22258 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22259 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22260 (__OFF_T_MATCHES_OFF64_T): New macro.
22262 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22264 * stdlib/secure-getenv.c (__secure_getenv): Replace
22265 GLIBC_2_16 with GLIBC_2_17.
22267 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22269 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22270 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22272 2012-08-03 David S. Miller <davem@davemloft.net>
22274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22276 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22278 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22280 (__ASSUME_CORRECT_SI_PID): Likewise.
22281 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22282 (__ASSUME_TMPFS_NAME): Likewise.
22283 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22284 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22285 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22286 (HAVE_AUX_SECURE): Make definition unconditional.
22287 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22288 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22290 2012-08-03 Roland McGrath <roland@hack.frob.com>
22292 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22293 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22294 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22295 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22296 __eloop_threshold instead of SYMLOOP_MAX.
22298 * sysdeps/generic/eloop-threshold.h: New file.
22299 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22301 * elf/chroot_canon.c (chroot_canon): Likewise.
22303 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22306 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22307 Change to 2.6.0 everywhere.
22308 * sysdeps/unix/sysv/linux/configure: Regenerated.
22309 * sysdeps/unix/sysv/linux/kernel-features.h
22310 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22311 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22313 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22314 (__ASSUME_FUTEX_REQUEUE): Remove.
22315 (__ASSUME_STATFS64): Define unconditionally.
22316 (__ASSUME_AT_SECURE): Likewise.
22317 (__ASSUME_CORRECT_SI_PID): Likewise.
22318 (__ASSUME_TGKILL): Define without depending on kernel version for
22320 (__ASSUME_UTIMES): Likewise.
22321 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22323 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22324 (__ASSUME_TMPFS_NAME): Likewise.
22325 * README: Update reference to Linux kernel versions.
22327 2012-08-02 Marek Polacek <polacek@redhat.com>
22330 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22331 libc_cv_asm_type_prefix with %.
22332 * configure: Regenerated.
22333 * include/libc-symbols.h: Remove comment about
22334 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22335 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22336 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22337 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22338 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22339 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22340 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22341 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22342 * elf/tst-unique2mod1.c: Likewise.
22343 * elf/tst-unique1mod2.c: Likewise.
22344 * elf/tst-unique1mod1.c: Likewise.
22345 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22346 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22347 Replace ASM_TYPE_DIRECTIVE with .type.
22348 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22349 * sysdeps/i386/sysdep.h: Likewise.
22350 * sysdeps/x86_64/sysdep.h: Likewise.
22351 * sysdeps/sh/sysdep.h: Likewise.
22352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22353 Do not define ASM_TYPE_DIRECTIVE.
22354 * sysdeps/powerpc/sysdep.h: Likewise.
22355 * sysdeps/powerpc/powerpc32/sysdep.h:
22356 Replace ASM_TYPE_DIRECTIVE with .type.
22357 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22358 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22359 * sysdeps/i386/fpu/e_powf.S: Likewise.
22360 * sysdeps/i386/fpu/e_expl.S: Likewise.
22361 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22362 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22363 * sysdeps/i386/fpu/e_pow.S: Likewise.
22364 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22365 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22366 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22367 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22368 * sysdeps/i386/fpu/e_log2.S: Likewise.
22369 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22370 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22371 * sysdeps/i386/fpu/e_powl.S: Likewise.
22372 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22373 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22374 * sysdeps/i386/fpu/e_logl.S: Likewise.
22375 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22376 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22377 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22378 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22379 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22380 * sysdeps/i386/fpu/e_log.S: Likewise.
22381 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22382 * sysdeps/i386/fpu/e_logf.S: Likewise.
22383 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22384 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22385 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22386 * sysdeps/i386/fpu/e_log10.S: Likewise.
22387 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22388 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22389 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22390 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22391 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22392 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22393 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22394 * sysdeps/i386/i686/strtok.S: Likewise.
22395 * sysdeps/i386/i386-mcount.S: Likewise.
22396 * sysdeps/i386/strtok.S: Likewise.
22397 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22398 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22399 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22400 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22401 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22402 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22403 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22404 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22405 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22406 * sysdeps/x86_64/_mcount.S: Likewise.
22407 * sysdeps/x86_64/strtok.S: Likewise.
22408 * sysdeps/sh/_mcount.S: Likewise.
22410 2012-08-01 Roland McGrath <roland@hack.frob.com>
22412 * libio/iofopen.c: Include <fcntl.h>.
22413 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22414 (_IO_fopen64, fopen64): Define as aliases.
22415 * libio/iofopen64.c: Include <fcntl.h>.
22416 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22417 Conditionalize body on this.
22418 * sysdeps/wordsize-64/iofopen.c: File removed.
22419 * sysdeps/wordsize-64/iofopen64.c: File removed.
22421 2012-08-01 Marek Polacek <polacek@redhat.com>
22423 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22424 Use dlfcn directly instead of a variable.
22425 (binfmt-subdir): Do not define.
22428 2012-08-01 Joseph Myers <joseph@codesourcery.com>
22430 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22431 Remove all definitions.
22432 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22433 <kernel-features.h>.
22434 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22435 (miss_F_GETOWN_EX): Remove all definitions.
22436 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22438 [!__ASSUME_FCNTL64]: Remove conditional code.
22439 [__ASSUME_FCNTL64]: Make code unconditional.
22440 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22441 <kernel-features.h>.
22442 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22443 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22444 (lockf64) [__NR_fcntl64]: Make code unconditional.
22445 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22447 * sysdeps/unix/sysv/linux/kernel-features.h
22448 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22449 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22450 Make code unconditional.
22451 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22452 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22454 [__NR_vfork]: Make code unconditional.
22455 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22456 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22458 [__NR_vfork]: Make code unconditional.
22459 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22460 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22462 2012-08-01 Roland McGrath <roland@hack.frob.com>
22464 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22465 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22467 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22468 Define mkstemp64 as an alias.
22469 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22470 Define mkstemps64 as an alias.
22471 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22472 Define mkostemp64 as an alias.
22473 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22474 Define mkostemps64 as an alias.
22475 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22476 Conditionalize body on this.
22477 * misc/mkostemp64.c: Likewise.
22478 * misc/mkostemps64.c: Likewise.
22479 * misc/mkstemps64.c: Likewise.
22480 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22481 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22482 * sysdeps/wordsize-64/mkostemp.c: File removed.
22483 * sysdeps/wordsize-64/mkstemp.c: File removed.
22484 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22485 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22486 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22487 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22490 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22491 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22492 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22493 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22495 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22496 compat_symbol macros from <shlib-compat.h> rather than the underlying
22497 default_symbol_version and symbol_version macros, so that DEFAULT
22498 lines in shlib-versions are respected.
22499 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22501 2012-08-01 Florian Weimer <fweimer@redhat.com>
22503 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22504 Declare with warn_unused_result.
22505 (setgid, setregid, setegid, setresgid): Likewise.
22506 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22508 * WUR-REPORT: Remove set*id functions.
22510 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22512 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22514 2012-07-31 Roland McGrath <roland@hack.frob.com>
22517 * include/sys/socket.h (__libc_accept, __libc_accept4):
22518 Add attribute_hidden.
22519 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22521 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22523 * inet/getnetgrent_r.c (setup): Likewise.
22525 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22527 2012-07-31 David S. Miller <davem@davemloft.net>
22529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22531 2012-07-31 Joseph Myers <joseph@codesourcery.com>
22534 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22535 value between 1.0 and 2.0 and smaller part has absolute value less
22537 * math/s_clog10.c (__clog10): Likewise.
22538 * math/s_clog10f.c (__clog10f): Likewise.
22539 * math/s_clog10l.c (__clog10l): Likewise.
22540 * math/s_clogf.c (__clogf): Likewise.
22541 * math/s_clogl.c (__clogl): Likewise.
22542 * math/libm-test.inc (clog_test): Add more tests.
22543 (clog10_test): Likewise.
22544 * sysdeps/i386/fpu/libm-test-ulps: Update.
22545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22547 2012-07-31 Florian Weimer <fweimer@redhat.com>
22549 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22550 Exit with zero in case no suitable GID is found, and write a
22551 message to standard error.
22553 2012-07-30 Roland McGrath <roland@hack.frob.com>
22555 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22557 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22558 (MAXPATHLEN): Removed.
22559 (NOGROUP, NODEV): New macros.
22560 (setbit, clrbit, isset, isclr): New macros.
22561 (howmany, roundup, powerof2): New macros.
22562 (DEV_BSIZE): New macro.
22564 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22565 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22567 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22568 definition on [!__NO_LONG_DOUBLE_MATH].
22570 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22571 PTR_MANGLE and PTR_DEMANGLE.
22573 * socket/accept4.c (accept4): Rename to __libc_accept4.
22574 Define accept4 as a weak alias.
22576 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22577 on [_DIRENT_HAVE_D_TYPE].
22578 * io/ftw.c (ftw_dir): Likewise.
22580 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22582 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22584 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22585 Use the BSD numbers rather than the arbitrary ones we had.
22586 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22587 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22588 (SIGXCPU, SIGXFSZ): New macros.
22591 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22592 initializer on [_LIBC_REENTRANT].
22594 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22595 definitions inside [_POSIX_MAPPED_FILES].
22597 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22599 * dirent/opendir.c: Include <fcntl.h>.
22601 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22602 (__libc_getspecific): Likewise.
22603 (__libc_key_create): Likewise.
22605 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22606 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22607 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22608 (tmpfile64): Define as alias.
22609 * sysdeps/wordsize-64/tmpfile.c: File removed.
22610 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22611 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22612 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22614 * stdio-common/vfscanf.c: Include <stdbool.h>.
22615 * nss/makedb.c: Likewise.
22616 * stdio-common/_i18n_number.h: Likewise.
22617 * argp/argp-help.c: Likewise.
22618 * posix/wordexp.c: Likewise.
22619 * sysdeps/posix/spawni.c: Likewise.
22620 * nss/nss_files/files-initgroups.c: Likewise.
22621 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22622 * nss/nss_files/files-initgroups.c: Likewise.
22623 * nss/nss_db/db-netgrp.c: Likewise.
22624 * nss/nss_db/db-initgroups.c: Likewise.
22625 * io/fchmodat.c: Include <sys/stat.h>.
22627 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22628 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22630 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22633 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22634 Add multiple inclusion protection.
22636 2012-07-27 David S. Miller <davem@davemloft.net>
22638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22640 2012-07-27 Gary Benson <gbenson@redhat.com>
22643 * elf/rtld.c: Include <stap-probe.h>.
22644 (dl_main): Added static probes "init_start" and "init_complete".
22645 * elf/dl-load.c: Include <stap-probe.h>.
22646 (lose): Take new parameter "nsid".
22647 Added static probe "map_failed".
22648 (_dl_map_object_from_fd): Pass namespace id to lose.
22649 Added static probe "map_start".
22650 (open_verify): Pass namespace id to lose.
22651 * elf/dl-open.c: Include <stap-probe.h>.
22652 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22653 and "reloc_complete".
22654 * elf/dl-close.c: Include <stap-probe.h>.
22655 (_dl_close_worker): Added static probes "unmap_start" and
22657 * elf/rtld-debugger-interface.txt: New file documenting the above.
22659 2012-07-26 Roland McGrath <roland@hack.frob.com>
22661 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22662 rather than a string variable.
22663 * sunrpc/rpc_main.c (h_output): Likewise.
22664 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22666 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22668 * inet/check_native.c: New file.
22670 2012-07-26 Joseph Myers <joseph@codesourcery.com>
22673 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22674 if larger part has absolute value 1.0.
22675 * math/s_clog10.c (__clog10): Likewise.
22676 * math/s_clog10f.c (__clog10f): Likewise.
22677 * math/s_clog10l.c (__clog10l): Likewise.
22678 * math/s_clogf.c (__clogf): Likewise.
22679 * math/s_clogl.c (__clogl): Likewise.
22680 * math/libm-test.inc (clog_test): Add more tests.
22681 (clog10_test): Likewise.
22682 * sysdeps/i386/fpu/libm-test-ulps: Update.
22683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22685 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22686 (pltexit): Likewise.
22687 (La_regs): Likewise.
22688 (La_retval): Likewise.
22689 (int_retval): Likewise.
22690 Update #error for removed macros to refer only to definitions in
22692 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22694 (pltexit): Likewise.
22695 (La_regs): Likewise.
22696 (La_retval): Likewise.
22697 (int_retval): Likewise.
22698 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22700 (pltexit): Likewise.
22701 (La_regs): Likewise.
22702 (La_retval): Likewise.
22703 (int_retval): Likewise.
22704 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22706 (pltexit): Likewise.
22707 (La_regs): Likewise.
22708 (La_retval): Likewise.
22709 (int_retval): Likewise.
22710 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22712 (pltexit): Likewise.
22713 (La_regs): Likewise.
22714 (La_retval): Likewise.
22715 (int_retval): Likewise.
22716 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22718 (pltexit): Likewise.
22719 (La_regs): Likewise.
22720 (La_retval): Likewise.
22721 (int_retval): Likewise.
22722 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22724 (pltexit): Likewise.
22725 (La_regs): Likewise.
22726 (La_retval): Likewise.
22727 (int_retval): Likewise.
22728 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22729 macro definitions in tst-audit.h.
22730 * sysdeps/i386/tst-audit.h: New file.
22731 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22732 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22733 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22734 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22735 * sysdeps/sh/tst-audit.h: Likewise.
22736 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22737 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22738 * sysdeps/x86_64/tst-audit.h: Likewise.
22740 2012-07-26 Andreas Jaeger <aj@suse.de>
22742 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22745 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22746 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22747 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22749 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22750 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22751 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22753 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22756 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22758 (si_call_addr, si_syscall, si_arch): Define new macro.
22759 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22761 (si_call_addr, si_syscall, si_arch): Define new marcro.
22762 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22764 (si_call_addr, si_syscall, si_arch): Define new macro.
22765 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22767 (si_call_addr, si_syscall, si_arch): Define new macro.
22769 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22772 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22773 Change to 2.4.21 where previously 2.4.1.
22774 * sysdeps/unix/sysv/linux/configure: Regenerated.
22775 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22776 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22777 Linux kernel version.
22778 (__ASSUME_STD_AUXV): Remove.
22779 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22781 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22782 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22783 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22784 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22785 (__ASSUME_NETLINK_SUPPORT): Likewise.
22786 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22787 (__no_netlink_support): Remove conditional definition.
22788 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22790 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22791 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22792 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22793 (if_nameindex_ioctl): Remove.
22794 (if_nameindex_netlink): Do not handle __no_netlink_support.
22795 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22797 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22798 Remove conditional code.
22799 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22801 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22803 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22804 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22805 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22807 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22808 [!__ASSUME_STD_AUXV]: Remove conditional code.
22809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22810 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22811 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22813 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22814 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22816 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22818 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22819 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22821 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22823 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22826 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22829 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22830 code unconditional.
22831 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22833 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22835 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22838 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22840 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22843 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22844 code unconditional.
22845 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22847 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22849 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22852 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22853 code unconditional.
22854 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22856 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22858 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22861 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22863 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22864 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22865 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22866 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22867 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22868 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22869 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22870 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22871 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22872 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22873 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22874 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22875 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22876 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22877 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22878 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22879 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22880 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22881 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22882 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22883 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22884 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22885 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22887 2012-07-25 Florian Weimer <fweimer@redhat.com>
22889 * Versions.def: Add GLIBC_2.17.
22890 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22891 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22892 Introduce __libc_secure_getenv.
22893 * stdlib/Versions (2.17): Add secure_getenv
22894 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22895 * stdlib/secure-getenv.c: Rename __secure_getenv to
22896 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22897 symbol __secure_getenv for GLIBC_2.0.
22898 * stdlib/tst-secure-getenv.c: New.
22899 * stdlib/Makefile (tests): Add testcase.
22900 * manual/startup.texi (Environment Access): Document
22902 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22903 __libc_secure_getenv.
22904 * inet/ruserpass.c (ruserpass): Likewise.
22905 * malloc/mtrace.c (mtrace): Likewise.
22906 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22907 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22908 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22909 * sysdeps/posix/tempname.c: Likewise. Evaluate
22910 HAVE_SECURE_GETENV.
22911 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22912 __secure_getenv to __libc_secure_getenv.
22913 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22920 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22926 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22928 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22929 (struct La_i86_retval): Likewise.
22930 (struct La_x86_64_regs): Likewise.
22931 (struct La_x86_64_retval): Likewise.
22932 (struct La_x32_regs): Likewise.
22933 (struct La_x32_retval): Likewise.
22934 (struct La_ppc32_regs): Likewise.
22935 (struct La_ppc32_retval): Likewise.
22936 (struct La_ppc64_regs): Likewise.
22937 (struct La_ppc64_retval): Likewise.
22938 (struct La_sh_regs): Likewise.
22939 (struct La_sh_retval): Likewise.
22940 (struct La_s390_32_regs): Likewise.
22941 (struct La_s390_32_retval): Likewise.
22942 (struct La_s390_64_regs): Likewise.
22943 (struct La_s390_64_retval): Likewise.
22944 (struct La_sparc32_regs): Likewise.
22945 (struct La_sparc32_retval): Likewise.
22946 (struct La_sparc64_regs): Likewise.
22947 (struct La_sparc64_retval): Likewise.
22948 (struct audit_ifaces): Remove architecture-specific pltenter and
22950 * sysdeps/i386/ldsodefs.h: New file.
22951 * sysdeps/powerpc/ldsodefs.h: Likewise.
22952 * sysdeps/s390/ldsodefs.h: Likewise.
22953 * sysdeps/sh/ldsodefs.h: Likewise.
22954 * sysdeps/sparc/ldsodefs.h: Likewise.
22955 * sysdeps/x86_64/ldsodefs.h: Likewise.
22957 2012-07-25 Marek Polacek <polacek@redhat.com>
22960 * math/libm-test.inc (yn_test): Add another test.
22961 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22962 to ERANGE when the result is +-Inf.
22963 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22964 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22965 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22966 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22968 2012-07-24 Joseph Myers <joseph@codesourcery.com>
22970 * conform/data/time.h-data (NULL): Use macro-constant. Require
22972 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22974 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22976 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22978 * configure.in <sysdeps resolving>: Correct printing
22980 * configure: Regenerate.
22982 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22984 * math/w_ilogb.c: Include <limits.h>.
22985 * math/w_ilogbl.c: Likewise.
22987 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22989 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22990 va_copy. Document allowing for unavailable va_copy only as
22991 pre-C99 compatibility.
22992 * manual/string.texi (Copying and Concatenation): Use va_copy
22993 instead of __va_copy in concat example.
22995 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22997 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22998 (__sendto): Use create_address_port. Initialize APORT and deallocate
23001 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
23002 with O_NOLINK passed to __file_name_lookup.
23004 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
23005 with O_NOLINK passed to __file_name_lookup.
23007 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
23008 negative N or less than NGIDS.
23010 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23011 type to string_t. Set ERANGE as errno and return it if NAME is not big
23012 enough. Use memcpy instead of strncpy.
23014 2012-07-20 Joseph Myers <joseph@codesourcery.com>
23016 * elf/Makefile (check-data): Remove.
23017 (localplt.data): New vpath directive.
23018 ($(objpfx)check-localplt.out): Use localplt.data from vpath
23019 instead of $(check-data).
23020 * scripts/data/localplt-generic.data: Move to ...
23021 * sysdeps/generic/localplt.data: ... here.
23022 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23023 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23024 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23027 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23030 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23033 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23036 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23039 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23043 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23045 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23046 PPC32 and PPC64 files.
23047 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23048 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23050 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23052 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23053 __makecontext_ret to ...
23054 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23055 ... here and call exit if uc_link is NULL. New file.
23056 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23057 __makecontext_ret.S.
23058 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23059 __makecontext_ret to ...
23060 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23061 ... here and call exit if uc_link is NULL. New file.
23062 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23063 __makecontext_ret.S.
23065 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23067 * elf/elf.h (R_390_IRELATIVE): New definition.
23068 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23069 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
23070 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23071 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23072 (elf_machine_lazy_rel): Likewise.
23073 * sysdeps/s390/dl-irel.h: New file.
23074 * sysdeps/s390/s390-64/memcpy.S: New asm code.
23075 * sysdeps/s390/s390-64/memset.S: New asm code.
23076 * sysdeps/s390/s390-64/memcmp.S: New asm code.
23077 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23078 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23079 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23080 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23081 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23082 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23083 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23084 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23085 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23086 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23087 * sysdeps/s390/s390-32/memcpy.S: New asm code.
23088 * sysdeps/s390/s390-32/memset.S: New asm code.
23089 * sysdeps/s390/s390-32/memcmp.S: New asm code.
23091 2012-07-17 Marek Polacek <polacek@redhat.com>
23094 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23095 * sysdeps/s390/s390-64/configure.in: Likewise.
23096 * sysdeps/sparc/configure.in: Likewise.
23097 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23098 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23099 * sysdeps/i386/configure.in: Likewise.
23100 * sysdeps/x86_64/configure.in: Likewise.
23101 * sysdeps/sh/configure.in: Likewise.
23102 * sysdeps/s390/s390-32/configure: Regenerated.
23103 * sysdeps/s390/s390-64/configure: Likewise.
23104 * sysdeps/x86_64/configure: Likewise.
23105 * sysdeps/sh/configure: Likewise.
23106 * sysdeps/powerpc/powerpc64/configure: Likewise.
23107 * sysdeps/powerpc/powerpc32/configure: Likewise.
23108 * sysdeps/sparc/configure: Likwise.
23109 * sysdeps/i386/configure: Likewise.
23111 * elf/dl-open.c: Comment fixes.
23113 2012-07-17 Joseph Myers <joseph@codesourcery.com>
23115 * Makefile [CXX] (check-data): Remove.
23116 [CXX] (c++-types.data): New vpath directive.
23117 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23118 vpath. Do not allow for C++ type data being missing.
23119 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23120 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23121 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23122 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23123 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23124 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23125 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23128 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23131 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23134 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23137 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23140 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23143 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23146 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23149 * elf/tls-macros.h (TLS_LE): Move architecture-specific
23150 definitions to architecture-specific files.
23151 (TLS_IE): Likewise.
23152 (TLS_LD): Likewise.
23153 (TLS_GD): Likewise.
23154 * sysdeps/i386/tls-macros.h: New file.
23155 * sysdeps/powerpc/tls-macros.h: Likewise.
23156 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23157 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23158 * sysdeps/sh/tls-macros.h: Likewise.
23159 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23160 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23161 * sysdeps/x86_64/tls-macros.h: Likewise.
23163 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23165 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23166 zero value for regular exit case.
23168 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23169 (__start_context): Preserve zero value for regular exit case.
23171 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23172 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23174 * manual/setjmp.texi (setcontext): Clarify normal process
23175 termination when uc_link is the null pointer.
23176 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23179 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23181 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23182 preprocessor. Test for each exception mask separately.
23184 2012-07-16 Andreas Jaeger <aj@suse.de>
23186 * po/ru.po: Update from translation team.
23188 2012-07-15 Joseph Myers <joseph@codesourcery.com>
23190 * conform/data/string.h-data (NULL): Use macro-constant. Require
23192 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23193 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23194 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23195 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23196 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23198 2012-07-13 Andreas Jaeger <aj@suse.de>
23200 * po/fr.po: Update from translation team.
23202 2012-07-12 Marek Polacek <polacek@redhat.com>
23205 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23206 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23209 2012-07-12 Joseph Myers <joseph@codesourcery.com>
23212 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23213 Change to 2.4.1 where previously 2.4.0.
23214 * sysdeps/unix/sysv/linux/configure: Regenerated.
23215 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23216 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23218 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23219 (__ASSUME_AT_CLKTCK): Remove.
23220 (__ASSUME_AT_PAGESIZE): Likewise.
23221 (__ASSUME_AT_XID): Likewise.
23222 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23223 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23224 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23226 (HAVE_AUX_PAGESIZE): Likewise.
23227 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23228 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23229 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23231 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23235 the temporary buffer used to invoke __gethostbyname2_r,
23236 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23237 host_data / struct gaih_addrtuple.
23238 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23239 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23240 header file nss/nsswitch.h.
23241 * nss/nsswitch.h (global scope): Add definition of implementation
23242 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23243 resolv/nss_dns/dns-host.c).
23245 2012-07-11 Andreas Jaeger <aj@suse.de>
23247 * po/fr.po: Update from translation team.
23249 * po/sv.po: Update from translation team
23250 * po/fr.po: Another update from translation team.
23252 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23254 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23255 for subnormals or multiply small sinh result by itself.
23256 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23259 2012-07-11 David S. Miller <davem@davemloft.net>
23261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23263 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23266 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23267 (INTERNAL_MARK): Shift it here.
23269 2012-07-10 Marek Polacek <polacek@redhat.com>
23272 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23273 libc_cv_asm_global_directive with .globl.
23274 * configure: Regenerated.
23275 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23277 * sysdeps/i386/configure: Regenerated.
23278 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23280 * sysdeps/x86_64/configure: Regenerated.
23281 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23282 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23283 * elf/tst-unique2mod2.c: Likewise.
23284 * elf/tst-unique2mod1.c: Likewise.
23285 * elf/tst-unique1mod2.c: Likewise.
23286 * elf/tst-unique1mod1.c: Likewise.
23287 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23288 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23289 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23290 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23291 * sysdeps/mach/sysdep.h: Likewise.
23292 * sysdeps/i386/sysdep.h: Likewise.
23293 * sysdeps/i386/i386-mcount.S: Likewise.
23294 * sysdeps/x86_64/_mcount.S: Likewise.
23295 * sysdeps/x86_64/sysdep.h: Likewise.
23296 * sysdeps/sh/_mcount.S: Likewise.
23297 * sysdeps/sh/sysdep.h: Likewise.
23298 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23299 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23300 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23301 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23302 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23303 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23304 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23305 * locale/localeinfo.h: Likewise.
23306 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23307 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23309 2012-07-09 Roland McGrath <roland@hack.frob.com>
23312 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23314 * manual/message.texi (The Uniforum approach): Likewise.
23315 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23316 (glibc iconv Implementation): Likewise.
23318 2012-07-09 Joseph Myers <joseph@codesourcery.com>
23321 * math/s_clog.c (__clog): Avoid scaling a value down where that
23322 could result in underflow.
23323 * math/s_clog10.c (__clog10): Likewise.
23324 * math/s_clog10f.c (__clog10f): Likewise.
23325 * math/s_clog10l.c (__clog10l): Likewise.
23326 * math/s_clogf.c (__clogf): Likewise.
23327 * math/s_clogl.c (__clogl): Likewise.
23328 * math/libm-test.inc (clog_test): Add more tests.
23329 (clog10_test): Likewise.
23330 * sysdeps/i386/fpu/libm-test-ulps: Update.
23331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23333 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23336 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23337 by 7 not 8 to examine high bit of fractional part.
23340 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23341 for call to __mcount_internal.
23342 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23343 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23344 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23346 2012-07-06 Joseph Myers <joseph@codesourcery.com>
23349 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23350 approximation for values within 0x1p-13f of an odd multiple of
23352 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23353 exception. Add more tests.
23354 * sysdeps/i386/fpu/libm-test-ulps: Update.
23357 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23358 inputs and return -1 for them. Do not check for +Inf in case not
23359 reachable for +Inf.
23360 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23361 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23362 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23363 and return -1 for them. Do not check for +Inf in case not
23364 reachable for +Inf.
23365 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23367 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23368 and return -1 for them. Do not check for +Inf in case not
23369 reachable for +Inf.
23370 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23371 spurious underflow.
23372 * sysdeps/i386/fpu/libm-test-ulps: Update.
23373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23375 2012-07-06 Mike Frysinger <vapier@gentoo.org>
23377 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23379 2012-07-05 Joseph Myers <joseph@codesourcery.com>
23383 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23384 could result in spurious underflow. Scale down values above
23385 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23386 * math/s_csqrtf.c (__csqrtf): Likewise.
23387 * math/s_csqrtl.c (__csqrtl): Likewise.
23388 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23389 spurious underflow.
23390 * sysdeps/i386/fpu/libm-test-ulps: Update.
23391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23393 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23395 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23397 * catgets/xopen-msg.awk: New file.
23398 * catgets/xopen-msg.sed: Removed.
23400 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23402 * intl/po2test.awk: New file.
23403 * intl/po2test.sed: Removed.
23405 2012-07-04 Joseph Myers <joseph@codesourcery.com>
23408 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23409 or multiply small sinh result by itself.
23410 * math/s_ctanf.c (__ctanf): Likewise.
23411 * math/s_ctanh.c (__ctanh): Likewise.
23412 * math/s_ctanhf.c (__ctanhf): Likewise.
23413 * math/s_ctanhl.c (__ctanhl): Likewise.
23414 * math/s_ctanl.c (__ctanl): Likewise.
23415 * math/libm-test.inc (ctan_test_tonearest): New function.
23416 (ctan_test_towardzero): Likewise.
23417 (ctan_test_downward): Likewise.
23418 (ctan_test_upward): Likewise.
23419 (ctanh_test_tonearest): Likewise.
23420 (ctanh_test_towardzero): Likewise.
23421 (ctanh_test_downward): Likewise.
23422 (ctanh_test_upward): Likewise.
23423 (main): Call these new functions.
23424 * sysdeps/i386/fpu/libm-test-ulps: Update.
23425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23427 2012-07-03 Mike Frysinger <vapier@gentoo.org>
23429 * .gitignore: Delete /ports entry.
23431 2012-07-03 Andreas Jaeger <aj@suse.de>
23433 * po/bg.po: Update from translation team.
23434 * po/cs.po: Likewise.
23435 * po/de.po: Likewise.
23436 * po/hr.po: Likewise.
23437 * po/nl.pl: Likewise.
23438 * po/pl.po: Likewise.
23439 * po/vi.po: Likewise.
23441 2012-07-03 Joseph Myers <joseph@codesourcery.com>
23443 * Makeconfig [!+link] (+link-before-libc): New variable.
23444 [!+link] (+link-after-libc): Likewise.
23445 [!+link] (+link-tests): Likewise.
23446 [!+link] (+link): Define in terms of $(+link-before-libc) and
23447 $(+link-after-libc).
23448 [!+link-static] (+link-static-before-libc): New variable.
23449 [!+link-static] (+link-static-after-libc): Likewise.
23450 [!+link-static] (+link-static-tests): Likewise.
23451 [!+link-static] (+link-static): Define in terms of
23452 $(+link-static-before-libc) and $(+link-static-after-libc).
23453 [build-shared] (link-libc-before-gnulib): New variable.
23454 [build-shared] (link-libc-tests): Likewise.
23455 [build-shared] (link-libc): Define in terms of
23456 $(link-libc-before-gnulib).
23457 [!build-shared] (link-libc-tests): New variable.
23458 (link-libc-static-tests): New variable.
23459 [!gnulib] (gnulib-arch): New variable.
23460 [!gnulib] (gnulib-tests): Likewise.
23461 [!gnulib] (static-gnulib-arch): Likewise.
23462 [!gnulib] (static-gnulib-tests): Likewise.
23463 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23464 Define with "=" instead of ":=".
23465 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23466 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23467 * Rules (binaries-all-notests): New variable.
23468 (binaries-all-tests): Likewise.
23469 (binaries-static-notests): Likewise.
23470 (binaries-static-tests): Likewise.
23471 (binaries-all): Define using $(binaries-all-notests) and
23472 $(binaries-all-tests).
23473 (binaries-static): Define using $(binaries-static-notests) and
23474 $(binaries-static-tests).
23475 (binaries-shared-tests): New variable.
23476 (binaries-shared-notests): Likewise.
23477 (binaries-shared): Remove variable.
23478 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23479 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23480 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23481 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23482 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23483 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23484 * elf/Makefile (sln-modules): New variable.
23485 (extra-objs): Add $(sln-modules:=.o).
23486 (ldconfig-modules): Add static-stubs.
23487 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23488 * elf/static-stubs.c: New file.
23491 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23492 by 7 not 8 to examine high bit of fractional part. Use volatile
23493 variables when splitting into final array of floats if
23494 __FLT_EVAL_METHOD__ != 0.
23495 * math/libm-test.inc (cos_test): Add another test.
23496 (sin_test): Likewise.
23497 * sysdeps/i386/fpu/libm-test-ulps: Update.
23500 * math/libm-test.inc (cosh_test): Add more tests.
23502 * version.h (RELEASE): Set to "development".
23503 (VERSION): Set to "2.16.90".
23505 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23507 * NEWS: Update copyright. Remove last-updated date.
23508 Mention math library bug fixes and timezone data changes.
23509 * README: Mention GNU/Hurd, x32, and HPPA support status.
23511 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23513 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23515 2012-06-27 Andreas Jaeger <aj@suse.de>
23517 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23519 2012-06-25 Andreas Jaeger <aj@suse.de>
23521 * sysdeps/s390/fpu/libm-test-ulps: Update.
23523 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23524 Thomas Schwinge <thomas@codesourcery.com>
23526 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23527 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23528 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23531 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23533 * sysdeps/mach/start.c: Remove file.
23534 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23535 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23536 * sysdeps/sh/init-first.c: Likewise.
23538 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23539 registers for frame unwinding purposes, add CFI directives.
23540 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23541 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23542 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23545 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23546 __fortify_fail returning.
23547 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23549 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23550 sysdeps/sh/____longjmp_chk.S.
23551 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23552 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23553 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23554 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23556 * sysdeps/sh/abort-instr.h: New file.
23557 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23558 process in case exit returns.
23560 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23561 initialize the GOT register before use.
23563 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23564 calculation of ARGC > 4.
23566 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23567 meaningful names to some local labels.
23569 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23570 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23572 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23573 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23574 (__arch_compare_and_exchange_val_16_acq): Likewise.
23575 (__arch_compare_and_exchange_val_32_acq): Likewise.
23576 (atomic_exchange_and_add): Fix gUSA sequence.
23577 (atomic_add): Likewise.
23578 (atomic_add_negative): Likewise.
23579 (atomic_add_zero): Likewise.
23580 (atomic_bit_test_set): Likewise.
23582 2012-06-22 Andreas Schwab <schwab@redhat.com>
23585 * include/link.h (struct link_map): Add l_free_initfini.
23586 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23588 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23589 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23590 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23593 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23595 * configure.in: Use AC_LANG_SOURCE.
23596 * configure: Regenerate.
23598 2012-06-22 Roland McGrath <roland@hack.frob.com>
23600 * configure.in (libc_cv_localstatedir): New substituted variable.
23601 * configure: Regenerated.
23602 * config.make.in (localstatedir): New variable, substituted from
23603 libc_cv_localstatedir.
23604 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23605 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23606 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23607 * sysdeps/gnu/configure: Regenerated.
23609 2012-06-21 Jeff Law <law@redhat.com>
23612 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23613 free. Simplify list management for _LIBC case.
23615 2012-06-21 Joseph Myers <joseph@codesourcery.com>
23618 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23619 Clear sign bit of 64-bit integer value before comparing against
23622 * sysdeps/mach/configure: Regenerated.
23624 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23627 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23629 2012-06-21 Jeff Law <law@redhat.com>
23632 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23633 uint16_t for elements in the "seen" array to avoid char overflows.
23634 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23635 * elf/dl-open.c (dl_open_worker): Likewise.
23637 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23639 * scripts/list-sources.sh: Scan PORTS for translations.
23640 * po/libc.pot: Regenerated.
23642 2012-06-21 Andreas Jaeger <aj@suse.de>
23645 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23647 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23648 * bits/byteswap-16.h (__bswap_16): Likewise.
23649 * bits/byteswap.h (__bswap_constant_16): Likewise.
23651 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23654 * sysdeps/i386/fpu_control.h: Removed.
23655 * sysdeps/x86_64/fpu_control.h: Moved to ...
23656 * sysdeps/x86/fpu_control.h: Here.
23658 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23659 (_FPU_SETCW): Likewise.
23661 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23664 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23665 * sysdeps/x86/fpu/bits/mathinline.h: This.
23666 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23670 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23671 functions if __x86_64__ is defined.
23673 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23675 * string/endian.h: Add !__ASSEMBLER__ condition for including
23676 conversion interfaces.
23678 2012-06-15 Joseph Myers <joseph@codesourcery.com>
23681 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23682 of ABS(x) in calculating zero to negative powers other than odd
23684 * math/libm-test.inc (pow_test): Add more tests.
23686 2012-06-15 Andreas Jaeger <aj@suse.de>
23688 * manual/contrib.texi (Contributors): Update entry of Liubov
23689 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23692 2012-06-15 Cyril Hrubis <metan@ucw.cz>
23694 * string/string.h: Add __wur to GNU version of strerror_r.
23696 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23699 * string/Makefile (tests): Add tst-strtok_r.
23700 * string/tst-strtok_r.c: New file.
23701 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23702 RAX_LP/RDX_LP on SAVE_PTR.
23704 2012-06-14 Roland McGrath <roland@hack.frob.com>
23706 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23708 2012-06-14 Joseph Myers <joseph@codesourcery.com>
23710 * libm_test.inc (csqrt_test): Allow more spurious underflow
23712 (j0_test): Likewise.
23713 (j1_test): Likewise.
23714 (y0_test): Likewise.
23715 (y1_test): Likewise.
23717 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23719 * po/Makefile (libc.pot): Use UTF-8 charset.
23721 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23724 Suppress sign-conversion warning from FD_SET.
23725 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23726 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23727 not unsigned long int.
23728 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23730 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23734 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23735 __extern_always_inline instead of __extern_inline.
23736 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23737 (__signbit): Likewise.
23738 (__signbitl): Support C++ namespace.
23739 (lrintf): New inline function.
23741 (llrintf): Likewise.
23742 (llrint): Likewise.
23752 (floorf): Likewise.
23753 (nearbyint): Likewise.
23754 (nearbyintf): Likewise.
23756 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23758 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23759 non-default versions.
23761 2012-06-11 Roland McGrath <roland@hack.frob.com>
23764 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23766 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23768 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23769 (FE_UPWARD, FE_DOWNWARD): Don't define.
23770 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23771 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23773 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23775 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23776 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23778 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23780 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23781 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23782 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23783 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23785 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23788 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23789 * sysdeps/i386/fpu/Implies: New file.
23790 * sysdeps/x86_64/fpu/Implies: Likewise.
23791 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23792 * sysdeps/x86/fpu/bits/fenv.h: This.
23794 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23797 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23800 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23801 character 0xffff that matches the last element of the
23804 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23806 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23809 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23811 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23812 values higher than 25.6283.
23814 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23816 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23817 subnormal exponent extraction and add some __builtin_expect.
23818 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23819 Fix for subnormal mantissa calculation.
23821 2012-06-04 Mike Frysinger <vapier@gentoo.org>
23823 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23824 cpu2 is -1 and errno is not ENOSYS.
23826 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23829 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23830 * sysdeps/x86/bits/string.h: This.
23831 * sysdeps/x86_64/bits/string.h: Removed.
23833 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23834 if not compiling for x86-64, but compiling for >= i486.
23836 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23837 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23839 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23840 New macro from Linux kernel 3.4.0.
23841 (FP_XSTATE_MAGIC2): Likewise.
23842 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23843 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23844 (struct _fpx_sw_bytes): New struct.
23845 (struct _xsave_hdr): Likewise.
23846 (struct _ymmh_state): Likewise.
23847 (struct _xstate): Likewise.
23849 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23850 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23851 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23852 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23853 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23854 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23856 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23857 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23858 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23859 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23860 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23861 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23863 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23866 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23867 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23868 (sysdep_headers): Include sys/platform/ppc.h.
23869 * sysdeps/powerpc/test-gettimebase.c: Test for
23870 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23871 * manual/Makefile (appendices): Include platform.texi.
23872 * manual/contrib.texi (Contributors): Update @node pointers.
23873 * manual/maint.texi (Maintenance): Likewise.
23874 (Platform): New node.
23875 * manual/platform.texi: New file. Document the new features.
23877 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23878 Jakub Jelinek <jakub@redhat.com>
23881 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23882 where __builtin_expect is unavailable.
23884 2012-06-03 David S. Miller <davem@davemloft.net>
23886 * stdlib/longlong.h: Updated from GCC.
23888 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23891 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23892 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23895 (GLIBC_2.16): Likewise.
23897 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23899 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23901 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23904 (default-abi): New variable.
23905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23906 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23908 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23910 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23912 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23915 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23916 definition. Document in comment.
23918 2012-06-01 David S. Miller <davem@davemloft.net>
23920 * stdlib/longlong.h: Updated from GCC.
23922 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23925 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23926 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23927 sys/debugreg.h sys/io.h here.
23928 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23929 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23931 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23932 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23933 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23934 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23935 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23936 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23938 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23939 Define only if __x86_64__ is defined.
23941 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23944 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23945 Use int64_t for variable i.
23946 * math/libm-test.inc (fmod_test): Add more tests.
23948 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23949 z computation is not scheduled after fetestexcept.
23950 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23951 Use math_force_eval instead of asm to ensure calculation scheduled
23952 before exception test.
23953 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23954 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23956 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23958 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23959 computation is not scheduled after fetestexcept.
23961 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23964 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23965 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23967 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23969 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23970 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23972 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23975 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23977 (__WCHAR_MIN): Support __WORDSIZE == 64.
23978 (__WCHAR_MAX): Likewise.
23980 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23981 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23984 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23985 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23988 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23989 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23991 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23992 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23994 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23995 Defined to 1 if __x86_64__ isn't defined.
23996 (_STAT_VER_LINUX_OLD): New.
23997 (st_atime): Remove duplicate.
23998 (st_mtime): Likewise.
23999 (st_ctime): Likewise.
24001 2012-05-31 David S. Miller <davem@davemloft.net>
24003 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
24006 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
24008 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24012 * elf/dl-reloc.c: Include <_itoa.h>.
24013 (_dl_reloc_bad_type): Remove use of INTUSE.
24014 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24015 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24016 * stdio-common/psiginfo.c (psiginfo): Likewise.
24017 * stdio-common/psignal.c (psignal): Likewise.
24018 * string/strsignal.c (strsignal): Likewise.
24019 * include/signal.h (_sys_siglist): Declare hidden proto.
24020 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
24021 INTVARDEF with libc_hidden_data_def.
24022 * stdio-common/itoa-udigits.c: Likewise.
24023 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24024 (_itoa_lower_digits_internal): Remove declaration.
24025 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24026 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24027 (_sys_sigabbrev_internal): Remove aliases.
24028 (_sys_siglist): Define hidden alias.
24030 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
24032 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24035 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24038 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24039 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24041 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24042 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24043 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24044 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24045 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24046 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24048 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24049 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24050 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24052 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24060 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24061 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24062 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24064 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24065 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24066 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24067 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24068 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24069 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24071 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24072 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24074 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24075 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24077 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24078 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24079 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24081 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24082 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24084 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24086 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24087 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24088 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24090 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24092 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24094 2012-05-31 Joseph Myers <joseph@codesourcery.com>
24096 * math/math.h (M_El): Use two more decimal places.
24097 (M_LOG2El): Likewise.
24098 (M_LOG10El): Likewise.
24099 (M_LN2l): Likewise.
24100 (M_LN10l): Likewise.
24102 (M_PI_2l): Likewise.
24103 (M_PI_4l): Likewise.
24104 (M_1_PIl): Likewise.
24105 (M_2_PIl): Likewise.
24106 (M_2_SQRTPIl): Likewise.
24107 (M_SQRT2l): Likewise.
24108 (M_SQRT1_2l): Likewise.
24110 2012-05-31 David S. Miller <davem@davemloft.net>
24112 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24113 values between float registers.
24114 * sysdeps/sparc/sparc64/memset.S: Likewise.
24115 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24117 2012-05-31 Mike Frysinger <vapier@gentoo.org>
24119 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24120 -D_FORTIFY_SOURCE=1.
24121 (CPPFLAGS-tst-longjmp_chk.c): Define.
24122 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24123 (CPPFLAGS-tst-longjmp_chk2.c): Define.
24124 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24125 CFLAGS-tst-wchar-h.c.
24127 2012-05-31 Marek Polacek <polacek@redhat.com>
24130 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24131 __endmntent_internal): Remove declaration.
24132 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24133 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24134 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24136 2012-05-30 David S. Miller <davem@davemloft.net>
24138 * sysdeps/sparc/sparc32/soft-fp/q_util.c
24139 (___Q_simulate_exceptions): Use real FP ops rather than writing
24141 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24144 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24147 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24148 * sysdeps/x86/bits/xtitypes.h: This.
24150 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24151 * sysdeps/x86/bits/wordsize.h: This.
24153 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24154 * sysdeps/x86/bits/huge_vall.h: This.
24156 * sysdeps/i386/bits/select.h: Removed.
24157 * sysdeps/x86_64/bits/select.h: Renamed to ...
24158 * sysdeps/x86/bits/select.h: This.
24160 * sysdeps/i386/bits/setjmp.h: Removed.
24161 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24162 * sysdeps/x86/bits/setjmp.h: This.
24164 * sysdeps/i386/bits/mathdef.h: Removed.
24165 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24166 * sysdeps/x86/bits/mathdef.h: This.
24168 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
24171 * include/sys/socket.h (__connect_internal)
24172 (__libc_sa_len_internal): Remove declaration.
24173 (__connect, __libc_sa_len): Declare hidden_proto.
24174 (SA_LEN): Remove use of INTUSE.
24175 * socket/connect.c: Add libc_hidden_def.
24176 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24177 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24178 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24180 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24181 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24182 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24183 of adding _internal alias.
24185 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24188 * sysdeps/i386/bits/link.h: Removed.
24189 * sysdeps/i386/bits/linkmap.h: Likewise.
24190 * sysdeps/x86_64/bits/link.h: Renamed to ...
24191 * sysdeps/x86/bits/link.h: This.
24192 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24193 * sysdeps/x86/bits/linkmap.h: This.
24195 * sysdeps/i386/bits/endian.h: Removed.
24196 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24197 * sysdeps/x86/bits/endian.h: This.
24199 * sysdeps/i386/bits/byteswap.h: Removed.
24200 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24201 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24202 * sysdeps/x86/bits/byteswap.h: This.
24203 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24204 * sysdeps/x86/bits/byteswap-16.h: This.
24205 * sysdeps/i386/Implies: Add x86.
24206 * sysdeps/x86_64/Implies: Likewise.
24208 2012-05-30 David S. Miller <davem@davemloft.net>
24210 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24211 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24212 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24213 (FP_TRAPPING_EXCEPTIONS): Define.
24214 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24215 (FP_TRAPPING_EXCEPTIONS): Define.
24216 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24217 subnormals only when inexact has been signalled or underflow
24218 exceptions are enabled.
24219 (_FP_PACK_CANONICAL): Likewise.
24221 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24224 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24225 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24227 2012-05-30 Richard Henderson <rth@twiddle.net>
24229 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24230 with #ifndef NOT_IN_libc.
24232 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24233 marked to avoid plt entry.
24235 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24238 * Makeconfig (default-abi): New macro.
24239 (abi-includes): Likewise.
24240 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24241 $(abi-$(default-abi)-lib-soname) for soname if defined.
24242 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24244 * Makefile (installed-stubs): Likewise.
24245 * include/stubs-biarch.h: Removed.
24246 * scripts/lib-names.awk: Only handle one library at a time.
24247 * scripts/soversions.awk: Remove WORDSIZE support.
24248 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24250 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24252 (syscall-list-default-condition): Likewise.
24253 (syscall-list-default-condition): Likewise.
24254 (syscall-list-includes): Likewise.
24255 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24256 syscall-list-* with abi-*. Handle undefined abi-variants.
24257 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24258 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24259 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24260 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24261 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24262 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24264 (syscall-list-32-options): Likewise.
24265 (syscall-list-32-condition): Likewise.
24266 (syscall-list-64-options): Likewise.
24267 (syscall-list-64-condition): Likewise.
24268 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24270 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24273 (abi-64-ld-soname): New macro.
24274 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24275 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24278 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24279 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24281 2012-05-30 Joseph Myers <joseph@codesourcery.com>
24283 * sysdeps/unix/sysv/linux/kernel-features.h
24284 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24285 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24286 include <kernel-features.h>.
24287 [!__NR_ftruncate64]: Remove conditional code.
24288 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24289 [__NR_ftruncate64]: Make code unconditional.
24290 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24291 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24292 include <kernel-features.h>.
24293 [!__NR_ftruncate64]: Remove conditional code.
24294 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24295 [__NR_ftruncate64]: Make code unconditional.
24296 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24298 include <kernel-features.h>.
24299 [!__NR_ftruncate64]: Remove conditional code.
24300 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24301 [__NR_ftruncate64]: Make code unconditional.
24302 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24304 include <kernel-features.h>.
24305 [!__NR_ftruncate64]: Remove conditional code.
24306 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24307 [__NR_ftruncate64]: Make code unconditional.
24308 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24310 * configure.in (libc_cv_fpie): Weaken to a compile test using
24311 LIBC_TRY_CC_OPTION.
24312 * configure: Regenerated.
24314 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24329 2012-05-27 David S. Miller <davem@davemloft.net>
24331 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24333 (__Q_simulate_exceptions): Return void. Change to simulate
24334 exceptions by writing into the %fsr.
24335 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24336 (__Qp_handle_exceptions): Likewise.
24338 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24339 __Qp_handle_exceptions.
24340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24341 __Qp_handle_exceptions.
24342 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24343 as unused and give dummy FP_RND_NEAREST initializer.
24344 (FP_INHIBIT_RESULTS): Define.
24345 (___Q_simulate_exceptions): Update declaration.
24346 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24348 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24349 as unused and give dummy FP_RND_NEAREST initializer.
24350 (__Qp_handle_exceptions): Update declaration.
24351 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24354 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24356 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24357 the temporary FPU control word.
24358 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24359 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24360 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24361 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24362 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24363 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24364 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24365 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24366 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24367 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24368 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24370 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24372 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24375 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24377 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24378 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24379 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24380 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24382 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24383 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24386 2012-05-27 Ulrich Drepper <drepper@gmail.com>
24388 * po/h.po: Update from translation team.
24390 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24392 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24394 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24395 handling of denormals.
24396 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24397 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24398 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24399 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24400 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24401 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24402 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24405 2012-05-26 Marek Polacek <polacek@redhat.com>
24408 * math/libm-test.inc (fma_test): Don't always expect underflow
24411 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24414 * elf/tst-execstack.c: Include stackinfo.h.
24415 (do_test): Adjust test case to ensure that pthread_getattr_np
24416 behaviour remains the same after marking stack executable.
24418 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24420 * sysdeps/unix/sysv/linux/kernel-features.h
24421 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24422 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24424 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24425 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24426 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24428 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24429 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24431 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24433 * configure.in: Define the default includes to being none.
24434 * configure: Regenerated.
24436 2012-05-25 Roland McGrath <roland@hack.frob.com>
24438 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24439 * sysdeps/x86_64/setjmp.S: Likewise.
24440 * sysdeps/i386/bsd-setjmp.S: Likewise.
24441 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24442 * sysdeps/i386/setjmp.S: Likewise.
24443 * sysdeps/i386/__longjmp.S: Likewise.
24444 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24445 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24447 * include/stap-probe.h: New file.
24448 * configure.in: Handle --enable-systemtap.
24449 * configure: Regenerated.
24450 * config.h.in (USE_STAP_PROBE): New #undef.
24451 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24452 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24453 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24455 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24458 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24459 to 2.4.0 where earlier.
24460 * sysdeps/unix/sysv/linux/configure: Regenerated.
24461 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24462 <kernel-features.h>.
24463 [__ASSUME_32BITUIDS]: Make code unconditional.
24464 [!__ASSUME_32BITUIDS]: Remove conditional code.
24465 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24466 <kernel-features.h>.
24467 [__ASSUME_32BITUIDS]: Make code unconditional.
24468 [!__ASSUME_32BITUIDS]: Remove conditional code.
24469 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24470 [__ASSUME_32BITUIDS]: Make code unconditional.
24471 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24472 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24473 <kernel-features.h>.
24474 [__ASSUME_32BITUIDS]: Make code unconditional.
24475 [!__ASSUME_32BITUIDS]: Remove conditional code.
24476 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24477 <kernel-features.h>.
24478 [__ASSUME_32BITUIDS]: Make code unconditional.
24479 [!__ASSUME_32BITUIDS]: Remove conditional code.
24480 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24481 <kernel-features.h>.
24482 [__ASSUME_32BITUIDS]: Make code unconditional.
24483 [!__ASSUME_32BITUIDS]: Remove conditional code.
24484 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24485 <kernel-features.h>.
24486 [__ASSUME_32BITUIDS]: Make code unconditional.
24487 [!__ASSUME_32BITUIDS]: Remove conditional code.
24488 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24489 <kernel-features.h>.
24490 [__ASSUME_32BITUIDS]: Make code unconditional.
24491 [!__ASSUME_32BITUIDS]: Remove conditional code.
24492 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24493 <kernel-features.h>.
24494 [__ASSUME_32BITUIDS]: Make code unconditional.
24495 [!__ASSUME_32BITUIDS]: Remove conditional code.
24496 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24497 <kernel-features.h>.
24498 [__ASSUME_32BITUIDS]: Make code unconditional.
24499 [!__ASSUME_32BITUIDS]: Remove conditional code.
24500 * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
24513 <kernel-features.h>.
24514 [__NR_setresgid] (__setresgid): Do not declare.
24515 [__ASSUME_32BITUIDS]: Make code unconditional.
24516 [!__ASSUME_32BITUIDS]: Remove conditional code.
24517 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24518 <kernel-features.h>.
24519 [__NR_setresuid] (__setresuid): Do not declare.
24520 [__ASSUME_32BITUIDS]: Make code unconditional.
24521 [!__ASSUME_32BITUIDS]: Remove conditional code.
24522 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24523 <kernel-features.h>.
24524 [__ASSUME_32BITUIDS]: Make code unconditional.
24525 [!__ASSUME_32BITUIDS]: Remove conditional code.
24526 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24527 <kernel-features.h>.
24528 [__ASSUME_32BITUIDS]: Make code unconditional.
24529 [!__ASSUME_32BITUIDS]: Remove conditional code.
24530 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24531 <kernel-features.h>.
24532 [__ASSUME_32BITUIDS]: Make code unconditional.
24533 [!__ASSUME_32BITUIDS]: Remove conditional code.
24534 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24535 <kernel-features.h>.
24536 [__ASSUME_32BITUIDS]: Make code unconditional.
24537 [!__ASSUME_32BITUIDS]: Remove conditional code.
24538 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24539 <kernel-features.h>.
24540 [__ASSUME_32BITUIDS]: Make code unconditional.
24541 [!__ASSUME_32BITUIDS]: Remove conditional code.
24542 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24543 <kernel-features.h>.
24544 [__ASSUME_32BITUIDS]: Make code unconditional.
24545 [!__ASSUME_32BITUIDS]: Remove conditional code.
24546 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24547 <kernel-features.h>.
24548 [__ASSUME_32BITUIDS]: Make code unconditional.
24549 [!__ASSUME_32BITUIDS]: Remove conditional code.
24550 * sysdeps/unix/sysv/linux/i386/setreuid.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/setuid.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/shmctl.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/kernel-features.h
24563 (__ASSUME_SETRESUID_SYSCALL): Remove.
24564 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24565 (__ASSUME_32BITUIDS): Likewise.
24566 (__ASSUME_LDT_WORKS): Likewise.
24567 (__ASSUME_O_DIRECTORY): Likewise.
24568 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24569 architecture but not kernel version.
24570 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24571 (__ASSUME_MMAP2_SYSCALL): Likewise.
24572 (__ASSUME_STAT64_SYSCALL): Likewise.
24573 (__ASSUME_IPC64): Likewise.
24574 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24575 <kernel-features.h>.
24576 [__ASSUME_32BITUIDS]: Make code unconditional.
24577 [!__ASSUME_32BITUIDS]: Remove conditional code.
24578 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24579 <kernel-features.h>.
24580 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24581 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24582 132096]: Remove conditional code.
24583 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24584 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24585 <kernel-features.h>.
24586 [__ASSUME_32BITUIDS]: Make code unconditional.
24587 [!__ASSUME_32BITUIDS]: Remove conditional code.
24588 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24589 <kernel-features.h>.
24590 [__ASSUME_32BITUIDS]: Make code unconditional.
24591 [!__ASSUME_32BITUIDS]: Remove conditional code.
24592 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24593 <kernel-features.h>.
24594 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24596 (__setresgid): Do not declare.
24597 [__ASSUME_32BITUIDS]: Make code unconditional.
24598 [!__ASSUME_32BITUIDS]: Remove conditional code.
24599 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24600 <kernel-features.h>.
24601 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24603 (__setresuid): Do not declare.
24604 [__ASSUME_32BITUIDS]: Make code unconditional.
24605 [!__ASSUME_32BITUIDS]: Remove conditional code.
24606 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24607 <kernel-features.h>.
24608 [__ASSUME_32BITUIDS]: Make code unconditional.
24609 [!__ASSUME_32BITUIDS]: Remove conditional code.
24610 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24611 <kernel-features.h>.
24612 [__ASSUME_32BITUIDS]: Make code unconditional.
24613 [!__ASSUME_32BITUIDS]: Remove conditional code.
24615 2012-05-25 Richard Henderson <rth@twiddle.net>
24617 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24618 dl_hwcap to ifunc resolver.
24619 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24621 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24622 dl_hwcap to ifunc resolver.
24623 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24625 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24628 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24629 for |x| <= 2**-26, not 2**-57.
24630 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24633 2012-05-24 Jeff Law <law@redhat.com>
24635 * stdio-common/Makefile (tests): Add bug25.
24636 * stdio-common/bug25.c: New test.
24638 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24641 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24642 multiple of MALLOC_ALIGNMENT in size.
24643 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24645 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24647 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24649 (FILENAME_MAX): Use macro-int-constant.
24650 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24651 (_IOFBF): Use macro-int-constant.
24652 (_IOLBF): Likewise.
24653 (_IONBF): Likewise.
24654 (SEEK_CUR): Likewise.
24655 (SEEK_END): Likewise.
24656 (SEEK_SET): Likewise.
24657 (TMP_MAX): Likewise.
24658 (EOF): Use macro-int-constant. Require < 0.
24659 (NULL): Use macro-constant. Require == 0.
24660 (stdin): Require type to be FILE *.
24661 (stdout): Likewise.
24662 (stderr): Likewise.
24663 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24664 macro-int-constant.
24665 (EXIT_SUCCESS): Likewise.
24666 (NULL): Use macro-constant. Require == 0.
24667 (RAND_MAX): Use macro-int-constant.
24668 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24669 [C99-based standards] (strtof): Require function.
24670 [C99-based standards] (strtold): Likewise.
24671 [C99-based standards] (strtoll): Likewise.
24672 [C99-based standards] (strtoull): Likewise.
24673 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24674 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24675 [ISO || ISO99 || ISO11] (math.h): Likewise.
24676 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24677 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24678 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24680 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24683 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24684 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24685 * intl/dgettext.c (DCGETTEXT): Likewise.
24686 * intl/gettext.c (DCGETTEXT): Likewise.
24687 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24688 * posix/regex_internal.h (gettext): Likewise.
24689 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24690 Remove declaration.
24691 * include/argz.h (__argz_count_internal)
24692 (__argz_stringify_internal): Remove declaration.
24693 (__argz_count, __argz_stringify): Declare hidden proto.
24694 * intl/dcgettext.c: Remove use of INTDEF.
24695 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24696 * string/argz-stringify.c: Likewise.
24697 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24698 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24699 Declare hidden proto.
24700 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24701 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24702 Declare hidden proto.
24703 * include/stdio.h (__asprintf_internal): Don't declare.
24704 (__asprintf): Don't define as macro. Declare hidden proto.
24705 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24706 (__fsetlocking): Declare hidden proto.
24707 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24708 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24710 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24711 (_IO_setlinebuf): Remove use of INTUSE.
24712 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24713 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24714 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24715 Remove declaration.
24716 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24717 (_IO_do_flush): Remove use of INTUSE.
24718 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24719 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24720 (_IO_adjust_column, _IO_least_wmarker)
24721 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24722 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24723 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24724 (_IO_default_doallocate, _IO_wdefault_doallocate)
24725 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24726 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24727 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24728 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24729 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24730 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24731 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24732 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24733 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24734 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24735 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24736 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24737 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24739 (_IO_flush_all_internal, _IO_adjust_column_internal)
24740 (_IO_default_uflow_internal, _IO_default_finish_internal)
24741 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24742 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24743 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24744 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24745 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24746 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24747 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24748 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24749 (_IO_file_close_internal, _IO_file_close_it_internal)
24750 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24751 (_IO_file_init_internal, _IO_file_attach_internal)
24752 (_IO_file_fopen_internal, _IO_file_read_internal)
24753 (_IO_file_sync_internal, _IO_file_seek_internal)
24754 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24755 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24756 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24757 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24758 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24759 (_IO_list_all_internal, _IO_link_in_internal)
24760 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24761 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24762 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24763 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24764 (_IO_do_write_internal, _IO_padn_internal)
24765 (_IO_getline_info_internal, _IO_getline_internal)
24766 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24767 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24768 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24769 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24770 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24771 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24772 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24773 with libc_hidden_ver, remove use of INTUSE.
24774 * libio/genops.c: Likewise.
24775 * libio/freopen.c: Likewise.
24776 * libio/freopen64.c: Likewise.
24777 * libio/iofclose.c: Likewise.
24778 * libio/iofdopen.c: Likewise.
24779 * libio/iofflush.c: Likewise.
24780 * libio/iofflush_u.c: Likewise.
24781 * libio/iofgets.c: Likewise.
24782 * libio/iofgets_u.c: Likewise.
24783 * libio/iofopen.c: Likewise.
24784 * libio/iofopncook.c: Likewise.
24785 * libio/iofread.c: Likewise.
24786 * libio/iofread_u.c: Likewise.
24787 * libio/ioftell.c: Likewise.
24788 * libio/iofwrite.c: Likewise.
24789 * libio/iogetline.c: Likewise.
24790 * libio/iogets.c: Likewise.
24791 * libio/iogetwline.c: Likewise.
24792 * libio/iopadn.c: Likewise.
24793 * libio/iopopen.c: Likewise.
24794 * libio/ioseekoff.c: Likewise.
24795 * libio/ioseekpos.c: Likewise.
24796 * libio/iosetbuffer.c: Likewise.
24797 * libio/iosetvbuf.c: Likewise.
24798 * libio/ioungetc.c: Likewise.
24799 * libio/ioungetwc.c: Likewise.
24800 * libio/iovdprintf.c: Likewise.
24801 * libio/iovsprintf.c: Likewise.
24802 * libio/iovsscanf.c: Likewise.
24803 * libio/memstream.c: Likewise.
24804 * libio/obprintf.c: Likewise.
24805 * libio/oldfileops.c: Likewise.
24806 * libio/oldiofclose.c: Likewise.
24807 * libio/oldiofdopen.c: Likewise.
24808 * libio/oldiofopen.c: Likewise.
24809 * libio/oldiopopen.c: Likewise.
24810 * libio/oldstdfiles.c: Likewise.
24811 * libio/putc.c: Likewise.
24812 * libio/setbuf.c: Likewise.
24813 * libio/setlinebuf.c: Likewise.
24814 * libio/stdfiles.c: Likewise.
24815 * libio/strops.c: Likewise.
24816 * libio/vasprintf.c: Likewise.
24817 * libio/vscanf.c: Likewise.
24818 * libio/vsnprintf.c: Likewise.
24819 * libio/vswprintf.c: Likewise.
24820 * libio/wfiledoalloc.c: Likewise.
24821 * libio/wfileops.c: Likewise.
24822 * libio/wgenops.c: Likewise.
24823 * libio/wmemstream.c: Likewise.
24824 * libio/wstrops.c: Likewise.
24825 * libio/__fpurge.c: Likewise.
24826 * libio/__fsetlocking.c: Likewise.
24827 * assert/assert.c: Likewise.
24828 * debug/fgets_chk.c: Likewise.
24829 * debug/fgets_u_chk.c: Likewise.
24830 * debug/fread_chk.c: Likewise.
24831 * debug/fread_u_chk.c: Likewise.
24832 * debug/gets_chk.c: Likewise.
24833 * debug/obprintf_chk.c: Likewise.
24834 * debug/vasprintf_chk.c: Likewise.
24835 * debug/vdprintf_chk.c: Likewise.
24836 * debug/vsnprintf_chk.c: Likewise.
24837 * debug/vsprintf_chk.c: Likewise.
24838 * malloc/mtrace.c: Likewise.
24839 * misc/error.c: Likewise.
24840 * misc/syslog.c: Likewise.
24841 * stdio-common/asprintf.c: Likewise.
24842 * stdio-common/fxprintf.c: Likewise.
24843 * stdio-common/getw.c: Likewise.
24844 * stdio-common/isoc99_fscanf.c: Likewise.
24845 * stdio-common/isoc99_scanf.c: Likewise.
24846 * stdio-common/isoc99_vfscanf.c: Likewise.
24847 * stdio-common/isoc99_vscanf.c: Likewise.
24848 * stdio-common/isoc99_vsscanf.c: Likewise.
24849 * stdio-common/printf-prs.c: Likewise.
24850 * stdio-common/printf_fp.c: Likewise.
24851 * stdio-common/printf_fphex.c: Likewise.
24852 * stdio-common/printf_size.c: Likewise.
24853 * stdio-common/putw.c: Likewise.
24854 * stdio-common/scanf.c: Likewise.
24855 * stdio-common/sprintf.c: Likewise.
24856 * stdio-common/tmpfile.c: Likewise.
24857 * stdio-common/vfprintf.c: Likewise.
24858 * stdio-common/vfscanf.c: Likewise.
24859 * stdlib/strfmon_l.c: Likewise.
24860 * sunrpc/openchild.c: Likewise.
24861 * sunrpc/xdr_stdio.c: Likewise.
24862 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24863 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24865 2012-05-24 Roland McGrath <roland@hack.frob.com>
24867 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24869 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24870 in the third column, to generate for the shared library an IFUNC
24871 that uses _dl_vdso_vsym.
24872 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24873 * Makeconfig (object-suffixes-noshared): New variable.
24875 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24876 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24877 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24878 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24881 * include/sys/time.h (__gettimeofday): Remove macro.
24882 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24883 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24885 (__gettimeofday): Add libc_hidden_def.
24886 (gettimeofday): Add libc_hidden_weak.
24887 * sysdeps/mach/gettimeofday.c: Likewise.
24888 * sysdeps/posix/gettimeofday.c: Likewise.
24889 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24890 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24891 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24892 (__gettimeofday_internal): Remove strong_alias.
24893 (__gettimeofday): Add libc_hidden_def.
24894 (gettimeofday): Add libc_hidden_weak.
24895 * sysdeps/unix/syscalls.list (gettimeofday):
24896 Remove __gettimeofday_internal alias.
24898 2012-05-24 Daniel Jacobowitz <drow@false.org>
24899 H.J. Lu <hongjiu.lu@intel.com>
24902 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24903 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24904 (largebin_index_32_big): New.
24905 (largebin_index): Use it for 16-byte alignment.
24906 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24907 correction with front_misalign.
24909 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24937 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24938 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24940 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24944 * math/libm-test.inc (exp_test): Add test from bug 14036.
24945 (pow_test): Add test from bug 10846.
24947 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24949 (special_function): Do not include flags in test name.
24950 (parse_args): Likewise.
24951 * sysdeps/i386/fpu/libm-test-ulps: Update.
24952 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24953 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24954 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24957 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24959 * math/libm-test.inc ("Philosophy"): Update comment about
24961 (UNDERFLOW_EXCEPTION): New macro.
24962 (UNDERFLOW_EXCEPTION_OK): Likewise.
24963 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24964 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24965 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24966 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24967 (INVALID_EXCEPTION_OK): Update value.
24968 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24969 (OVERFLOW_EXCEPTION_OK): Likewise.
24970 (IGNORE_ZERO_INF_SIGN): Likewise.
24971 (test_exceptions): Handle underflow exceptions.
24972 (acos_test): Update for underflow exception expectations.
24973 (cexp_test): Likewise.
24974 (clog_test): Likewise.
24975 (clog10_test): Likewise.
24976 (csqrt_test): Likewise.
24977 (ctan_test): Likewise.
24978 (ctanh_test): Likewise.
24979 (exp_test): Likewise.
24980 (exp10_test): Likewise.
24981 (exp2_test): Likewise.
24982 (expm1_test): Likewise.
24983 (fma_test): Likewise.
24984 (j0_test): Likewise.
24985 (jn_test): Likewise.
24986 (nexttoward_test): Likewise.
24987 (pow_test): Likewise.
24988 (scalbn_test): Likewise.
24989 (scalbln_test): Likewise.
24990 (tan_test): Likewise.
24991 (y1_test): Likewise.
24992 * sysdeps/i386/fpu/libm-test-ulps: Update.
24993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24995 2012-05-23 David S. Miller <davem@davemloft.net>
24997 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24998 (__libc_sigaction): Remove unused local variables.
25000 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25002 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
25004 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
25006 mktime: avoid signed integer overflow
25007 * time/mktime.c (__mktime_internal): Do not mishandle the case
25008 where diff == INT_MIN.
25010 mktime: simplify computation of average
25011 * time/mktime.c (ranged_convert): Use new time_t_avg function
25012 instead of rolling our own (probably-slower) code.
25014 mktime: do not assume signed right shift propagates sign bit
25015 * time/mktime.c (isdst_differ): New static function.
25016 (__mktime_internal): No need to normalize tm_isdst now.
25017 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25020 mktime: merge another wrapv change from gnulib
25021 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25022 from some compilers.
25024 mktime: remove incorrect attempt at unusual arithmetics
25025 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25026 The code didn't really work on such machines anyway.
25027 (TYPE_MINIMUM): Assume two's complement.
25028 (twos_complement_arithmetic): Verify that long_int and time_t
25029 are two's complement (or unsigned, in the latter case).
25031 mktime: check signed shifts on long_int and time_t, too
25032 * time/mktime.c (SHR): Check that shifts work as desired
25033 on the types long_int and time_t too, as SHR is used on
25036 mktime: do not assume 'long' is wide enough
25037 * time/mktime.c (verify): Move decl up.
25038 (long_int): New type.
25039 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25040 to remove assumption in the code that 'long' is wide enough to
25041 store year values. This assumption is not true on x32 and on
25042 some non-glibc platforms.
25044 mktime: merge wrapv change from gnulib
25045 * time/mktime.c (WRAPV): New macro.
25046 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25047 (guess_time_tm, __mktime_internal): Do not assume that signed
25048 integer overflow wraps around; modern compilers generate code
25049 where this assumption is no longer valid.
25051 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25053 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25054 Replace "jmp L(pseudo_end)" with "ret".
25055 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25058 2012-05-23 Andreas Jaeger <aj@suse.de>
25060 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25061 * sysdeps/unix/sysv/linux/poll.c: Remove file.
25063 2012-05-23 Andreas Jaeger <aj@suse.de>
25064 Maximilian Attems <max@stro.at>
25066 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25069 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25071 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25072 code so that pseudo_end is just ret and the stack pointer is
25073 correct also for static library in error case.
25075 2012-05-23 Joseph Myers <joseph@codesourcery.com>
25077 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25078 move to syscalls.list.
25079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25084 * manual/install.texi (Running make install): Do not mention Linux
25085 kernel version for which pt_chown is not needed.
25086 (Linux): Do not mention problems with nscd with 2.0 kernels.
25087 * INSTALL: Regenerated.
25089 2012-05-23 Andreas Jaeger <aj@suse.de>
25091 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25092 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25094 * sysdeps/unix/sysv/linux/s390/bits/mman.h
25095 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25096 * sysdeps/unix/sysv/linux/sh/bits/mman.h
25097 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25098 * sysdeps/unix/sysv/linux/i386/bits/mman.h
25099 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25100 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25101 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25102 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25103 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25104 * sysdeps/unix/sysv/linux/bits/in.h
25105 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25107 2012-05-22 Roland McGrath <roland@hack.frob.com>
25109 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25110 (PREPARE_VERSION): Just use assert instead, it will be elided
25111 under [NDEBUG] anyway.
25113 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25115 * sysdeps/unix/sysv/linux/Makefile: Include
25116 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
25117 (sysdep_routines): Remove sysctl.
25118 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25119 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25120 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25121 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25122 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25124 2012-05-22 Andreas Jaeger <aj@suse.de>
25126 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25127 that pseudo_end is just ret and the stack pointer is correct also
25128 for static library in error case.
25130 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
25133 * nss/nsswitch.c (defconfig_entries): New variable.
25134 (__nss_database_lookup): Don't leak defconfig entries.
25135 (nss_parse_service_list): Don't leak on error paths.
25136 (free_database_entries): New function.
25137 (free_defconfig): New function.
25138 (free_mem): Move common code to free_database_entries.
25140 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25142 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25144 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25146 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25147 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25150 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25151 (INTERNAL_SYSCALL_TYPES): Likewise.
25152 (LOAD_ARGS_TYPES_[1-6]): Likewise.
25153 (LOAD_REGS_TYPES_[1-6]): Likewise.
25154 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25155 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25157 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25159 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25160 copysignl for GLIBC_2_0.
25161 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25162 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25163 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25164 logbl for GLIBC_2_0.
25165 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25166 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25168 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25170 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25171 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25173 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25176 * time/mktime.c: Update copyright years.
25178 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25180 mktime: merge comment-quoting-style change from gnulib
25181 * time/mktime.c: Quote 'like this' in comments.
25182 The GNU coding standards suggest that we no longer quote `like this',
25183 as "`" and "'" are typically rendered asymmetrically nowadays.
25184 The typical gnulib style is to quote 'like this' when quoting
25185 code, and "like this" when quoting English.
25187 * time/mktime.c (compile-command): Add "-I.".
25189 mktime: merge mktime-internal.h change from gnulib
25190 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25192 mktime: merge time_r change from gnulib
25193 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25195 mktime: merge DEBUG change from gnulib
25196 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25197 case system <time.h> has a #define.
25199 mktime: merge <sys/types.h> change from gnulib
25200 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25201 since <time.t> is now guaranteed to define time_t.
25203 mktime: merge HAVE_CONFIG_H change from gnulib
25204 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25206 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25208 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25211 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25213 (struct rusage): Use anonymous union to pad each field to
25216 2012-05-21 David S. Miller <davem@davemloft.net>
25218 * Makefules (o-iterator): Remove .s cases.
25219 (compile-command.s): Delete.
25220 (COMPILE.s): Delete.
25221 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25223 2012-05-21 Joseph Myers <joseph@codesourcery.com>
25225 * configure.in (libc_cv_predef_stack_protector): Only consider
25226 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25227 * configure: Regenerated.
25229 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25231 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25232 New macro. Use R*LP on int and pointer.
25233 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
25234 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25235 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
25236 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25238 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25239 [__WORDSIZE_TIME64_COMPAT32] instead of
25240 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25241 (struct utmp): Likewise.
25242 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25243 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25245 (__WORDSIZE_TIME64_COMPAT32): This.
25246 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25247 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25248 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25249 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25250 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25251 (__WORDSIZE_TIME64_COMPAT32): New macro.
25253 2012-05-21 Andreas Jaeger <aj@suse.de>
25255 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25256 only if [SHARED]. Add prototype for __wcschr_ia32.
25258 2012-05-21 Roland McGrath <roland@hack.frob.com>
25260 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25261 of %rbp unmolested in the jmp_buf while mangling the low bits.
25262 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25263 unmolested high bits of %rbp while demangling the low bits.
25264 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25266 2012-05-21 Andreas Jaeger <aj@suse.de>
25268 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25269 * sunrpc/svc_simple.c: Use it for registerrpc.
25270 * sunrpc/xcrypt.c: Use it for passwd2des.
25272 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25274 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25276 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25277 Don't define if [__SYSCALL_WORDSIZE != 32].
25278 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25281 2012-05-21 Bruno Haible <bruno@clisp.org>
25282 Andreas Jaeger <aj@suse.de>
25284 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25285 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25286 inptr and inend for must_buffer_ch.
25287 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25288 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25289 * stdio-common/Makefile (tests): Remove bug15.
25290 (bug15-ENV): Remove macro.
25291 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25294 2012-05-19 Andreas Jaeger <aj@suse.de>
25295 Roland McGrath <roland@hack.frob.com>
25297 * manual/contrib.texi: Completely rewritten. It contains now an
25298 alphabetical list of contributors and their contributions.
25300 2012-05-21 Richard Henderson <rth@twiddle.net>
25302 * misc/getauxval.c (__getauxval): Use unsigned long int.
25303 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25304 (getauxval): Use unsigned long int.
25306 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25308 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25310 2012-05-21 Roland McGrath <roland@hack.frob.com>
25312 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25313 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25314 __alignof__ (long double).
25316 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25320 2012-05-20 Richard Henderson <rth@twiddle.net>
25322 * misc/getauxval.c: New file.
25323 * misc/sys/auxv.h: New file.
25324 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25325 (routines): Add getauxval.
25326 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25327 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25328 * elf/dl-sysdep.c (_dl_auxv): Remove.
25329 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25330 * elf/dl-support.c (_dl_auxv): New variable.
25331 (_dl_aux_init): Initialize it.
25332 * manual/startup.texi (Auxiliary Vector): New node.
25333 * sysdeps/generic/bits/hwcap.h: New file.
25334 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25335 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25336 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25337 * sysdeps/sparc/sysdep.h: ... here. Include it.
25338 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25339 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
25340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25345 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25351 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25355 2012-05-19 David S. Miller <davem@davemloft.net>
25357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25359 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25362 * math/s_ccosh.c: Include <float.h>
25363 (__ccosh): Avoid internal overflow calculating sinh and cosh
25364 values before multiplying by sin and cos values.
25365 * math/s_ccoshf.c: Likewise.
25366 * math/s_ccoshl.c: Likewise.
25367 * math/s_csin.c: Likewise.
25368 * math/s_csinf.c: Likewise.
25369 * math/s_csinl.c: Likewise.
25370 * math/s_csinh.c: Likewise.
25371 * math/s_csinhf.c: Likewise.
25372 * math/s_csinhl.c: Likewise.
25373 * math/libm-test.inc (ccos_test): Add more tests.
25374 (ccosh_test): Likewise.
25375 (csin_test): Likewise.
25376 (csinh_test): Likewise.
25377 * sysdeps/i386/fpu/libm-test-ulps: Update.
25378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25380 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25382 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25383 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25385 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25387 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25389 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25390 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25391 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25392 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25393 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25394 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25395 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25396 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25397 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25398 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25399 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25400 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25401 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25402 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25403 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25404 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25405 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25406 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25407 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25408 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25409 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25410 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25411 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25412 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25413 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25414 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25415 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25416 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25417 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25418 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25419 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25421 2012-05-18 Andreas Jaeger <aj@suse.de>
25423 * csu/.gitignore: Delete.
25425 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25427 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25428 (timex): Use __syscall_slong_t.
25430 2012-05-18 Andreas Jaeger <aj@suse.de>
25431 Carlos O'Donell <carlos_odonell@mentor.com>
25433 * manual/install.texi (Configuring and compiling): Update
25434 description about files modified in the source directory.
25435 * INSTALL: Regenerated.
25437 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25439 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25440 value. Use "or" to set return value to -1.
25441 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25442 negate return value.
25444 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25446 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25447 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25448 failure if the compiler has Graphite support disabled.
25449 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25451 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25452 CFLAGS-memmove.c): Likewise.
25453 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25456 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25458 * sysdeps/x86_64/x32/_itoa.h: New file.
25460 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25461 getdents system call only if kernel and user dirents have the
25462 same d_ino and d_off.
25464 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25465 LLONG_MAX != LONG_MAX.
25466 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25467 (_fitoa_word): Likewise.
25469 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25471 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25472 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25473 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25475 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25476 include <bits/wordsize.h>. Check __x86_64__ instead of
25478 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25479 if __x86_64__ is defined. Use anonymous union on fpstate.
25481 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25484 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25486 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25487 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25488 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25489 Refer to _rtld_local_ro instead of _rtld_global_ro.
25490 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25492 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25494 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25496 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25497 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25498 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25500 * sysdeps/powerpc/powerpc32/dl-machine.c
25501 (__elf_machine_runtime_setup) [PROF]: Don't reference
25504 2012-05-18 Andreas Jaeger <aj@suse.de>
25506 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25507 function only available for GCCs before 3.4 since GCC 3.4
25508 introduced a builtin.
25510 (llrintf): Likewise.
25511 (llrint): Likewise.
25518 (nearbyint): Likewise.
25519 (nearbyintf): Likewise.
25523 (floorf): Likewise.
25525 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25527 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25528 on both fields and cast pointer to __syscall_ulong_t.
25530 * bits/types.h (__fsword_t): New type.
25531 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25532 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25533 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25534 (__FSWORD_T_TYPE): Likewise.
25535 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25536 (__FSWORD_T_TYPE): Likewise.
25537 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25538 (__FSWORD_T_TYPE): Likewise.
25539 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25540 (__FSWORD_T_TYPE): Likewise.
25541 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25542 __SWORD_TYPE with __fsword_t.
25543 (statfs64): Likewise.
25545 2012-05-17 David S. Miller <davem@davemloft.net>
25547 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25549 2012-05-17 Andreas Jaeger <aj@suse.de>
25551 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25554 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25556 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25558 2012-05-17 Andreas Jaeger <aj@suse.de>
25560 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25563 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25565 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25567 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25569 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25570 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25572 2012-05-17 Andreas Jaeger <aj@suse.de>
25573 Carlos O'Donell <carlos_odonell@mentor.com>
25576 * sysdeps/x86_64/multiarch/init-arch.h
25577 (bit_YMM_Usable): Rename to...
25578 (bit_AVX_Usable): ... this.
25579 (bit_FMA4_Usable): New macro.
25580 (bit_XMM_state): New macro.
25581 (bit_YMM_state): New macro.
25582 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25583 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25584 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25585 (CPUID_OSXSAVE): New macro.
25586 (CPUID_AVX): New macro.
25587 (CPUID_FMA4): New macro.
25588 (index_YMM_Usable): Rename to...
25589 (index_AVX_Usable): ... this.
25590 (HAS_AVX): Use HAS_ARCH_FEATURE.
25591 (HAS_FMA4): Likewise.
25592 (HAS_YMM_USABLE): Remove.
25593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25594 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25596 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25597 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25598 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25599 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25600 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25602 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25604 * math/libm-test.c: Support platforms without multiple rounding modes.
25605 * math/bug-nextafter.c: Support platforms without FP exceptions.
25606 * math/bug-nexttoward.c: Likewise.
25607 * math/test-fenv.c: Likewise.
25608 * math/test-misc.c: Likewise.
25609 * stdlib/bug-getcontext.c: Likewise.
25611 2012-05-17 Andreas Jaeger <aj@suse.de>
25613 * manual/examples/search.c (critter_cmp): Change signature to
25615 * manual/string.texi (Collation Functions): Likewise.
25617 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25619 * bits/types.h: Fold copyright years.
25620 * bits/typesizes.h: Likewise.
25621 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25622 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25624 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25625 * time/time.h: Likewise.
25627 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25630 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25631 in instead of returning them. Return void.
25632 (__libc_mallinfo): Accumulate over all arenas.
25633 (__malloc_stats): Adjust for change in int_mallinfo interface.
25635 2012-05-16 Roland McGrath <roland@hack.frob.com>
25638 * configure.in (NM): Add AC_CHECK_TOOL for it.
25639 (libc_extra_cflags): New substituted variable.
25640 Check for -fstack-protector being used implicitly.
25641 * configure: Regenerated.
25642 * config.make.in (config-extra-cflags): New variable,
25643 gets @libc_extra_cflags@.
25644 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25647 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25648 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25649 * configure: Regenerated.
25650 * config.make.in (CPPUNDEFS): New substituted variable.
25651 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25652 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25653 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25655 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25657 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25658 (mq_attr): Use __syscall_slong_t.
25660 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25662 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25663 Check __x86_64__ instead of __WORDSIZE.
25664 (_STAT_VER_LINUX): Likewise.
25665 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25666 __syscall_ulong_t and __syscall_slong_t.
25667 (stat64): Likewise.
25669 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25671 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25673 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25675 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25677 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25679 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25682 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25683 include <bits/wordsize.h>. Check __x86_64__ instead of
25685 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25687 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25689 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25690 include <bits/wordsize.h>. Check __x86_64__ instead of
25692 (user_regs_struct): Use "__extension__ unsigned long long"
25693 instead of "unsigned long" if __x86_64__ is defined.
25694 (user): Likewise. Pad after pointer field if __ILP32__ is
25697 2012-05-16 Joseph Myers <joseph@codesourcery.com>
25699 * configure.in (makeinfo): Require version 4.5 or later. Allow
25701 * configure: Regenerated.
25702 * manual/install.texi (texinfo): Increase version requirement to
25704 * INSTALL: Regenerated.
25706 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25708 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25710 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25712 * sysdeps/x86_64/x32/ffs.c: New file.
25714 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25716 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25717 defined. Use __syscall_ulong_t.
25718 (shminfo): Use __syscall_ulong_t.
25719 (shm_info): Likewise.
25721 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25724 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25726 (msgqnum_t): Use __syscall_ulong_t.
25727 (msglen_t): Likewise.
25728 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25731 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25732 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25734 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25736 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25737 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25739 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25742 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25743 include <bits/wordsize.h>. Check __x86_64__ instead of
25746 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25747 "unsigned long long int" if __x86_64__ is defined.
25748 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25750 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25751 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25752 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25754 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25756 (GET_PC): Cast to uintptr_t first.
25757 (GET_FRAME): Likewise.
25758 (GET_STACK): Likewise.
25760 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25761 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25762 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25763 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25764 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25765 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25766 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25767 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25768 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25769 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25770 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25771 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25772 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25773 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25774 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25775 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25776 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25777 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25778 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25779 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25780 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25781 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25782 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25783 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25784 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25785 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25786 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25787 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25788 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25790 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25792 * Makerules (+depfiles): Also collect depfiles from .oS in
25794 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25795 .oS, $(libnldbl-routines)).
25797 * Makerules (native-compile-mkdep-flags): Define.
25798 * sunrpc/Makefile (extra-objs): Add $(addprefix
25799 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25800 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25801 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25802 calling $(make-target-directory).
25804 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25806 * bits/types.h (__snseconds_t): Removed.
25807 * time/time.h (struct timespec): Replace __snseconds_t with
25809 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25810 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25812 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25813 (__SNSECONDS_T_TYPE): Likewise.
25814 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25815 (__SNSECONDS_T_TYPE): Likewise.
25816 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25817 (__SNSECONDS_T_TYPE): Likewise.
25819 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25821 * sysdeps/mach/hurd/bits/typesizes.h
25822 (__SYSCALL_SLONG_TYPE): New macro.
25823 (__SYSCALL_ULONG_TYPE): Likewise.
25825 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25827 * bits/types.h (__syscall_slong_t): New type.
25828 (__syscall_ulong_t): Likewise.
25830 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25831 (__SYSCALL_ULONG_TYPE): Likewise.
25832 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25833 (__SYSCALL_SLONG_TYPE): Likewise.
25834 (__SYSCALL_ULONG_TYPE): Likewise.
25835 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25836 (__SYSCALL_SLONG_TYPE): Likewise.
25837 (__SYSCALL_ULONG_TYPE): Likewise.
25838 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25839 (__SYSCALL_SLONG_TYPE): Likewise.
25840 (__SYSCALL_ULONG_TYPE): Likewise.
25842 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25844 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25845 Add sigaltstack-offsets.sym.
25846 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25847 <sigaltstack-offsets.h>.
25848 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25849 longjmp_msg pointer.
25850 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25851 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25853 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25855 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25857 * elf/stackguard-macros.h: Remove file.
25858 * sysdeps/generic/stackguard-macros.h: New file.
25859 * sysdeps/i386/stackguard-macros.h: Likewise.
25860 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25861 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25862 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25863 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25864 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25865 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25866 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25867 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25868 <elf/stackguard-macros.h>.
25871 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25872 __aligned__ in attribute.
25873 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25874 (gregset_t): Likewise.
25876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25878 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25879 * sysdeps/x86_64/64/Implies-after: Here. New file.
25880 * sysdeps/x86_64/x32/Implies-after: New file.
25882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25884 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25885 and access return value for _dl_profile_fixup. Use R10_LP to
25888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25890 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25892 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25894 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25895 * sysdeps/x86_64/x32/sysdep.h: New file.
25897 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25899 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25900 * sysdeps/x86_64/setjmp.S: Likewise.
25902 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25904 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25905 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25906 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25907 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25908 remove unused global constant.
25910 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25912 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25913 include of <not-cancel.h>.
25915 2012-05-15 Roland McGrath <roland@hack.frob.com>
25917 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25919 2012-05-15 Jeff Law <law@redhat.com>
25920 Andreas Jaeger <aj@suse.de>
25923 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25925 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25926 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25927 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25928 code changing __hst_map_handle.map.
25930 2012-05-15 Roland McGrath <roland@hack.frob.com>
25932 * configure.in (sysnames): Look for Implies-before and Implies-after
25934 * configure: Regenerated.
25936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25938 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25939 8-byte data alignment with LP_SIZE alignment.
25941 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25943 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25946 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25948 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25950 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25952 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25953 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25954 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25956 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25960 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25961 (stackinfo_sub_sp): Likewise.
25963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25965 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25968 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25970 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25973 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25975 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25980 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25982 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25984 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25985 into R11_LP and load __x86_64_shared_cache_size_half into
25988 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25990 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25993 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25995 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25997 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25999 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
26001 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
26002 powerpc32/power7/fpu/s_logb.c via #include.
26003 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
26004 powerpc32/power7/fpu/s_logbf.c via #include.
26005 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
26006 powerpc32/power7/fpu/s_logbl.c via #include.
26008 2012-05-15 Joseph Myers <joseph@codesourcery.com>
26010 * README.libm: Remove file.
26012 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26014 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26015 count for x32. Use R*_LP and omit operand-size suffix.
26017 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26019 * shlib-versions: Move x86_64-.*-linux.* entries to ...
26020 * sysdeps/x86_64/64/shlib-versions: Here. New file.
26021 * sysdeps/x86_64/x32/shlib-versions: New file.
26023 2012-05-14 Roland McGrath <roland@hack.frob.com>
26025 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26026 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26027 Use _dl_fatal_printf instead.
26029 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26031 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26032 set if not set by the user. Do not allow for being unset.
26033 * sysdeps/unix/sysv/linux/configure: Regenerated.
26035 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26037 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26038 the `q' suffix from lea and replace .quad with ASM_ADDR.
26040 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26042 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26043 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
26045 (PTR_DEMANGLE): Likewise.
26047 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26049 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26051 (ASM_ADDR): Likewise.
26052 (RAX_LP): Likewise.
26053 (RBP_LP): Likewise.
26054 (RBX_LP): Likewise.
26055 (RCX_LP): Likewise.
26056 (RDI_LP): Likewise.
26057 (RSI_LP): Likewise.
26058 (RSP_LP): Likewise.
26061 (R10_LP): Likewise.
26062 (R10_LP): Likewise.
26063 (R11_LP): Likewise.
26064 (R12_LP): Likewise.
26065 (R13_LP): Likewise.
26066 (R14_LP): Likewise.
26067 (R15_LP): Likewise.
26069 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26071 * sysdeps/x86_64/x32/dl-machine.h: New file.
26073 2012-05-14 Andreas Jaeger <aj@suse.de>
26075 * manual/Makefile (subdir): Remove export of subdir.
26076 (all): Remove target.
26077 (.PHONY): Remove all from list.
26078 (mkinstalldirs): Remove.
26079 (.PHONY): Remove installdirs from list.
26080 ($(inst_infodir)/libc.info): Use make-target-directory.
26081 (installdirs): Remove.
26082 (subdir_%): Remove.
26083 (glibc-targets): Remove.
26086 ($(objpfx)stubs ../po/manual.pot): Remove.
26087 ($(objpfx)stamp%): Remove.
26088 (make-target-directory): Remove.
26089 (subdir_install): Remove.
26090 (routines): Remove.
26097 * manual/.gitignore: Remove, it's not needed anymore.
26098 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26100 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26102 (texis): Renamed to $(objpfx)texis.
26103 (texis-path): New, contains path to generated files.
26104 (chapters.%): Use texis-path for complete path, add extra argument
26106 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26107 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26108 (summary,texi, stamp-summary): Use complete path of
26109 files. Generate files in build dir.
26110 (dir-add.texi): Build in build dir.
26111 (libm-err.texi,stamp-libm-err): Likewise.
26112 (version.texi, stamp-version): Likewise.
26113 (.%c.texi): Likewise.
26114 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26115 (mostlyclean): Remove target.
26116 (realclean): Remove target.
26117 (generated): Add new variable with contents from mostlyclean and
26118 realclean, remove entries duplicated in common-mostlyclean, add
26119 stamp-libm-err and stamp-version.
26120 (generated-dirs): Add libc directory.
26121 ($(inst_infodir)/libc.info): Install files from build dir.
26123 * manual/install.texi (Configuring and compiling): Adjust since
26124 the info files are not part of the tar ball anymore.
26126 2012-05-14 Andreas Jaeger <aj@suse.de>
26128 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26131 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26134 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26135 to 2.2.0 where earlier.
26136 * sysdeps/unix/sysv/linux/configure: Regenerated.
26137 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26138 Remove conditional code.
26139 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26140 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26141 Remove conditional code.
26142 [!__NR_lchown]: Likewise.
26143 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26144 [__NR_lchown]: Likewise.
26145 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26146 comment referencing __ASSUME_LCHOWN_SYSCALL.
26147 * sysdeps/unix/sysv/linux/i386/sigaction.c
26148 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26149 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26150 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26151 Remove conditional code.
26152 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26153 (__protocol_available): Remove #if 0 code.
26154 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26156 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26157 * sysdeps/unix/sysv/linux/kernel-features.h
26158 (__ASSUME_GETCWD_SYSCALL): Don't define.
26159 (__ASSUME_REALTIME_SIGNALS): Likewise.
26160 (__ASSUME_PREAD_SYSCALL): Likewise.
26161 (__ASSUME_PWRITE_SYSCALL): Likewise.
26162 (__ASSUME_POLL_SYSCALL): Likewise.
26163 (__ASSUME_LCHOWN_SYSCALL): Likewise.
26164 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26166 (__ASSUME_SIOCGIFNAME): Don't define.
26167 (__ASSUME_MSG_NOSIGNAL): Likewise.
26168 (__ASSUME_SENDFILE): Define unconditionally.
26169 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26170 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26172 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26173 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26174 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26175 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26176 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26177 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26178 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26180 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26181 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26183 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26184 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26186 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26187 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26189 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26190 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26192 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26193 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26195 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26196 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26198 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26199 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26201 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26202 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26203 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26204 Remove conditional code.
26205 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26206 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26207 Remove conditional code.
26208 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26209 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26210 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26211 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26212 Remove conditional code.
26213 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26214 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26215 Remove conditional code.
26216 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26217 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26218 Remove conditional code.
26219 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26220 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26221 Remove conditional code.
26222 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26223 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26224 Remove conditional code.
26225 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26226 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26227 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26228 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26229 * sysdeps/unix/sysv/linux/sigaction.c
26230 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26231 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26232 * sysdeps/unix/sysv/linux/sigpending.c
26233 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26234 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26235 * sysdeps/unix/sysv/linux/sigprocmask.c
26236 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26237 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26238 * sysdeps/unix/sysv/linux/sigsuspend.c
26239 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26240 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26241 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26242 (__libc_missing_rt_sigs): Remove.
26243 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26244 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26245 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26246 Remove conditional code.
26247 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26248 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26250 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26251 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26252 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26253 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26255 2012-05-14 Andreas Jaeger <aj@suse.de>
26257 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26258 it's not used in glibc.
26259 (__coshm1): Likewise.
26260 (__acosh1p): Likewise.
26263 * manual/string.texi (Copying and Concatenation): Add missing
26264 variable in concat example.
26265 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26267 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26270 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26271 __builtin_clzl with __builtin_clzll.
26273 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26276 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26279 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26281 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26282 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26283 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26284 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26286 2012-05-14 Mike Frysinger <vapier@gentoo.org>
26288 * NEWS: Update ia64 info.
26290 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26292 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26295 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26297 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26298 * sysdeps/unix/syscalls.list (dup3): Likewise.
26299 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26300 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26302 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26304 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26305 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26307 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26309 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26311 (TLS_IE): Use mov/add instead of movq/addq to load thread
26313 (TLS_GD_PREFIX): New.
26316 2012-05-11 David S. Miller <davem@davemloft.net>
26318 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26319 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26320 (_FPU_SETCW): Likewise.
26322 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26324 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26325 is 32-byte aligned.
26327 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26330 * iconvdata/gb18030.c: Update tables.
26331 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26332 characters specially.
26333 (BODY for TO_LOOP): Add encoding of missing ranges.
26335 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26338 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26339 * sysdeps/mach/hurd/dup3.c: Likewise.
26340 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26341 * sysdeps/powerpc/memmove.c:: Likewise.
26343 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26345 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26346 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26348 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26350 * elf/elf.h (R_X86_64_RELATIVE64): New.
26351 (R_X86_64_NUM): Updated.
26352 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26353 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26354 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26355 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26356 tst-quad1pie tst-quad2pie
26357 (modules-names): Add tst-quadmod1 tst-quadmod2.
26358 ($(objpfx)tst-quad1): New dependency.
26359 ($(objpfx)tst-quad2): Likewise.
26360 ($(objpfx)tst-quad1pie): Likewise.
26361 ($(objpfx)tst-quad2pie): Likewise.
26362 * sysdeps/x86_64/tst-quad1.c: New file.
26363 * sysdeps/x86_64/tst-quad1pie.c: New file.
26364 * sysdeps/x86_64/tst-quad2.c: Likewise.
26365 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26366 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26367 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26368 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26369 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26371 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26373 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26374 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26375 * streams/stropts.h (t_scalar_t): Define type.
26377 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26378 (_PATH_PRESERVE): Set to "/var/lib".
26379 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26381 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26384 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26385 if __dir_mkfile succeeded.
26387 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26388 checking for _hurd_dtablesize. Unlock it right after having
26389 finished _hurd_dtable allocation.
26391 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26393 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26394 * sysdeps/mach/hurd/configure: Regenerated.
26395 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26396 special-casing to...
26397 * sysdeps/gnu/configure.in: ... this new file.
26398 * sysdeps/unix/sysv/linux/configure: Regenerated.
26399 * sysdeps/gnu/configure: New generated file.
26401 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26402 for Linux: use nsec instead of usec, as well as:
26403 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26404 members of type struct timespec.
26405 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26407 (struct stat64): Likewise.
26408 (_STATBUF_ST_NSEC): New macro.
26409 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26411 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26412 __strtoul_internal rather than strtoul.
26414 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26416 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26419 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26421 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26422 which preserves existing values.
26423 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26425 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26427 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26428 TIMEOUT values. Return EINVAL for NFDS values either negative or
26429 greater than FD_SETSIZE.
26431 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26433 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26434 allocated, call __vm_protect to finish enabling the existing space, and
26435 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26436 allocate the remainder.
26438 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26440 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26441 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26443 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26445 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26446 sysdeps/mach/hurd/readlink.c.
26448 * posix/tst-sysconf.c (posix_options): Only use
26449 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26450 _POSIX_SYNCHRONIZED_IO when they are defined
26451 * sysdeps/mach/hurd/bits/posix_opt.h:
26452 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26453 (_XOPEN_REALTIME): Undefine macro.
26454 (_XOPEN_REALTIME_THREADS): Undefine macro.
26455 (_XOPEN_SHM): Undefine macro.
26456 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26458 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26460 (_POSIX_ASYNC_IO): Undefine macro.
26461 (_POSIX_PRIORITIZED_IO): Undefine macro.
26462 (_POSIX_SPIN_LOCKS): Define macro to -1.
26464 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26465 SA_NODEFER, SA_RESETHAND.
26466 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26467 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26470 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26472 * elf/Makefile (pldd-modules): Define unconditionally.
26474 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26476 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26478 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26480 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26481 Return ENOENT when name is empty.
26482 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26484 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26486 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26488 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26490 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26492 Fix mlock in all cases except non-readable pages.
26493 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26494 instead of VM_PROT_ALL as parameter to __vm_wire function.
26496 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26497 (__mkdir): When path is `/', just fail with EEXIST.
26498 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26500 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26502 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26503 <sys/uio.h> (for writev).
26504 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26505 and <sys/param.h> (for MIN).
26507 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26509 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26510 REQUESTED_TIME. Properly set the remaining time and return EINTR
26513 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26515 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26516 Depend on against $(link-rpcuserlibs).
26518 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26520 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26521 (__libc_stack_end): Do not use attribute_relro.
26522 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26523 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
26524 to libthread-provided value.
26525 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26528 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26531 * bits/libc-lock.h (__libc_once_get): New macro.
26532 * sysdeps/mach/bits/libc-lock.h: Likewise.
26533 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26534 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26535 instead of using implementation details.
26537 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26538 * libio/freopen.c: Likewise.
26539 * libio/freopen64.c: Likewise.
26540 * misc/syslog.c: Likewise.
26541 * nscd/connections.c: Likewise.
26542 * nscd/netgroupcache.c: Likewise.
26543 * sysdeps/posix/getcwd.c: Likewise.
26545 2012-05-10 Roland McGrath <roland@hack.frob.com>
26547 * math/w_ilogbf.c: Add #include <limits.h>.
26549 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26551 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
26552 path instead of returning without unlocking.
26554 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26555 immediate-write ioctls.
26556 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26558 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26560 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26561 __builtin_frame_address instead of making assumptions about the
26562 location of the return address relative to DATA. Force early load of
26563 the return address.
26564 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26565 __builtin_frame_address.
26568 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26569 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26570 implement dup3 and do some further code clean-ups.
26571 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26572 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26574 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26576 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26578 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26579 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26580 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26581 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26582 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26585 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26586 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26587 when handler == SIG_ERR, not when handler != SIG_ERR.
26589 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26591 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26592 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26595 accept4 for GNU Hurd.
26596 * include/sys/socket.h (__libc_accept4): New prototype.
26597 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26598 to implement __libc_accept4.
26599 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26601 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26603 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26604 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26605 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26606 signal-defines.sym.
26608 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26610 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
26612 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26614 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26615 assertion on O_CLOEXEC flag.
26616 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26617 * hurd/intern-fd.c: Likewise.
26618 * hurd/port2fd.c: Likewise.
26620 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26623 * bits/in.h (IPV6_PKTINFO): Define new macro.
26624 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26626 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26631 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26632 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26633 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26634 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26635 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26636 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26637 * math/libm-test.inc (logb_test) : Additional logb tests.
26639 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26640 Andreas Jaeger <aj@suse.de>
26642 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26643 * configure: Regenerated.
26644 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26645 * config.make.in (link-obsolete-rpc): New substituted variable.
26646 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26647 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26648 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26649 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26650 so that libc.a contains the symbols.
26651 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26652 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26653 * sunrpc/auth_none.c: Likewise.
26654 * sunrpc/auth_unix.c: Likewise.
26655 * sunrpc/authdes_prot.c: Likewise.
26656 * sunrpc/authuxprot.c: Likewise.
26657 * sunrpc/clnt_gen.c: Likewise.
26658 * sunrpc/clnt_perr.c: Likewise.
26659 * sunrpc/clnt_raw.c: Likewise.
26660 * sunrpc/clnt_simp.c: Likewise.
26661 * sunrpc/clnt_tcp.c: Likewise.
26662 * sunrpc/clnt_udp.c: Likewise.
26663 * sunrpc/clnt_unix.c: Likewise.
26664 * sunrpc/des_crypt.c: Likewise.
26665 * sunrpc/des_soft.c: Likewise.
26666 * sunrpc/get_myaddr.c: Likewise.
26667 * sunrpc/key_call.c: Likewise.
26668 * sunrpc/key_prot.c: Likewise.
26669 * sunrpc/netname.c: Likewise.
26670 * sunrpc/pm_getmaps.c: Likewise.
26671 * sunrpc/pm_getport.c: Likewise.
26672 * sunrpc/pmap_clnt.c: Likewise.
26673 * sunrpc/pmap_prot.c: Likewise.
26674 * sunrpc/pmap_prot2.c: Likewise.
26675 * sunrpc/pmap_rmt.c: Likewise.
26676 * sunrpc/publickey.c: Likewise.
26677 * sunrpc/rpc_cmsg.c: Likewise.
26678 * sunrpc/rpc_common.c: Likewise.
26679 * sunrpc/rpc_dtable.c: Likewise.
26680 * sunrpc/rpc_prot.c: Likewise.
26681 * sunrpc/rpc_thread.c: Likewise.
26682 * sunrpc/rtime.c: Likewise.
26683 * sunrpc/svc.c: Likewise.
26684 * sunrpc/svc_auth.c: Likewise.
26685 * sunrpc/svc_raw.c: Likewise.
26686 * sunrpc/svc_run.c: Likewise.
26687 * sunrpc/svc_tcp.c: Likewise.
26688 * sunrpc/svc_udp.c: Likewise.
26689 * sunrpc/svc_unix.c: Likewise.
26690 * sunrpc/svcauth_des.c: Likewise.
26691 * sunrpc/xcrypt.c: Likewise.
26692 * sunrpc/xdr.c: Likewise.
26693 * sunrpc/xdr_array.c: Likewise.
26694 * sunrpc/xdr_float.c: Likewise.
26695 * sunrpc/xdr_intXX_t.c: Likewise.
26696 * sunrpc/xdr_mem.c: Likewise.
26697 * sunrpc/xdr_rec.c: Likewise.
26698 * sunrpc/xdr_ref.c: Likewise.
26699 * sunrpc/xdr_sizeof.c: Likewise.
26700 * sunrpc/xdr_stdio.c: Likewise.
26702 2012-05-10 Roland McGrath <roland@hack.frob.com>
26704 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26705 change. Update copyright years.
26707 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26709 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26711 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26712 Joseph Myers <joseph@codesourcery.com>
26713 Paul Pluzhnikov <ppluzhnikov@google.com>
26716 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26718 [cross-compiling] (extra-libs): Likewise.
26719 [cross-compiling] (extra-libs-others): Likewise.
26720 [cross-compiling] (librpcsvc-routines): Likewise.
26721 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26722 [cross-compiling] (omit-deps): Likewise.
26723 (sunrpc-CPPFLAGS): New variable.
26724 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26725 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26726 (cross-rpcgen-objs): New variable.
26727 (extra-objs): Append $(cross-rpcgen-objs).
26728 ($(cross-rpcgen-objs)): New rule.
26729 ($(objpfx)cross-rpcgen): Likewise.
26730 (rpcgen-cmd): Define to use $(built-program-file). Expand
26732 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26733 ($(objpfx)x%.stmp): Likewise.
26734 * sunrpc/proto.h [IS_IN_build] (_): Define.
26735 [IS_IN_build] (_libc_intl_domainname): Likewise.
26737 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26739 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26740 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26741 and R_X86_64_TPOFF64.
26743 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26745 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26746 sysdeps/unix/sysv/syscalls.list.
26749 * sysdeps/unix/sysv/syscalls.list: Remove file.
26751 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26754 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26755 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26756 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26757 (__LC_IDENTIFICATION): Make these macros useful in #if
26758 expressions, as required by C99.
26760 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26762 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26763 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26766 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26768 * stdlib/longlong.h: Updated from GCC.
26770 2012-05-09 Andreas Jaeger <aj@suse.de>
26772 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26773 default is first entry.
26774 (run_mode): Set type.
26775 (main): Remove informal message about syslog.
26776 (options): Fix typo.
26779 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26782 (llrintf): Likewise.
26783 (llrint): Likewise.
26786 (nearbyint): Likewise.
26787 (nearbyintf): Likewise.
26789 2012-05-09 Andreas Jaeger <aj@suse.de>
26790 Pedro Alves <palves@redhat.com>
26792 * nscd/nscd.c (run_mode): Use enum.
26793 (main): Cleanup coding style issue.
26795 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
26796 Andreas Jaeger <aj@suse.de>
26798 * nscd/nscd.c (go_background): Replaced with...
26799 (run_mode): ... this.
26800 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26801 (options): Add -F --foreground.
26802 (main): Implement it.
26803 (parse_opt): Parse it.
26805 2012-05-09 Andreas Jaeger <aj@suse.de>
26808 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26809 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26810 -Wconversion warning.
26811 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26814 2012-05-09 Joseph Myers <joseph@codesourcery.com>
26816 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26818 (LC_ALL): Use macro-int-constant.
26819 (LC_COLLATE): Likewise.
26820 (LC_CTYPE): Likewise.
26821 (LC_MESSAGES): Likewise.
26822 (LC_MONETARY): Likewise.
26823 (LC_NUMERIC): Likewise.
26824 (LC_TIME): Likewise.
26825 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26826 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26827 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26828 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26830 [C99-based standards] (float_t): Expect type.
26831 [C99-based standards] (double_t): Expect type.
26832 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26834 [C99-based standards] (HUGE_VALL): Likewise.
26835 [C99-based standards] (INFINITY): Likewise.
26836 [C99-based standards] (NAN): Likewise.
26837 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26838 [C99-based standards] (FP_NAN): Likewise.
26839 [C99-based standards] (FP_NORMAL): Likewise.
26840 [C99-based standards] (FP_SUBNORMAL): Likewise.
26841 [C99-based standards] (FP_ZERO): Likewise.
26842 [C99-based standards] (FP_FAST_FMA): Use
26843 optional-macro-int-constant. Specify type. Require == 1.
26844 [C99-based standards] (FP_FAST_FMAF): Likewise.
26845 [C99-based standards] (FP_FAST_FMAL): Likewise.
26846 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26847 [C99-based standards] (FP_ILOGBNAN): Likewise.
26848 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26850 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26851 [C99-based standards] (math_errhandling): Specify type.
26852 [ISO99 || ISO11] (signgam): Do not allow.
26853 [non-C99-based standards] (copysignf): Do not allow.
26854 [non-C99-based standards] (exp2f): Likewise.
26855 [non-C99-based standards] (log2f): Likewise.
26856 [non-C99-based standards] (modff): Allow.
26857 [non-C99-based standards] (erff): Do not allow.
26858 [non-C99-based standards] (erfcf): Likewise.
26859 [non-C99-based standards] (gammaf): Likewise.
26860 [non-C99-based standards] (hypotf): Likewise.
26861 [non-C99-based standards] (j0f): Likewise.
26862 [non-C99-based standards] (j1f): Likewise.
26863 [non-C99-based standards] (jnf): Likewise.
26864 [non-C99-based standards] (lgammaf): Likewise.
26865 [non-C99-based standards] (tgammaf): Likewise.
26866 [non-C99-based standards] (y0f): Likewise.
26867 [non-C99-based standards] (y1f): Likewise.
26868 [non-C99-based standards] (ynf): Likewise.
26869 [non-C99-based standards] (isnanf): Likewise.
26870 [non-C99-based standards] (acoshf): Likewise.
26871 [non-C99-based standards] (asinhf): Likewise.
26872 [non-C99-based standards] (atanhf): Likewise.
26873 [non-C99-based standards] (cbrtf): Likewise.
26874 [non-C99-based standards] (expm1f): Likewise.
26875 [non-C99-based standards] (ilogbf): Likewise.
26876 [non-C99-based standards] (log1pf): Likewise.
26877 [non-C99-based standards] (logbf): Likewise.
26878 [non-C99-based standards] (nextafterf): Likewise.
26879 [non-C99-based standards] (remainderf): Likewise.
26880 [non-C99-based standards] (rintf): Likewise.
26881 [non-C99-based standards] (scalbf): Likewise.
26882 [non-C99-based standards] (copysignl): Likewise.
26883 [non-C99-based standards] (exp2l): Likewise.
26884 [non-C99-based standards] (log2l): Likewise.
26885 [non-C99-based standards] (modfl): Allow.
26886 [non-C99-based standards] (erfl): Do not allow.
26887 [non-C99-based standards] (erfcl): Likewise.
26888 [non-C99-based standards] (gammal): Likewise.
26889 [non-C99-based standards] (hypotl): Likewise.
26890 [non-C99-based standards] (j0l): Likewise.
26891 [non-C99-based standards] (j1l): Likewise.
26892 [non-C99-based standards] (jnl): Likewise.
26893 [non-C99-based standards] (lgammal): Likewise.
26894 [non-C99-based standards] (tgammal): Likewise.
26895 [non-C99-based standards] (y0l): Likewise.
26896 [non-C99-based standards] (y1l): Likewise.
26897 [non-C99-based standards] (ynl): Likewise.
26898 [non-C99-based standards] (isnanl): Likewise.
26899 [non-C99-based standards] (acoshl): Likewise.
26900 [non-C99-based standards] (asinhl): Likewise.
26901 [non-C99-based standards] (atanhl): Likewise.
26902 [non-C99-based standards] (cbrtl): Likewise.
26903 [non-C99-based standards] (expm1l): Likewise.
26904 [non-C99-based standards] (ilogbl): Likewise.
26905 [non-C99-based standards] (log1pl): Likewise.
26906 [non-C99-based standards] (logbl): Likewise.
26907 [non-C99-based standards] (nextafterl): Likewise.
26908 [non-C99-based standards] (remainderl): Likewise.
26909 [non-C99-based standards] (rintl): Likewise.
26910 [non-C99-based standards] (scalbl): Likewise.
26911 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26912 [non-C99-based standards] (FP_*): Do not allow.
26913 [C99-based standards] (FP_*): Change to
26914 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26915 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26917 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26918 (SIG_ERR): Likewise.
26919 [X/Open-based standards] (SIG_HOLD): Likewise.
26920 (SIG_IGN): Likewise.
26921 (SIGABRT): Use macro-int-constant. Specify type. Require
26923 (SIGFPE): Likewise.
26924 (SIGILL): Likewise.
26925 (SIGINT): Likewise.
26926 (SIGSEGV): Likewise.
26927 (SIGTER): Likewise.
26928 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26929 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26930 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26931 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26932 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26933 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26934 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26935 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26936 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26937 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26938 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26939 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26940 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26941 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26942 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26943 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26944 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26945 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26946 [X/Open-based standards] (SIGTRAP): Likewise.
26947 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26948 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26949 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26950 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26951 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26954 2012-05-08 Ian Wienand <ianw@vmware.com>
26957 * time/tzset.c (__tzset_parse_tz): Update default rules for
26958 daylight time changes in the Energy Policy Act of 2005.
26960 2012-05-09 Andreas Jaeger <aj@suse.de>
26963 * elf/ldconfig.c (parse_conf): Change string to make clear that
26964 ldconfig only issued a warning if ld.so.conf does not exist.
26966 2012-05-08 David S. Miller <davem@davemloft.net>
26968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26969 movxtod instead of popping the value on the stack.
26971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26973 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26975 * config.h.in: Add HAVE_ARM_PCS_VFP.
26977 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
26980 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26981 checking but the checks are disabled for any reason.
26983 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26985 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26986 and ELF64_R_TYPE with ELFW(R_TYPE).
26988 2012-05-08 Joseph Myers <joseph@codesourcery.com>
26990 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26991 (ulimit): Likewise.
26993 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26994 (settimeofday): Likewise.
26996 2012-05-08 Mike Frysinger <vapier@gentoo.org>
26998 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26999 a struct th_u2 inside the union, and move tu_block/tu_code into
27000 a new th_u3 union of tu_block/tu_code inside of that. Move
27001 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
27002 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
27003 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
27004 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
27005 (th_stuff): Change to th_u1.tu_stuff.
27007 (th_msg): Change to th_u1.th_u2.tu_data.
27009 2012-05-07 David S. Miller <davem@davemloft.net>
27011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27014 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27015 (SETUP_PIC_REG): Use it.
27016 (SETUP_PIC_REG_LEAF): Use it.
27018 2012-05-07 Joseph Myers <joseph@codesourcery.com>
27022 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27024 (EXPL_FINITE): Likewise.
27025 (FLDLOG): Likewise.
27026 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27027 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27029 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27031 (EXPL_FINITE): Likewise.
27032 (FLDLOG): Likewise.
27033 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27034 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27036 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
27037 test of -max_value argument for long double.
27038 * sysdeps/i386/fpu/libm-test-ulps: Update.
27039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27041 2012-05-06 David S. Miller <davem@davemloft.net>
27043 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27044 quad soft-float symbols whose references which are compiler
27046 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27048 2012-05-06 Joseph Myers <joseph@codesourcery.com>
27052 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27054 (EXPL_FINITE): Likewise.
27055 (FLDLOG): Likewise.
27058 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27059 Adjust comments for base varying.
27060 (__expl_finite): Change alias to EXPL_FINITE.
27061 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27063 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27064 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27065 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27066 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27067 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27069 (EXPL_FINITE): Likewise.
27070 (FLDLOG): Likewise.
27073 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27074 Adjust comments for base varying.
27075 (__expl_finite): Change alias to EXPL_FINITE.
27076 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
27078 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27081 * math/libm-test.inc (check_float_internal): Correct ulp
27082 calculation for subnormal expected results.
27084 2012-05-06 Andreas Jaeger <aj@suse.de>
27086 * Makeconfig (+math-flags): New, set to -frounding-math.
27087 (+cflags): Add +math-flags so that all of glibc gets compiled with
27090 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27092 2012-05-05 Joseph Myers <joseph@codesourcery.com>
27094 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27100 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27101 (__ieee754_expl): Allow for and saturate large arguments.
27102 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27103 (u_threshold): Likewise.
27104 (__exp): Call __ieee754_exp before checking for overflow and
27106 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27107 (u_threshold): Likewise.
27108 (__expf): Call __ieee754_expf before checking for overflow and
27110 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27111 (u_threshold): Likewise.
27112 (__expl): Call __ieee754_expl before checking for overflow and
27114 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27115 (__ieee754_expl): Allow for and saturate large arguments.
27116 * math/libm-test.inc (exp_test): Add another test. Do not allow
27117 missing overflow exception on overflow.
27118 (expm1_test): Do not allow missing overflow exception on overflow.
27120 * sysdeps/i386/fpu/e_expl.c: Move to ...
27121 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
27122 rather than using inline asm.
27123 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27124 * sysdeps/x86_64/fpu/e_expl.S: Copy from
27125 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27127 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27130 (signal): Likewise.
27134 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27136 * sysdeps/unix/syscalls.list (adjtime): Add entry from
27137 sysdeps/unix/common/syscalls.list.
27138 (fchmod): Likewise.
27139 (fchown): Likewise.
27140 (ftruncate): Likewise.
27141 (getrusage): Likewise.
27142 (gettimeofday): Likewise.
27143 (setpgid): Likewise.
27144 (setregid): Likewise.
27145 (setreuid): Likewise.
27146 (sigaction): Likewise.
27147 (truncate): Likewise.
27148 (vhangup): Likewise.
27149 * sysdeps/unix/common/syscalls.list: Remove file.
27150 * sysdeps/unix/bsd/Implies: Don't include unix/common.
27151 * sysdeps/unix/sysv/linux/Implies: Likewise.
27153 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
27155 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27157 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27161 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27164 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27167 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27170 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27173 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27176 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27179 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27183 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27187 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27190 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27194 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27198 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27200 * sysdeps/unix/common/bits/dirent.h: Remove file.
27201 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27203 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27204 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27205 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27206 * sysdeps/unix/bsd/isatty.c: Likewise.
27207 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27208 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27209 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27211 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27214 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27215 long double comparison inaccuracies.
27216 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27219 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27221 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27222 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27224 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27227 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27228 nonzero digits before rounding a hex value.
27229 * stdlib/tst-strtod.c (tests): Add another test.
27231 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27233 * sysdeps/s390/fpu/libm-test-ulps: Update.
27235 2012-05-03 Andreas Jaeger <aj@suse.de>
27237 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27238 does not get optimized out.
27239 (malloc_opt_barrier): New.
27241 2012-05-03 Andreas Jaeger <aj@suse.de>
27242 Roland McGrath <roland@hack.frob.com>
27244 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
27245 intermediate file deletion.
27246 (generated): Add .symlist files.
27248 2012-05-03 Joseph Myers <joseph@codesourcery.com>
27251 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27252 Redirect under this condition.
27253 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27254 [__USE_GNU] (__dprintf_chk): Not under this condition.
27255 [__USE_GNU] (__vdprintf_chk): Likewise.
27256 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27257 under this condition.
27258 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27259 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27260 [__USE_XOPEN2K8] (vdprintf): Likewise.
27261 [__USE_GNU] (__dprintf_chk): Not under this condition.
27262 [__USE_GNU] (__vdprintf_chk): Likewise.
27263 [__USE_GNU] (dprintf): Likewise.
27264 [__USE_GNU] (vdprintf): Likewise.
27266 2012-05-03 Roland McGrath <roland@hack.frob.com>
27268 * elf/Makefile (common-generated): Set this instead of generated for
27269 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27270 $(all-built-dso)-derived lists.
27272 2012-05-03 Andreas Jaeger <aj@suse.de>
27274 * sysdeps/i386/fpu/libm-test-ulps: Update.
27277 * FAQ.in: Likewise.
27278 * scripts/gen-FAQ.pl: Likewise.
27279 * manual/install.texi (Installation): Point to online location of
27281 * Makefile (files-for-dist): Remove FAQ.
27284 2012-05-02 Allan McRae <allan@archlinux.org>
27286 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27287 (LDFLAGS-reldepmod5.so): Likewise.
27288 (LDFLAGS-reldep6mod1.so): Likewise.
27289 (LDFLAGS-reldep6mod4.so): Likewise.
27290 (LDFLAGS-reldep8mod3.so): Likewise.
27291 (LDFLAGS-unload4mod1.so): Likewise.
27292 (LDFLAGS-unload4mod2.so): Likewise.
27293 (LDFLAGS-tst-initorder): Likewise.
27294 (LDFLAGS-tst-initordera2.so): Likewise.
27295 (LDFLAGS-tst-initordera3.so): Likewise.
27296 (LDFLAGS-tst-initordera4.so): Likewise.
27297 (LDFLAGS-tst-initorderb2.so): Likewise.
27298 (LDFLAGS-noload): Likewise.
27299 (LDFLAGS-next): Likewise.
27300 (LDFLAGS-order2mod1.so): Likewise.
27301 (LDFLAGS-order2mod2.so): Likewise.
27302 (LDFLAGS-tst-initorder2): Likewise.
27303 (LDFLAGS-tst-initorder2a.so): Likewise.
27304 (LDFLAGS-tst-initorder2b.so): Likewise.
27305 (LDFLAGS-tst-initorder2c.so): Likewise.
27306 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27308 2012-05-02 David S. Miller <davem@davemloft.net>
27310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27312 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27315 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27317 2012-05-02 Andreas Jaeger <aj@suse.de>
27319 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27320 since we manipulate rounding mode.
27321 (CPPFLAGS-test-idouble.c): Likewise.
27322 (CPPFLAGS-test-ifloat.c): Likewise.
27323 (CFLAGS-test-ldouble.c): Likewise.
27324 (CFLAGS-test-double.c): Likewise.
27325 (CFLAGS-test-float.c): Likewise.
27326 (CFLAGS-test-misc.c): Likewise.
27327 (CFLAGS-test-test-fenv.c): Likewise.
27329 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27333 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27334 comparisons to determine direction to adjust input.
27336 2012-05-01 Roland McGrath <roland@hack.frob.com>
27338 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27339 output to the target.
27341 * scripts/localplt.awk: New file.
27342 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27343 (check-localplt-CFLAGS): Variable removed.
27344 ($(all-built-dso:=.jmprel)): New static pattern rule.
27345 (generated): Add those targets.
27346 (localplt-built-dso): New variable.
27347 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27349 * elf/check-localplt.c: File removed.
27351 * scripts/check-execstack.awk: New file.
27352 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27353 (check-execstack-CFLAGS): Variable removed.
27354 ($(objpfx)check-execstack.h): Target removed.
27355 ($(objpfx)execstack-default): New target.
27356 (generated): Add that instead of check-execstack.h.
27357 ($(all-built-dso:=.phdr)): New static pattern rule.
27358 (generated): Add those targets.
27359 * elf/check-execstack.c: File removed.
27361 * scripts/check-textrel.awk: New file.
27362 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27363 (check-textrel-CFLAGS): Variable removed.
27364 (all-built-dso): Use := to define.o
27365 ($(all-built-dso:=.dyn)): New static pattern rule.
27366 (generated): Add those targets.
27367 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27368 * config.make.in (READELF): New substituted variable.
27369 * elf/check-textrel.c: File removed.
27371 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27373 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27375 * conform/data/ctype.h-data [C99-based standards] (isblank):
27377 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27378 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27379 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27380 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27381 Specify type. Require positive value.
27382 (EILSEQ): Likewise.
27383 (ERANGE): Likewise.
27384 [ISO || POSIX] (EILSEQ): Do not expect.
27385 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27386 Specify type. Require positive value.
27387 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27388 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27389 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27390 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27391 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27392 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27393 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27394 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27395 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27396 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27397 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27398 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27399 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27400 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27401 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27402 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27403 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27404 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27405 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27406 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27407 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27408 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27409 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27410 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27411 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27412 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27413 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27414 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27415 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27416 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27417 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27418 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27419 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27420 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27421 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27422 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27423 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27424 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27425 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27426 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27427 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27428 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27429 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27430 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27431 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27432 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27433 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27434 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27435 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27436 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27437 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27438 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27439 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27440 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27441 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27442 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27443 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27444 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27445 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27446 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27447 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27448 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27449 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27450 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27451 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27452 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27453 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27454 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27455 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27456 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27457 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27458 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27459 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27460 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27461 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27462 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27463 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27465 (FLT_ROUNDS): Expect as macro, not constant.
27466 (FLT_MANT_DIG): Use macro-int-constant.
27467 (DBL_MANT_DIG): Likewise.
27468 (LDBL_MANT_DIG): Likewise.
27469 (FLT_DIG): Likewise.
27470 (DBL_DIG): Likewise.
27471 (LDBL_DIG): Likewise.
27472 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27473 (DBL_MIN_EXP): Likewise.
27474 (LDBL_MIN_EXP): Likewise.
27475 (FLT_MAX_EXP): Use macro-int-constant.
27476 (DBL_MAX_EXP): Likewise.
27477 (LDBL_MAX_EXP): Likewise.
27478 (FLT_MAX_10_EXP): Likewise.
27479 (DBL_MAX_10_EXP): Likewise.
27480 (LDBL_MAX_10_EXP): Likewise.
27481 (FLT_MAX): Use macro-constant.
27482 (DBL_MAX): Likewise.
27483 (LDBL_MAX): Likewise.
27484 (FLT_EPSILON): Use macro-constant. Give upper bound.
27485 (DBL_EPSILON): Likewise.
27486 (LDBL_EPSILON): Likewise.
27487 (FLT_MIN): Likewise.
27488 (DBL_MIN): Likewise.
27489 (LDBL_MIN): Likewise.
27490 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27491 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27492 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27493 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27494 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27495 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27496 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27497 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27498 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27499 [ISO11] (FLT_TRUE_MIN): Likewise.
27500 [ISO11] (LDBL_TRUE_MIN): Likewise.
27501 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27502 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27503 (SCHAR_MIN): Use macro-int-constant. Specify type.
27504 (SCHAR_MAX): Likewise.
27505 (UCHAR_MAX): Likewise.
27506 (CHAR_MIN): Likewise.
27507 (CHAR_MAX): Likewise.
27508 (MB_LEN_MAX): Use macro-int-constant.
27509 (SHRT_MIN): Use macro-int-constant. Specify type.
27510 (SHRT_MAX): Likewise.
27511 (USHRT_MAX): Likewise.
27512 (INT_MAX): Likewise.
27513 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27515 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27517 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27519 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27520 bound negative. Suffix upper bound with "L".
27521 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27523 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27525 [C99-based standards] (LLONG_MAX): Likewise.
27526 [C99-based standards] (ULLONG_MAX): Likewise.
27527 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27529 [ISO11] (max_align_t): Require type.
27530 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27532 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27533 from $CFLAGS, without defining away __attribute__ calls.
27534 (checknamespace): Use $CFLAGS_namespace.
27536 * conform/conformtest.pl (@keywords): Only include C99 keywords
27537 for standards based on C99 or C11.
27539 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27541 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27544 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27545 usability of symbols in #if.
27547 * conform/conformtest.pl: If macro or constant types start
27548 "promoted:", expect the symbol to be of the following type
27549 promoted by the integer promotions.
27551 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27552 in one place. Also handle "macro-constant".
27554 * conform/conformtest.pl: Only accept expected macro values with
27555 "==". Parse all "macro" lines in one place.
27556 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27558 * conform/conformtest.pl: Handle braced types on "constant" lines
27559 instead of handling "typed-constant".
27560 * conform/data/signal.h-data: Use "constant" instead of
27563 * conform/conformtest.pl: Handle "optional-" at start of lines in
27564 one place rather than duplicating several cases. Handle each
27565 format of "macro" line with initial "optional-".
27567 * conform/conformtest.pl: Only accept expected constant or
27568 optional-constant values with "==". Parse all "constant" lines in
27569 one place. Parse all "optional-constant" lines in one place.
27570 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27571 * conform/data/fmtmsg.h-data: Likewise.
27572 * conform/data/netinet/in.h-data: Likewise.
27573 * conform/data/tar.h-data: Likewise.
27574 * conform/data/limits.h-data: Use "==" form on "constant" and
27575 "optional-constant" lines.
27577 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27578 Use -std=c99 for XOPEN2K.
27579 (@knownproblems): Remove.
27580 (newtoken): Don't check %isknown.
27582 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27583 Do not expect macro.
27584 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27585 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27586 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27587 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27588 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27589 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27590 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27591 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27592 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27593 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27594 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27595 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27596 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27597 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27598 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27599 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27600 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27601 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27602 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27603 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27604 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27605 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27606 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27607 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27608 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27609 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27610 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27611 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27612 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27613 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27614 [XPG3] (acosh): Likewise.
27615 [XPG3] (asinh): Likewise.
27616 [XPG3] (atanh): Likewise.
27617 [XPG3] (cbrt): Likewise.
27618 [XPG3] (expm1): Likewise.
27619 [XPG3] (ilogb): Likewise.
27620 [XPG3] (log1p): Likewise.
27621 [XPG3] (logb): Likewise.
27622 [XPG3] (nextafter): Likewise.
27623 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27624 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27625 [XPG3] (remainder): Likewise.
27626 [XPG3] (rint): Likewise.
27627 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27628 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27629 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27630 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27631 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27632 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27633 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27634 [UNIX98 || XOPEN2K] (scalb): Expect.
27635 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27636 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27637 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27638 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27639 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27640 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27641 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27642 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27643 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27644 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27645 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27646 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27647 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27648 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27649 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27650 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27651 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27652 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27653 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27654 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27655 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27656 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27657 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27658 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27659 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27660 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27661 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27662 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27663 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27664 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27665 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27666 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27667 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27668 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27669 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27670 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27671 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27672 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27673 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27674 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27675 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27676 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27677 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27678 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27679 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27680 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27681 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27682 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27683 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27684 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27685 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27686 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27687 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27688 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27689 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27690 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27691 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27692 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27693 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27694 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27695 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27696 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27697 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27698 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27699 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27700 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27701 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27702 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27703 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27704 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27705 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27706 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27707 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27708 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27709 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27710 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27711 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27712 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27713 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27714 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27715 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27716 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27717 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27718 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27719 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27720 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27721 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27722 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27723 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27724 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27725 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27726 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27727 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27728 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27729 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27730 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27731 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27732 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27733 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27734 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27735 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27736 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27737 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27738 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27739 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27740 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27741 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27742 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27743 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27744 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27745 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27746 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27747 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27748 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27749 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27750 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27751 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27752 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27753 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27754 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27755 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27756 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27757 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27758 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27759 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27760 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27761 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27762 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27763 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27764 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27765 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27766 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27767 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27768 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27769 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27770 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27771 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27773 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27774 _XOPEN_SOURCE_EXTENDED for XPG4.
27776 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27778 * Makeconfig (localtime): Remove variable.
27779 (inst_localtime-file): Likewise.
27781 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27802 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27806 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27807 comparisons to determine direction to adjust input.
27808 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27809 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27810 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27812 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27814 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27816 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27817 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27819 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27821 * math/libm-test.inc (nexttoward_test): Add more tests.
27823 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27826 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27827 in version GLIBC_2.1, not GLIBC_2.0.
27828 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27831 2012-04-30 Joseph Myers <joseph@codesourcery.com>
27834 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27836 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27837 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27838 * math/libm-test.inc (acos_test): Add more tests.
27839 (asin_test): Likewise.
27840 * sysdeps/i386/fpu/libm-test-ulps: Update.
27841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27844 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27846 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27847 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27848 * math/libm-test.inc (acos_test_tonearest): New function.
27849 (acos_test_towardzero): Likewise.
27850 (acos_test_downward): Likewise.
27851 (acos_test_upward): Likewise.
27852 (asin_test_tonearest): Likewise.
27853 (asin_test_towardzero): Likewise.
27854 (asin_test_downward): Likewise.
27855 (asin_test_upward): Likewise.
27856 (main): Call the new functions.
27857 * sysdeps/i386/fpu/libm-test-ulps: Update.
27858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27862 * math/e_exp10.c: Include <float.h>.
27863 (__ieee754_exp10): Handle underflow here rather than multiplying
27864 large negative argument by M_LN10.
27865 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27867 * math/e_exp10l.c: Include <float.h>.
27868 (__ieee754_exp10l): Handle underflow here rather than multiplying
27869 large negative argument by M_LN10l.
27870 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27871 spurious overflow exception on underflow.
27873 2012-04-29 Marek Polacek <polacek@redhat.com>
27875 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27876 (__fortify_function): New macro.
27877 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27878 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27879 __extern_always_inline.
27880 * libio/bits/stdio2.h: Likewise.
27881 * libio/bits/stdio.h: Likewise.
27882 * string/string.h: Likewise.
27883 * string/bits/string3.h: Likewise.
27884 * include/stdio.h: Likewise.
27885 * stdlib/bits/stdlib.h: Likewise.
27886 * stdlib/stdlib.h: Likewise.
27887 * rt/bits/mqueue2.h: Likewise.
27888 * rt/mqueue.h: Likewise.
27889 * posix/bits/unistd.h: Likewise.
27890 * posix/unistd.h: Likewise.
27891 * io/bits/poll2.h: Likewise.
27892 * io/bits/fcntl2.h: Likewise.
27893 * io/fcntl.h: Likewise.
27894 * io/sys/poll.h: Likewise.
27895 * misc/bits/syslog.h: Likewise.
27896 * misc/bits/syslog-ldbl.h: Likewise.
27897 * misc/sys/syslog.h: Likewise.
27898 * socket/bits/socket2.h: Likewise.
27899 * socket/sys/socket.h: Likewise.
27900 * debug/tst-chk1.c: Likewise.
27901 * wcsmbs/bits/wchar2.h: Likewise.
27902 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27903 * wcsmbs/wchar.h: Likewise.
27905 2012-04-29 Andreas Jaeger <aj@suse.de>
27907 * Makerules (tests): Remove enable-check-abi protection.
27908 (check-abi-warn): Remove.
27909 (check-abi-%): Remove check-abi-warn usage.
27911 * configure.in: Remove check-abi configure option.
27912 * configure: Regenerated.
27913 * config.make.in (enable-check-abi): Remove.
27915 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27918 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27919 double functions to double *_finite functions.
27922 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27923 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27925 * stdio-common/Makefile (tests): Add tst-sprintf3.
27926 * stdio-common/tst-sprintf3.c: New file.
27928 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27929 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27931 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27933 * conform/conformtest.pl: Remove duplicate typed-constant
27936 2012-04-28 David S. Miller <davem@davemloft.net>
27938 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27939 (check-abi-%): Remove AWK script prerequisite and explicit
27941 (check-abi): Rewrite to just diff the symlist with the abilist.
27942 (config-tls, config-abi-config): Delete, no longer used.
27943 (update-abi-%): Remove AWK script and explicit abilist directory.
27944 (update-abi): Rewrite to simply compare and conditionally copy the
27945 symlist and the sysdep abilist file. Remove update-abi-config
27947 * abilist/ld.abilist: Remove.
27948 * abilist/libBrokenLocale.abilist: Remove.
27949 * abilist/libanl.abilist: Remove.
27950 * abilist/libcrypt.abilist: Remove.
27951 * abilist/libdl.abilist: Remove.
27952 * abilist/librt.abilist: Remove.
27953 * abilist/libthread_db.abilist: Remove.
27954 * abilist/libutil.abilist: Remove.
27955 * scripts/extract-abilist.awk: Remove.
27956 * scripts/merge-abilist.awk: Remove.
27957 * sysdeps/generic/libcidn.abilist: New file.
27958 * sysdeps/generic/libnss_compat.abilist: New file.
27959 * sysdeps/generic/libnss_db.abilist: New file.
27960 * sysdeps/generic/libnss_dns.abilist: New file.
27961 * sysdeps/generic/libnss_files.abilist: New file.
27962 * sysdeps/generic/libnss_hesiod.abilist: New file.
27963 * sysdeps/generic/libnss_nis.abilist: New file.
27964 * sysdeps/generic/libnss_nisplus.abilist: New file.
27965 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27966 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27967 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27969 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27970 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27971 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27972 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27973 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27974 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27975 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27976 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27977 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27979 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27980 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27981 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27982 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27984 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27985 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27986 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27987 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27988 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27989 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27991 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27992 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27993 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27995 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
28000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
28002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
28004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
28006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
28008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28098 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28099 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28100 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28102 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28103 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28104 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28105 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28106 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28107 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28108 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28109 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28110 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28111 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28163 2012-04-28 Joseph Myers <joseph@codesourcery.com>
28165 * conform/conformtest.pl: Fix typo in handling typed-constant from
28168 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28170 * README: Cut down references to pre-2.6 Linux kernels and
28171 Linuxthreads. Update lists of configurations in libc and ports
28172 and sort alphabetically. Say "or newer" with Linux kernel version
28175 * config.h.in [IS_IN_build]: Allow compiling without optimization.
28177 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28180 * math/libm-test.inc (logb_test_downward): New test to expose
28181 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28184 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28187 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28189 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28190 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28192 2012-04-26 Joseph Myers <joseph@codesourcery.com>
28194 * sysdeps/unix/i386/brk.S: Remove file.
28195 * sysdeps/unix/i386/dl-brk.S: Likewise.
28196 * sysdeps/unix/i386/pipe.S: Likewise.
28197 * sysdeps/unix/i386/sigreturn.S: Likewise.
28198 * sysdeps/unix/i386/syscall.S: Likewise.
28199 * sysdeps/unix/i386/vfork.S: Likewise.
28200 * sysdeps/unix/i386/wait.S: Likewise.
28202 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28203 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28205 * configure.in (arm*-none*): Do not allow without
28206 --enable-hacker-mode.
28207 (netbsd*): Remove case setting base_os.
28208 (386bsd*): Likewise.
28209 (freebsd*): Likewise.
28212 (sunos*): Likewise.
28213 (ultrix*): Likewise.
28214 (newsos*): Likewise.
28215 (dynix*): Likewise.
28221 (minix*): Likewise.
28222 (irix4*): Likewise.
28223 (irix6*): Likewise.
28224 (solaris[2-9]*): Likewise.
28226 * configure: Regenerated.
28228 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28231 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28232 overflow or cancellation in calculating denominator.
28233 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28234 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28235 down expression to avoid unexpected rounding in newer GCCs.
28236 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28238 2012-04-26 David S. Miller <davem@davemloft.net>
28240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28241 long-double compat symbols.
28242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28256 2012-04-25 David S. Miller <davem@davemloft.net>
28258 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28259 HWCAP_* values only after the memory barriers have been defined.
28260 (atomic_full_barrier): Define.
28261 (atomic_read_barrier): Define.
28262 (atomic_write_barrier): Define.
28264 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28266 * shlib-versions: Add libgcc_s version information.
28267 * sysdeps/generic/libgcc_s.h: Remove.
28268 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28270 * sysdeps/gnu/unwind-resume.c: Likewise.
28271 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28273 2012-04-25 David S. Miller <davem@davemloft.net>
28275 * sysdeps/unix/sparc/brk.S: Delete.
28276 * sysdeps/unix/sparc/dl-brk.S: Delete.
28277 * sysdeps/unix/sparc/pipe.S: Delete.
28278 * sysdeps/unix/sparc/sysdep.S: Delete.
28279 * sysdeps/unix/sparc/sysdep.h: Delete.
28280 * sysdeps/unix/sparc/vfork.S: Delete.
28281 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28282 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28283 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28284 ret_ERRVAL, r0, r1, MOVE): Define.
28285 (JUMPTARGET): Remove.
28286 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28287 sysdeps/unix/sparc/sysdep.h
28288 (ENTRY, END): Remove.
28289 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28291 2012-04-25 Joseph Myers <joseph@codesourcery.com>
28293 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28294 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28297 * timezone/README: Update upstream location and email address for
28299 * timezone/zdump.c: Update from tzcode 2012b.
28300 * timezone/zic.c: Likewise.
28302 * configure.in (libc_cv_as_needed): Remove test.
28303 * configure: Regenerated.
28304 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28305 conditional definition.
28306 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28307 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28308 * config.make.in (have-as-needed): Remove variable.
28310 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28311 Paul Pluzhnikov <ppluzhnikov@google.com>
28313 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28316 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28318 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28319 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28320 * sysdeps/sh/strlen.S: Likewise.
28322 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28324 * sysdeps/unix/fork.S: Remove file.
28325 * sysdeps/unix/i386/fork.S: Likewise.
28326 * sysdeps/unix/sparc/fork.S: Likewise.
28328 * sysdeps/unix/system.c: Remove file.
28329 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28331 * sysdeps/unix/getegid.S: Remove file.
28332 * sysdeps/unix/geteuid.S: Likewise.
28334 2012-04-24 Roland McGrath <roland@hack.frob.com>
28336 * scripts/check-localplt.awk: New file.
28337 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28339 * scripts/data/localplt-generic.data: Add a comment.
28341 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28342 NODE when __dir_mkfile failed.
28343 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28344 Reported by Ludovic Courtès <ludo@gnu.org>.
28346 2012-04-24 Andreas Jaeger <aj@suse.de>
28348 * Makerules (common-clean): Also remove gen-as-const-headers
28351 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28353 * Makerules (native-compile): Do not change working directory for
28354 build. Use $(OUTPUT_OPTION) in command.
28355 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28357 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28360 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28361 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28362 * math/libm-test.inc (floor_test): Add more tests.
28363 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28365 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28367 * sysdeps/unix/getdents.c: Remove file.
28368 * sysdeps/unix/sysv/getdents.c: Likewise.
28369 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28371 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28372 sysdeps/unix/mman/syscalls.list.
28374 (mprotect): Likewise.
28376 (munmap): Likewise.
28377 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28378 * sysdeps/unix/mman/syscalls.list: Remove.
28379 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28381 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28382 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28383 * configure: Regenerated.
28384 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28385 $(libgcc_s_suffix).
28386 * config.make.in (libgcc_s_suffix): Remove variable.
28388 2012-04-23 Joseph Myers <joseph@codesourcery.com>
28390 * sysdeps/unix/sysv/gethostname.c: Move to ...
28391 * sysdeps/posix/gethostname.c: ... here.
28393 * sysdeps/unix/execve.S: Remove file.
28395 * sysdeps/unix/_exit.S: Remove file.
28397 2012-04-23 Andreas Jaeger <aj@suse.de>
28400 * manual/Makefile: Remove make dist support, there's no
28401 need for a stand-alone documentation tar ball.
28402 (TEXI2DVI): Define always, it's not in Makeconfig.
28405 (edition): Removed.
28406 (glibc-doc-$(edition).tar): Removed
28410 (ETAGS): Remove, it's in Makeconfig.
28411 (move-if-change): Remove, it's in Makeconfig.
28413 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
28416 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28417 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28418 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28419 (strtod_l, strtof_l, strtold_l): Remove __wur.
28420 It is not necessarily an error to ignore strtol's return value.
28421 One can reliably look at the stored endptr to decide whether
28422 the number had valid syntax.
28424 2012-04-21 Andreas Jaeger <aj@suse.de>
28427 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28429 2012-04-21 Joseph Myers <joseph@codesourcery.com>
28431 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28432 * sysdeps/unix/sysv/Versions: Remove file.
28434 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28439 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
28442 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28443 version from __vm86.
28445 2012-04-20 Joseph Myers <joseph@codesourcery.com>
28447 * sysdeps/unix/common/lxstat.c: Remove file.
28448 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28450 * sysdeps/unix/sysv/Makefile: Remove file.
28452 * sysdeps/unix/sysv/direct.h: Remove file.
28454 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28455 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28456 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28457 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28458 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28459 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28460 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28462 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28464 * sysdeps/unix/xmknod.c: Remove file.
28465 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28467 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28469 * sysdeps/unix/sysv/i386/time.S: Remove file.
28471 * sysdeps/unix/fxstat.c: Remove file.
28472 * sysdeps/unix/xstat.c: Likewise.
28473 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28475 * sysdeps/unix/sysv/sigaction.c: Remove file.
28477 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28478 (sysdep_headers): Remove variable.
28479 [termio.h not in sysdep_headers] (generated): Likewise.
28480 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28481 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28482 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28483 * sysdeps/unix/sysv/tcflow.c: Likewise.
28484 * sysdeps/unix/sysv/tcflush.c: Likewise.
28485 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28486 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28487 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28488 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28489 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28491 * sysdeps/unix/siglist.c: Remove file.
28493 * sysdeps/unix/getppid.S: Remove file.
28495 * sysdeps/unix/mkdir.c: Remove file.
28496 * sysdeps/unix/rmdir.c: Likewise.
28498 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28500 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28502 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28503 errlist-compat value.
28505 2012-04-18 David S. Miller <davem@davemloft.net>
28507 * sysdeps/generic/memcopy.h (reg_char): Delete.
28508 * debug/strcat_chk.c: Use char, not reg_char.
28509 * debug/strcpy_chk.c: Likewise.
28510 * debug/strncat_chk.c: Likewise.
28511 * debug/strncpy_chk.c: Likewise.
28512 * string/memchr.c: Likewise.
28513 * string/memrchr.c: Likewise.
28514 * string/rawmemchr.c: Likewise.
28515 * string/strcat.c: Likewise.
28516 * string/strchr.c: Likewise.
28517 * string/strchrnul.c: Likewise.
28518 * string/strcmp.c: Likewise.
28519 * string/strcpy.c: Likewise.
28520 * string/strncat.c: Likewise.
28521 * string/strncmp.c: Likewise.
28522 * string/strncpy.c: Likewise.
28524 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28526 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28527 __builtin_memcopy is called when src and dest ranges are known to not
28530 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28532 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28533 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28534 fwd_align_merge macro call.
28535 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28536 bwd_align_merge macro call.
28537 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28539 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28541 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28542 bwd_align_merge macros.
28543 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28544 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28545 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28547 2012-04-18 David S. Miller <davem@davemloft.net>
28549 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28551 2012-04-18 Andreas Jaeger <aj@suse.de>
28554 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28555 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28556 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28558 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28559 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28560 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28562 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28563 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28564 Adjust for changed ldbl-128 files.
28566 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28567 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28568 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28570 2012-04-17 David S. Miller <davem@davemloft.net>
28572 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28574 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28576 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28577 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28578 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28579 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28580 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28581 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28583 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28586 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28587 * math/libm-test.inc: Add ilogb errno and exception tests.
28588 * math/w_ilogb.c: New file: ilogb wrapper.
28589 * math/w_ilogbf.c: New file: ilogbf wrapper.
28590 * math/w_ilogbl.c: New file: ilogbl wrapper.
28591 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28592 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28593 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28594 exception being thrown with 0.0 as argument.
28595 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28596 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28597 exception being thrown with 0.0 as argument.
28598 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28599 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28600 exception being thrown with 0.0 as argument.
28601 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28602 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28603 exception being thrown with 0.0 as argument.
28604 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28605 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
28606 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
28607 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28608 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28609 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28610 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28611 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28612 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28614 2012-04-17 Petr Baudis <pasky@ucw.cz>
28616 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28619 2012-04-16 Marek Polacek <polacek@redhat.com>
28621 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28623 2012-04-16 Marek Polacek <polacek@redhat.com>
28625 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28626 operands of fdivp instruction.
28628 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28630 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28631 * elf/tst-auditmod3b.c: Likewise.
28632 * elf/tst-auditmod4b.c: Likewise.
28633 * elf/tst-auditmod5b.c: Likewise.
28634 * elf/tst-auditmod6b.c: Likewise.
28635 * elf/tst-auditmod6c.c: Likewise.
28636 * elf/tst-auditmod7b.c: Likewise.
28637 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28638 * sysdeps/x86_64/preconfigure.in: Likewise.
28639 * sysdeps/x86_64/preconfigure: Regenerated.
28641 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28643 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28646 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
28648 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28649 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28651 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28654 * locale/iso-639.def: Fix gl language name. Spotted by
28657 2012-04-12 Roland McGrath <roland@hack.frob.com>
28660 * libio/libio.h (__io_write_fn): Update comment.
28662 2012-04-12 Petr Baudis <pasky@ucw.cz>
28665 * stdio.texi (Hook Functions): The user provided writer function
28666 is not allowed to return -1.
28668 2012-04-11 David S. Miller <davem@davemloft.net>
28670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28672 2012-04-11 Mike Frysinger <vapier@gentoo.org>
28674 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28675 Add a leading slash to rtkaio.
28677 2012-04-11 Jim Meyering <meyering@redhat.com>
28680 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28681 It is not necessarily an error to ignore fwrite's return
28682 value. One can reliably use ferror to test for errors after
28685 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28687 * bits/types.h (__snseconds_t): New type.
28688 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28690 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28691 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28692 (__SNSECONDS_T_TYPE): Likewise.
28693 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28694 (__SNSECONDS_T_TYPE): Likewise.
28695 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28696 (__SNSECONDS_T_TYPE): Likewise.
28698 2012-04-10 Andreas Jaeger <aj@suse.de>
28701 * manual/time.texi (Processor Time): Return type of times is
28702 elapsed real time since an arbitrary point in the past.
28703 (CPU Time): Move CLK_TCK from here...
28704 (Processor Time): ...to here. Correct description.
28705 * manual/conf.texi (Constants for Sysconf): Correct description of
28708 2012-04-10 David S. Miller <davem@davemloft.net>
28711 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28712 where the is a gap between DT_REL(A) and DT_JMPREL.
28714 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28716 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28717 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28718 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28720 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28722 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28723 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28724 (dl_main): Handle --inhibit-cache.
28725 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28727 * elf/dl-load.c (_dl_map_object): Use it.
28728 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28730 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28733 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28734 (__ieee754_powl): Saturate large exponents rather than testing for
28735 overflow of y*log2(x).
28736 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28737 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28741 * math/s_ctan.c: Include <float.h>.
28742 (__ctan): Avoid internal overflow or cancellation in calculating
28744 * math/s_ctanf.c: Likewise.
28745 * math/s_ctanl.c: Likewise.
28746 * math/s_ctanh.c: Likewise.
28747 * math/s_ctanhf.c: Likewise.
28748 * math/s_ctanhl.c: Likewise.
28749 * math/libm-test.inc (ctan_test): Add more tests.
28750 (ctanh_test): Likewise.
28751 * sysdeps/i386/fpu/libm-test-ulps: Update.
28752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28754 2012-04-09 Andreas Jaeger <aj@suse.de>
28757 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28758 is an optional BSD extension.
28761 * manual/stdio.texi (Opening Streams): Document additional fopen
28764 2012-04-09 Roland McGrath <roland@hack.frob.com>
28766 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28767 %eax without telling the compiler.
28769 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28772 * manual/install.texi: Use sourceware.org.
28774 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28777 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28778 (__ieee754_pow): Generate overflow and underflow using huge*huge
28779 and tiny*tiny rather than just returning constant infinity or zero
28780 for large exponents.
28781 * math/libm-test.inc (pow_test): Require overflow exceptions for
28782 applicable cases of large exponents.
28785 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28786 (__ieee754_pow): Use iterative multiplication algorithm only for
28787 integer exponents with absolute value below 1024. Check for odd
28788 integer exponents when using algorithm for real exponents.
28789 * math/libm-test.inc (pow_test): Add more tests.
28790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28792 2012-04-08 Joseph Myers <joseph@codesourcery.com>
28795 * math/libm-test.inc (exp_test): Do not allow overflow exception
28798 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28801 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28802 instead of __kernel_standard_f.
28804 2012-04-08 Mike Frysinger <vapier@gentoo.org>
28806 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28807 * sysdeps/x86_64/memset_chk.S: Likewise.
28809 2012-04-08 Andreas Jaeger <aj@suse.de>
28812 * manual/startup.texi (Environment Access): Describe return value
28813 for putenv and setenv.
28816 * manual/filesys.texi (Directory Entries): Add description for
28820 * manual/filesys.texi (Directory Entries): Clarify that it's file
28821 system not operating system in the description of DT_UNKNOWN.
28824 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28826 2012-04-08 Stephen Compall <s11@member.fsf.org>
28829 * manual/llio.texi (Opening and Closing Files): Add cross
28830 reference to explain mode argument.
28832 2012-04-07 Mike Frysinger <vapier@gentoo.org>
28834 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28835 * sysdeps/x86_64/memset_chk.S: Likewise.
28837 2012-04-07 David S. Miller <davem@davemloft.net>
28839 * elf/elf.h (R_SPARC_WDISP10): Define.
28840 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28842 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28843 R_SPARC_SIZE64 and R_SPARC_H34.
28845 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28847 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28848 conditions and remove no longer applicable assertion.
28850 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28852 * bits/byteswap.h: Include <features.h>.
28853 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28854 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28856 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28858 * bits/byteswap.h (__bswap_16): Removed.
28859 Include <bits/byteswap-16.h> to get __bswap_16.
28860 * sysdeps/i386/bits/byteswap.h: Likewise.
28861 * sysdeps/s390/bits/byteswap.h: Likewise.
28862 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28863 * bits/byteswap-16.h: New file.
28864 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28865 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28866 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28867 * string/Makefile (headers): Add bits/byteswap-16.h.
28869 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28872 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28874 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28875 * nss/tst-nss-static.c: New.
28877 2012-04-06 Robert Millan <rmh@gnu.org>
28880 * manual/llio.texi (File Position Primitive): lseek
28881 refers to WHENCE when it really means OFFSET.
28883 2012-04-06 Andreas Jaeger <aj@suse.de>
28885 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28886 strncmp declarations.
28888 * abilist/libc.abilist: Add __poll and __ppoll.
28890 2012-04-05 David S. Miller <davem@davemloft.net>
28892 * scripts/check-local-headers.sh: Accept a host triplet in the
28893 path matched by the exclude regexp.
28895 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28897 * sysdeps/powerpc/powerpc32/dl-machine.h
28898 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28899 * sysdeps/s390/s390-32/dl-machine.h
28900 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28901 * sysdeps/sparc/sparc32/dl-machine.h
28902 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28903 * sysdeps/sparc/sparc64/dl-machine.h
28904 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28906 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28908 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28909 undefined symbol errors.
28911 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28914 2012-04-05 Michael Matz <matz@suse.de>
28917 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28919 2012-04-05 Andreas Jaeger <aj@suse.de>
28922 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28925 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28927 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28928 which ROUND is no valid rounding mode.
28930 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28932 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28934 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28936 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28938 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28939 an exception using FPU order intentionally.
28941 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28943 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28944 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28945 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28946 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28948 2012-04-05 Simon Josefsson <simon@josefsson.org>
28951 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28952 EINVAL when BUFLEN is too smal.
28954 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28957 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28958 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28960 2012-04-03 Andreas Jaeger <aj@suse.de>
28963 * manual/setjmp.texi (System V contexts): Fix sentence.
28966 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28967 New macro for this case.
28968 [!__GNUC__] (__bswap_64): New inline function for this case.
28969 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28970 * bits/byteswap.h: Likewise.
28971 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28972 ull, guard with __GLIBC_HAVE_LONG_LONG.
28974 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28975 __GLIBC_HAVE_LONG_LONG.
28977 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28978 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28980 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28983 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28984 inptr and inend, rather than using last_ch.
28986 2012-04-02 David S. Miller <davem@davemloft.net>
28988 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28989 * stdio-common/printf-parse.h (read_int): Change return type to
28990 'int', return -1 on INT_MAX overflow.
28991 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28992 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28993 overflows INT_MAX. Check for overflow of in-format-string precision
28994 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28995 SIZE_MAX not INT_MAX for integer overflow test.
28996 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28997 skip the construct in the format string but do not record anything.
28998 * stdio-common/bug22.c: Adjust to test both width/prevision
28999 INT_MAX overflow as well as total length INT_MAX overflow. Check
29000 explicitly for proper errno values.
29002 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
29004 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
29006 * string/test-strcmp.c [! WIDE]: Likewise.
29007 * time/tst-mktime2.c: Likewise for INT_MAX.
29008 * string/test-string.h: #include <sys/param.h> for MIN.
29010 * csu/init-first.c (__libc_init_first): Call __ctype_init.
29011 * sysdeps/i386/init-first.c (init): Likewise.
29012 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29013 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29014 * sysdeps/sh/init-first.c (init): Likewise.
29016 2012-04-01 Ulrich Drepper <drepper@gmail.com>
29018 * po/ru.po: Update from translation team.
29019 * po/vi.po: Likewise.
29021 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29023 * resolv/nss_dns/dns-host.c: Merge copyright years.
29025 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29027 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29028 Optimize memcpy with prefetch if
29029 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
29030 src, dst pointers have unequal 16 byte alignments.
29032 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29035 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29036 from a CNAME entry and return the minimum ttl for the query.
29037 (gaih_getanswer_slice): Likewise.
29039 2012-03-30 Jeff Law <law@redhat.com>
29041 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29043 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29044 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29046 * resolv/nss_dns/dns-host.c: Update copyright year.
29048 2012-03-30 Ulrich Drepper <drepper@gmail.com>
29050 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
29051 requests to save a system call. Fix check that all bytes are sent.
29053 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29054 comments for sendmmsg.
29056 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29059 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29060 with only 1 character between 0x0041 and 0x01b0.
29061 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29062 * wcsmbs/tst-mbsnrtowcs.c: New file.
29064 2012-03-29 David S. Miller <davem@davemloft.net>
29066 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29067 small copies by hand.
29069 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29072 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29073 _nss_compat_initgroups_dyn): Fall back to malloc/free
29074 for large group memberships.
29076 2012-03-28 David S. Miller <davem@davemloft.net>
29078 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29079 that branches into memcpy.
29080 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29081 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29082 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29083 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29084 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29086 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29087 implementation too.
29088 * sysdeps/sparc/mempcpy.S: New file.
29090 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29091 the IFUNC routine in the libc case.
29092 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29094 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29095 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29096 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29097 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29098 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29099 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29100 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29101 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29103 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29104 loop to 256 bytes instead of 64 bytes and fix test signedness.
29106 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29107 * sysdeps/sparc/sparc32/Makefile: rather than here...
29108 * sysdeps/sparc/sparc64/Makefile: and here.
29110 2012-03-28 Ulrich Drepper <drepper@gmail.com>
29112 * malloc/mallocbug.c: Avoid warnings about unused variables.
29114 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29117 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29118 in the right place. Discard and retry query if response is
29119 larger than input buffer size.
29121 2012-03-28 Joseph Myers <joseph@codesourcery.com>
29126 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29127 x for large integer exponent.
29128 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29129 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
29130 sign of result as needed afterwards.
29131 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29132 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29133 result for underflowing pow the same as for overflow.
29134 (__kernel_standard_l): Handle powl overflow and underflow here
29135 rather than calling __kernel_standard.
29136 * math/libm-test.inc (pow_test): Add more tests.
29151 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29152 * sysdeps/ieee754/k_standard.c: Include <float.h>.
29153 (__kernel_standard_l): New function.
29154 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29156 * math/w_acosl.c (__acosl): Likewise.
29157 * math/w_asinl.c (__asinl): Likewise.
29158 * math/w_atan2l.c (__atan2l): Likewise.
29159 * math/w_atanhl.c (__atanhl): Likewise.
29160 * math/w_coshl.c (__coshl): Likewise.
29161 * math/w_exp10l.c (__exp10l): Likewise.
29162 * math/w_exp2l.c (__exp2l): Likewise.
29163 * math/w_fmodl.c (__fmodl): Likewise.
29164 * math/w_hypotl.c (__hypotl): Likewise.
29165 * math/w_j0l.c (__j0l, __y0l): Likewise.
29166 * math/w_j1l.c (__j1l, __y1l): Likewise.
29167 * math/w_jnl.c (__jnl, __ynl): Likewise.
29168 * math/w_lgammal.c (__lgammal): Likewise.
29169 * math/w_log10l.c (__log10l): Likewise.
29170 * math/w_log2l.c (__log2l): Likewise.
29171 * math/w_logl.c (__logl): Likewise.
29172 * math/w_powl.c (__powl): Likewise.
29173 * math/w_remainderl.c (__remainderl): Likewise.
29174 * math/w_scalbl.c (sysv_scalbl): Likewise.
29175 * math/w_sinhl.c (__sinhl): Likewise.
29176 * math/w_sqrtl.c (__sqrtl): Likewise.
29177 * math/w_tgammal.c (__tgammal): Likewise.
29178 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29179 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29180 * math/libm-test.inc (acos_test): Add more tests.
29181 (acosh_test): Likewise.
29182 (asin_test): Likewise.
29183 (atanh_test): Likewise.
29184 (exp_test): Likewise.
29185 (exp10_test): Likewise.
29186 (exp2_test): Likewise.
29187 (expm1_test): Likewise.
29188 (lgamma_test): Likewise.
29189 (log_test): Likewise.
29190 (log10_test): Likewise.
29191 (log1p_test): Likewise.
29192 (log2_test): Likewise.
29193 (pow_test): Do not allow some spurious overflow exceptions.
29194 (sqrt_test): Add more tests.
29195 (tgamma_test): Likewise.
29196 (y0_test): Likewise.
29197 (y1_test): Likewise.
29198 (yn_test): Likewise.
29200 2012-03-27 Anton Blanchard <anton@samba.org>
29202 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29204 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29205 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29206 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29208 2012-03-27 David S. Miller <davem@davemloft.net>
29210 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29212 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29213 have-as-vis3 check.
29215 2012-03-27 Andreas Jaeger <aj@suse.de>
29217 * sysdeps/x86_64/elf/configure.in: Moved to ...
29218 * sysdeps/x86_64/configure.in: ... here.
29219 * sysdeps/x86_64/elf/start.S: Moved to ...
29220 * sysdeps/x86_64/start.S: ... here.
29221 * sysdeps/x86_64/elf/configure: Delete.
29223 * sysdeps/x86_64/configure.in: Merge contents from
29224 sysdeps/i386/configure.in (without i686 check).
29226 * sysdeps/i386/elf/Versions: Merge into ...
29227 * sysdeps/i386/Versions: ... this.
29228 * sysdeps/i386/elf/Versions: Delete file.
29229 * sysdeps/i386/elf/start.S: Moved to ...
29230 * sysdeps/i386/start.S: ...here.
29231 * sysdeps/i386/elf/configure.in: Merge into...
29232 * sysdeps/i386/configure.in: ...here.
29233 * sysdeps/i386/elf/configure.in: Delete file.
29234 * sysdeps/i386/elf/configure: Delete file.
29236 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29237 * debug/backtracesyms.c: ... here.
29238 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29239 * debug/backtracesymsfd.c: ... here.
29240 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29241 * sysdeps/generic/ifunc-sel.h: ... here.
29243 * sysdeps/unix/i386/start.c: Delete file.
29244 * sysdeps/unix/sparc/start.c: Delete file.
29245 * sysdeps/unix/start.c: Delete file.
29247 * sysdeps/sh/elf/configure.in: Moved to ...
29248 * sysdeps/sh/configure.in: ... here.
29249 * sysdeps/sh/elf/start.S: Moved to ...
29250 * sysdeps/sh/start.S: ... here.
29251 * sysdeps/sh/elf/configure: Delete file.
29253 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29254 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29255 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29256 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29257 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29258 * sysdeps/powerpc/powerpc64/start.S: here.
29259 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29260 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29261 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29262 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29263 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29265 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29266 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29267 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29268 * sysdeps/powerpc/powerpc32/start.S: ... here.
29269 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29270 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29271 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29273 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29274 * sysdeps/powerpc/ifunc-sel.h: ... here.
29275 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29276 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29278 * sysdeps/sparc/elf/configure.in: Moved to ...
29279 * sysdeps/sparc/configure.in: ... here.
29280 * sysdeps/sparc/elf/configure: Delete file.
29281 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29282 * sysdeps/sparc/sparc32/start.S: ... here.
29283 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29284 * sysdeps/sparc/sparc64/start.S: ... here.
29285 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29286 * sysdeps/sparc/sparc32/Makefile: ... this.
29287 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29288 * sysdeps/sparc/sparc64/Makefile: ... this.
29290 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29291 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29292 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29293 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29294 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29295 * sysdeps/s390/s390-32/setjmp.S: ... here.
29296 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29297 * sysdeps/s390/s390-32/configure.in: ... here.
29298 * sysdeps/s390/s390-32/elf/configure: Delete file.
29299 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29300 * sysdeps/s390/s390-32/start.S: ... here.
29302 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29303 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29304 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29305 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29306 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29307 * sysdeps/s390/s390-64/setjmp.S: ... here.
29308 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29309 * sysdeps/s390/s390-64/configure.in: ... here
29310 * sysdeps/s390/s390-64/elf/configure: Delete file.
29311 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29312 * sysdeps/s390/s390-64/start.S: ... here.
29313 * sysdeps/s390/s390-64/elf/configure: Delete.
29315 * configure.in: Remove support for elf directories in sysdeps.
29317 * configure: Regenerated.
29318 * sysdeps/i386/configure: Regenerated.
29319 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29320 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29321 * sysdeps/s390/s390-32/configure: Regenerated.
29322 * sysdeps/s390/s390-64/configure: Regenerated.
29323 * sysdeps/sh/configure: Regenerated.
29324 * sysdeps/sparc/configure: Regenerated.
29325 * sysdeps/x86_64/configure: Regenerated.
29327 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29331 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29332 denormal result into account.
29334 2012-03-25 Roland McGrath <roland@hack.frob.com>
29336 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29337 Reported by Allan McRae <allan@archlinux.org>.
29339 2012-03-23 Jeff Law <law@redhat.com>
29341 * nss/getnssent.c (__nss_getent): Fix typo.
29343 2012-03-23 David S. Miller <davem@davemloft.net>
29345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29347 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29349 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29350 to pad to uint64_t for each field.
29351 (dl_tls_index): Replace unsigned long with uint64_t.
29353 2012-03-23 Daniel Jacobowitz <dmj@google.com>
29354 Paul Pluzhnikov <ppluzhnikov@google.com>
29357 * grp/Makefile (otherlibs): Don't set it.
29358 * inet/Makefile (otherlibs): Likewise.
29359 * login/Makefile (otherlibs): Likewise.
29360 * nscd/Makefile (otherlibs): Likewise.
29361 * posix/Makefile (otherlibs): Likewise.
29362 * pwd/Makefile (otherlibs): Likewise.
29363 * rt/Makefile (otherlibs): Likewise.
29364 * sunrpc/Makefile (otherlibs): Likewise.
29365 * nss/Makefile (otherlibs): Likewise.
29366 Add libnss_files to routines and static-only-routines.
29367 ($(objpfx)getent): Remove rule.
29368 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29369 static-only-routines.
29371 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29374 * math/s_cexp.c: Include <float.h>.
29375 (__cexp): Handle exp result overflowing not necessarily
29376 overflowing both real and imaginary parts of result.
29377 * math/s_cexpf.c: Likewise.
29378 * math/s_cexpl.c: Likewise.
29379 * math/libm-test.inc (cexp_test): Add more tests.
29380 * sysdeps/i386/fpu/libm-test-ulps: Update.
29381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29383 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29385 * include/link.h (ELFW): New macro.
29386 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29387 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29389 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29391 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29394 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29396 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29398 (struct La_x32_retval): Likewise.
29400 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29402 * sysdeps/x86_64/preconfigure.in: New file.
29403 * sysdeps/x86_64/preconfigure: New generated file.
29405 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29408 * math/e_exp2l.c: Include <float.h>.
29409 (__ieee754_exp2l): Handle overflow and underflow cases
29410 separately. Only pass fractional part of argument to
29412 * math/libm-test.inc (exp2_test): Add more tests.
29414 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29415 negating x to take absolute value.
29416 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29418 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29419 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29421 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29422 computing low part if x was negated.
29423 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29425 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29427 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29428 la_x32_gnu_pltexit.
29429 (pltexit): Cast int_retval to ptrdiff_t.
29430 * elf/tst-auditmod3b.c: Likewise.
29431 * elf/tst-auditmod4b.c: Likewise.
29432 * elf/tst-auditmod5b.c: Likewise.
29433 * elf/tst-auditmod6b.c: Likewise.
29434 * elf/tst-auditmod6c.c: Likewise.
29435 * elf/tst-auditmod7b.c: Likewise.
29437 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29438 and x32_gnu_pltexit.
29440 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29441 __ELF_NATIVE_CLASS.
29442 (La_x32_regs): New macro.
29443 (La_x32_retval): Likewise.
29444 (la_x32_gnu_pltenter): New function prototype.
29445 (la_x32_gnu_pltexit): Likewise.
29447 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29449 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29454 * configure.in (libc_cv_cc_nofma): Check for option to disable
29455 generation of FMA instructions.
29456 * configure: Regenerate.
29457 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29458 * sysdeps/ieee754/dbl-64/Makefile: New file.
29459 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29460 Remove brandred-fma4.
29461 (CFLAGS-brandred-fma4.c): Remove.
29462 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29463 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29465 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29468 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29470 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29471 LLONG_MAX != LONG_MAX.
29472 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29473 (_fitoa_word): Likewise.
29474 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29475 LLONG_MAX != LONG_MAX.
29476 * stdio-common/_itowa.h: Include <_itoa.h>.
29477 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29478 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29479 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29480 only if not defined.
29481 (_ITOA_WORD_TYPE): Likewise.
29482 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29483 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29485 2012-03-21 David S. Miller <davem@davemloft.net>
29487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29489 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29491 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29492 of x86_64 when setting libc_cv_slibdir, libdir and
29494 * sysdeps/unix/sysv/linux/configure: Regenerated.
29496 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29498 * manual/lang.texi (Old Varargs): Remove section.
29499 (How Variadic): Update menu.
29500 (va_start): Do not mention varargs.h.
29502 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29503 Joseph Myers <joseph@codesourcery.com>
29505 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29507 * configure: Regenerated.
29509 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29511 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29512 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29515 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29518 * Makefile (files-for-dist): Remove NOTES.
29519 (NOTES): Remove rule.
29520 * README: Don't refer to NOTES.
29521 * manual/creature.texi: Don't include macros.texi.
29522 * manual/intro.texi (creature.texi): Remove comment referring to
29525 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29526 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29527 * configure: Regenerated.
29528 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29529 LIBC_TRY_CC_OPTION.
29530 (libc_cv_as_i686): Likewise.
29531 (libc_cv_cc_avx): Likewise.
29532 (libc_cv_cc_sse2avx): Likewise.
29533 (libc_cv_cc_fma4): Likewise.
29534 (libc_cv_cc_novzeroupper): Likewise.
29535 * sysdeps/i386/configure: Regenerated.
29538 * sysdeps/i386/fpu/s_cexp.S: Remove.
29539 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29540 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29541 * math/libm-test.inc (cexp_test): Add more tests.
29542 * sysdeps/i386/fpu/libm-test-ulps: Update.
29543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29545 2012-03-21 Allan McRae <allan@archlinux.org>
29547 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29549 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29552 * math/w_exp2.c: Do not include <float.h>.
29553 (o_threshold, u_threshold): Remove.
29554 (__exp2): Calculate result before checking finiteness and calling
29556 * math/w_exp2f.c: Likewise.
29557 * math/w_exp2l.c: Likewise.
29558 * math/libm-test.inc (exp2_test): Require overflow exception for
29562 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29563 range of signed 64-bit integers before using fistpll. Remove
29564 checks for whether integers fit in mantissa bits.
29565 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29566 the range of signed 32-bit integers before using fistpl. Remove
29567 checks for whether integers fit in mantissa bits.
29568 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29569 (__ieee754_powl): Test for y outside the range of signed 64-bit
29570 integers before using fistpll. Reduce 64-bit values to 63-bit
29572 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29573 divide-by-zero is raised for zero to large negative powers.
29574 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29575 (__ieee754_powl): Test for y outside the range of signed 64-bit
29576 integers before using fistpll. Reduce 64-bit values to 63-bit
29578 * math/libm-test.inc (pow_test): Add more tests.
29580 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29582 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29583 <stdio-common/_itoa.h>.
29584 * debug/segfault.c: Likewise.
29585 * elf/dl-cache.c: Likewise.
29586 * elf/dl-minimal.c: Likewise.
29587 * elf/dl-misc.c: Likewise.
29588 * elf/dl-sysdep.c: Likewise.
29589 * elf/dl-version.c: Likewise.
29590 * elf/rtld.c: Likewise.
29591 * hurd/hurdsock.c: Likewise.
29592 * hurd/lookup-retry.c: Likewise.
29593 * malloc/malloc.c: Likewise.
29594 * malloc/mtrace.c: Likewise.
29595 * nscd/nscd_getgr_r.c: Likewise.
29596 * nscd/nscd_getpw_r.c: Likewise.
29597 * nscd/nscd_getserv_r.c: Likewise.
29598 * posix/getopt_init.c: Likewise.
29599 * posix/wordexp.c: Likewise.
29600 * stdio-common/_itoa.c: Likewise.
29601 * stdio-common/printf_fphex.c: Likewise.
29602 * stdio-common/vfprintf.c: Likewise.
29603 * string/_strerror.c: Likewise.
29604 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29605 * sysdeps/i386/i686/hp-timing.h: Likewise.
29606 * sysdeps/mach/_strerror.c: Likewise.
29607 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29608 * sysdeps/mach/hurd/sethostid.c: Likewise.
29609 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29610 * sysdeps/mach/xpg-strerror.c: Likewise.
29611 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29612 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29613 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29614 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29615 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29616 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29617 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29618 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29619 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29620 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29621 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29622 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29623 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29624 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29625 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29626 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29627 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29628 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29629 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29630 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29631 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29633 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29635 * stdio-common/_itoa.h: Moved to ...
29636 * sysdeps/generic/_itoa.h: Here.
29638 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29640 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29641 instead of "_itoa.h" and "_itowa.h".
29642 * stdio-common/vfprintf.: Likewise.
29644 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29646 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29648 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29649 (__signbit): Likwise.
29650 (llrintf): Likwise.
29653 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29655 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29658 2012-03-20 Joseph Myers <joseph@codesourcery.com>
29660 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29661 OVERFLOW_EXCEPTION_OK.
29662 * math/libm-test.inc ("Philosophy"): Update comment about
29664 (OVERFLOW_EXCEPTION): Define.
29665 (OVERFLOW_EXCEPTION_OK): Likewise.
29666 (INVALID_EXCEPTION_OK): Renumber.
29667 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29668 (IGNORE_ZERO_INF_SIGN): Likewise.
29669 (test_exceptions): Handle FE_OVERFLOW.
29670 (exp10_test): Expect overflow exceptions.
29671 (exp2_test): Likewise.
29672 (expm1_test): Likewise.
29673 (nextafter_test): Likewise.
29674 (pow_test): Likewise.
29675 (scalbn_test): Likewise.
29676 (scalbln_test): Likewise.
29678 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29680 * sysdeps/x86_64/bits/atomic.h
29681 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29683 (atomic_exchange_acq): Likewise.
29684 (__arch_exchange_and_add_body): Likewise.
29685 (__arch_add_body): Likewise.
29686 (atomic_add_negative): Likewise.
29687 (atomic_add_zero): Likewise.
29689 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29691 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
29692 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29694 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29696 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29697 Check __x86_64__ instead of __WORDSIZE.
29699 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29701 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29703 2012-03-19 David S. Miller <davem@davemloft.net>
29705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29707 * sysdeps/sparc/fpu/fenv_private.h: New file.
29708 * sysdeps/sparc/fpu/math_private.h: Use it.
29709 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29711 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29712 (libc_feholdexcept_setroundl): Remove.
29713 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29715 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29716 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29718 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29720 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29721 int64_t instead of long int.
29722 (INSERT_WORDS64): Likwise.
29724 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29726 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29727 _Unwind_GetCFA return to _Unwind_Ptr first.
29729 2012-03-19 Joseph Myers <joseph@codesourcery.com>
29732 * math/s_clog.c: Include <float.h>.
29733 (__clog): Scale large or subnormal inputs.
29734 * math/s_clogf.c: Likewise.
29735 * math/s_clogl.c: Likewise.
29736 * math/s_clog10.c: Include <float.h>.
29737 (M_LOG10_2): Define.
29738 (__clog10): Scale large or subnormal inputs.
29739 * math/s_clog10f.c: Likewise.
29740 * math/s_clog10l.c: Likewise.
29741 * math/libm-test.inc (clog_test): Add more tests.
29742 (clog10_test): Likewise.
29743 * sysdeps/i386/fpu/libm-test-ulps: Update.
29744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29747 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29749 * math/libm-test.inc (atan2_test): Add another test.
29751 * Makerules (common-objdir-compile): Remove.
29752 * sysdeps/unix/Makefile (config-generated): Do not add
29753 $(unix-generated) to variable.
29754 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29755 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29757 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29759 [generic bits/local_lim.h] (before-compile): Do not append to
29761 [generic bits/local_lim.h] (common-generated): Likewise.
29762 [generic sys/param.h] (before-compile): Do not append to variable.
29763 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29764 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29765 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29766 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29768 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29769 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29770 [generic sys/param.h] ($(addprefix
29771 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29772 [generic sys/param.h] (common-generated): Do not append to
29774 [generic sys/param.h] (sysdep_headers): Likewise.
29775 [generic bits/errno.h] (before-compile): Do not append to
29777 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29779 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29780 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29781 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29782 [generic bits/errno.h] (common-generated): Do not append to
29784 [generic bits/ioctls.h] (before-compile): Do not append to
29786 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29788 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29789 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29790 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29792 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29793 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29794 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29795 [generic bits/ioctls.h] (common-generated): Do not append to
29797 [generic sys/syscall.h] (syscall.h): Remove variable.
29798 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29800 [generic sys/syscall.h] (before-compile): Do not append to
29802 [generic sys/syscall.h] (common-generated): Likewise.
29803 * sysdeps/unix/errnos-tmpl.c: Remove file.
29804 * sysdeps/unix/errnos.awk: Likewise.
29805 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29806 * sysdeps/unix/ioctls.awk: Likewise.
29807 * sysdeps/unix/mk-local_lim.c: Likewise.
29808 * sysdeps/unix/snarf-ioctls: Likewise.
29810 2012-03-19 Richard Henderson <rth@twiddle.net>
29812 * sysdeps/i386/fpu/fenv_private.h: New file.
29813 * sysdeps/i386/fpu/math_private.h: Use it.
29814 (math_opt_barrier, math_force_eval): Remove.
29815 (libc_feholdexcept_setround_53bit): Remove.
29816 (libc_feupdateenv_53bit): Remove.
29817 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29818 (math_opt_barrier, math_force_eval): Remove.
29819 (libc_feholdexcept): Remove.
29820 (libc_feholdexcept_setround): Remove.
29821 (libc_fetestexcept, libc_fesetenv): Remove.
29822 (libc_feupdateenv_test): Remove.
29823 (libc_feupdateenv, libc_feholdsetround): Remove.
29824 (libc_feresetround): Remove.
29826 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29827 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29829 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29830 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29831 (libc_feupdateenv_testl): New.
29832 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29833 (libc_feupdateenv_testf): New.
29834 (libc_feupdateenv): Use libc_feupdateenv_test.
29835 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29836 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29838 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29839 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29840 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29841 (libc_feresetround_noex): New.
29842 (libc_feresetround_noexf): New.
29843 (libc_feresetround_noexl): New.
29844 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29845 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29846 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29847 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29849 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29850 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29852 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29853 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29854 SET_RESTORE_ROUND_NOEX.
29855 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29856 SET_RESTORE_ROUND_NOEXF.
29857 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29858 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29859 (libc_feholdsetroundf): New.
29860 (libc_feresetround, libc_feresetroundf): New.
29862 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29863 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29864 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29866 * sysdeps/generic/math_private.h: Include <fenv.h>.
29867 (default_libc_feholdexcept): New.
29868 (default_libc_feholdexcept_setround): New.
29869 (default_libc_fesetenv, default_libc_feupdateenv): New.
29870 (libc_feholdexcept): Only define if undefined.
29871 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29872 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29873 (libc_feholdexcept_setroundl): Likewise.
29874 (libc_feholdexcept_setround_53bit): Likewise.
29875 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29876 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29877 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29878 (libc_feupdateenv_53bit): Likewise.
29879 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29880 (libc_feholdexcept): Convert from macro to inline function.
29881 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29882 (libc_fesetenv, libc_feupdateenv): Likewise.
29884 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29885 not previously defined.
29886 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29887 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29888 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29889 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29890 * sysdeps/ieee754/flt-32/math_private.h: New file.
29891 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29892 math_private.h below SET_FLOAT_WORD.
29893 (__isnan, __isinf_ns, __finite): Remove.
29894 (__isnanf, __isinf_nsf, __finitef): Remove.
29896 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29900 2012-03-17 David S. Miller <davem@davemloft.net>
29903 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29906 2012-03-16 David S. Miller <davem@davemloft.net>
29908 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29912 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29914 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29915 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29916 sysdep_routines when subdir is sysvipc.
29917 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29918 __getshmlba helper.
29920 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29922 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29924 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29927 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29929 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29930 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29931 (__lround): Renamed to ...
29932 (__llround): This. Replace long int with long long int.
29933 Define lround functions as aliases of llround functions.
29934 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29936 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29938 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29939 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29940 adresses to uintptr_t. Replace "long int" and "unsigned long
29941 int" with "greg_t" on va_arg.
29943 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29945 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29946 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29948 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29949 Move e_machine check before EI_CLASS check. Handle x32
29950 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29951 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29952 SKIP_EM_IA_64 and include
29953 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29955 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29956 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29957 (add_system_dir): New macro.
29959 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29960 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29962 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29973 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29975 * math/w_j0f.c (j0f): Likewise.
29977 * math/w_j0l.c (__j0l): Likewise.
29979 * math/w_j1.c (j1): Likewise.
29981 * math/w_j1f.c (j1f): Likewise.
29983 * math/w_j1l.c (__j1l): Likewise.
29985 * math/w_jn.c (jn): Likewise.
29987 * math/w_jnf.c (jnf): Likewise.
29989 * math/w_jnl.c (__jnl): Likewise.
29991 * math/libm-test.inc (j0_test): Add more tests.
29992 (j1_test): Likewise.
29993 (jn_test): Likewise. Add trailing semicolon to existing test.
29994 (y0_test): Likewise.
29995 (y1_test): Likewise.
29996 * sysdeps/i386/fpu/libm-test-ulps: Update.
29997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30001 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30002 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
30003 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
30004 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
30005 (__tanl): Set errno for infinite argument.
30006 * sysdeps/i386/fpu/mptan.c: Remove.
30007 * sysdeps/i386/fpu/s_tan.S: Likewise.
30008 * sysdeps/i386/fpu/s_tanl.S: Likewise.
30009 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30010 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30011 * math/libm-test.inc (tan_test): Add more tests and enable more
30012 tests for double and long double.
30013 * sysdeps/i386/fpu/libm-test-ulps: Update.
30014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30016 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
30018 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30019 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30021 2012-03-16 Roland McGrath <roland@hack.frob.com>
30023 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30024 * configure.in: Use it for both main tree and add-ons.
30025 * configure: Regenerated.
30027 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30029 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30031 2012-03-16 Joseph Myers <joseph@codesourcery.com>
30033 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30037 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30038 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30039 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30040 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30041 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30043 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30044 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30045 != 0 for prec == 2.
30046 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30047 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30048 * sysdeps/i386/fpu/s_cosl.S: Likewise.
30049 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30050 * sysdeps/i386/fpu/s_sinl.S: Likewise.
30051 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30052 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30053 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30054 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30055 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30056 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30057 * math/libm-test.inc (cos_test): Add more tests and enable more
30058 tests for long double.
30059 (sin_test): Likewise.
30060 (sincos_test): Likewise.
30061 * sysdeps/i386/fpu/libm-test-ulps: Update.
30062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30064 2012-03-16 David S. Miller <davem@davemloft.net>
30066 * sysdeps/sparc/fpu/math_private.h: New file.
30068 2012-03-15 David S. Miller <davem@davemloft.net>
30070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
30073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30080 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30084 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30085 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30087 * sysdeps/sparc/sparc-ifunc.h: New file.
30088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
30104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30112 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30113 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30114 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30115 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30125 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30126 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30127 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30128 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30129 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30130 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30131 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30133 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30135 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30139 2012-03-15 Andreas Jaeger <aj@suse.de>
30142 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30143 ieee754/flt-32 implementation for sin, cos and sincos.
30144 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30145 * sysdeps/i386/fpu/s_cosf.S: Likewise.
30146 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30147 * sysdeps/i386/fpu/s_sinf.S: Likewise.
30148 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30149 ieee754/flt-32 implementation for tan.
30151 * math/libm-test.inc (cos_test): Enable some large input tests for
30153 (sin_test): Likewise.
30154 (sincos_test): Likewise.
30155 (tan_test): Add tests for large input.
30157 * sysdeps/i386/fpu/libm-test-ulps: Update.
30159 2012-03-15 Andreas Jaeger <aj@suse.de>
30162 * math/libm-test.inc (cos_test): Add more test cases.
30163 (sin_test): Likewise.
30164 (sincos_test): Likewise.
30166 2012-03-15 Andreas Jaeger <aj@suse.de>
30169 * math/libm-test.inc (cos_test): Add a test case for large input
30171 (sin_test): Likewise.
30172 (sincos_test): Likewise.
30174 2012-03-15 Andreas Jaeger <aj@suse.de>,
30175 Joseph Myers <joseph@codesourcery.com>
30178 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
30179 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30180 * sysdeps/i386/fpu/branred.c: Likewise.
30181 * sysdeps/i386/fpu/dosincos.c: Likewise.
30182 * sysdeps/i386/fpu/mpa.c: Likewise.
30183 * sysdeps/i386/fpu/s_cos.S: Likewise.
30184 * sysdeps/i386/fpu/s_sin.S: Likewise.
30185 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30186 * sysdeps/i386/fpu/sincos32.c: Likewise.
30188 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30190 (libc_feupdateenv_53bit): Define.
30191 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30193 (libc_feupdateenv_53bit): Define.
30195 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30196 53 bit (without extend i386 double precision).
30198 * math/libm-test.inc (sincos_test): Add tests for large input.
30202 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30204 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30208 2012-03-15 David S. Miller <davem@davemloft.net>
30210 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30211 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30212 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30213 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
30225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
30228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
30231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
30234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30238 fmin/fmax sysdep routines.
30239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30241 2012-03-14 David S. Miller <davem@davemloft.net>
30243 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30246 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30247 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30248 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30249 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30250 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30263 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30264 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30265 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30266 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30267 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30268 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30269 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30270 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
30271 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
30276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
30279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
30282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
30285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
30288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
30303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
30306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
30309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
30312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30315 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30320 * sysdeps/sparc/configure.in: New file.
30321 * sysdeps/sparc/configure: Generate.
30322 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30323 * configure: Regenerate.
30324 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30325 * config.make.in (have-as-vis3): New.
30326 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30327 available use -Av9d instead of -Av9a.
30328 * sysdeps/sparc/sparc64/Makefile: Likewise.
30329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
30330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30338 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30339 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30340 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30341 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30342 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30344 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30345 fzeros/fnegs to load 0x80000000 into a float register instead of
30347 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30349 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30353 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30354 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30355 ($(inst_includedir)/bits/syscall.h): Remove rule.
30356 ($(objpfx)bits/syscall.d): Include instead of
30357 $(objpfx)syscall-list.d.
30358 (generated): Change syscall-list.h and syscall-list.d to
30359 bits/syscall.h and bits/syscall.d.
30361 2012-03-14 Roland McGrath <roland@hack.frob.com>
30364 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30366 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30369 * math/s_csqrt.c: Include <float.h>.
30370 (__csqrt): Scale large or subnormal inputs.
30371 * math/s_csqrtf.c: Likewise.
30372 * math/s_csqrtl.c: Likewise.
30373 * math/libm-test.inc (csqrt_test): Add more tests.
30374 * sysdeps/i386/fpu/libm-test-ulps: Update.
30375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30378 * math/libm-test.inc (hypot_test): Add more tests.
30380 2012-03-13 David S. Miller <davem@davemloft.net>
30383 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30384 double-precision for the calculation instead of scaling.
30386 2012-03-13 Joseph Myers <joseph@codesourcery.com>
30388 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30389 manipulate bits before adding and subtracting TWO52[sx].
30390 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30391 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30393 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30395 2012-03-13 David S. Miller <davem@davemloft.net>
30397 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30398 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30399 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30400 rtld-global-offsets.h
30401 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30403 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30406 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30408 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30409 'err' in the ifdef scope in which it is actually used.
30411 * nss/nss_db/db-init.c: Include string.h
30413 2012-03-12 David S. Miller <davem@davemloft.net>
30415 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30416 masking out of the most significant byte of random value used.
30417 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30418 Fix coding style in previous change.
30420 * sysdeps/unix/sysv/linux/kernel-features.h
30421 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30422 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30424 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30427 2012-03-11 David S. Miller <davem@davemloft.net>
30429 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30430 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30431 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30432 for 'resultvar' otherwise things get truncated on 64-bit.
30434 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30435 Fix masking out of the most significant byte of random value used.
30437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30439 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30443 2012-03-09 David S. Miller <davem@davemloft.net>
30445 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30446 variables with appropriate CPP guards.
30447 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30448 frame pointer, not the stack pointer. Correct layout comments. Fix test
30449 on resulting framesize and the management of the outregs buffer for pltexit.
30450 Preserve floating point return values across _dl_call_pltexit call.
30451 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30452 framesize and the management of the outregs buffer for pltexit.
30453 Preserve floating point return values across _dl_call_pltexit
30455 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30456 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30457 (print_exit): Fix format string for return register value.
30459 2012-03-10 Joseph Myers <joseph@codesourcery.com>
30461 * sunrpc/Makefile (others): Add rpcgen.
30462 ($(objpfx)rpcgen): Remove special build rule and dependency on
30464 * sunrpc/rpcgen.c: New file.
30466 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30469 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30470 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30471 * sysdeps/i386/crti.S: Likewise.
30472 * sysdeps/i386/crtn.S: Likewise.
30473 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30474 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30475 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30476 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30477 * sysdeps/sh/crti.S: Likewise.
30478 * sysdeps/sh/crtn.S: Likewise.
30479 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30482 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30484 * locale/programs/locfile-kw.gperf: Likewise.
30485 * locale/programs/charmap-kw.h: Regenerated.
30486 * locale/programs/locfile-kw.h: Likewise.
30489 * intl/plural.y: Replace FSF snail mail address with URL.
30490 * intl/plural.c: Regenerated.
30492 2012-03-09 Richard Henderson <rth@twiddle.net>
30494 * include/math_private.h: Remove file.
30495 * math/math_private.h: Move file ...
30496 * sysdeps/generic/math_private.h: ... here.
30498 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30499 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30500 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30502 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
30503 and <math_private.h>.
30504 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30505 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30506 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30507 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30508 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30509 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30510 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30511 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30512 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30513 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30514 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30515 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30516 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30517 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30518 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30519 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30520 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30521 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30522 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30523 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30525 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30526 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30527 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30528 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30529 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30530 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30531 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30533 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30534 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30535 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30536 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30537 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30538 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30539 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30540 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30541 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30542 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30543 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30544 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30545 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30546 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30547 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30548 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30549 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30550 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30551 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30552 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30553 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30554 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30555 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30556 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30557 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30558 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30559 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30560 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30561 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30562 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30563 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30564 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30565 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30566 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30567 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30568 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30569 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30570 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30571 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30572 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30573 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30574 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30575 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30576 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30577 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30578 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30579 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30580 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30581 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30582 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30583 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30584 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30585 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30586 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30587 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30588 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30589 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30590 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30591 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30592 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30593 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30594 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30595 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30596 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30597 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30598 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30599 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30600 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30601 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30602 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30603 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30604 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30605 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30606 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30607 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30608 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30609 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30610 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30611 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30612 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30613 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30614 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30615 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30616 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30617 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30618 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30619 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30620 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30621 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30622 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30623 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30624 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30625 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30626 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30627 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30628 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30629 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30630 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30631 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30632 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30633 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30634 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30635 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30636 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30637 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30638 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30639 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30640 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30641 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30642 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30643 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30644 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30645 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30646 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30647 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30648 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30649 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30650 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30651 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30652 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30653 * sysdeps/ieee754/k_standard.c: Likewise.
30654 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30655 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30656 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30657 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30658 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30659 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30660 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30661 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30662 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30663 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30664 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30665 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30666 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30667 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30668 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30669 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30670 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30671 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30672 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30673 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30674 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30675 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30676 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30677 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30678 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30679 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30680 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30681 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30682 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30683 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30684 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30685 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30686 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30687 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30688 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30689 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30690 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30691 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30692 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30693 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30694 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30695 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30696 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30697 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30698 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30699 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30700 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30701 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30702 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30703 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30704 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30705 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30706 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30707 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30708 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30709 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30710 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30711 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30712 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30713 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30714 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30715 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30716 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30717 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30718 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30719 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30720 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30721 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30722 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30723 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30724 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30725 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30726 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30727 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30728 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30729 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30730 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30731 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30732 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30733 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30734 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30735 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30736 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30737 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30738 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30739 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30740 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30741 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30742 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30743 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30744 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30745 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30746 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30747 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30748 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30749 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30750 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30751 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30752 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30753 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30754 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30755 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30756 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30757 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30758 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30759 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30760 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30761 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30762 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30763 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30764 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30765 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30766 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30767 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30768 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30769 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30770 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30771 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30772 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30773 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30774 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30775 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30776 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30777 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30778 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30779 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30780 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30781 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30782 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30783 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30784 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30785 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30786 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30787 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30788 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30789 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30790 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30791 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30792 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30793 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30794 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30795 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30796 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30797 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30798 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30799 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30800 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30801 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30802 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30803 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30804 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30805 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30806 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30807 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30808 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30809 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30810 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30811 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30812 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30813 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30814 * sysdeps/ieee754/s_lib_version.c: Likewise.
30815 * sysdeps/ieee754/s_matherr.c: Likewise.
30816 * sysdeps/ieee754/s_signgam.c: Likewise.
30817 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30818 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30819 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30820 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30821 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30822 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30823 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30824 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30825 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30826 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30827 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30828 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30829 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30830 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30831 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30832 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30833 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30834 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30835 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30836 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30837 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30839 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30841 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30842 * sunrpc/rpc_main.c: Likewise.
30843 * sunrpc/rpc_svcout.c: Likewise.
30845 2012-03-09 David S. Miller <davem@davemloft.net>
30847 * include/math_private.h: New file.
30849 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30851 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30852 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30853 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30854 from <bits/socket_type.h>.
30855 (enum __socket_type): Don't define here.
30856 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30858 bits/socket_type.h.
30861 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30862 checking __USE_GNU.
30864 * Makerules ($(inst_includedir)/%.h): New rule.
30865 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30866 (install-others): Remove variable setting.
30867 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30869 2012-03-08 Richard Henderson <rth@twiddle.net>
30871 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30872 from macro to inline function; merge with the
30873 !__LIBC_INTERNAL_MATH_INLINES version.
30874 (__ieee754_sqrtf): Likewise.
30876 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30877 to inline function.
30878 (__rintf, __floor, __floorf): Likewise.
30880 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30881 macro to inline function.
30882 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30884 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30885 not <math/math_private.h>.
30887 2012-03-08 David S. Miller <davem@davemloft.net>
30889 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30891 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30893 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30895 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30897 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30898 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30900 2012-03-08 Ulrich Drepper <drepper@gmail.com>
30902 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30903 be defined individually, they must be defined as a block. Define
30904 S for printing a string instead of hidint the different by using a
30905 macro for adding the 'l'.
30906 * stdio-common/tst-fphex-wide.c: Adjust.
30908 2012-03-07 Marek Polacek <polacek@redhat.com>
30910 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30912 2012-03-08 Marek Polacek <polacek@redhat.com>
30915 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30916 * stdio-common/tst-fphex.c: Define a few macros to make the
30917 test reusable. Use them.
30918 * stdio-common/tst-fphex-wide.c: New file.
30920 2012-03-08 Joseph Myers <joseph@codesourcery.com>
30923 * manual/macros.texi (gnusystems): New macro.
30924 (nongnusystems): Likewise.
30925 (gnulinuxhurdsystems): Likewise.
30926 (gnuhurdsystems): Likewise..
30927 (gnulinuxsystems): Likewise.
30928 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30929 variants of the GNU system, not "GNU system".
30930 * manual/conf.texi: Likewise.
30931 * manual/errno.texi: Likewise. Update example of errno macro
30933 * manual/filesys.texi: Likewise.
30934 (getumask): Document as specific to GNU/Hurd.
30935 * manual/install.texi: Likewise. Reword some references to
30937 * manual/intro.texi: Likewise.
30938 * manual/io.texi: Likewise.
30939 (File Name Portability): Detail which constraints are inapplicable
30940 to all GNU systems and which are only inapplicable to GNU/Hurd.
30941 * manual/job.texi: Likewise.
30942 * manual/llio.texi: Likewise.
30943 (O_NOCTTY): Document as present on GNU/Linux.
30944 * manual/maint.texi: Likewise.
30945 * manual/memory.texi: Likewise.
30946 * manual/pattern.texi: Likewise.
30947 * manual/pipe.texi: Likewise.
30948 * manual/process.texi: Likewise.
30949 * manual/resource.texi: Likewise.
30950 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30952 * manual/setjmp.texi: Likewise.
30953 * manual/signal.texi: Likewise.
30954 * manual/startup.texi: Likewise.
30955 * manual/stdio.texi: Likewise.
30956 * manual/terminal.texi: Likewise.
30957 (ONLCR): Document as POSIX.
30958 (OXTABS): Document availability on GNU/Linux as XTABS.
30959 (ONOEOT): Document availability separately from other bits.
30960 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30961 * manual/time.texi: Likewise.
30962 * manual/users.texi: Likewise.
30963 * INSTALL: Regenerated.
30964 * sysdeps/gnu/errlist.c: Regenerated.
30966 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30967 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30968 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30970 * configure: Regenerated.
30972 2012-03-07 Joseph Myers <joseph@codesourcery.com>
30974 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30975 default includes instead of AC_HEADER_CHECK.
30976 * sysdeps/i386/configure: Regenerated.
30979 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30980 * math/s_cacoshf.c (__cacoshf): Likewise.
30981 * math/s_cacoshl.c (__cacoshl): Likewise.
30982 * math/s_casinh.c (__casinh): Set signs of result from argument.
30983 * math/s_casinhf.c (__casinhf): Likewise.
30984 * math/s_casinhl.c (__casinhl): Likewise.
30985 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30986 (casinh_test): Add more tests.
30987 * sysdeps/i386/fpu/libm-test-ulps: Update.
30988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30990 2012-03-07 Ulrich Drepper <drepper@gmail.com>
30992 * po/zh_TW.po: Update from translation team.
30994 * login/Makefile (distribute): Remove variable.
30995 * catgets/Makefile: Likewise.
30996 * mach/Makefile: Likewise.
30997 * malloc/Makefile: Likewise.
30998 * misc/Makefile: Likewise.
30999 * iconv/Makefile: Likewise.
31000 * nscd/Makefile: Likewise.
31001 * hurd/Makefile: Likewise.
31002 * manual/Makefile: Likewise.
31003 * locale/Makefile: Likewise.
31004 * intl/Makefile: Likewise.
31005 * conform/Makefile: Likewise.
31006 * nss/Makefile: Likewise.
31007 * time/Makefile: Likewise.
31008 * soft-fp/Makefile: Likewise.
31009 * dirent/Makefile: Likewise.
31010 * gmon/Makefile: Likewise.
31011 * po/Makefile: Likewise.
31012 * rt/Makefile: Likewise.
31013 * socket/Makefile: Likewise.
31014 * math/Makefile: Likewise.
31015 * signal/Makefile: Likewise.
31016 * debug/Makefile: Likewise.
31017 * elf/Makefile: Likewise.
31018 * timezone/Makefile: Likewise.
31019 * stdlib/Makefile: Likewise.
31020 * iconvdata/Makefile: Likewise.
31021 * sunrpc/Makefile: Likewise.
31022 * io/Makefile: Likewise.
31023 * argp/Makefile: Likewise.
31024 * inet/Makefile: Likewise.
31025 * hesiod/Makefile: Likewise.
31026 * grp/Makefile: Likewise.
31027 * csu/Makefile: Likewise.
31028 * wctype/Makefile: Likewise.
31029 * crypt/Makefile: Likewise.
31030 * libio/Makefile: Likewise.
31031 * string/Makefile: Likewise.
31032 * nis/Makefile: Likewise.
31033 * resolv/Makefile: Likewise.
31034 * stdio-common/Makefile: Likewise.
31035 * wcsmbs/Makefile: Likewise.
31036 * dlfcn/Makefile: Likewise.
31037 * posix/Makefile: Likewise.
31040 * timezone/Makefile: Don't install timezone files, just the programs
31043 2012-03-06 Ulrich Drepper <drepper@gmail.com>
31045 * nss/databases.def: Add missing gshadow entry.
31047 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
31049 2012-03-06 Marek Polacek <polacek@redhat.com>
31052 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31053 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31054 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31055 * stdio-common/tst-long-dbl-fphex.c: New file.
31057 2012-03-06 David S. Miller <davem@davemloft.net>
31059 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31060 (set_obp_int): New function.
31061 (get_obp_int): New function.
31062 (__get_clockfreq_via_dev_openprom): Likewise.
31063 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31064 Avoid unused variable warnings on 'val' and use builtin_expect.
31065 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31067 (INLINE_CLONE_SYSCALL): Likewise.
31069 2012-03-05 David S. Miller <davem@davemloft.net>
31071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31073 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
31075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31077 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31078 only for |x| >= 40.
31079 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31081 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
31083 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31084 Replace gettimeofday with __vdso_gettimeofday.
31086 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31087 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31088 __vdso_clock_gettime and __vdso_getcpu.
31090 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31091 time with __vdso_time.
31093 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31095 * manual/lang.texi (size_t): Note types to which size_t may be
31096 equivalent with the GNU C Library, but do not describe when
31097 differences between them are significant.
31099 2012-03-05 Andreas Jaeger <aj@suse.de>
31101 * sysdeps/i386/fpu/libm-test-ulps: Update.
31103 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31106 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31107 (__ieee754_pow): Save and restore rounding mode and use
31108 round-to-nearest for main computations.
31109 * math/libm-test.inc (pow_test_tonearest): New function.
31110 (pow_test_towardzero): Likewise.
31111 (pow_test_downward): Likewise.
31112 (pow_test_upward): Likewise.
31113 (main): Call the new functions.
31114 * sysdeps/i386/fpu/libm-test-ulps: Update.
31115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31118 * math/libm-test.inc (cosh_test_tonearest): New function.
31119 (cosh_test_towardzero): Likewise.
31120 (cosh_test_downward): Likewise.
31121 (cosh_test_upward): Likewise.
31122 (sinh_test_tonearest): Likewise.
31123 (sinh_test_towardzero): Likewise.
31124 (sinh_test_downward): Likewise.
31125 (sinh_test_upward): Likewise.
31126 (main): Call the new functions.
31127 * sysdeps/i386/fpu/libm-test-ulps: Update.
31128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31130 2012-03-05 Tom de Vries <tom@codesourcery.com>
31132 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31133 default stack guard is set in last bytes.
31134 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31136 2012-03-05 Kees Cook <keescook@chromium.org>
31138 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
31141 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31142 possibly allocate from heap instead of stack.
31143 * stdio-common/bug-vfprintf-nargs.c: New file.
31144 * stdio-common/Makefile (tests): Add nargs overflow test.
31146 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
31148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31150 2012-03-03 Marek Polacek <polacek@redhat.com>
31152 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31153 * math/math_private.h: Likewise.
31154 * stdlib/tst-strtod.c: Likewise.
31155 * sysdeps/i386/i486/bits/atomic.h: Likewise.
31156 * sysdeps/x86_64/bits/atomic.h: Likewise.
31158 2012-03-02 David S. Miller <davem@davemloft.net>
31160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31164 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31165 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31166 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31167 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31169 2012-03-02 Roland McGrath <roland@hack.frob.com>
31172 * manual/examples/README: New file, says the example source files
31173 can be used under GPL>=2.
31174 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31175 line containing just "*/".
31176 * manual/examples/add.c: Add copyright header (GPL>=2).
31177 * manual/examples/argp-ex1.c: Likewise.
31178 * manual/examples/argp-ex2.c: Likewise.
31179 * manual/examples/argp-ex3.c: Likewise.
31180 * manual/examples/argp-ex4.c: Likewise.
31181 * manual/examples/atexit.c: Likewise.
31182 * manual/examples/db.c: Likewise.
31183 * manual/examples/dir.c: Likewise.
31184 * manual/examples/dir2.c: Likewise.
31185 * manual/examples/execinfo.c: Likewise.
31186 * manual/examples/filecli.c: Likewise.
31187 * manual/examples/filesrv.c: Likewise.
31188 * manual/examples/fmtmsgexpl.c: Likewise.
31189 * manual/examples/genpass.c: Likewise.
31190 * manual/examples/inetcli.c: Likewise.
31191 * manual/examples/inetsrv.c: Likewise.
31192 * manual/examples/isockad.c: Likewise.
31193 * manual/examples/longopt.c: Likewise.
31194 * manual/examples/memopen.c: Likewise.
31195 * manual/examples/memstrm.c: Likewise.
31196 * manual/examples/mkfsock.c: Likewise.
31197 * manual/examples/mkisock.c: Likewise.
31198 * manual/examples/mygetpass.c: Likewise.
31199 * manual/examples/pipe.c: Likewise.
31200 * manual/examples/popen.c: Likewise.
31201 * manual/examples/rprintf.c: Likewise.
31202 * manual/examples/search.c: Likewise.
31203 * manual/examples/select.c: Likewise.
31204 * manual/examples/setjmp.c: Likewise.
31205 * manual/examples/sigh1.c: Likewise.
31206 * manual/examples/sigusr.c: Likewise.
31207 * manual/examples/stpcpy.c: Likewise.
31208 * manual/examples/strdupa.c: Likewise.
31209 * manual/examples/strftim.c: Likewise.
31210 * manual/examples/strncat.c: Likewise.
31211 * manual/examples/subopt.c: Likewise.
31212 * manual/examples/swapcontext.c: Likewise.
31213 * manual/examples/termios.c: Likewise.
31214 * manual/examples/testopt.c: Likewise.
31215 * manual/examples/testpass.c: Likewise.
31216 * manual/examples/timeval_subtract.c: Likewise.
31219 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31221 * manual/timeval_subtract.c.texi: ... here, new file.
31223 2012-03-02 David S. Miller <davem@davemloft.net>
31225 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31227 2012-03-02 Joseph Myers <joseph@codesourcery.com>
31230 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31231 (__sin): Save and restore rounding mode and use round-to-nearest
31232 for all computations.
31233 (__cos): Save and restore rounding mode and use round-to-nearest
31234 for all computations.
31235 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31237 (tan): Save and restore rounding mode and use round-to-nearest for
31239 * math/libm-test.inc (cos_test_tonearest): New function.
31240 (cos_test_towardzero): Likewise.
31241 (cos_test_downward): Likewise.
31242 (cos_test_upward): Likewise.
31243 (sin_test_tonearest): Likewise.
31244 (sin_test_towardzero): Likewise.
31245 (sin_test_downward): Likewise.
31246 (sin_test_upward): Likewise.
31247 (tan_test_tonearest): Likewise.
31248 (tan_test_towardzero): Likewise.
31249 (tan_test_downward): Likewise.
31250 (tan_test_upward): Likewise.
31251 (main): Call the new functions.
31252 * sysdeps/i386/fpu/libm-test-ulps: Update.
31253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31256 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31257 small n, then large n, before computing and testing k+n.
31258 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31259 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31261 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31263 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31264 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31265 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31266 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31267 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31268 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31269 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31270 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31271 * math/libm-test.inc (scalbn_test): Add more tests.
31272 (scalbln_test): Likewise.
31274 * manual/filesys.texi (mode_t): Describe constraints on size and
31275 signedness, not exact equivalence to a particular type.
31277 (ino64_t): Likewise.
31279 (nlink_t): Likewise.
31280 (blkcnt_t): Likewise.
31281 (blkcnt64_t): Likewise.
31282 * manual/llio.texi (off_t): Likewise.
31285 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31286 (__ieee754_exp): Save and restore rounding mode and use
31287 round-to-nearest for all computations.
31288 * math/libm-test.inc (exp_test_tonearest): New function.
31289 (exp_test_towardzero): Likewise.
31290 (exp_test_downward): Likewise.
31291 (exp_test_upward): Likewise.
31292 (main): Call the new functions.
31293 * sysdeps/i386/fpu/libm-test-ulps: Update.
31294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31296 2012-03-01 Chris Demetriou <cgd@google.com>
31298 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31299 have predictable order.
31301 2012-03-01 David S. Miller <davem@davemloft.net>
31303 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31305 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31306 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31307 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31308 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31310 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31311 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31312 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31314 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31315 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31316 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31317 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31318 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31322 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31323 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31324 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31326 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31327 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31328 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31329 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31330 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31331 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31332 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31333 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31334 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31335 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31336 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31337 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31338 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31339 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31340 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31341 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31342 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31343 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31344 * sysdeps/sparc/elf/configure: Regenerated.
31346 2012-03-01 Joseph Myers <joseph@codesourcery.com>
31348 * configure.in (AS, LD): Require binutils 2.20 or later.
31349 * configure: Regenerated.
31350 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31351 as required minimum version.
31352 * INSTALL: Regenerated.
31356 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31357 before squaring exponent.
31358 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31359 bottom long double and 27 bits of top long double before squaring
31361 * math/libm-test.inc (erfc_test): Add more tests.
31362 * sysdeps/i386/fpu/libm-test-ulps: Update.
31363 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31366 2012-03-01 Kai Tietz <ktietz@redhat.com>
31368 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31369 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31370 containing bit-fields.
31371 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31372 * soft-fp/single.h (_FP_UNION_S): Likewise.
31373 * soft-fp/double.h (_FP_UNION_D): Likewise.
31375 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31378 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31379 not include ../strcmp.S.
31380 [USE_AS_STRNCASECMP_L]: Likewise.
31381 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31382 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31383 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31384 (__strncasecmp_l_ia32): Define as alias to
31385 __strncasecmp_l_nonascii.
31388 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31389 * sysdeps/i386/fpu/libm-test-ulps: Update.
31390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31392 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31395 2012-02-29 Jeff Law <law@redhat.com>
31397 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31398 out of bounds read.
31400 2012-02-29 Marek Polacek <polacek@redhat.com>
31403 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31404 * elf/Makefile: Add rules to run tst-unused-dep.out.
31406 2012-02-28 David S. Miller <davem@davemloft.net>
31408 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31409 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31410 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31411 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31412 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31413 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31415 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31417 * math/libm-test.inc (llround_test): Move one test from
31418 lround_test. Use TEST_f_L in moved test.
31419 (lround_test): Move misplaced test to llround_test. Add testcase
31422 2012-02-28 Ulrich Drepper <drepper@gmail.com>
31424 * sysdeps/x86_64/fpu/e_expf.S: New file.
31425 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31427 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31430 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31431 of remain_len that may cause incomplete multi-byte character and
31433 * posix/bug-regex33.c: New file.
31434 * posix/Makefile (tests): Add bug-regex33.
31436 2012-02-28 Joseph Myers <joseph@codesourcery.com>
31438 * manual/macros.texi: New file.
31439 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31440 * manual/libc.texinfo: Include macros.texi.
31441 * manual/creatute.texi: Likewise.
31442 * manual/install.texi: Likewise.
31443 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31444 @glibcadj{} in references to the GNU C Library.
31445 * manual/charset.texi: Likewise.
31446 * manual/conf.texi: Likewise.
31447 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31448 when not using those macros.
31449 * manual/creature.texi: Likewise.
31450 * manual/crypt.texi: Likewise.
31451 * manual/errno.texi: Likewise.
31452 * manual/filesys.texi: Likewise.
31453 * manual/header.texi: Likewise.
31454 * manual/install.texi: Likewise.
31455 * manual/intro.texi: Likewise.
31456 * manual/io.texi: Likewise.
31457 * manual/job.texi: Likewise.
31458 * manual/lang.texi: Likewise.
31459 * manual/libc.texiinfo: Likewise.
31460 * manual/llio.texi: Likewise.
31461 * manual/locale.texi: Likewise.
31462 * manual/maint.texi: Likewise.
31463 * manual/math.texi: Likewise.
31464 * manual/memory.texi: Likewise.
31465 * manual/message.texi: Likewise.
31466 * manual/nss.texi: Likewise.
31467 * manual/pattern.texi: Likewise.
31468 * manual/process.texi: Likewise.
31469 * manual/resource.texi: Likewise.
31470 * manual/search.texi: Likewise.
31471 * manual/setjmp.texi: Likewise.
31472 * manual/signal.texi: Likewise.
31473 * manual/socket.texi: Likewise.
31474 * manual/startup.texi: Likewise.
31475 * manual/stdio.texi: Likewise.
31476 * manual/string.texi: Likewise.
31477 * manual/sysinfo.texi: Likewise.
31478 * manual/syslog.texi: Likewise.
31479 * manual/terminal.texi: Likewise.
31480 * manual/time.texi: Likewise.
31481 * manual/users.texi: Likewise.
31482 * INSTALL: Regenerated.
31483 * NOTES: Regenerated.
31484 * sysdeps/gnu/errlist.c: Regenerated.
31486 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31488 * include/dirent.h: Include <dirstream.h> before
31491 2012-02-28 David S. Miller <davem@davemloft.net>
31493 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31494 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31495 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31496 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31498 2012-02-27 David S. Miller <davem@davemloft.net>
31500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31502 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31503 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31506 frame pointer instead of stack pointer relative arg slot.
31507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31508 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31509 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31511 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31514 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31516 2012-02-27 David S. Miller <davem@davemloft.net>
31518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31522 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31523 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31524 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31525 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31527 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31529 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31530 later. Allow versions 5-9.
31531 * configure: Regenerated.
31532 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31533 required minimum version and 4.6 as recommended version. Do not
31534 mention bugs in GCC 2.7 and 2.8.
31535 * INSTALL: Regenerated.
31537 2012-02-27 David S. Miller <davem@davemloft.net>
31539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31543 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31544 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31545 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31546 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31548 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31549 manipulate bits before adding and subtracting TWO112[sx].
31550 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31552 2012-02-27 Roland McGrath <roland@hack.frob.com>
31555 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31556 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31557 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31558 being in POSIX, because they are in 1003.1-2008.
31560 * rt/tst-aio.c: Include <fcntl.h>.
31561 * rt/tst-aio7.c: Likewise.
31562 * rt/tst-aio64.c: Likewise.
31564 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31566 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31568 * manual/install.texi (--with-headers): Describe headers as
31569 interface headers, not private headers.
31570 (Specific advice for GNU/Linux systems): Describe use of headers
31571 from "make headers_install", not private headers from older
31573 * INSTALL: Regenerated.
31574 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31576 * sysdeps/unix/sysv/linux/configure: Regenerated.
31578 * manual/llio.texi (fclean): Remove documentation.
31580 * manual/Makefile (libc-texi-generated): New variable. Include
31582 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31583 $(libc-texi-generated), not duplicated list of files.
31584 (version.texi, stamp-version): New rules.
31585 (realclean): Remove $(libc-texi-generated), not individual files
31586 from that list. Do not remove dir-add.texinfo.
31587 * manual/libc.texinfo: Comment out uses of edition numbers and
31588 references to printed manual. Remove last-updated dates.
31589 (EDITION): Comment out.
31591 (VERSION, UPDATED): Remove.
31592 (version.texi): Include.
31594 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31596 * sysdeps/posix/spawni.c: Include <signal.h>.
31597 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31598 * sysdeps/pthread/aio_fsync.c: Likewise.
31600 2012-02-26 Ulrich Drepper <drepper@gmail.com>
31602 * conform/Makefile (tests): Run only when not cross-compiling and
31603 when fast-check is not defined.
31605 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31606 * conform/data/limits.h-data: Fixes for POSIX2008.
31607 * conform/run-conformtest.sh: Run all tests.
31608 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31610 * include/bits/dlfcn.h: Likewise.
31611 * include/langinfo.h: Likewise.
31612 * include/monetary.h: Likewise.
31613 * include/sys/poll.h: Likewise.
31615 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31617 * posix/spawn.h: Define __need_sigset_t.
31618 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31619 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31620 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31621 to get sigevent_t only.
31622 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31623 only for __USE_GNU.
31624 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31625 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31626 process_vm_writev only for __USE_GNU.
31627 * termios/termios.h: Declare tcgetsid also for POSIX2008.
31629 * conform/Makefile: For now ignore errors from run-conformtest.
31630 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31631 POSIX to avoid namespace pollution. Don't prepend headers.
31632 * conform/data/aio.h-data: Fixes for POSIX testing.
31633 * conform/data/fcntl.h-data: Likewise.
31634 * conform/data/glob.h-data: Likewise.
31635 * conform/data/grp.h-data: Likewise.
31636 * conform/data/pthread.h-data: Likewise.
31637 * conform/data/pwd.h-data: Likewise.
31638 * conform/data/signal.h-data: Likewise.
31639 * conform/data/spawn.h-data: Likewise.
31640 * conform/data/stdio.h-data: Likewise.
31641 * conform/data/stdlib.h-data: Likewise.
31642 * conform/data/stropts.h-data: Likewise.
31643 * conform/data/sys/mman.h-data: Likewise.
31644 * conform/data/sys/stat.h-data: Likewise.
31645 * conform/data/sys/types.h-data: Likewise.
31646 * conform/data/sys/wait.h-data: Likewise.
31647 * conform/data/time.h-data: Likewise.
31648 * conform/data/unistd.h-data: Likewise.
31649 * conform/data/utime.h-data: Likewise.
31651 * io/sys/stat.h: fchmod was always in POSIX.
31652 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31653 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31654 * rt/aio.h: Define __need_timespec before including <time.h>.
31655 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31656 struct. Add forward declaration of pthread_attr_t and use it in
31658 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31659 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31660 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31661 always remove CLK_TCK definition.
31663 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31665 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31667 2012-02-25 Ulrich Drepper <drepper@gmail.com>
31669 * conform/run-conformtest.sh: New file.
31670 * conform/Makefile: Run run-conformtest for tests.
31671 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31674 * conform/data/uchar.h-data: New file.
31675 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31676 * conform/data/arpa/inet.h-data: Likewise.
31677 * conform/data/assert.h-data: Likewise.
31678 * conform/data/complex.h-data: Likewise.
31679 * conform/data/cpio.h-data: Likewise.
31680 * conform/data/ctype.h-data: Likewise.
31681 * conform/data/dirent.h-data: Likewise.
31682 * conform/data/dlfcn.h-data: Likewise.
31683 * conform/data/errno.h-data: Likewise.
31684 * conform/data/fcntl.h-data: Likewise.
31685 * conform/data/float.h-data: Likewise.
31686 * conform/data/fmtmsg.h-data: Likewise.
31687 * conform/data/fnmatch.h-data: Likewise.
31688 * conform/data/ftw.h-data: Likewise.
31689 * conform/data/glob.h-data: Likewise.
31690 * conform/data/grp.h-data: Likewise.
31691 * conform/data/iconv.h-data: Likewise.
31692 * conform/data/inttypes.h-data: Likewise.
31693 * conform/data/langinfo.h-data: Likewise.
31694 * conform/data/libgen.h-data: Likewise.
31695 * conform/data/limits.h-data: Likewise.
31696 * conform/data/locale.h-data: Likewise.
31697 * conform/data/math.h-data: Likewise.
31698 * conform/data/monetary.h-data: Likewise.
31699 * conform/data/mqueue.h-data: Likewise.
31700 * conform/data/ndbm.h-data: Likewise.
31701 * conform/data/net/if.h-data: Likewise.
31702 * conform/data/netdb.h-data: Likewise.
31703 * conform/data/netinet/in.h-data: Likewise.
31704 * conform/data/nl_types.h-data: Likewise.
31705 * conform/data/poll.h-data: Likewise.
31706 * conform/data/pthread.h-data: Likewise.
31707 * conform/data/pwd.h-data: Likewise.
31708 * conform/data/regex.h-data: Likewise.
31709 * conform/data/sched.h-data: Likewise.
31710 * conform/data/search.h-data: Likewise.
31711 * conform/data/semaphore.h-data: Likewise.
31712 * conform/data/setjmp.h-data: Likewise.
31713 * conform/data/signal.h-data: Likewise.
31714 * conform/data/spawn.h-data: Likewise.
31715 * conform/data/stdarg.h-data: Likewise.
31716 * conform/data/stdio.h-data: Likewise.
31717 * conform/data/stdlib.h-data: Likewise.
31718 * conform/data/string.h-data: Likewise.
31719 * conform/data/strings.h-data: Likewise.
31720 * conform/data/stropts.h-data: Likewise.
31721 * conform/data/sys/ipc.h-data: Likewise.
31722 * conform/data/sys/mman.h-data: Likewise.
31723 * conform/data/sys/msg.h-data: Likewise.
31724 * conform/data/sys/resource.h-data: Likewise.
31725 * conform/data/sys/select.h-data: Likewise.
31726 * conform/data/sys/sem.h-data: Likewise.
31727 * conform/data/sys/shm.h-data: Likewise.
31728 * conform/data/sys/socket.h-data: Likewise.
31729 * conform/data/sys/stat.h-data: Likewise.
31730 * conform/data/sys/statvfs.h-data: Likewise.
31731 * conform/data/sys/time.h-data: Likewise.
31732 * conform/data/sys/timeb.h-data: Likewise.
31733 * conform/data/sys/times.h-data: Likewise.
31734 * conform/data/sys/types.h-data: Likewise.
31735 * conform/data/sys/uio.h-data: Likewise.
31736 * conform/data/sys/un.h-data: Likewise.
31737 * conform/data/sys/utsname.h-data: Likewise.
31738 * conform/data/sys/wait.h-data: Likewise.
31739 * conform/data/syslog.h-data: Likewise.
31740 * conform/data/tar.h-data: Likewise.
31741 * conform/data/termios.h-data: Likewise.
31742 * conform/data/utime.h-data: Likewise.
31743 * conform/data/utmpx.h-data: Likewise.
31744 * conform/data/varargs.h-data: Likewise.
31745 * conform/data/wchar.h-data: Likewise.
31746 * conform/data/wctype.h-data: Likewise.
31747 * conform/data/wordexp.h-data: Likewise.
31749 * include/stropts.h: New file.
31750 * include/uchar.h: New file.
31751 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31752 * include/assert.h: Likewise.
31753 * include/ctype.h: Likewise.
31754 * include/dirent.h: Likewise.
31755 * include/dlfcn.h: Likewise.
31756 * include/fcntl.h: Likewise.
31757 * include/fnmatch.h: Likewise.
31758 * include/glob.h: Likewise.
31759 * include/grp.h: Likewise.
31760 * include/libio.h: Likewise.
31761 * include/locale.h: Likewise.
31762 * include/math.h: Likewise.
31763 * include/net/if.h: Likewise.
31764 * include/netdb.h: Likewise.
31765 * include/netinet/in.h: Likewise.
31766 * include/pthread.h: Likewise.
31767 * include/pwd.h: Likewise.
31768 * include/regex.h: Likewise.
31769 * include/sched.h: Likewise.
31770 * include/search.h: Likewise.
31771 * include/setjmp.h: Likewise.
31772 * include/signal.h: Likewise.
31773 * include/stdio.h: Likewise.
31774 * include/stdlib.h: Likewise.
31775 * include/string.h: Likewise.
31776 * include/sys/cdefs.h: Likewise.
31777 * include/sys/mman.h: Likewise.
31778 * include/sys/msg.h: Likewise.
31779 * include/sys/resource.h: Likewise.
31780 * include/sys/select.h: Likewise.
31781 * include/sys/socket.h: Likewise.
31782 * include/sys/stat.h: Likewise.
31783 * include/sys/statvfs.h: Likewise.
31784 * include/sys/time.h: Likewise.
31785 * include/sys/times.h: Likewise.
31786 * include/sys/uio.h: Likewise.
31787 * include/sys/utsname.h: Likewise.
31788 * include/sys/wait.h: Likewise.
31789 * include/termios.h: Likewise.
31790 * include/time.h: Likewise.
31791 * include/ulimit.h: Likewise.
31792 * include/unistd.h: Likewise.
31793 * include/utime.h: Likewise.
31794 * include/wchar.h: Likewise.
31795 * include/wctype.h: Likewise.
31796 * include/wordexp.h: Likewise.
31798 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31800 * time/time.h: TIME_UTC must be a macro.
31801 Make timespec_get available for ISO C11 only as well.
31803 2012-02-24 Ulrich Drepper <drepper@gmail.com>
31805 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31806 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31808 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31810 * configure.in: Use -o not -a in test for unsupported multi-arch.
31812 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31814 * manual/texinfo.tex: Update to version 2012-01-19.16.
31816 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31818 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31820 2012-02-24 Roland McGrath <roland@hack.frob.com>
31823 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31824 * manual/fdl-1.3.texi: New file.
31825 * manual/fdl-1.1.texi: File removed.
31828 * manual/libc.texinfo (FDL_VERSION): New @set.
31829 Use it for mention of FDL in cover text.
31830 (Documentation License): Use it in @include file name.
31832 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31833 Roland McGrath <roland@hack.frob.com>
31836 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31837 not LONG_LONG_MAX and LONG_LONG_MIN.
31838 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31839 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31841 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31843 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31847 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31848 manipulate bits before adding and subtracting TWO23[sx].
31849 * math/libm-test.inc (nearbyint_test): Add more tests.
31851 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31854 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31855 bits before adding and subtracting TWO23[sx].
31856 * math/libm-test.inc (rint_test): Add more tests.
31857 (rint_test_tonearest): Likewise.
31858 (rint_test_towardzero): Likewise.
31859 (rint_test_downward): Likewise.
31860 (rint_test_upward: Likewise.
31862 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31865 * include/stdc-predef.h: New file. Extracted from features.h.
31866 * include/features.h: Include stdc-predef.h.
31867 * Makefile (headers): Add stdc-predef.h.
31868 * CONFORMANCE (Compiler limitations): Update.
31870 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31872 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31874 2012-02-21 David S. Miller <davem@davemloft.net>
31876 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31877 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31879 2012-02-20 David S. Miller <davem@davemloft.net>
31881 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31882 using a normal save/restore sequence, rather than allocating a
31883 dummy stack frame just to store a frame pointer and restore.
31884 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31886 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31888 * manual/install.texi: Fix stray word in line-wrapped comment.
31890 2012-02-20 David S. Miller <davem@davemloft.net>
31892 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31893 both binutils and gcc support GOTDATA.
31895 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31896 "rd %pc" in the PIC register setup sequences.
31898 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31899 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31900 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31901 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31902 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31904 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31905 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31906 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31907 (SYSCALL_ERROR_HANDLER): Likewise.
31908 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31909 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31910 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31911 (SYSCALL_ERROR_HANDLER): Likewise.
31913 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31914 (HAVE_GCC_GOTDATA): New.
31915 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31916 relocation support in both binutils and gcc.
31917 * sysdeps/sparc/elf/configure: Regenerate.
31919 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31920 * sysdeps/sparc/sparc32/elf/configure: Delete.
31921 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31922 * sysdeps/sparc/sparc64/elf/configure: Delete.
31923 * sysdeps/sparc/elf/configure.in: New file.
31924 * sysdeps/sparc/elf/configure: Generate.
31926 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31927 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31928 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31929 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31930 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31932 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31934 * manual/install.texi: Do not mention specific glibc version
31936 * manual/libc.texinfo (VERSION, UPDATED): Update.
31937 (@copying): Use @copyright{} and range of years.
31939 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31942 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31943 [crti.S not in sysdirs] (generated): Do not append.
31944 [crti.S not in sysdirs] (omit-deps): Likewise.
31945 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31946 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31947 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31948 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31949 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31951 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31952 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31953 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31954 * csu/defs.awk: Remove file.
31955 * sysdeps/generic/initfini.c: Likewise.
31956 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31958 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31961 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31963 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31964 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31965 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31966 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31967 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31968 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31970 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31971 (__EPOLL_PACKED): Define to empty if not defined by
31973 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31977 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31979 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31980 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31981 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31982 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31984 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31988 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31990 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31992 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31993 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31994 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31997 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31999 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32000 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32002 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
32004 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
32005 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
32007 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
32009 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32012 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
32014 * math/w_acos.c: Use non-signaling floating-point comparisons.
32015 * math/w_acosf.c: Likewise.
32016 * math/w_acosh.c: Likewise.
32017 * math/w_acoshf.c: Likewise.
32018 * math/w_acoshl.c: Likewise.
32019 * math/w_acosl.c: Likewise.
32020 * math/w_asin.c: Likewise.
32021 * math/w_asinf.c: Likewise.
32022 * math/w_asinl.c: Likewise.
32023 * math/w_atanh.c: Likewise.
32024 * math/w_atanhf.c: Likewise.
32025 * math/w_atanhl.c: Likewise.
32026 * math/w_exp2.c: Likewise.
32027 * math/w_exp2f.c: Likewise.
32028 * math/w_exp2l.c: Likewise.
32029 * math/w_j0.c: Likewise.
32030 * math/w_j0f.c: Likewise.
32031 * math/w_j0l.c: Likewise.
32032 * math/w_j1.c: Likewise.
32033 * math/w_j1f.c: Likewise.
32034 * math/w_j1l.c: Likewise.
32035 * math/w_jn.c: Likewise.
32036 * math/w_jnf.c: Likewise.
32037 * math/w_log.c: Likewise.
32038 * math/w_log10.c: Likewise.
32039 * math/w_log10f.c: Likewise.
32040 * math/w_log10l.c: Likewise.
32041 * math/w_log2.c: Likewise.
32042 * math/w_log2f.c: Likewise.
32043 * math/w_log2l.c: Likewise.
32044 * math/w_logf.c: Likewise.
32045 * math/w_logl.c: Likewise.
32046 * math/w_sqrt.c: Likewise.
32047 * math/w_sqrtf.c: Likewise.
32048 * math/w_sqrtl.c: Likewise.
32049 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32050 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32051 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32052 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32053 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32055 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32058 * manual/string.texi (strnlen): Use correct parameter name in
32059 equivalent expression.
32061 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32064 * manual/users.texi (seteuid): Consistently use neweuid for
32067 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32070 * manual/nss.texi (Services in the NSS configuration): Correct
32071 list of services in example configuration file.
32073 2012-02-19 Nick Bowler <nbowler@draconx.ca>
32076 * manual/arith.texi: Remove statements about negative zero
32077 behaving identically to zero.
32079 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32082 * manual/install.texi: Do not document upgrading from libc5.
32084 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32087 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32089 2012-02-18 David S. Miller <davem@davemloft.net>
32091 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32092 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32093 %o7 across the call.
32094 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32096 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32097 SETUP_PIC_REG_LEAF.
32098 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32099 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32100 * sysdeps/sparc/crtn.S: Likewise.
32102 2012-02-17 Ulrich Drepper <drepper@gmail.com>
32104 * aout/Makefile: Remove.
32106 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
32109 * manual/examples/argp-ex1.c (main): Format definition in GNU
32111 * manual/examples/argp-ex2.c (main): Likewise.
32112 * manual/examples/argp-ex3.c (main): Likewise.
32113 * manual/examples/argp-ex4.c (main): Likewise.
32114 * manual/examples/longopt.c (main): Use new-style prototype
32116 * manual/examples/strncat.c (main): Specify return type and use
32117 (void) for arguments.
32118 * manual/examples/subopt.c (main): Use char **argv argument.
32120 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32123 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32126 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
32129 * manual/string.texi (strchr): Change when strchrnul is
32132 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
32135 * manual/locale.texi (setlocale): Document LOCPATH.
32137 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32140 * manual/process.texi (execle): Move @dots{} before last argument.
32142 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
32145 * manual/charset.texi (Generic Charset Conversion): Fix typo
32146 (LC_TYPE -> LC_CTYPE).
32148 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
32151 * manual/arith.texi (scalbn): Use @var{} on parameter names.
32152 (scalbnf): Likewise.
32153 (scalbnl): Likewise.
32154 (scalbln): Likewise.
32155 (scalblnf): Likewise.
32156 (scalblnl): Likewise.
32157 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32158 (vwarnx): Likewise.
32161 * manual/filesys.texi (telldir): Use braces around return type.
32162 * manual/llio.texi (mmap): Add space after comma.
32163 (mmap64): Likewise.
32164 * manual/math.texi (jn): Use @var{} on parameter names.
32170 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32172 * manual/resource.texi (ulimit): Use @dots{} instead of literal
32174 (sched_get_priority_min): Remove semicolon on @deftypefun line.
32175 (sched_get_priority_max): Likewise.
32176 * manual/signal.texi (sigvec): Add space after comma.
32177 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32179 (if_indextoname): Likewise.
32180 (if_freenameindex): Likewise.
32181 (sendto): Use ',' instead of '.' in prototype.
32182 * manual/startup.texi (syscall): Use @dots{} instead of literal
32184 * manual/stdio.texi (__fpending): Separate initial words of
32185 paragraph from @deftypefun line.
32186 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32188 (vsyslog): Use @var{} on parameter names.
32189 * manual/terminal.texi (stty): Use @var{} on parameter names.
32190 * manual/users.texi (getutmp): Use @var{} on parameter names.
32191 (getutmpx): Likewise.
32193 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32196 * manual/stdio.texi (fopen): Fix typos in description of
32199 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32202 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32203 get clock_id definition.
32205 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
32208 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32209 (madvise): Cast every argument to void on its own.
32211 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32214 * manual/startup.texi (Exit Status): Fix typo.
32216 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32219 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32220 * manual/examples/argp-ex2.c: Likewise.
32221 * manual/examples/argp-ex3.c: Likewise.
32223 2012-02-16 Richard Henderson <rth@redhat.com>
32225 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32226 * sysdeps/s390/s390-32/initfini.c: Remove.
32227 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32228 * sysdeps/s390/s390-64/initfini.c: Remove.
32230 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32232 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32233 compiler output for sysdeps/generic/initfini.c.
32234 * sysdeps/sh/elf/initfini.c: Remove file.
32236 2012-02-16 David S. Miller <davem@davemloft.net>
32239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32241 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32242 * sysdeps/sparc/crti.S: New file.
32243 * sysdeps/sparc/crtn.S: New file.
32244 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32245 * sysdeps/sparc/sparc64/Makefile: Likewise.
32247 2012-02-15 Mike Frysinger <vapier@gentoo.org>
32250 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32252 2012-02-15 Roland McGrath <roland@hack.frob.com>
32255 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32257 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32258 (write, read, close): Likewise.
32259 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32261 2012-02-15 Joseph Myers <joseph@codesourcery.com>
32263 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32264 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32265 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32266 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32268 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32272 2012-02-14 Marek Polacek <polacek@redhat.com>
32274 * sysdeps/x86_64/crti.S: New file.
32275 * sysdeps/x86_64/crtn.S: New file.
32276 * sysdeps/x86_64/elf/initfini.c: Remove file.
32278 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32280 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32281 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32282 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32283 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32285 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32286 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32289 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32291 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32292 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32293 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32294 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32296 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32300 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32302 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32303 __feraiseexcept instead of feraiseexcept.
32305 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32306 nanosleep invocations.
32307 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32308 strings, and add error checking for a nanosleep invocations.
32310 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32312 Replace FSF snail mail address with URLs, as per GNU coding standards.
32313 Most of the snail mail addresses were wrong anyway, and omitting
32314 them makes the source code easier to maintain. Almost all of the
32315 changes are to license notices and to locale LC_IDENTIFICATION
32316 addresses, except for this one:
32317 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32318 not its snail mail address.
32320 2012-02-09 Richard Henderson <rth@twiddle.net>
32322 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32323 of kernel-features.h.
32325 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32327 2012-02-08 Marek Polacek <polacek@redhat.com>
32329 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32330 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32331 * sysdeps/gnu/_G_config.h: Likewise.
32332 * sysdeps/generic/_G_config.h: Likewise.
32334 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32336 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32340 * sysdeps/powerpc/powerpc32/crti.S: New file.
32341 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32342 * sysdeps/powerpc/powerpc64/crti.S: New file.
32343 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32345 * Makeconfig (have-initfini): Don't set.
32346 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32347 * configure.in (nopic_initfini): Don't substitute.
32348 * config.h.in (HAVE_INITFINI): Don't #undef.
32349 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32350 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32352 2012-02-08 Joseph Myers <joseph@codesourcery.com>
32354 Support crti.S and crtn.S provided directly by architectures.
32355 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32356 [crti.S in sysdirs] (omit-deps): Likewise.
32357 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32358 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32359 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32360 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32361 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32362 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32363 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32364 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32365 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32366 compiler output for sysdeps/generic/initfini.c.
32367 * sysdeps/i386/elf/Makefile: Remove file.
32368 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32370 2012-02-07 Marek Polacek <polacek@redhat.com>
32372 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32373 * sysdeps/gnu/_G_config.h: Likewise.
32374 * sysdeps/mach/hurd/_G_config.h: Likewise.
32376 2012-02-07 Marek Polacek <polacek@redhat.com>
32378 * math/Makefile (tests): Add tst-CMPLX2.
32379 * math/tst-CMPLX2.c: New file.
32381 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32383 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32385 * math/libm-test.inc (jn_test): Add missing L suffix.
32387 2012-02-06 Marek Polacek <polacek@redhat.com>
32389 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32390 * sysdeps/i386/fpu/e_powf.S: Likewise.
32391 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32392 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32393 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32394 * sysdeps/i386/fpu/e_pow.S: Likewise.
32395 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32396 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32397 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32398 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32399 * sysdeps/i386/fpu/e_log2.S: Likewise.
32400 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32401 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32402 * sysdeps/i386/fpu/e_powl.S: Likewise.
32403 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32404 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32405 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32406 * sysdeps/i386/fpu/e_logl.S: Likewise.
32407 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32408 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32409 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32410 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32411 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32412 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32413 * sysdeps/i386/fpu/e_log.S: Likewise.
32414 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32415 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32416 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32417 * sysdeps/i386/fpu/e_logf.S: Likewise.
32418 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32419 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32420 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32421 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32422 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32423 * sysdeps/i386/fpu/e_log10.S: Likewise.
32424 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32425 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32426 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32427 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32428 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32429 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32430 * sysdeps/i386/asm-syntax.h: Likewise.
32431 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32432 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32433 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32434 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32435 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32436 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32437 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32438 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32439 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32440 * sysdeps/powerpc/sysdep.h: Likewise.
32441 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32442 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32444 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32447 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32449 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32451 * sysdeps/i386/sysdep.h: Include <features.h>.
32452 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32455 2012-02-05 Joseph Myers <joseph@codesourcery.com>
32457 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32459 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32462 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32464 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32465 (SETUP_PIC_REG): Use GET_PC_THUNK.
32466 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32469 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32471 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32472 for non-PIC compilation.
32473 (SETUP_PIC_REG): Add .p2align directive.
32474 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32475 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32476 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32477 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32478 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32479 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32480 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32481 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32482 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32483 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32484 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32485 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32486 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32487 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32488 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32489 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32490 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32491 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32492 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32493 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32494 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32495 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32496 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32497 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32498 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32499 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32500 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32501 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32502 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32503 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32504 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32505 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32506 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32507 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32508 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32509 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32510 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32511 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32512 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32513 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32514 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32516 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32518 * math/tst-CMPLX.c: Include <stdio.h>.
32520 2012-01-31 Joseph Myers <joseph@codesourcery.com>
32522 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32524 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32525 * sysdeps/sparc/bits/mathdef.h: Likewise.
32527 2012-01-31 Marek Polacek <polacek@redhat.com>
32529 * libio/libio.h: Don't define _PARAMS.
32530 * locale/programs/config.h: Don't define PARAMS.
32531 * stdlib/strtol_l.c: Likewise.
32532 (__strtol_l): Remove PARAMS from the prototype.
32534 2012-01-31 Ulrich Drepper <drepper@gmail.com>
32536 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32537 names. Just use the correct names. Remove unnecessary wrapper
32539 * malloc/arena.c: Likewise.
32540 * malloc/hooks.c: Likewise.
32542 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32543 ARENA_TEST says not to. Simplify test for creation of a new arena.
32544 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32546 2012-01-30 Ulrich Drepper <drepper@gmail.com>
32548 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32550 (update_get_addr): New function.
32551 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32552 GET_ADDR_MODULE parameter.
32554 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32556 * crypt/cert.c: Remove __STDC__ conditionals.
32557 * crypt/crypt-entry.c: Likewise.
32558 * crypt/crypt_util.c: Likewise.
32559 * libio/filedoalloc.c: Likewise.
32560 * libio/fileops.c: Likewise.
32561 * libio/genops.c: Likewise.
32562 * libio/iofclose.c: Likewise.
32563 * libio/iofdopen.c: Likewise.
32564 * libio/iofopen.c: Likewise.
32565 * libio/iofopen64.c: Likewise.
32566 * libio/iogetdelim.c: Likewise.
32567 * libio/iopopen.c: Likewise.
32568 * libio/obprintf.c: Likewise.
32569 * libio/oldfileops.c: Likewise.
32570 * libio/oldiofclose.c: Likewise.
32571 * libio/oldiofdopen.c: Likewise.
32572 * libio/oldiofopen.c: Likewise.
32573 * libio/oldiopopen.c: Likewise.
32574 * libio/wfiledoalloc.c: Likewise.
32575 * libio/wgenops.c: Likewise.
32576 * locale/programs/xmalloc.c: Likewise.
32577 * misc/syslog.c: Likewise.
32578 * stdio-common/xbug.c: Likewise.
32579 * string/memchr.c: Likewise.
32580 * string/memcmp.c: Likewise.
32581 * string/memrchr.c: Likewise.
32582 * string/rawmemchr.c: Likewise.
32583 * sysdeps/posix/getcwd.c: Likewise.
32584 * time/strftime_l.c: Likewise.
32586 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32588 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
32589 * config.make.in (config-cflags-sse2avx): Define.
32590 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32593 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32595 * scripts/config.guess: Update from upstream config git repository.
32596 * scripts/config.sub: Likewise.
32598 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32600 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32602 (R_TILEPRO_*, R_TILEGX_*): New macros.
32604 * scripts/firstversions.awk: Fix bug in version range handling.
32606 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32608 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32610 * include/sys/epoll.h: New file.
32611 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32614 2012-01-28 Ulrich Drepper <drepper@gmail.com>
32616 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32617 Avoid unnecessary __WORDSIZE == 64 test.
32618 (fmaxf): Use VEX format if possible.
32623 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32624 * math/math_private.h: Remove libc_fegetround* and
32626 * sysdeps/i386/configure.in: Check for -msse2avx.
32627 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32628 also if SSE2AVX is defined.
32629 Remove libc_fegetround* and libc_fesetround*.
32630 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32631 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32632 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32634 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32635 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32636 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32637 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32638 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32640 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32642 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32644 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32646 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32648 2012-01-27 Ulrich Drepper <drepper@gmail.com>
32651 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32653 * Makeconfig (libm): Define.
32654 * elf/Makefile: Add rules to build and run tst-relsort1.
32655 * elf/tst-relsort1.c: New file.
32656 * elf/tst-relsort1mod1.c: New file.
32657 * elf/tst-relsort1mod2.c: New file.
32659 2012-01-27 Joseph Myers <joseph@codesourcery.com>
32661 * math/s_ldexp.c: Remove __STDC__ conditionals.
32662 * math/s_ldexpf.c: Likewise.
32663 * math/s_ldexpl.c: Likewise.
32664 * math/s_nextafter.c: Likewise.
32665 * math/s_nexttowardf.c: Likewise.
32666 * math/s_significand.c: Likewise.
32667 * math/s_significandf.c: Likewise.
32668 * math/s_significandl.c: Likewise.
32669 * math/w_jnl.c: Likewise.
32670 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32671 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32672 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32673 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32674 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32675 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32676 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32677 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32678 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32679 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32680 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32681 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32682 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32683 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32684 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32685 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32686 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32687 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32688 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32689 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32690 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32691 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32692 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32693 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32694 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32695 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32696 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32697 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32698 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32699 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32700 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32701 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32702 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32703 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32704 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32705 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32706 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32707 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32708 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32709 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32710 * sysdeps/ieee754/k_standard.c: Likewise.
32711 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32712 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32713 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32714 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32715 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32716 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32717 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32718 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32719 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32720 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32721 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32722 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32723 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32724 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32725 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32726 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32727 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32728 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32729 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32730 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32731 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32732 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32733 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32734 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32735 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32736 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32737 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32738 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32739 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32740 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32741 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32742 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32743 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32744 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32745 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32746 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32747 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32748 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32749 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32750 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32751 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32752 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32753 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32754 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32755 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32756 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32757 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32758 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32759 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32760 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32761 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32762 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32763 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32764 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32765 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32766 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32767 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32768 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32769 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32770 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32771 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32772 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32773 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32774 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32775 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32776 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32777 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32778 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32779 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32780 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32781 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32782 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32783 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32784 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32785 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32786 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32787 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32788 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32789 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32790 * sysdeps/ieee754/s_matherr.c: Likewise.
32791 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32792 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32793 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32794 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32796 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32798 * crypt/md5.h: Remove __STDC__ conditionals.
32799 * libio/libioP.h: Likewise.
32800 * locale/programs/config.h: Likewise.
32801 * sysdeps/generic/sysdep.h: Likewise.
32802 * sysdeps/i386/asm-syntax.h: Likewise.
32803 * sysdeps/s390/asm-syntax.h: Likewise.
32804 * sysdeps/unix/sysdep.h: Likewise.
32805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32808 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32810 * libio/libio.h: Remove __STDC__ conditionals.
32811 * malloc/obstack.h: Likewise.
32812 * math/complex.h: Likewise.
32813 * math/math.h: Likewise.
32814 * sysdeps/generic/_G_config.h: Likewise.
32815 * sysdeps/gnu/_G_config.h: Likewise.
32816 * sysdeps/mach/hurd/_G_config.h: Likewise.
32817 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32818 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32819 * sysdeps/sparc/bits/mathdef.h: Likewise.
32821 2012-01-26 Ulrich Drepper <drepper@gmail.com>
32824 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32825 Clean up HAS_* macros.
32826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32827 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32829 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32831 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32832 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32833 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32834 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32835 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32837 2012-01-25 Joseph Myers <joseph@codesourcery.com>
32839 * elf/tst-unique3.cc (gets): Remove declaration.
32840 * elf/tst-unique3lib.cc (gets): Likewise.
32841 * elf/tst-unique3lib2.cc (gets): Likewise.
32842 * elf/tst-unique4.cc (gets): Likewise.
32844 2012-01-24 Ulrich Drepper <drepper@gmail.com>
32846 * include/stdio.h: Add C++ protection. Add gets declarations and
32848 * debug/tst-chk1.c: Don't declare gets here.
32849 * stdio-common/tst-gets.c: Likewise.
32851 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32853 * posix/glob: Remove directory.
32855 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32857 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32859 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32861 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32862 of the non-standard EPFNOSUPPORT.
32864 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32866 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32867 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32868 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32870 2012-01-21 Ulrich Drepper <drepper@gmail.com>
32872 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32874 2012-01-20 Ulrich Drepper <drepper@gmail.com>
32876 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32878 * nscd/grpcache.c (cache_addgr): Likewise.
32879 * nscd/hstcache.c (cache_addhst): Likewise.
32880 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32881 * nscd/pwdcache.c (cache_addpw): Likewise.
32882 * nscd/servicescache.c (cache_addserv): Likewise.
32884 2012-01-16 Ulrich Drepper <drepper@gmail.com>
32886 * malloc/malloc.c: Various cleanups.
32887 * malloc/hooks.c: Likewise.
32889 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32890 * stdlib/bug-fmtmsg1.c: New file.
32892 * stdlib/fmtmsg.c (init): Add missing unlock.
32893 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32895 2012-01-12 Marek Polacek <polacek@redhat.com>
32897 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32900 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32902 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32903 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32904 macro to ensure uniqueness of label name.
32905 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32906 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32908 2012-01-11 Ulrich Drepper <drepper@gmail.com>
32910 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32912 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32913 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32914 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32915 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32917 2012-01-10 Ulrich Drepper <drepper@gmail.com>
32919 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32921 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32922 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32923 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32925 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32927 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32928 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32929 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32930 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32932 * math/bits/math-finite.h: Add ldexp support.
32934 2012-01-10 Marek Polacek <polacek@redhat.com>
32936 * locale/programs/localedef.h (show_archive_content): Add noreturn
32939 2012-01-09 Ulrich Drepper <drepper@gmail.com>
32941 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32943 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32945 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32947 * io/Makefile (headers): Add bits/poll2.h.
32949 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32952 typo #include statement.
32954 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32956 * include/sys/cdefs.h: Define __attribute_alloc_size.
32957 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32958 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32959 * elf/pldd.c: Likewise.
32960 * iconv/iconv_charmap.c: Likewise.
32961 * iconv/iconvconfig.c: Likewise.
32962 * iconv/strtab.c: Likewise.
32963 * locale/programs/locale.c: Likewise.
32964 * locale/programs/localedef.h: Likewise.
32965 * locale/programs/simple-hash.c: Likewise.
32966 * nscd/nscd.h: Likewise.
32967 * nss/makedb.c: Likewise.
32968 * sysdeps/generic/ldconfig.h: Likewise.
32969 * locale/programs/localedef.c: Remove xmalloc prototype.
32970 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32972 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32974 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32977 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32979 * math/Makefile (tests): Add tst-CMPLX.
32980 * math/tst-CMPLX.c: New file.
32982 * math/complex.h (CMPLXL): Fix typo.
32984 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32985 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32987 * debug/tst-chk1.c: Add poll and ppoll tests.
32988 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32989 * include/sys/poll.h: Add hidden proto for ppoll.
32990 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32991 * sysdeps/mach/hurd/ppoll.c: Likewise.
32992 * io/ppoll.c: Likewise.
32993 * debug/poll_chk.c: New file.
32994 * debug/ppoll_chk.c: New file.
32995 * include/bits/poll2.h: New file.
32996 * io/bits/poll2.h: New file.
32999 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
33001 * configure.in: static is always set to yes. Remove.
33002 * config.make.in: Don't set build-static.
33003 * Makeconfig: Remove use of build-static.
33004 * dlfcn/Makefile: Likewise.
33005 * elf/Makefile: Likewise.
33006 * math/Makefile: Likewise.
33007 * misc/Makefile: Likewise.
33008 * nptl/Makefile: Likewise.
33009 * sysdeps/mach/hurd/Makefile: Likewise.
33011 * configure.in: PWD_P is not used anymore.
33012 * config.make.in: Remove PWD_P entry.
33014 * configure.in: Remove last remnants of RANLIB.
33015 No need to check for signed size_t anymore.
33016 Don't set libc_commonpagesize and libc_relro_required here for Alpha
33018 Remove __builtin_expect test because we require at least gcc 3.4.
33019 * aclocal.m4: Likewise.
33021 * wcsmbs/mbrtoc16.c: Implement using towc function.
33022 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33023 * wcsmbs/wcsmbsload.c: Likewise.
33024 * iconv/gconv_simple.c: Likewise.
33025 * iconv/gconv_int.h: Likewise.
33026 * iconv/gconv_builtin.h: Likewise.
33027 * iconv/iconv_prog.c: Remove CHAR16 handling.
33029 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33031 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33033 * configure.in: Remove --with-elf and --enable-bounded options.
33034 Dont set base_machine for ia64. More non-ELF conditions removed.
33035 Remove testing and setting of leading underscore information.
33036 * config.make.in (build-bounded): Set to no.
33037 * config.h.in: Remove NO_UNDERSCORES entry.
33038 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
33040 * csu/start.c: Remove !NO_UNDERSCORE code.
33041 * locale/localeinfo.h: Likewise.
33042 * sysdeps/generic/machine-gmon.h: Likewise.
33043 * sysdeps/generic/sysdep.h: Likewise.
33044 * sysdeps/i386/sysdep.h: Likewise.
33045 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33046 * sysdeps/mach/sysdep.h: Likewise.
33047 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33048 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33049 * sysdeps/sh/sysdep.h: Likewise.
33050 * sysdeps/sparc/sparc32/alloca.S: Likewise.
33051 * sysdeps/unix/i386/sysdep.S: Likewise.
33052 * sysdeps/unix/sparc/start.c: Likewise.
33053 * sysdeps/unix/sparc/sysdep.S: Likewise.
33054 * sysdeps/unix/sparc/sysdep.h: Likewise.
33055 * sysdeps/unix/start.c: Likewise.
33056 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33057 * sysdeps/x86_64/sysdep.h: Likewise.
33059 2012-01-07 Ulrich Drepper <drepper@gmail.com>
33062 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33064 * argp/argp-fmtstream.h: Use const instead __const.
33065 * argp/argp.h: Likewise.
33066 * assert/assert.h: Likewise.
33067 * bits/fenv.h: Likewise.
33068 * bits/sched.h: Likewise.
33069 * bits/sigset.h: Likewise.
33070 * bits/sigthread.h: Likewise.
33071 * catgets/nl_types.h: Likewise.
33072 * conform/data/pthread.h-data: Likewise.
33073 * crypt/crypt-private.h: Likewise.
33074 * crypt/crypt.h: Likewise.
33075 * crypt/crypt_util.c: Likewise.
33076 * ctype/ctype.h: Likewise.
33077 * debug/execinfo.h: Likewise.
33078 * debug/mbsnrtowcs_chk.c: Likewise.
33079 * debug/mbsrtowcs_chk.c: Likewise.
33080 * debug/wcsnrtombs_chk.c: Likewise.
33081 * debug/wcsrtombs_chk.c: Likewise.
33082 * debug/wcstombs_chk.c: Likewise.
33083 * dirent/dirent.h: Likewise.
33084 * dlfcn/dlfcn.h: Likewise.
33085 * elf/neededtest4.c: Likewise.
33086 * grp/grp.h: Likewise.
33087 * gshadow/gshadow.h: Likewise.
33088 * iconv/gconv.h: Likewise.
33089 * iconv/gconv_int.h: Likewise.
33090 * iconv/gconv_simple.c: Likewise.
33091 * iconv/iconv.h: Likewise.
33092 * iconv/loop.c: Likewise.
33093 * iconv/skeleton.c: Likewise.
33094 * include/aio.h: Likewise.
33095 * include/aliases.h: Likewise.
33096 * include/argz.h: Likewise.
33097 * include/arpa/inet.h: Likewise.
33098 * include/assert.h: Likewise.
33099 * include/dirent.h: Likewise.
33100 * include/dlfcn.h: Likewise.
33101 * include/execinfo.h: Likewise.
33102 * include/fcntl.h: Likewise.
33103 * include/fenv.h: Likewise.
33104 * include/glob.h: Likewise.
33105 * include/grp.h: Likewise.
33106 * include/libintl.h: Likewise.
33107 * include/mntent.h: Likewise.
33108 * include/netdb.h: Likewise.
33109 * include/pwd.h: Likewise.
33110 * include/rpc/netdb.h: Likewise.
33111 * include/sched.h: Likewise.
33112 * include/search.h: Likewise.
33113 * include/shadow.h: Likewise.
33114 * include/signal.h: Likewise.
33115 * include/stdio.h: Likewise.
33116 * include/stdlib.h: Likewise.
33117 * include/string.h: Likewise.
33118 * include/sys/socket.h: Likewise.
33119 * include/sys/stat.h: Likewise.
33120 * include/sys/statfs.h: Likewise.
33121 * include/sys/statvfs.h: Likewise.
33122 * include/sys/syslog.h: Likewise.
33123 * include/sys/time.h: Likewise.
33124 * include/sys/uio.h: Likewise.
33125 * include/time.h: Likewise.
33126 * include/unistd.h: Likewise.
33127 * include/utmp.h: Likewise.
33128 * include/wchar.h: Likewise.
33129 * include/wctype.h: Likewise.
33130 * inet/aliases.h: Likewise.
33131 * inet/arpa/inet.h: Likewise.
33132 * inet/netinet/ether.h: Likewise.
33133 * inet/netinet/in.h: Likewise.
33134 * intl/libintl.h: Likewise.
33135 * io/bits/fcntl2.h: Likewise.
33136 * io/fcntl.h: Likewise.
33137 * io/ftw.h: Likewise.
33138 * io/sys/poll.h: Likewise.
33139 * io/sys/stat.h: Likewise.
33140 * io/sys/statfs.h: Likewise.
33141 * io/sys/statvfs.h: Likewise.
33142 * io/utime.h: Likewise.
33143 * libio/bits/stdio.h: Likewise.
33144 * libio/bits/stdio2.h: Likewise.
33145 * libio/libio.h: Likewise.
33146 * libio/libioP.h: Likewise.
33147 * libio/stdio.h: Likewise.
33148 * locale/lc-ctype.c: Likewise.
33149 * locale/locale.h: Likewise.
33150 * login/utmp.h: Likewise.
33151 * malloc/arena.c: Likewise.
33152 * malloc/malloc.c: Likewise.
33153 * malloc/malloc.h: Likewise.
33154 * malloc/mcheck.c: Likewise.
33155 * malloc/mtrace.c: Likewise.
33156 * math/bits/mathcalls.h: Likewise.
33157 * math/fenv.h: Likewise.
33158 * math/math_private.h: Likewise.
33159 * misc/bits/error.h: Likewise.
33160 * misc/bits/syslog.h: Likewise.
33161 * misc/err.h: Likewise.
33162 * misc/error.h: Likewise.
33163 * misc/fstab.h: Likewise.
33164 * misc/mntent.h: Likewise.
33165 * misc/regexp.h: Likewise.
33166 * misc/search.h: Likewise.
33167 * misc/sgtty.h: Likewise.
33168 * misc/sys/mman.h: Likewise.
33169 * misc/sys/syslog.h: Likewise.
33170 * misc/sys/uio.h: Likewise.
33171 * misc/sys/xattr.h: Likewise.
33172 * misc/ttyent.h: Likewise.
33173 * nis/rpcsvc/ypclnt.h: Likewise.
33174 * nss/nss.h: Likewise.
33175 * posix/bits/unistd.h: Likewise.
33176 * posix/fnmatch.h: Likewise.
33177 * posix/glob.h: Likewise.
33178 * posix/sched.h: Likewise.
33179 * posix/spawn.h: Likewise.
33180 * posix/sys/wait.h: Likewise.
33181 * posix/unistd.h: Likewise.
33182 * posix/wordexp.h: Likewise.
33183 * pwd/pwd.h: Likewise.
33184 * resolv/netdb.h: Likewise.
33185 * resource/sys/resource.h: Likewise.
33186 * rt/aio.h: Likewise.
33187 * rt/bits/mqueue2.h: Likewise.
33188 * rt/mqueue.h: Likewise.
33189 * shadow/shadow.h: Likewise.
33190 * signal/signal.h: Likewise.
33191 * socket/send.c: Likewise.
33192 * socket/sendto.c: Likewise.
33193 * socket/sys/socket.h: Likewise.
33194 * stdio-common/printf.h: Likewise.
33195 * stdlib/bits/stdlib.h: Likewise.
33196 * stdlib/fmtmsg.h: Likewise.
33197 * stdlib/monetary.h: Likewise.
33198 * stdlib/stdlib.h: Likewise.
33199 * stdlib/ucontext.h: Likewise.
33200 * streams/stropts.h: Likewise.
33201 * string/argz.h: Likewise.
33202 * string/bits/string2.h: Likewise.
33203 * string/string.h: Likewise.
33204 * string/strings.h: Likewise.
33205 * sunrpc/rpc/auth.h: Likewise.
33206 * sunrpc/rpc/auth_des.h: Likewise.
33207 * sunrpc/rpc/clnt.h: Likewise.
33208 * sunrpc/rpc/netdb.h: Likewise.
33209 * sunrpc/rpc/pmap_clnt.h: Likewise.
33210 * sunrpc/rpc/xdr.h: Likewise.
33211 * sysdeps/generic/inttypes.h: Likewise.
33212 * sysdeps/generic/net/if.h: Likewise.
33213 * sysdeps/generic/sys/swap.h: Likewise.
33214 * sysdeps/gnu/net/if.h: Likewise.
33215 * sysdeps/gnu/utmpx.h: Likewise.
33216 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33217 * sysdeps/i386/i486/bits/string.h: Likewise.
33218 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33219 * sysdeps/s390/bits/string.h: Likewise.
33220 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33221 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33222 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33223 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33224 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33225 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33226 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33227 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33228 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33229 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33230 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33231 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33232 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33233 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33234 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33235 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33236 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33237 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33238 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33239 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33240 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33241 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33242 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33243 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33244 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33245 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33246 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33247 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33248 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33249 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33250 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33251 * sysvipc/sys/ipc.h: Likewise.
33252 * sysvipc/sys/msg.h: Likewise.
33253 * sysvipc/sys/sem.h: Likewise.
33254 * sysvipc/sys/shm.h: Likewise.
33255 * termios/termios.h: Likewise.
33256 * time/sys/time.h: Likewise.
33257 * time/time.h: Likewise.
33258 * wcsmbs/bits/wchar2.h: Likewise.
33259 * wcsmbs/uchar.h: Likewise.
33260 * wcsmbs/wchar.h: Likewise.
33261 * wctype/wctype.h: Likewise.
33264 * Makeconfig: Remove all but ELF support including AIX support.
33265 * Makerules: Likewise.
33266 * config.h.in: Likewise.
33267 * config.make.in: Likewise.
33268 * configure: Likewise.
33269 * configure.in: Likewise.
33270 * csu/Makefile: Likewise.
33271 * csu/version.c: Likewise.
33272 * debug/Makefile: Likewise.
33273 * dlfcn/Makefile: Likewise.
33274 * elf/Makefile: Likewise.
33275 * extra-lib.mk: Likewise.
33276 * iconv/Makefile: Likewise.
33277 * include/libc-symbols.h: Likewise.
33278 * include/shlib-compat.h: Likewise.
33279 * resolv/Makefile: Likewise.
33280 * resolv/res_libc.c: Likewise.
33281 * rt/Makefile: Likewise.
33282 * sysdeps/i386/asm-syntax.h: Likewise.
33283 * sysdeps/i386/sysdep.h: Likewise.
33284 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33285 * sysdeps/mach/sysdep.h: Likewise.
33286 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33287 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33288 * sysdeps/s390/asm-syntax.h: Likewise.
33289 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33290 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33291 * sysdeps/sh/sysdep.h: Likewise.
33292 * sysdeps/unix/sparc/sysdep.h: Likewise.
33293 * sysdeps/wordsize-32/divdi3.c: Likewise.
33294 * sysdeps/x86_64/sysdep.h: Likewise.
33296 * argp/Versions: Remove _argp_unlock_xxx.
33299 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33300 * abilist/libBrokenLocale.abilist: Likewise.
33301 * abilist/libanl.abilist: Likewise.
33302 * abilist/libc.abilist: Likewise.
33303 * abilist/libcrypt.abilist: Likewise.
33304 * abilist/libdl.abilist: Likewise.
33305 * abilist/libm.abilist: Likewise.
33306 * abilist/libnsl.abilist: Likewise.
33307 * abilist/libpthread.abilist: Likewise.
33308 * abilist/libresolv.abilist: Likewise.
33309 * abilist/librt.abilist: Likewise.
33310 * abilist/libthread_db.abilist: Likewise.
33311 * abilist/libutil.abilist: Likewise.
33312 * abilist/libnss_db.abilist: New file.
33314 * scripts/abilist.awk: Add support for indirect functions.
33316 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33318 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33320 * shlib-versions: Remove entries for ports architectures.
33322 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33324 * elf/stackguard-macros.h: Remove support for IA-64.
33325 * elf/tst-auditmod1.c: Likewise.
33326 * sysdeps/generic/ldsodefs.h: Likewise.
33328 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33329 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33333 * configure.in: Remove --enable-omitfp support.
33335 * config.make.in: Likewise.
33336 * Makeconfig: Likewise.
33337 * manual/install.texi: Likewise.
33339 In case anyone cares, the IA-64 architecture could move to ports.
33340 * sysdeps/ia64/*: Removed.
33341 * sysdeps/unix/sysv/linux/ia64/*: Removed.
33342 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
33345 * configure.in: Remove entries for unsupported architectures.
33348 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33349 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33351 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33352 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33353 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33354 fall back to using wcrtomb.
33355 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33356 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33358 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33359 * wcsmbs/tst-c16c32-1.c: New file.
33361 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33364 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33366 * elf/tst-unique3.cc: Add explicit declaration of gets.
33367 * elf/tst-unique3lib.cc: Likewise.
33368 * elf/tst-unique3lib2.cc: Likewise.
33369 * elf/tst-unique4.cc: Likewise.
33371 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33373 2012-01-06 Joseph Myers <joseph@codesourcery.com>
33376 * assert/assert.h (static_assert): Don't define for C++.
33377 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33378 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33380 2012-01-03 Ulrich Drepper <drepper@gmail.com>
33382 * iconv/loop.c (single loop): Fix assertion in storing of
33385 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33387 2012-01-01 Ulrich Drepper <drepper@gmail.com>
33389 * posix/getconf.c: Update copyright year.
33390 * nss/getent.c: Likewise.
33391 * nss/makedb.c: Likewise.
33392 * iconv/iconvconfig.c: Likewise.
33393 * iconv/iconv_prog.c: Likewise.
33394 * elf/ldconfig.c: Likewise.
33395 * elf/pldd.c: Likewise.
33396 * elf/sotruss.ksh: Likewise.
33397 * catgets/gencat.c: Likewise.
33398 * csu/version.c: Likewise.
33399 * elf/ldd.bash.in: Likewise.
33400 * elf/sprof.c (print_version): Likewise.
33401 * locale/programs/locale.c: Likewise.
33402 * locale/programs/localedef.c: Likewise.
33403 * login/programs/pt_chown.c: Likewise.
33404 * nscd/nscd.c (print_version): Likewise.
33405 * debug/xtrace.sh: Likewise.
33406 * malloc/memusage.sh: Likewise.
33407 * malloc/mtrace.pl: Likewise.
33408 * debug/catchsegv.sh: Likewise.
33410 2011-12-30 Jakub Jelinek <jakub@redhat.com>
33412 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33415 2011-12-24 Ulrich Drepper <drepper@gmail.com>
33418 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33419 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33421 * iconv/gconv_int.h: Likewise.
33422 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33423 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33424 from libc for GLIBC_2.16.
33425 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33426 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33427 * wcsmbs/uchar.h: Really define mbstate_t.
33428 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33429 * wcsmbs/c16rtomb.c: New file.
33430 * wcsmbs/mbrtoc16.c: New file.
33431 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33432 for C/POSIX locale.
33433 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33434 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33436 * wcsmbs/wchar.h: Add missing __restrict.
33438 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33441 * time/Makefile (routines): Add timespec_get.
33442 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33443 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33444 timespec for ISO C11.
33445 * time/timespec_get.c: New file.
33446 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33447 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33450 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33451 * stdlib/stdlib.h: Declare aligned_alloc.
33452 * Versions.def: Add GLIBC_2.16 for libc.
33453 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33456 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33459 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
33463 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33466 * assert/assert.h (static_assert): Define.
33468 * version.h: Update for 2.16 development version.
33471 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33474 * version.h (RELEASE): Bump for 2.15 release.
33475 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33477 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33478 Patch by Marek Polacek <mpolacek@redhat.com>.
33480 * bits/byteswap.h: Protect long long constants with __extension__.
33481 * sysdeps/i386/bits/byteswap.h: Likewise.
33482 * sysdeps/ia64/bits/byteswap.h: Likewise.
33483 * sysdeps/s390/bits/byteswap.h: Likewise.
33484 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33486 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33489 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33490 destination buffer.
33491 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33493 2011-12-23 Marek Polacek <polacek@redhat.com>
33495 * elf/dl-addr.c (determine_info): Add inline keyword.
33496 * elf/tst-auditmod4b.c (check_avx): Likewise.
33497 * elf/tst-auditmod6b.c (check_avx): Likewise.
33498 * elf/tst-auditmod6c.c (check_avx): Likewise.
33499 * elf/tst-auditmod7b.c (check_avx): Likewise.
33501 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33503 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33506 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33509 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33510 processing for last bytes.
33512 2011-08-06 Bruno Haible <bruno@clisp.org>
33515 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33516 U+0385, not to U+1FEE.
33519 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33520 entry for U+00A5 U+0301.
33522 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33525 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33526 buffer for the output is too small.
33528 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33532 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33533 SSE flags if possible.
33535 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33538 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33539 processing for last bytes.
33541 2011-12-22 Joseph Myers <joseph@codesourcery.com>
33543 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33544 (syscall-list-default-options, syscall-list-default-condition)
33545 (syscall-list-includes): Define.
33546 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33547 list of ABIs and options and #if conditions for each ABI. Do not
33548 handle common syscalls between ABIs specially.
33549 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33551 (syscall-list-variants, syscall-list-32bit-options)
33552 (syscall-list-32bit-condition, syscall-list-64bit-options)
33553 (syscall-list-64bit-condition): Define.
33554 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33555 (syscall-list-variants, syscall-list-32bit-options)
33556 (syscall-list-32bit-condition, syscall-list-64bit-options)
33557 (syscall-list-64bit-condition): Define.
33558 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33560 (syscall-list-variants, syscall-list-32bit-options)
33561 (syscall-list-32bit-condition, syscall-list-64bit-options)
33562 (syscall-list-64bit-condition): Define.
33563 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33565 (syscall-list-variants, syscall-list-32bit-options)
33566 (syscall-list-32bit-condition, syscall-list-64bit-options)
33567 (syscall-list-64bit-condition): Define.
33569 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33571 * locale/iso-639.def: Add brx entry.
33574 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33575 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33577 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33578 __feraiseexcept_renamed.
33580 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33583 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33584 EPOLLET with unsigned values.
33585 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33586 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33588 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33589 to large cancellation.
33590 * math/s_cacoshf.c: Likewise.
33591 * math/s_cacoshl.c: Likewise.
33593 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33597 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33598 * math/s_cacoshf.c: Likewise.
33599 * math/s_cacoshl.c: Likewise.
33601 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33604 * iconv/gconv.h: Define __GCONV_SWAP.
33605 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33606 * iconvdata/utf-16.c: Likewise.
33607 * iconvdata/utf-32.c: Likewise.
33609 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33612 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33613 numerator after shifting it by one limb.
33615 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33617 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33618 under [__USE_EXTERN_INLINES].
33620 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33623 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33625 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33627 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33628 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33630 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33631 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33632 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33633 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33634 for strncasecmp/strncasecmp_l compilation.
33635 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33636 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33638 2011-12-08 Marek Polacek <mpolacek@redhat.com>
33641 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33644 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33647 * time/tzfile.c (__tzfile_read): Check values from file header.
33649 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33651 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33652 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33653 * powerpc/powerpc32/dl-start.S: Likewise.
33654 * powerpc/powerpc32/elf/start.S: Likewise.
33655 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33656 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33657 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33658 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33659 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33660 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33661 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33662 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33663 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33664 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33665 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33666 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33667 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33668 * powerpc/powerpc32/memset.S: Likewise.
33669 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33670 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33671 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33672 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33673 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33674 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33675 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33676 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33677 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33678 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33679 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33680 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33681 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33683 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33685 * math/libm-test.inc: Added more nearbyint tests.
33686 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33687 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33688 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33689 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33691 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33693 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33696 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33698 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33699 Add wcscpy-ssse3 wcscpy-c.
33700 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33701 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33702 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33703 * sysdeps/x86_64/wcschr.S: New file.
33704 * sysdeps/x86_64/wcsrchr.S: New file.
33705 * string/test-strcmp.c: Remove checking of wcscmp function for
33707 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33708 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33709 wcsrchr-sse2 wcsrchr-c.
33710 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33711 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33712 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33713 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33714 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33715 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33716 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33717 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33718 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33719 * wcsmbc/wcschr.c (WCSCHR): New macro.
33721 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33723 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33724 * wcsmbs/test-wcsrchr.c: New file.
33725 * string/test-strrchr.c: Add wcsrchr support.
33727 * wcsmbs/test-wcscpy.c: New file.
33728 * string/test-strcpy.c: Add wcscpy support.
33731 2011-12-10 Ulrich Drepper <drepper@gmail.com>
33733 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33736 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33739 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33741 2011-12-04 Ulrich Drepper <drepper@gmail.com>
33743 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33744 Minor optimizations.
33746 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33747 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33748 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33750 2011-12-03 Ulrich Drepper <drepper@gmail.com>
33752 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33753 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33754 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33755 for gcc to avoid warnings.
33756 * inet/Makefile (tests): Add tst-checks.
33757 * inet/tst-checks.c: New file.
33759 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33762 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33765 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33766 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33768 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33770 2011-12-02 Ulrich Drepper <drepper@gmail.com>
33772 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33775 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33777 2011-11-29 Joseph Myers <joseph@codesourcery.com>
33779 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33780 conditional on GCC version.
33781 (__arch_compare_and_exchange_val_8_acq)
33782 (__arch_compare_and_exchange_val_16_acq)
33783 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33784 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33785 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33787 2011-12-02 Joseph Myers <joseph@codesourcery.com>
33789 * sysdeps/sh/backtrace.c: New file.
33791 2011-12-02 Andreas Schwab <schwab@redhat.com>
33793 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33796 2011-12-01 Andreas Schwab <schwab@redhat.com>
33798 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33799 falling back to utime.
33801 2011-11-30 Andreas Schwab <schwab@redhat.com>
33803 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33804 expectations for float.
33806 2011-11-29 Andreas Schwab <schwab@redhat.com>
33808 * locale/weight.h (findidx): Add parameter len.
33809 * locale/weightwc.h (findidx): Likewise.
33810 * posix/fnmatch_loop.c (FCT): Adjust caller.
33811 * posix/regcomp.c (build_equiv_class): Likewise.
33812 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33813 * posix/regexec.c (check_node_accept_bytes): Likewise.
33814 * string/strcoll_l.c (STRCOLL): Likewise.
33815 * string/strxfrm_l.c (STRXFRM): Likewise.
33817 2011-11-17 Ulrich Drepper <drepper@gmail.com>
33819 * Makefile.in: Remove CVSOPT handling.
33820 * configure.in: Remove use of AC_REVISION.
33821 * iconvdata/Makefile (distribute): No need to filter out CVS.
33822 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33825 2011-11-16 Andreas Schwab <schwab@redhat.com>
33827 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33828 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33829 [USE_AS_STRNCASECMP_L]: Likewise.
33830 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33831 NO_TLS_DIRECT_SEG_REFS.
33832 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33833 Fix argument offsets for non-PIC.
33834 [USE_AS_STRNCASECMP_L]: Likewise.
33835 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33836 NO_TLS_DIRECT_SEG_REFS.
33838 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33840 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33842 * locale/loadlocale.c (_nl_load_locale): Likewise.
33844 2011-11-15 Andreas Schwab <schwab@redhat.com>
33846 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33847 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33848 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33849 (SYSCALL_GETTIME): Set errno on error.
33851 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33852 count references to noai6ai_cached.
33854 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33856 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33858 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33859 FD_CLOEXEC for /proc/self/maps.
33861 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33862 FD_CLOEXEC for /proc/meminfo.
33864 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33867 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33868 FD_CLOEXEC for given file.
33870 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33872 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33873 FD_CLOEXEC for /etc/hosts.
33874 (_gethtent): Likewise.
33876 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33878 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33879 cancellation and set FD_CLOEXEC for /etc/netgroup.
33881 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33882 reading /etc/publickey.
33884 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33885 allow cancellation when reading /etc/group.
33887 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33889 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33891 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33892 when using data file.
33894 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33896 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33897 (write_nis_obj): Use "c" and "e" in fopen.
33899 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33901 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33903 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33905 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33907 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33910 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33912 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33914 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33916 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33917 file parsing and set FD_CLOEXEC.
33919 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33921 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33923 2011-11-14 Andreas Schwab <schwab@redhat.com>
33925 * malloc/arena.c (arena_get2): Don't call reused_arena when
33926 _int_new_arena failed.
33928 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33930 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33931 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33932 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33933 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33934 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33935 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33936 to compile strcasecmp and strncasecmp.
33937 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33938 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33940 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33942 2011-11-13 Ulrich Drepper <drepper@gmail.com>
33944 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33945 locale-defines.sym to gen-as-const-headers.
33946 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33947 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33949 to compile strcasecmp and strncasecmp.
33950 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33951 strcasecmp_l and strncasecmp_l.
33952 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33953 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33954 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33955 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33956 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33957 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33958 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33959 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33960 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33961 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33962 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33964 2011-11-12 Ulrich Drepper <drepper@gmail.com>
33966 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33967 result of SYSDEP_GETTIME_CPU to retval.
33968 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33969 parameter list to macro. Remove trailing semicolon. Adjust users.
33971 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33974 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33976 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33978 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33979 from unused variable.
33981 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33983 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33986 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33989 * sunrpc/rpc_prot.c (rejected): Fix case value.
33991 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33992 unsigned long long int to avoid warnings in shift.
33994 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33996 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33999 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
34000 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34001 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34003 * nis/nis_table.c (nis_list): Use variable of correct type for
34004 result of __follow_path call.
34006 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34008 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34009 of math functions ceil, trunc, floor, round, and sqrt, when
34010 avaliable on the platform.
34011 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34013 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34014 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34015 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34017 2011-10-30 Marek Polacek <mpolacek@redhat.com>
34019 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34020 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34022 2011-11-11 Roland McGrath <roland@hack.frob.com>
34024 * include/unistd.h: Fix __readlink return type.
34025 Reported by Chris Metcalf <cmetcalf@tilera.com>.
34027 2011-11-11 Ulrich Drepper <drepper@gmail.com>
34029 * stdlib/ucontext.h: Undo last change for makecontext.
34031 2011-11-11 Andreas Schwab <schwab@redhat.com>
34033 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34035 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34036 * setjmp/setjmp.h: Mark functions as non-leaf.
34037 * setjmp/bits/setjmp2.h: Likewise.
34038 * stdlib/ucontext.h: Likewise.
34040 2011-11-10 Andreas Schwab <schwab@redhat.com>
34042 * malloc/arena.c (_int_new_arena): Don't increment narenas.
34043 (reused_arena): Don't check arena limit.
34044 (arena_get2): Atomically check arena limit.
34046 2011-11-08 Ulrich Drepper <drepper@gmail.com>
34048 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34049 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34051 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34054 2011-11-07 Andreas Schwab <schwab@redhat.com>
34056 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34057 handler when locking.
34059 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34060 Fix size of allocated buffer.
34062 2011-11-04 Andreas Schwab <schwab@redhat.com>
34065 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34066 declarations for long double functions.
34067 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34069 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34071 2011-11-03 Andreas Schwab <schwab@redhat.com>
34073 * nscd/nscd.c (main): Don't start AVC thread until credentials are
34076 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34079 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34081 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34083 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
34085 * include/alloca.h (stackinfo_alloca_round): Define.
34086 (extend_alloca): Use it.
34087 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34088 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34091 * scripts/check-local-headers.sh: Ignore libaudit.h.
34093 * nscd/Makefile (extra-objs): Make recursively expanded.
34095 2011-11-01 Ulrich Drepper <drepper@gmail.com>
34097 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34098 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34100 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34101 * posix/tst-rfc3484-2.c: Likewise.
34102 * posix/tst-rfc3484-3.c: Likewise.
34104 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34106 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34108 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34109 process_vm_writev from libc using GLIBC_2.15 version.
34111 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34113 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
34115 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34118 2011-10-31 Ulrich Drepper <drepper@gmail.com>
34121 * nss/getent.c (initgroups_keys): Show error message in case no group
34124 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34125 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34126 __bump_nl_timestamp.
34127 * nscd/connections (nscd_init): When host database is served open
34128 netlink socket and request notification about configuration changes.
34129 (main_loop_poll): Track netlink file descriptor and bump timestamp
34130 in case data becomes available.
34131 (main_loop_epoll): Likewise.
34132 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34133 (database_pers_head): Add extra_data fileds.
34134 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34135 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34136 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34138 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34139 in6ai data, call __free_in6ai.
34140 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34141 Add -DHAVE_NETLINK.
34142 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
34143 interface information. Reuse previous data if netlink timestamp
34145 (__bump_nl_timestamp): New function.
34146 (__free_in6ai): New function.
34148 2011-10-30 Ulrich Drepper <drepper@gmail.com>
34150 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34151 close_not_cancel_no_status here.
34152 (__check_pf): Reorganize code a bit to not call close twice if OOM.
34154 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34157 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34160 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
34161 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34162 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34164 2011-07-03 Andreas Jaeger <aj@suse.de>
34167 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34168 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34169 * math/libm-test.inc (sin_test): Add test case.
34171 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34174 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34175 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34177 * elf/chroot_canon.c (chroot_canon): Cleanups.
34179 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34182 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34183 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34185 * string/test-strchr.c: Make usable for strchrnul testing.
34186 * string/test-strchrnul.c: New file.
34187 * string/Makefile (strop-tests): Add strchrnul.
34189 * po/it.po: Update from translation team.
34190 * po/es.po: Likewise.
34192 2011-10-28 Ulrich Drepper <drepper@gmail.com>
34194 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34195 the three constants needed as parameters. Drop the others.
34196 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34197 __m128i_strloadu_tolower.
34198 Create and initialize variable zero and use it in all the places
34199 where _mm_setzero_si128 was used.
34201 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34202 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34203 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34204 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34206 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34207 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34208 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34209 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34210 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34211 __mpranred, __mptan.
34212 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34213 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34214 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34215 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34216 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34217 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34218 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34219 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34220 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34222 2011-10-28 Andreas Schwab <schwab@redhat.com>
34224 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34225 redefine if SHARED.
34226 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34228 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34229 wide char related routines to wcsmbs subdir.
34231 2011-10-27 Andreas Schwab <schwab@redhat.com>
34234 * misc/sys/cdefs.h (__THROWNL): Define.
34235 * posix/unistd.h: Use __THREADNL instead of __THREAD
34236 for memory synchronization functions.
34238 2011-10-26 Roland McGrath <roland@hack.frob.com>
34241 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34243 * manual/stdio.texi (Obstack Streams): Node removed.
34245 2011-10-26 Andreas Schwab <schwab@redhat.com>
34247 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34248 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34249 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34251 * math/math_private.h (math_force_eval): Allow non-addressable
34253 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34255 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34257 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34258 file is not needed.
34260 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34261 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34262 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34263 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34264 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34265 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34266 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34267 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34269 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34270 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34271 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34272 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34273 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34274 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34275 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34276 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34277 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34278 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34279 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34280 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34281 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34282 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34283 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34284 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34285 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34286 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34287 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34289 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34290 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34292 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34293 place. Use VEX encoding when compiling for AVX.
34295 2011-10-25 Andreas Schwab <schwab@redhat.com>
34297 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34298 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34300 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34302 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34304 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
34305 useless if() expression.
34306 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34307 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34308 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34309 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34310 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34311 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34312 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34313 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34314 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34315 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34316 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34317 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34318 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34319 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34320 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34321 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34322 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34323 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34324 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34326 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34328 2011-10-25 Andreas Schwab <schwab@redhat.com>
34330 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34332 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34334 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34336 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34337 .text section. Avoid duplicate constants.
34338 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34339 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34340 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34341 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34342 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34346 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34347 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34348 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34349 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34350 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34351 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34352 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34353 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34354 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34355 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34356 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34357 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34358 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34359 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34360 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34361 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34362 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34363 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34364 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34365 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34366 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34367 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34368 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34369 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34370 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34371 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34372 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34373 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34374 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34375 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34376 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34377 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34378 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34379 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34380 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34381 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34382 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34384 2011-10-24 Ulrich Drepper <drepper@gmail.com>
34386 * sysdeps/x86_64/dla.h: Move to ...
34387 * sysdeps/x86_64/fpu/dla.h: ...here.
34388 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34389 situations. Use __builtin_fma only for gcc 4.6 and up.
34391 * config.make.in: Add have-mfma4 entry.
34392 * configure.in: Substitute libc_cv_cc_fma4.
34393 * math/Makefile (dbl-only-routines): Add sincostab.
34394 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34395 Use __sincostab not sincos.
34396 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34398 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34399 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34400 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34401 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34403 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34404 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34405 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34406 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34408 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34409 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34411 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34412 define aliases when function name is a macro.
34413 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34414 sysdeps/ieee754/dbl-64/sincos.tbl.
34415 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34416 fma4-enabled routines.
34417 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34418 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34419 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34420 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34421 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34422 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34423 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34424 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34425 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34426 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34427 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34428 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34429 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34430 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34431 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34432 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34433 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34434 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34435 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34436 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34437 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34438 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34439 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34440 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34441 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34442 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34443 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34444 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34445 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34446 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34448 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34450 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34451 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34452 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34453 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34454 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34455 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34456 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34457 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34459 2011-10-24 Andreas Schwab <schwab@redhat.com>
34461 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34463 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34465 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34467 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34469 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34471 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34472 Remove unused variable magic_bits.
34473 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34475 * string/strnlen.c: Define and use STRNLEN macro.
34476 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34477 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34478 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34479 * wcsmbs/wcslen.c: Define and use WCSLEN.
34480 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34481 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34482 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34483 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34484 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34485 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34486 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34488 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34491 strnlen-sse2-no-bsf.
34492 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34493 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34494 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34495 Add strnlen support.
34496 (USE_AS_STRNLEN): New macro.
34497 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34498 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34499 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34500 * sysdeps/x86_64/wcslen.S: New file.
34502 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34504 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34505 XMM-moves are used for copying on small sizes.
34507 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34509 * wcsmbs/Makefile (strop-tests): Add wcschr.
34510 * wcsmbs/test-wcschr.c: New file.
34511 * string/test-strchr.c: Update.
34512 Add wcschr support.
34515 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34517 * wcsmbs/Makefile (strop-tests): Add wcslen.
34518 * wcsmbs/test-wcslen.c: New file.
34519 * string/test-strlen.c: Update.
34520 Add wcslen support.
34523 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34525 * po/it.po: Update from translation team.
34527 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34529 * sysdeps/x86_64/wcscmp.S: Update.
34530 Fix wrong comparison semantics.
34531 wcscmp shall use signed comparison not unsigned.
34532 Don't use substraction to avoid overflow bug.
34533 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34534 * wcsmbc/wcscmp.c: Likewise.
34535 * string/test-strcmp.c: Likewise.
34536 Add new tests to check cases with negative values.
34538 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34540 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34541 * sysdeps/x86_64/dla.h: ...here. New file.
34542 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34543 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34544 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34545 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34546 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34547 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34548 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34549 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34550 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34552 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34554 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34555 __ynl_finite aliases.
34557 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34559 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34561 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34563 [DLA_FMA] (EMULV): Use DLA_FMA.
34564 [DLA_FMA] (MUL12): Use EMULV.
34565 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34566 that are not needed.
34567 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34568 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34569 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34570 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34571 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34572 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34573 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34575 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34577 * math/s_nan.c: Undef __nan.
34578 * math/s_nanf.c: Undef __nanf.
34579 * math/s_nanl.c: Undef __nanl.
34580 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34583 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34585 * math/s_catan.c: Add branch predictions.
34586 * math/s_catanf.c: Likewise.
34587 * math/s_catanh.c: Likewise.
34588 * math/s_catanhf.c: Likewise.
34589 * math/s_catanhl.c: Likewise.
34590 * math/s_catanl.c: Likewise.
34591 * math/s_cexp.c: Likewise.
34592 * math/s_cexpf.c: Likewise.
34593 * math/s_cexpl.c: Likewise.
34594 * math/s_clog.c: Likewise.
34595 * math/s_clog10.c: Likewise.
34596 * math/s_clog10f.c: Likewise.
34597 * math/s_clog10l.c: Likewise.
34598 * math/s_clogf.c: Likewise.
34599 * math/s_clogl.c: Likewise.
34600 * math/s_csqrt.c: Likewise.
34601 * math/s_csqrtf.c: Likewise.
34602 * math/s_csqrtl.c: Likewise.
34603 * math/s_ctanf.c: Likewise.
34604 * math/s_ctanh.c: Likewise.
34605 * math/s_ctanhf.c: Likewise.
34606 * math/s_ctanhl.c: Likewise.
34607 * math/s_ctanl.c: Likewise.
34609 * math/math_private.h: Define __nan, __nanf, __nanl.
34610 * math/s_cacosh.c: Include <math_private.h>.
34611 * math/s_cacoshl.c: Likewise.
34612 * math/s_casinh.c: Likewise.
34613 * math/s_casinhf.c: Likewise.
34614 * math/s_casinhl.c: Likewise.
34615 * math/s_ccos.c: Rely entire on ccosh.
34616 * math/s_ccosf.c: Rely entire on ccoshf.
34617 * math/s_ccosl.c: Rely entirely on ccoshl.
34618 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34619 Remove tests for FE_INVALID.
34620 * math/s_ccoshf.c: Likewise.
34621 * math/s_ccoshl.c: Likewise.
34622 * math/s_csin.c: Likewise.
34623 * math/s_csinf.c: Likewise.
34624 * math/s_csinh.c Likewise.
34625 * math/s_csinhf.c: Likewise.
34626 * math/s_csinhl.c: Likewise.
34627 * math/s_csinl.c: Likewise.
34628 * math/s_ctan.c: Likewise.
34629 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34630 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34631 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34633 2011-10-21 Ulrich Drepper <drepper@gmail.com>
34635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34636 compilation problems.
34638 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34641 2011-10-20 Ulrich Drepper <drepper@gmail.com>
34643 * sysdeps/i386/configure.in: Test for -mfma4 option.
34644 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34645 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34646 COMMON_CPUID_INDEX_80000001.
34647 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34648 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34649 use it if FMA3 is not supported.
34650 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34652 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34653 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34655 2011-10-20 Andreas Schwab <schwab@redhat.com>
34658 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34659 it would create a cycle with a link time dependency.
34661 2011-10-19 Ulrich Drepper <drepper@gmail.com>
34663 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34665 * string/Makefile (strop-tests): Add rawmemchr.
34666 * string/test-rawmemchr.c: New file.
34668 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34669 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34670 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34671 when compiling str{,n}casecmp and when AVX is available. Hook up
34672 new optimized code in initializers.
34674 2011-10-19 Andreas Schwab <schwab@redhat.com>
34676 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34677 __feraiseexcept instead of feraiseexcept.
34679 2011-10-18 Ulrich Drepper <drepper@gmail.com>
34681 * math/math_private.h: Define defaults for libc_fetestexcept and
34683 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34684 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34685 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34686 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34687 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34688 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34689 libc_fetestexcept and libc_feupdateenv.
34691 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34692 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34693 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34694 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34695 libc_feholdexcept_setround.
34697 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34698 Add s_nearbyint-c and s_nearbyintf-c.
34699 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34700 nearbyintf inlines.
34701 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34702 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34703 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34704 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34706 * math/math_private.h: Define defaults for libc_fegetround,
34707 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34708 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34709 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34710 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34711 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34712 standard functions.
34713 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34714 Remove comments and hacks for old compiler versions.
34715 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34716 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34717 libc_feholdexceptl.
34719 2011-10-18 Andreas Schwab <schwab@redhat.com>
34721 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
34722 (__feraiseexcept_renamed): Add __NTH.
34723 (feraiseexcept): Add __NTH. Rename local variables to fix
34724 namespace violations.
34726 2011-10-17 Ulrich Drepper <drepper@gmail.com>
34728 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34730 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34732 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34733 recently added interfaces.
34734 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34736 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34737 about macro parameter expansion.
34739 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34740 __NO_MATH_INLINES is defined. Cleanups.
34742 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34743 and __floorf is target has SSE4.1.
34744 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34745 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34746 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34747 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34749 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34751 (floorf): Likewise.
34753 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34755 2011-10-17 Andreas Schwab <schwab@redhat.com>
34757 * misc/sys/cdefs.h: Fix last change.
34759 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34762 2011-10-16 Ulrich Drepper <drepper@gmail.com>
34764 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34766 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34767 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34768 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34769 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34770 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34771 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34772 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34773 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34774 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34775 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34776 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34777 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34778 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34779 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34780 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34781 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34782 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34783 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34784 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34785 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34786 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34787 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34789 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34790 ceil, ceilf, floor, floorf.
34792 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34793 Perform IRELATIVE relocations last.
34795 * elf/do-rel.h: Add another parameter nrelative, replacing the
34796 local variable with the same name. Change name of the function
34797 to end in Rel or Rela (uppercase).
34798 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34799 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34800 elf_dynamic_do_##reloc function.
34802 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34804 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34805 is sufficient, at least on modern CPUs.
34807 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34809 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34810 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34812 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34814 * math/bits/math-finite.h: Add entries for exp.
34815 * math/e_expl.c: Add __*_finite alias.
34816 * sysdeps/i386/fpu/e_exp.S: Likewise.
34817 * sysdeps/i386/fpu/e_expf.S: Likewise.
34818 * sysdeps/i386/fpu/e_expl.c: Likewise.
34819 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34820 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34821 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34822 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34823 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34824 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34825 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34827 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34828 is sufficient, at least on modern CPUs.
34830 * ctype/ctype-info.c (__ctype_init): Define.
34831 * include/ctype.h (__ctype_init): Declare.
34832 (__ctype_b_loc): The variable is always initialized.
34833 (__ctype_toupper_loc): Likewise.
34834 (__ctype_tolower_loc): Likewise.
34835 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34836 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34838 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34840 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34842 * configure.in: Also look in $cxxmachine/include for C++ system
34845 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34847 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34848 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34849 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34850 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34851 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34852 (USE_AS_WMEMCMP): New macro.
34854 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34855 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34856 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34857 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34859 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34860 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34861 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34862 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34863 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34864 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34865 (USE_AS_WMEMCMP): New macro.
34866 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34867 * sysdeps/string/test-memcmp.c: Update.
34868 Fix simple_wmemcmp.
34870 * wcsmbs/wmemcmp.c: Update.
34871 (WMEMCMP): New macro.
34874 2011-10-12 Andreas Jaeger <aj@suse.de>
34877 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34879 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34881 * libio/iofwide.c (do_length): Avoid warning.
34883 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34885 2011-10-14 Ulrich Drepper <drepper@gmail.com>
34887 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34889 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34890 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34891 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34892 * sysdeps/i386/i686/fpu/e_log.S: New file.
34893 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34894 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34896 * ctype/ctype.h: Add support for inlined isXXX functions when
34897 compiling C++ code.
34899 2011-10-14 Andreas Schwab <schwab@redhat.com>
34901 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34903 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34905 2011-10-13 Roland McGrath <roland@hack.frob.com>
34908 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34910 2011-10-13 Andreas Schwab <schwab@redhat.com>
34912 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34913 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34916 * sysdeps/x86_64/memrchr.S: Check for zero size.
34918 * string/stratcliff.c: Add memrchr tests.
34920 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34922 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34923 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34924 rawmemchr-sse2 rawmemchr-sse2-bsf.
34925 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34926 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34927 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34928 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34929 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34930 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34931 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34932 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34933 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34934 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34935 * string/memrchr.c (MEMRCHR): New macro.
34937 2011-10-12 Ulrich Drepper <drepper@gmail.com>
34939 Add integration with gcc's -ffinite-math-only and optimize wrapper
34941 * Versions.def: Define GLIBC_2.15 version for libm.
34942 * math/Makefile (headers): Add bits/math-finite.h.
34943 * math/bits/math-finite.h: New file.
34944 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34945 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34946 * math/e_acoshl.c: Add __*_finite alias.
34947 * math/e_acosl.c: Likewise.
34948 * math/e_asinl.c: Likewise.
34949 * math/e_atan2l.c: Likewise.
34950 * math/e_atanhl.c: Likewise.
34951 * math/e_coshl.c: Likewise.
34952 * math/e_exp10.c: Likewise.
34953 * math/e_exp10f.c: Likewise.
34954 * math/e_exp10l.c: Likewise.
34955 * math/e_exp2l.c: Likewise.
34956 * math/e_fmodl.c: Likewise.
34957 * math/e_gammal_r.c: Likewise.
34958 * math/e_hypotl.c: Likewise.
34959 * math/e_j0l.c: Likewise.
34960 * math/e_j1l.c: Likewise.
34961 * math/e_jnl.c: Likewise.
34962 * math/e_lgammal_r.c: Likewise.
34963 * math/e_log10l.c: Likewise.
34964 * math/e_log2l.c: Likewise.
34965 * math/e_logl.c: Likewise.
34966 * math/e_powl.c: Likewise.
34967 * math/e_sinhl.c: Likewise.
34968 * math/e_sqrtl.c: Likewise.
34969 * math/e_scalb.c: Completely rewritten and optimized.
34970 * math/e_scalbf.c: Likewise.
34971 * math/e_scalbl.c: Likewise.
34972 * math/w_acos.c: Likewise.
34973 * math/w_acosf.c: Likewise.
34974 * math/w_acosl.c: Likewise.
34975 * math/w_acosh.c: Likewise.
34976 * math/w_acoshf.c: Likewise.
34977 * math/w_acoshl.c: Likewise.
34978 * math/w_asin.c: Likewise.
34979 * math/w_asinf.c: Likewise.
34980 * math/w_asinl.c: Likewise.
34981 * math/w_atan2.c: Likewise.
34982 * math/w_atan2f.c: Likewise.
34983 * math/w_atan2l.c: Likewise.
34984 * math/w_atanh.c: Likewise.
34985 * math/w_atanhf.c: Likewise.
34986 * math/w_atanhl.c: Likewise.
34987 * math/w_exp10.c: Likewise.
34988 * math/w_exp10f.c: Likewise.
34989 * math/w_exp10l.c: Likewise.
34990 * math/w_fmod.c: Likewise.
34991 * math/w_fmodf.c: Likewise.
34992 * math/w_fmodl.c: Likewise.
34993 * math/w_j0.c: Likewise.
34994 * math/w_j0f.c: Likewise.
34995 * math/w_j0l.c: Likewise.
34996 * math/w_j1.c: Likewise.
34997 * math/w_j1f.c: Likewise.
34998 * math/w_j1l.c: Likewise.
34999 * math/w_jn.c: Likewise.
35000 * math/w_jnf.c: Likewise.
35001 * math/w_log.c: Likewise.
35002 * math/w_logf.c: Likewise.
35003 * math/w_logl.c: Likewise.
35004 * math/w_log10.c: Likewise.
35005 * math/w_log10f.c: Likewise.
35006 * math/w_log10l.c: Likewise.
35007 * math/w_log2.c: Likewise.
35008 * math/w_log2f.c: Likewise.
35009 * math/w_log2l.c: Likewise.
35010 * math/w_pow.c: Likewise.
35011 * math/w_powf.c: Likewise.
35012 * math/w_powl.c: Likewise.
35013 * math/w_remainder.c: Likewise.
35014 * math/w_remainderf.c: Likewise.
35015 * math/w_remainderl.c: Likewise.
35016 * math/w_scalb.c: Likewise.
35017 * math/w_scalbf.c: Likewise.
35018 * math/w_scalbl.c: Likewise.
35019 * math/w_sqrt.c: Likewise.
35020 * math/w_sqrtf.c: Likewise.
35021 * math/w_sqrtl.c: Likewise.
35022 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35023 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
35025 * math/math_private.h: Declare __kernel_standard_f.
35026 * math/w_cosh.c: Remove cruft and optimize a bit.
35027 * math/w_coshf.c: Likewise.
35028 * math/w_coshl.c: Likewise.
35029 * math/w_exp2.c: Likewise.
35030 * math/w_exp2f.c: Likewise.
35031 * math/w_exp2l.c: Likewise.
35032 * math/w_hypot.c: Likewise.
35033 * math/w_hypotf.c: Likewise.
35034 * math/w_hypotl.c: Likewise.
35035 * math/w_lgamma.c: Likewise.
35036 * math/w_lgamma_r.c: Likewise.
35037 * math/w_lgammaf.c: Likewise.
35038 * math/w_lgammaf_r.c: Likewise.
35039 * math/w_lgammal.c: Likewise.
35040 * math/w_lgammal_r.c: Likewise.
35041 * math/w_sinh.c: Likewise.
35042 * math/w_sinhf.c: Likewise.
35043 * math/w_sinhl.c: Likewise.
35044 * math/w_tgamma.c: Likewise.
35045 * math/w_tgammaf.c: Likewise.
35046 * math/w_tgammal.c: Likewise.
35047 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35048 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35049 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35050 Minor optimizations. Pretty printing. Remove cruft.
35051 * sysdeps/i386/fpu/e_acosf.S: Likewise.
35052 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35053 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35054 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35055 * sysdeps/i386/fpu/e_acosl.c: Likewise.
35056 * sysdeps/i386/fpu/e_asin.S: Likewise.
35057 * sysdeps/i386/fpu/e_asinf.S: Likewise.
35058 * sysdeps/i386/fpu/e_atan2.S: Likewise.
35059 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35060 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35061 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35062 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35063 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35064 * sysdeps/i386/fpu/e_exp10.S: Likewise.
35065 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35066 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35067 * sysdeps/i386/fpu/e_exp2.S: Likewise.
35068 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35069 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35070 * sysdeps/i386/fpu/e_fmod.S: Likewise.
35071 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35072 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35073 * sysdeps/i386/fpu/e_hypot.S: Likewise.
35074 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35075 * sysdeps/i386/fpu/e_log.S: Likewise.
35076 * sysdeps/i386/fpu/e_log10.S: Likewise.
35077 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35078 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35079 * sysdeps/i386/fpu/e_log2.S: Likewise.
35080 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35081 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35082 * sysdeps/i386/fpu/e_logf.S: Likewise.
35083 * sysdeps/i386/fpu/e_logl.S: Likewise.
35084 * sysdeps/i386/fpu/e_pow.S: Likewise.
35085 * sysdeps/i386/fpu/e_powf.S: Likewise.
35086 * sysdeps/i386/fpu/e_powl.S: Likewise.
35087 * sysdeps/i386/fpu/e_remainder.S: Likewise.
35088 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35089 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35090 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35091 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35092 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35093 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35094 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35095 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35096 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35097 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35098 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35099 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35100 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35101 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35102 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35103 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35104 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35105 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35106 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35107 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35108 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35109 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35110 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35111 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35112 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35113 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35114 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35115 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35116 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35117 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35118 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35119 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35120 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35121 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35122 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35123 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35124 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35125 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35126 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35127 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35128 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35129 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35130 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35131 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35132 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35133 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35134 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35135 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35136 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35137 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35138 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35139 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35140 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35141 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35142 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35143 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35144 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35145 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35146 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35147 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35148 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35149 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35150 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35151 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35152 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35153 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35154 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35155 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35156 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35157 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35158 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35159 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35160 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35161 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35162 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35163 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35164 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35165 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35166 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35167 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35168 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35169 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35170 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35171 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35172 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35173 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35174 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35175 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35176 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35177 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35178 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35179 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35180 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35181 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35182 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35183 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35184 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35185 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35186 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35187 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35188 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35189 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35190 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35191 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35192 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35193 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35194 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35195 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35196 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35197 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35198 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35199 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35200 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35201 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35202 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35203 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35204 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35205 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35206 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35207 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35208 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35209 (__isnanf): Likewise.
35210 (__isinf_ns): Likewise.
35211 (__isinf_nsf): Likewise.
35212 (__finite): Likewise.
35213 (__finitef): Likewise.
35214 (__ieee754_sqrt): Define as macro.
35215 (__ieee754_sqrtf): Define as macro.
35216 (__ieee754_sqrtl): Define as macro.
35217 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35219 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35220 __FINITE_MATH_ONLY__ consistent.
35221 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35223 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35225 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35228 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35230 2011-10-09 Ulrich Drepper <drepper@gmail.com>
35232 * po/ja.po: Update from translation team.
35234 2011-10-08 Roland McGrath <roland@hack.frob.com>
35236 * locale/programs/locarchive.c (prepare_address_space): New function.
35237 (create_archive, enlarge_archive, open_archive): Use it.
35239 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35240 inside [SHARED], where it is used.
35242 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35244 * nss/getent.c (netgroup_keys): Remove unused variable.
35245 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35247 2011-10-08 Ulrich Drepper <drepper@gmail.com>
35249 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35250 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35251 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35252 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35253 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35254 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35255 * math/Makefile (libm-calls): Add s_isinf_ns.
35256 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35257 * math/multc3.c: Likewise.
35258 * math/s_casin.c: Likewise.
35259 * math/s_casinf.c: Likewise.
35260 * math/s_casinl.c: Likewise.
35261 * math/s_ccos.c: Likewise.
35262 * math/s_ccosf.c: Likewise.
35263 * math/s_ccosl.c: Likewise.
35264 * math/s_ctan.c: Likewise.
35265 * math/s_ctanf.c: Likewise.
35266 * math/s_ctanh.c: Likewise.
35267 * math/s_ctanhf.c: Likewise.
35268 * math/s_ctanhl.c: Likewise.
35269 * math/s_ctanl.c: Likewise.
35270 * math/w_fmod.c: Likewise.
35271 * math/w_fmodf.c: Likewise.
35272 * math/w_fmodl.c: Likewise.
35273 * math/w_remainder.c: Likewise.
35274 * math/w_remainderf.c: Likewise.
35275 * math/w_remainderl.c: Likewise.
35276 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35277 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35278 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35279 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35280 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35281 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35282 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35283 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35285 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35287 * stdio-common/printf_fphex.c: Likewise.
35288 * stdio-common/printf_size.c: Likewise.
35290 * math/e_exp10.c: Include math_private.h using <...> not "...".
35291 * math/e_exp10f.c: Likewise.
35292 * math/e_exp10l.c: Likewise.
35293 * math/e_exp2l.c: Likewise.
35294 * math/e_j0l.c: Likewise.
35295 * math/e_j1l.c: Likewise.
35296 * math/e_jnl.c: Likewise.
35297 * math/e_lgammal_r.c: Likewise.
35298 * math/e_rem_pio2l.c: Likewise.
35299 * math/e_scalb.c: Likewise.
35300 * math/e_scalbf.c: Likewise.
35301 * math/e_scalbl.c: Likewise.
35302 * math/k_cosl.c: Likewise.
35303 * math/k_sinl.c: Likewise.
35304 * math/k_tanl.c: Likewise.
35305 * math/s_cacoshf.c: Likewise.
35306 * math/s_catan.c: Likewise.
35307 * math/s_catanf.c: Likewise.
35308 * math/s_catanh.c: Likewise.
35309 * math/s_catanhf.c: Likewise.
35310 * math/s_catanhl.c: Likewise.
35311 * math/s_catanl.c: Likewise.
35312 * math/s_ccosh.c: Likewise.
35313 * math/s_ccoshf.c: Likewise.
35314 * math/s_ccoshl.c: Likewise.
35315 * math/s_cexp.c: Likewise.
35316 * math/s_cexpf.c: Likewise.
35317 * math/s_cexpl.c: Likewise.
35318 * math/s_clog.c: Likewise.
35319 * math/s_clog10.c: Likewise.
35320 * math/s_clog10f.c: Likewise.
35321 * math/s_clog10l.c: Likewise.
35322 * math/s_clogf.c: Likewise.
35323 * math/s_clogl.c: Likewise.
35324 * math/s_csin.c: Likewise.
35325 * math/s_csinf.c: Likewise.
35326 * math/s_csinh.c: Likewise.
35327 * math/s_csinhf.c: Likewise.
35328 * math/s_csinhl.c: Likewise.
35329 * math/s_csinl.c: Likewise.
35330 * math/s_csqrt.c: Likewise.
35331 * math/s_csqrtf.c: Likewise.
35332 * math/s_csqrtl.c: Likewise.
35333 * math/s_ctan.c: Likewise.
35334 * math/s_ctanf.c: Likewise.
35335 * math/s_ctanh.c: Likewise.
35336 * math/s_ctanhf.c: Likewise.
35337 * math/s_ctanhl.c: Likewise.
35338 * math/s_ctanl.c: Likewise.
35339 * math/s_ldexp.c: Likewise.
35340 * math/s_ldexpf.c: Likewise.
35341 * math/s_ldexpl.c: Likewise.
35342 * math/s_significand.c: Likewise.
35343 * math/s_significandf.c: Likewise.
35344 * math/s_significandl.c: Likewise.
35345 * math/w_acos.c: Likewise.
35346 * math/w_acosf.c: Likewise.
35347 * math/w_acosh.c: Likewise.
35348 * math/w_acoshf.c: Likewise.
35349 * math/w_acoshl.c: Likewise.
35350 * math/w_acosl.c: Likewise.
35351 * math/w_asin.c: Likewise.
35352 * math/w_asinf.c: Likewise.
35353 * math/w_asinl.c: Likewise.
35354 * math/w_atan2.c: Likewise.
35355 * math/w_atan2f.c: Likewise.
35356 * math/w_atan2l.c: Likewise.
35357 * math/w_atanh.c: Likewise.
35358 * math/w_atanhf.c: Likewise.
35359 * math/w_atanhl.c: Likewise.
35360 * math/w_cosh.c: Likewise.
35361 * math/w_coshf.c: Likewise.
35362 * math/w_coshl.c: Likewise.
35363 * math/w_dremf.c: Likewise.
35364 * math/w_exp10.c: Likewise.
35365 * math/w_exp10f.c: Likewise.
35366 * math/w_exp10l.c: Likewise.
35367 * math/w_exp2.c: Likewise.
35368 * math/w_exp2f.c: Likewise.
35369 * math/w_fmod.c: Likewise.
35370 * math/w_fmodf.c: Likewise.
35371 * math/w_fmodl.c: Likewise.
35372 * math/w_hypot.c: Likewise.
35373 * math/w_hypotf.c: Likewise.
35374 * math/w_hypotl.c: Likewise.
35375 * math/w_j0.c: Likewise.
35376 * math/w_j0f.c: Likewise.
35377 * math/w_j0l.c: Likewise.
35378 * math/w_j1.c: Likewise.
35379 * math/w_j1f.c: Likewise.
35380 * math/w_j1l.c: Likewise.
35381 * math/w_jn.c: Likewise.
35382 * math/w_jnf.c: Likewise.
35383 * math/w_jnl.c: Likewise.
35384 * math/w_lgamma.c: Likewise.
35385 * math/w_lgamma_r.c: Likewise.
35386 * math/w_lgammaf.c: Likewise.
35387 * math/w_lgammaf_r.c: Likewise.
35388 * math/w_lgammal.c: Likewise.
35389 * math/w_lgammal_r.c: Likewise.
35390 * math/w_log.c: Likewise.
35391 * math/w_log10.c: Likewise.
35392 * math/w_log10f.c: Likewise.
35393 * math/w_log10l.c: Likewise.
35394 * math/w_log2.c: Likewise.
35395 * math/w_log2f.c: Likewise.
35396 * math/w_log2l.c: Likewise.
35397 * math/w_logf.c: Likewise.
35398 * math/w_logl.c: Likewise.
35399 * math/w_pow.c: Likewise.
35400 * math/w_powf.c: Likewise.
35401 * math/w_powl.c: Likewise.
35402 * math/w_remainder.c: Likewise.
35403 * math/w_remainderf.c: Likewise.
35404 * math/w_remainderl.c: Likewise.
35405 * math/w_scalb.c: Likewise.
35406 * math/w_scalbf.c: Likewise.
35407 * math/w_scalbl.c: Likewise.
35408 * math/w_sinh.c: Likewise.
35409 * math/w_sinhf.c: Likewise.
35410 * math/w_sinhl.c: Likewise.
35411 * math/w_sqrt.c: Likewise.
35412 * math/w_sqrtf.c: Likewise.
35413 * math/w_sqrtl.c: Likewise.
35414 * math/w_tgamma.c: Likewise.
35415 * math/w_tgammaf.c: Likewise.
35416 * math/w_tgammal.c: Likewise.
35418 * po/ja.po: Update from translation team.
35420 2011-09-29 Andreas Jaeger <aj@suse.de>
35423 * sunrpc/netname.c (netname2host): Fix logic.
35427 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35429 * math/w_remainder.c (__remainder): Likewise.
35430 * math/w_remainderf.c (__remainderf): Likewise.
35431 * math/libm-test.inc (remainder_test): Add test cases.
35433 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35435 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35438 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35440 * string/test-memcmp.c: Avoid unncessary #defines.
35441 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35443 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35445 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35446 Use new sse2 version for core i3 - i7 as it's faster
35447 than sse42 version.
35448 (bit_Prefer_PMINUB_for_stringop): New.
35449 * sysdeps/x86_64/rawmemchr.S: Update.
35450 Replace with faster SSE2 version.
35451 * sysdeps/x86_64/memrchr.S: New file.
35452 * sysdeps/x86_64/memchr.S: Update.
35453 Replace with faster SSE2 version.
35455 2011-09-12 Marek Polacek <mpolacek@redhat.com>
35457 * elf/dl-load.c (lose): Add cast to avoid warning.
35459 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35461 * po/ca.po: Update from translation team.
35463 * inet/getnetgrent_r.c: Hook up nscd.
35464 * nscd/Makefile (routines): Add nscd_netgroup.
35465 (nscd-modules): Add netgroupcache.
35466 (CFLAGS-netgroupcache.c): Define.
35467 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35468 (cache_search): Add const to second parameter.
35469 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35471 (dbs): Add netgrdb entry.
35472 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35473 (verify_persistent_db): Handle netgrdb.
35474 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35475 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35477 (netgroup_response_header): Define.
35478 (innetgroup_response_header): Define.
35479 (datahead): Add netgroup_response_header and innetgroup_response_header
35481 * nscd/nscd.conf: Add entries for netgroup cache.
35482 * nscd/nscd.h (dbtype): Add netgrdb.
35483 (_PATH_NSCD_NETGROUP_DB): Define.
35484 (netgroup_iov_disabled): Declare.
35485 (xmalloc, xcalloc, xrealloc): Move declarations here.
35486 (cache_search): Adjust prototype.
35487 Add netgroup-related prototypes.
35488 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35489 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35490 (__nscd_innetgr): Declare.
35491 * nscd/selinux.c (perms): Use access_vector_t as element type and
35492 add netgroup-related initializers.
35493 * nscd/netgroupcache.c: New file.
35494 * nscd/nscd_netgroup.c: New file.
35495 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35496 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35497 For four parameters use innetgr.
35498 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35499 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35500 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35501 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35503 * nscd/connections.c (register_traced_file): Don't register file
35504 for disabled databases.
35506 2011-10-06 Ulrich Drepper <drepper@gmail.com>
35508 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35510 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35511 from tree and freeing node.
35513 2011-09-25 Jiri Olsa <jolsa@redhat.com>
35515 * nss/nsswitch.c (__nss_database_lookup): Handle
35516 nss_parse_service_list out of memory case.
35518 2011-09-15 Jiri Olsa <jolsa@redhat.com>
35520 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35521 out of memory case.
35523 2011-10-04 Andreas Schwab <schwab@redhat.com>
35525 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35526 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35528 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35529 elf_machine_rela, elf_machine_lazy_rel.
35530 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35531 (ELF_DYNAMIC_DO_REL): Likewise.
35532 (ELF_DYNAMIC_DO_RELA): Likewise.
35533 (ELF_DYNAMIC_RELOCATE): Likewise.
35534 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35535 to ELF_DYNAMIC_DO_REL.
35536 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35537 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35538 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35540 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35541 skip_ifunc, don't call ifunc function if non-zero.
35542 (elf_machine_rela): Likewise.
35543 (elf_machine_lazy_rel): Likewise.
35544 (elf_machine_lazy_rela): Likewise.
35545 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35546 (elf_machine_lazy_rel): Likewise.
35547 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35549 (elf_machine_lazy_rel): Likewise.
35550 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35552 (elf_machine_lazy_rel): Likewise.
35553 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35554 (elf_machine_lazy_rel): Likewise.
35555 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35556 (elf_machine_lazy_rel): Likewise.
35557 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35558 (elf_machine_lazy_rel): Likewise.
35559 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35560 (elf_machine_lazy_rel): Likewise.
35561 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35562 (elf_machine_lazy_rel): Likewise.
35563 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35564 (elf_machine_lazy_rel): Likewise.
35566 2011-09-28 Ulrich Drepper <drepper@gmail.com>
35568 * nss/nss_files/files-init.c (_nss_files_init): Use static
35569 initialization for all the *_traced_file variables.
35571 2011-09-28 Andreas Schwab <schwab@redhat.com>
35573 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35575 2011-09-27 Roland McGrath <roland@hack.frob.com>
35578 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35580 2011-09-27 Andreas Schwab <schwab@redhat.com>
35582 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35583 Reread the line before reparsing it.
35585 2011-09-26 Andreas Schwab <schwab@redhat.com>
35587 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35589 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35590 Maxim Kuvyrkov <maxim@codesourcery.com>
35591 Joseph Myers <joseph@codesourcery.com>
35593 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35594 if needed for __stack_chk_guard.
35596 2011-09-19 Roland McGrath <roland@hack.frob.com>
35598 * sysdeps/posix/spawni.c (script_execute): Always define it.
35599 It will be optimized away if unused.
35600 (maybe_script_execute): New function.
35601 (__spawni): Call it.
35603 * Makerules: Don't include tls.make.
35604 (config-tls): Always set to thread.
35605 * tls.make.c: File removed.
35607 2011-09-19 Mike Frysinger <vapier@gentoo.org>
35609 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35610 * config.make.in (CPPFLAGS-config): New substituted variable.
35612 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35614 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35617 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35618 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35620 2011-09-15 Roland McGrath <roland@hack.frob.com>
35622 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35623 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35624 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35625 (CALL_FAIL): Likewise.
35626 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35627 (CALL_FAIL): Macro removed.
35628 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35630 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35632 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35633 for __FINITE_MATH_ONLY__ == 1.
35635 2011-09-15 Andreas Schwab <schwab@redhat.com>
35637 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35638 __ieee754_sqrt instead of sqrt.
35639 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35640 __ieee754_sqrtf instead of sqrtf.
35641 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35642 __floorf instead of floorf.
35643 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35644 __floorf, __truncf instead of floorf, truncf.
35646 2011-09-14 Ulrich Drepper <drepper@gmail.com>
35648 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35650 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35651 __extern_always_inline.
35652 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35655 2011-09-14 Andreas Schwab <schwab@redhat.com>
35657 * elf/rtld.c (dl_main): Also relocate in dependency order when
35658 doing symbol dependency testing.
35660 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35662 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35663 Always define `refsym'.
35665 2011-09-13 Andreas Schwab <schwab@redhat.com>
35667 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35668 (__FD_ELT): Renamed from __FDELT.
35669 * misc/bits/select2.h (__FD_ELT): Likewise.
35670 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35671 __FD_MASK instead of __FDELT, __FDMASK.
35672 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35674 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35677 * elf/Makefile (gen-ldd): Fix pattern.
35679 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35680 (init_tls): Likewise.
35682 2011-09-12 Ulrich Drepper <drepper@gmail.com>
35684 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35686 2011-09-12 Andreas Schwab <schwab@redhat.com>
35688 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35689 `struct cmsghdr *' instead of `void *'.
35690 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35693 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35695 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35697 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35698 ldd_rewrite_script.
35700 2011-09-11 Ulrich Drepper <drepper@gmail.com>
35702 * configure.in: Remove --with-tls option.
35703 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35704 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35705 out in case it is missing.
35706 * sysdeps/ia64/elf/configure.in: Likewise.
35707 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35708 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35709 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35710 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35711 * sysdeps/sh/elf/configure.in: Likewise.
35712 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35713 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35714 * sysdeps/x86_64/elf/configure.in: Likewise.
35715 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35716 * sysdeps/mach/hurd/tls.h: Likewise.
35719 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35722 * configure.in: Fix use of AC_INIT.
35724 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35726 2011-09-10 Ulrich Drepper <drepper@gmail.com>
35728 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35730 * malloc/hooks.c: Likewise.
35733 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35734 variables statically.
35735 (narenas): Initialize.
35736 (list_lock): Initialize.
35737 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35738 initializtion of main_arena and list_lock. Small cleanups.
35739 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35740 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35741 Add initializers to main_arena and mp_.
35742 (malloc_state): Remove pagesize member. Change all users to use
35745 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35746 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35747 is always initialized.
35749 * malloc/malloc.c: Removed unused configurations and dead code.
35750 * malloc/arena.c: Likewise.
35751 * malloc/hooks.c: Likewise.
35752 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35754 * include/tls.h: Removed. USE___THREAD must always be defined.
35755 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35756 * elf/dl-libc.c: Likewise.
35757 * elf/dl-tsd.c: Likewise.
35758 * include/errno.h: Likewise.
35759 * include/netdb.h: Likewise.
35760 * include/resolv.h: Likewise.
35761 * inet/herrno-loc.c: Likewise.
35762 * inet/herrno.c: Likewise.
35763 * malloc/arena.c: Likewise.
35764 * malloc/hooks.c: Likewise.
35765 * malloc/malloc.c: Likewise.
35766 * resolv/res-state.c: Likewise.
35767 * resolv/res_libc.c: Likewise.
35768 * sysdeps/i386/dl-machine.h: Likewise.
35769 * sysdeps/ia64/dl-machine.h: Likewise.
35770 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35771 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35772 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35773 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35774 * sysdeps/sh/dl-machine.h: Likewise.
35775 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35776 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35777 * sysdeps/unix/i386/sysdep.S: Likewise.
35778 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35779 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35780 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35781 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35782 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35783 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35784 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35785 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35786 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35787 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35788 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35789 * sysdeps/x86_64/dl-machine.h: Likewise.
35790 * tls.make.c: Likewise.
35792 * configure.in: Remove --with-__thread option. Make tests for
35793 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35794 tls_model attribute fail if no support is available. Remove
35796 * Makeconfig: Adjust for dropped configure option. All features are
35798 * Makerules: Likewise.
35799 * Versions.def: Likewise.
35800 * argp/argp-fmtstream.c: Likewise.
35801 * argp/argp-fmtstream.h: Likewise.
35802 * argp/argp-help.c: Likewise.
35803 * assert/assert.c: Likewise.
35804 * config.h.in: Likewise.
35805 * config.make.in: Likewise.
35806 * configure: Likewise.
35807 * configure.in: Likewise.
35808 * csu/Versions: Likewise.
35809 * csu/init.c: Likewise.
35810 * elf/tst-audit2.c: Likewise.
35811 * elf/tst-tls10.c: Likewise.
35812 * elf/tst-tls10.h: Likewise.
35813 * elf/tst-tls11.c: Likewise.
35814 * elf/tst-tls12.c: Likewise.
35815 * elf/tst-tls14.c: Likewise.
35816 * elf/tst-tlsmod11.c: Likewise.
35817 * elf/tst-tlsmod12.c: Likewise.
35818 * elf/tst-tlsmod13.c: Likewise.
35819 * elf/tst-tlsmod13a.c: Likewise.
35820 * elf/tst-tlsmod14a.c: Likewise.
35821 * elf/tst-tlsmod15b.c: Likewise.
35822 * elf/tst-tlsmod16a.c: Likewise.
35823 * elf/tst-tlsmod16b.c: Likewise.
35824 * elf/tst-tlsmod7.c: Likewise.
35825 * elf/tst-tlsmod8.c: Likewise.
35826 * elf/tst-tlsmod9.c: Likewise.
35827 * gmon/gmon.c: Likewise.
35828 * grp/fgetgrent_r.c: Likewise.
35829 * grp/putgrent.c: Likewise.
35830 * hurd/fopenport.c: Likewise.
35831 * include/libc-symbols.h: Likewise.
35832 * include/tls.h: Likewise.
35833 * intl/gettextP.h: Likewise.
35834 * intl/loadinfo.h: Likewise.
35835 * locale/global-locale.c: Likewise.
35836 * locale/localeinfo.h: Likewise.
35837 * mach/devstream.c: Likewise.
35838 * malloc/arena.c: Likewise.
35839 * malloc/set-freeres.c: Likewise.
35840 * misc/err.c: Likewise.
35841 * misc/getttyent.c: Likewise.
35842 * misc/mntent_r.c: Likewise.
35843 * posix/getopt.c: Likewise.
35844 * posix/wordexp.c: Likewise.
35845 * pwd/fgetpwent_r.c: Likewise.
35846 * resolv/Versions: Likewise.
35847 * resolv/res_hconf.c: Likewise.
35848 * shadow/fgetspent_r.c: Likewise.
35849 * shadow/putspent.c: Likewise.
35850 * stdio-common/printf_fphex.c: Likewise.
35851 * stdio-common/tmpfile.c: Likewise.
35852 * stdlib/abort.c: Likewise.
35853 * stdlib/fmtmsg.c: Likewise.
35854 * sunrpc/auth_unix.c: Likewise.
35855 * sunrpc/clnt_perr.c: Likewise.
35856 * sunrpc/clnt_tcp.c: Likewise.
35857 * sunrpc/clnt_udp.c: Likewise.
35858 * sunrpc/clnt_unix.c: Likewise.
35859 * sunrpc/openchild.c: Likewise.
35860 * sunrpc/svc_simple.c: Likewise.
35861 * sunrpc/svc_tcp.c: Likewise.
35862 * sunrpc/svc_udp.c: Likewise.
35863 * sunrpc/svc_unix.c: Likewise.
35864 * sunrpc/xdr.c: Likewise.
35865 * sunrpc/xdr_array.c: Likewise.
35866 * sunrpc/xdr_rec.c: Likewise.
35867 * sunrpc/xdr_ref.c: Likewise.
35868 * sunrpc/xdr_stdio.c: Likewise.
35870 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35872 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35874 2011-07-03 Andreas Jaeger <aj@suse.de>
35876 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35877 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35878 regenerate with gen-libm-tests.pl.
35880 2010-05-12 Petr Baudis <pasky@suse.cz>
35883 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35884 around j0() zero points by switching to j1().
35885 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35886 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35887 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35888 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35890 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35892 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35894 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35897 Patch in part by Pavel Roskin <proski@gnu.org>.
35900 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35902 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35903 Free memory block if necessary.
35906 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35907 be NULL. Don't lock in this case.
35909 2011-09-09 Roland McGrath <roland@hack.frob.com>
35911 * elf/elf.h (ELFOSABI_GNU): New macro.
35912 (ELFOSABI_LINUX): Define to that.
35914 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35916 * string/strncat.c (strncat): Undef the symbol in case it has been
35917 defined in bits/string.h.
35919 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35921 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35923 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35926 2011-08-17 Andreas Jaeger <aj@suse.de>
35928 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35930 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35931 Ian Lance Taylor <iant@google.com>
35933 * math/libm-test.inc (lround_test): New testcase.
35934 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35936 2011-09-08 Ulrich Drepper <drepper@gmail.com>
35938 * Makefile: Remove support for automatic cvs check-ins.
35939 * Makerules: Likewise.
35940 * config.make.in: Likewise.
35941 * configure.in: Likewise.
35942 * intl/Makefile: Likewise.
35943 * locale/Makefile: Likewise.
35944 * po/Makefile: Likewise.
35945 * posix/Makefile: Likewise.
35946 * sysdeps/gnu/Makefile: Likewise.
35947 * sysdeps/mach/hurd/Makefile: Likewise.
35948 * sysdeps/sparc/sparc32/Makefile: Likewise.
35951 * posix/Makefile (bug-regex32-ENV): Define.
35952 Patch by John Stanley <jpsinthemix@verizon.net>.
35954 * misc/Makefile (headers): Add bits/select2.h.
35955 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35956 * misc/bits/select2.h: New file.
35957 * include/bits/select2.h: New file.
35958 * debug/Makefile (routines): Add fdelt_chk.
35959 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35960 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35962 * debug/fdelt_chk.c: New file.
35964 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35965 * wcsmbs/test-wmemcmp.c: Likewise.
35966 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35967 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35969 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35971 * string/Makefile (strop-tests): Add memcmp.
35972 * string/test-wmemcmp.c: New file.
35973 * string/test-memcmp.c: Add wmemcmp support.
35975 2011-09-08 Roland McGrath <roland@hack.frob.com>
35978 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35981 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35982 garbage value in a __mach_port_mod_refs call in the cases of the
35983 task-self and thread-self ports.
35985 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35987 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35989 2011-09-08 Andreas Schwab <schwab@redhat.com>
35991 * elf/dl-load.c (lose): Check for non-null L.
35993 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35995 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35997 * elf/dl-libc.c (dlerror_run): Pass back error code from
36001 * elf/dl-load.c (lose): Free l_origin if it is valid.
36003 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
36005 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36006 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36007 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36008 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36009 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36010 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36012 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36014 * sysdeps/powerpc/fpu/e_hypot.c: New file.
36015 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36016 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36017 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36018 * sysdeps/powerpc/fpu/k_cosf.c: New file.
36019 * sysdeps/powerpc/fpu/k_sinf.c: New file.
36020 * sysdeps/powerpc/fpu/s_cosf.c: New file.
36021 * sysdeps/powerpc/fpu/s_sinf.c: New file.
36022 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36023 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36025 2011-08-15 Alan Modra <amodra@gmail.com>
36028 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36029 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36030 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
36031 ppc_mcount to static-only-routines.
36032 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36034 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36035 __mcount_internal with usual JUMPTARGET. Remove useless nop.
36037 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
36039 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36040 for finite and infinity parameters.
36042 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36044 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36045 and add nop instructions for throughput optimization.
36046 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36048 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
36050 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36051 aligned copy for power7 with vector-scalar instructions.
36052 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36054 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
36056 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36059 2011-09-07 Andreas Schwab <schwab@redhat.com>
36062 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36065 2011-09-07 Ulrich Drepper <drepper@gmail.com>
36067 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36068 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36069 syscall wrapper around clock_gettime in __vdso_clock_gettime.
36070 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36073 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36075 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36076 Forgot to demangle the pointer.
36078 * sysdeps/i386/sysdep.h: Define atom_text_section.
36079 * sysdeps/x86_64/sysdep.h: Likewise.
36080 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36081 section with atom_text_section.
36082 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36083 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36084 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36085 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36086 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36088 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36089 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36090 already be defined. Change to take two parameters and don't assign
36091 result to variable. Adjust all users.
36092 Define INTERNAL_GETTIME if not already defined.
36093 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36095 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36096 HAVE_CLOCK_GETTIME_VSYSCALL.
36097 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36099 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36100 gettimeofday vsyscall, just use time.
36102 2011-09-06 Andreas Schwab <schwab@redhat.com>
36104 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36107 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36109 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36111 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36113 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36114 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36115 syscall if possible.
36117 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36119 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36120 e_ident. Don't pass to find_mapsXX.
36121 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36123 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36126 strchr-sse2-no-bsf strrchr-sse2-no-bsf
36127 * sysdeps/x86_64/multiarch/strchr.S: Update.
36128 Check bit_slow_BSF bit.
36129 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36130 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36131 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36133 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36136 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36138 (tryshell): Define.
36139 (__spawni): Change last parameter to be flag. Test
36140 SPAWN_XFLAGS_USE_PATH flag to use path or not.
36141 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36142 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36143 * posix/spawni.c: Likewise.
36144 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36145 * posix/spawnp.c: Likewise. Change normal version to use
36146 SPAWN_XFLAGS_USE_PATH.
36147 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36148 SPAWN_XFLAGS_TRY_SHELL.
36151 * posix/glob.h: Remove gcc 1.x support.
36154 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36156 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36159 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36161 * sysdeps/i386/i686/multiarch/strchr.S: New file.
36162 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36163 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36164 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36165 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36166 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36168 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36170 * sysdeps/x86_64/wcscmp.S: New file.
36172 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36173 wcscmp-c wcscmp-sse2
36174 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36175 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36176 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36177 * wcsmbs/wcscmp.c: Allow renaming.
36179 2011-09-05 David S. Miller <davem@davemloft.net>
36181 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36182 stack slot, rather than the struct return pointer slot.
36183 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36184 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36186 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36188 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36190 * po/ja.po: Update from translation team.
36193 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36194 kernel in 64-bit binaries.
36196 2011-09-01 David S. Miller <davem@davemloft.net>
36198 * elf/elf.h (HWCAP_SPARC_*): Move to..
36199 * sysdeps/sparc/sysdep.h: this new file and add new values.
36200 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36201 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36202 _DL_HWCAP_COUNT to 24.
36203 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36205 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36206 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36207 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36209 instead of magic constants.
36210 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36212 2011-08-31 David S. Miller <davem@davemloft.net>
36214 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36215 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36216 Reimplement to do errno handling inline.
36217 (SYSCALL_ERROR_HANDLER): New macro.
36218 (__SYSCALL_STRING): Do not do errno handling in asm.
36219 (__CLONE_SYSCALL_STRING): Delete.
36220 (__INTERNAL_SYSCALL_STRING): Delete.
36221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36222 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36223 (PSEUDO): Reimplement to do errno handling inline.
36224 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36225 (SYSCALL_ERROR_HANDLER): New macro.
36226 (__SYSCALL_STRING): Do not do errno handling in asm.
36227 (__CLONE_SYSCALL_STRING): Delete.
36228 (__INTERNAL_SYSCALL_STRING): Delete.
36229 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36230 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36232 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36233 (inline_syscall*): Add 'err' argument.
36234 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36235 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36236 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36237 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36239 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36240 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36242 2011-08-30 Andreas Schwab <schwab@redhat.com>
36244 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36246 2011-08-29 Jiri Olsa <jolsa@redhat.com>
36248 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36251 2011-08-24 David S. Miller <davem@davemloft.net>
36253 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36255 2011-08-24 Andreas Schwab <schwab@redhat.com>
36257 * elf/Makefile: Add rules to build and run unload8 test.
36258 * elf/unload8.c: New file.
36259 * elf/unload8mod1.c: New file.
36260 * elf/unload8mod1x.c: New file.
36261 * elf/unload8mod2.c: New file.
36262 * elf/unload8mod3.c: New file.
36264 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36267 2011-08-23 David S. Miller <davem@davemloft.net>
36269 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36270 subtract stack bias.
36271 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36272 %sp not %fp in calculations.
36273 (_JMPBUF_UNWINDS_ADJ): Likewise.
36275 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36276 (aio_suspend): Call it to force an exception region around the
36277 AIO_MISC_WAIT() invocation.
36279 2011-08-23 Andreas Schwab <schwab@redhat.com>
36281 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36284 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36286 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36288 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36289 and <dl-machine.h>.
36290 (Elf64_FuncDesc): Remove.
36292 2011-08-22 David S. Miller <davem@davemloft.net>
36294 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36295 sigaltstack check, add missing cfi directives.
36296 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36297 missing cfi directives, and sigaltstack handling.
36299 2011-08-16 Andreas Schwab <schwab@redhat.com>
36302 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36303 object is seen twice.
36304 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36306 * elf/Makefile (distribute): Add tst-initorder2.c.
36307 (tests): Add tst-initorder2.
36308 (modules-names): Add tst-initorder2a tst-initorder2b
36309 tst-initorder2c tst-initorder2d. Add rules to build them.
36310 ($(objpfx)tst-initorder2.out): New rule.
36311 * elf/tst-initorder2.c: New file.
36312 * elf/tst-initorder2.exp: New file.
36314 2011-08-22 Andreas Schwab <schwab@redhat.com>
36316 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36318 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36319 dependencies back to end of function.
36321 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36322 $(elfobjdir)/ld.so.
36324 2011-08-21 Ulrich Drepper <drepper@gmail.com>
36326 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36327 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36328 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36329 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36330 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36331 of __vdso_gettimeofday.
36332 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36333 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36335 (_libc_vdso_platform_setup): Remove initialization of
36336 __vdso_gettimeofday and __vdso_time.
36338 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36340 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36341 and fgetc_unlocked.
36342 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36345 * elf/dl-open.c (add_to_global): Report additions to the global scope
36346 for LD_DEBUG=scopes.
36347 (dl_open_worker): Also print scope of newly loaded dependencies.
36348 (_dl_show_scope): Indicate if there is no scope.
36351 * stdio-common/Makefile (tests): Add bug24.
36352 * stdio-common/bug24.c: New file.
36354 2011-08-19 Andreas Jaeger <aj@suse.de>
36357 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36358 non-existant file when using close-on-exec mode.
36360 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36362 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36363 the very first instruction.
36365 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36366 the CFI state in the end.
36367 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36368 inclusion of dl-trampoline.h.
36369 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36371 2011-08-19 Andreas Schwab <schwab@redhat.com>
36373 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36374 expectations for long double.
36376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36377 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36379 2011-08-14 David S. Miller <davem@davemloft.net>
36381 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36382 artificual limit depends upon the system page size.
36384 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36386 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36387 * resolv/Makefile: Define CFLAGS-libresolv.
36389 2011-08-17 Andreas Schwab <schwab@redhat.com>
36391 * nss/makedb.c (compute_tables): Make variables used in nested
36394 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36396 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36397 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36398 if buffer was too small.
36400 * elf/pldd.c (main): Attach to all threads in the process.
36401 Rewrite /proc handling to use *at functions.
36403 2011-08-16 Ulrich Drepper <drepper@gmail.com>
36405 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36406 specifies first scope to show.
36407 (dl_open_worker): Update callers. Move printing scope of new
36408 object to before the relocation.
36409 * elf/rtld.c (dl_main): Update _dl_show_scope call.
36410 * sysdeps/generic/ldsodefs.h: Update declaration.
36412 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36413 string for the scope number.
36415 2011-08-14 Ulrich Drepper <drepper@gmail.com>
36417 * nscd/servicescache.c (cache_addserv): Make sure written is always
36420 2011-08-14 Roland McGrath <roland@hack.frob.com>
36422 * sysdeps/i386/i486/bits/atomic.h
36423 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36424 statement expression, so as to suppress "set but not used" warning.
36425 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36427 * string/strncat.c (STRNCAT): Use prototype definition.
36429 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36430 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36432 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36433 (localedef-modules): Add localedef.
36434 (locale-modules): Add locale.
36436 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36437 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36438 to avoid a warning.
36440 2011-08-14 David S. Miller <davem@davemloft.net>
36442 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36443 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36445 2011-08-13 Ulrich Drepper <drepper@gmail.com>
36447 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
36448 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36449 * elf/rtld.c (dl_main): Set l_name of vDSO.
36450 Call _dl_show_scope when DL_DEBUG_SCOPES.
36451 (process_dl_debug): Recognize scopes flag and also set it for all.
36452 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36453 Declare _dl_show_scope.
36455 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36456 (do_dlopen): Pass caller_dlopen to dl_open.
36457 (__libc_dlopen_mode): Initialize caller_dlopen.
36459 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36460 of libc. Make tolower call locale-independent. Optimize a bit by
36461 using isdigit instead of isalnum.
36462 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36464 2011-08-12 Ulrich Drepper <drepper@gmail.com>
36466 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36467 was a dependency or dynamically loaded.
36469 2011-08-11 Ulrich Drepper <drepper@gmail.com>
36471 * intl/l10nflist.c: Allow architecture-specific pop function.
36472 * sysdeps/x86_64/l10nflist.c: New file.
36474 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36477 2011-08-10 Andreas Schwab <schwab@redhat.com>
36479 * include/dirent.h: Add libc_hidden_proto for scandirat and
36480 scandirat64. Don't declare __scandirat64.
36481 * dirent/scandirat.c: Add libc_hidden_def.
36482 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36483 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36485 2011-08-10 David S. Miller <davem@davemloft.net>
36487 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36489 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36490 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36491 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36493 2011-08-09 Ulrich Drepper <drepper@gmail.com>
36495 * Versions.def [libc]: Add GLIBC_2.15.
36496 * dirent/Makefile (routines): Add scandirat and scandirat64.
36497 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36499 * dirent/dirent.h: Declare scandirat and scandirat64.
36500 * dirent/scandirat.c: New file.
36501 * dirent/scandirat64.c: New file.
36502 * sysdeps/wordsize-64/scandirat.c: New file.
36503 * sysdeps/wordsize-64/scandirat64.c: New file.
36504 * dirent/opendir.c: Define opendirat.
36505 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36507 * dirent/scandir64.c: Adjust for scandir.c change.
36508 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36509 __scandirat64, and __scandir_cancel_handler.
36510 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36511 additional parameter and use openat instead of open (outside of ld.so).
36512 Add new __opendir as wrapper around __opendirat.
36513 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36514 here without requiring old scandirat implementation.
36516 2011-08-08 Ulrich Drepper <drepper@gmail.com>
36518 * dirent/scandir.c (cancel_handler): Renamed to
36519 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36520 defined. Adjust users.
36521 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36522 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36524 2011-08-04 Ulrich Drepper <drepper@gmail.com>
36526 * string/test-string.h (IMPL): Use __STRING to expand name and then
36529 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36532 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36534 * string/Makefile: Update.
36535 (strop-tests): Append strncat.
36536 * string/test-wcscmp.c: New file.
36537 New comprehensive test for wcscmp.
36538 * string/test-strcmp.c: Update.
36539 (WIDE): New define.
36541 2011-07-22 Andreas Schwab <schwab@redhat.com>
36543 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36546 2011-07-26 Andreas Schwab <schwab@redhat.com>
36548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36549 encoding to ACE if AI_IDN.
36551 2011-08-01 Jakub Jelinek <jakub@redhat.com>
36553 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36554 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36556 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36558 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36559 Fix overflow bug in strncat.
36560 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36562 * string/test-strncat.c: Update.
36563 Add new tests for checking overflow bugs.
36565 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36567 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36568 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36569 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36570 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36571 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36572 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36573 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36574 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36575 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36577 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36578 (USE_AS_STRCAT): Define.
36579 Add strcat and strncat support.
36580 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36582 2011-07-25 Andreas Schwab <schwab@redhat.com>
36584 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36585 __n bigger than INT_MAX+1.
36586 (__strncmp_g): Likewise.
36588 2011-07-23 Ulrich Drepper <drepper@gmail.com>
36590 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36591 * libio/stido.h: Likewise.
36593 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36598 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36599 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36600 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36601 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36602 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36605 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36608 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36610 (_dl_x86_64_save_sse): Likewise.
36612 2011-07-22 Ulrich Drepper <drepper@gmail.com>
36614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36616 (_dl_x86_64_save_sse): Likewise.
36618 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36620 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36622 2011-07-21 Andreas Schwab <schwab@redhat.com>
36624 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36626 (_dl_x86_64_save_sse): Use correct AVX check.
36628 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36630 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36631 bug in strncpy/strncat.
36632 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36634 2011-07-21 Ulrich Drepper <drepper@gmail.com>
36636 * string/tester.c (test_strcat): Add tests for different alignments
36637 of source and destination.
36638 (test_strncat): Likewise.
36640 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36643 * posix/glob.c (glob): Check passed in values before using them in
36644 expressions to avoid some overflows.
36645 (glob_in_dir): Likewise.
36648 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36649 check for AVX enablement so that we don't crash with old kernels and
36651 * elf/tst-audit4.c: Add same checks here.
36652 * elf/tst-audit6.c: Likewise.
36654 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
36656 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36658 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36660 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36662 * po/cs.po: Update from translation team.
36663 * po/bg.po: Likewise.
36665 2011-07-12 Marek Polacek <mpolacek@redhat.com>
36667 * misc/sys/cdefs.h: Add support for const attribute.
36668 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36669 to gnu_dev_{major,minor,makedev} functions.
36671 2011-07-20 Marek Polacek <mpolacek@redhat.com>
36673 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36675 2011-07-20 Andreas Schwab <schwab@redhat.com>
36677 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36680 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36682 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36683 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36684 register in order to avoid conflicts with the soft frame pointer
36685 being held in r11 when necessary.
36686 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36687 (INTERNAL_VSYSCALL_NCS): Likewise.
36689 2011-07-14 Marek Polacek <mpolacek@redhat.com>
36691 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36692 * elf/dl-fini.c (_dl_fini): Adjust caller.
36693 * elf/dl-close.c (_dl_close_worker): Likewise.
36694 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36696 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36698 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36699 "aux_cache->nlibs < 0".
36701 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36702 in the reload-count case.
36704 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36707 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36708 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36709 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36710 * sysdeps/x86_64/multiarch/strcat.S: New file.
36711 * sysdeps/x86_64/multiarch/strncat.S: New file.
36712 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36713 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36714 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36715 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36716 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36717 (USE_AS_STRCAT): Define.
36718 Add strcat and strncat support.
36719 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36720 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36721 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36722 * string/strncat.c: Update.
36723 (USE_AS_STRNCAT): Define.
36724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36725 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36727 * sysdeps/x86_64/multiarch/init-arch.h
36728 (bit_Prefer_PMINUB_for_stringop): New.
36729 (index_Prefer_PMINUB_for_stringop): Likewise.
36730 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36731 bit_Prefer_PMINUB_for_stringop.
36733 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36735 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36737 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36738 of casting of buffer.
36739 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36740 buffer32 and buffer64.
36741 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36742 writes instead of casting of buffer.
36743 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36745 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36748 2011-07-19 Andreas Schwab <schwab@redhat.com>
36750 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36752 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36754 * nscd/nscd.c (termination_handler): Don't do anything for a database
36755 if it has not yet been initialized.
36757 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36759 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36761 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36763 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36765 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36767 * po/nl.po: Update from translation team.
36768 * po/sv.po: Likewise.
36770 2011-07-16 Roland McGrath <roland@hack.frob.com>
36772 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36773 now disallowed by GCC.
36775 * configure.in (use-default-link): Default to yes if a test -shared
36776 link meets our qualifications.
36777 * configure: Regenerated.
36779 * config.make.in (output-format): New variable.
36780 * configure.in: Check for ld --print-output-format support.
36781 * configure: Regenerated.
36782 * Makerules ($(common-objpfx)format.lds)
36783 [$(output-format) != unknown]: Just use $(output-format),
36784 instead of the linker-script munging.
36786 2011-07-14 Roland McGrath <roland@hack.frob.com>
36788 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36789 of $(common-objpfx)shlib.lds.
36790 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36792 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36793 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36795 * configure.in (-z relro check): Adjust test code to add a large
36796 writable data section after it.
36797 * configure: Regenerated.
36799 2011-07-11 Roland McGrath <roland@hack.frob.com>
36801 * configure.in (-z relro check): Fix test code to make the variable
36803 * configure: Regenerated.
36805 2011-07-11 Ulrich Drepper <drepper@gmail.com>
36807 * nscd/nscd.h (struct traced_file): Define.
36808 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36809 elements. Add traced_files.
36810 (inotify_fd): Declare.
36811 (register_traced_file): Declare.
36812 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36813 (inotify_fd): Export.
36814 (resolv_conf_descr): Remove.
36815 (nscd_init): Move inotify descriptor creation to main.
36816 Don't register files for notification here.
36817 (register_traced_file): New function.
36818 (invalidate_cache): Don't use reset_res to determine whether to call
36819 res_init, go through the list of registered files.
36820 (main_loop_poll): The inotify descriptors are now stored in the
36821 structures for the traced files.
36822 (main_loop_epoll): Likewise
36823 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36824 to __nss_disable_nscd.
36825 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36826 for a database anymore. Check the records for all the registered
36828 * nss/Makefile (libnss_files-routines): Add files-init.
36829 (libnss_db-routines): Add db-init.
36830 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36831 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36832 * nss/nss_db/db-init.c: New file.
36833 * nss/nss_files/files-init.c: New file.
36834 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36835 __nss_lookup_function.
36836 (__nss_lookup_function): Call nss_load_library.
36837 (nss_load_all_libraries): New function.
36838 (__nss_disable_nscd): Take parameter with callback function for files
36839 to register. Set is_nscd. Load all the DSOs for the NSS modules
36840 used for the cached services.
36841 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36842 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36843 options for features to all the files in nscd.
36845 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36847 2011-07-10 Roland McGrath <roland@hack.frob.com>
36849 * csu/elf-init.c (__libc_csu_init): Comment typo.
36851 2011-07-09 Ulrich Drepper <drepper@gmail.com>
36853 * po/pl.po: Update from translation team.
36854 * po/ja.po: Likewise.
36855 * po/ru.po: Likewise.
36856 * po/ko.po: Likewise.
36857 * po/fr.po: Likewise.
36859 2011-07-09 Roland McGrath <roland@hack.frob.com>
36861 * configure.in (.ctors/.dtors header and trailer check):
36862 Use an empirical test on a built program.
36863 * configure: Regenerated.
36865 * configure.in (-z relro check): Use an empirical test on a built DSO.
36866 Detect, but do not require, on ia64.
36867 * configure: Regenerated.
36869 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36870 Update tests that use readelf to use $READELF instead.
36871 * configure: Regenerated.
36873 2011-07-08 Ulrich Drepper <drepper@gmail.com>
36875 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36876 if the result is not used.
36878 2011-07-05 Andreas Jaeger <aj@suse.de>
36881 * stdlib/tst-strtod.c: Add testcase.
36883 2011-07-07 Ulrich Drepper <drepper@gmail.com>
36885 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36886 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36887 The latter has a higher limit. Take additional parameter to pass to
36889 (__pathconf): Pass file to __statfs_link_max.
36890 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36892 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36896 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36897 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36899 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36900 (__statfs_filesize_max): Likewise.
36901 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36903 2011-07-05 Andreas Jaeger <aj@suse.de>
36905 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36907 2011-07-06 Marek Polacek <mpolacek@redhat.com>
36909 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36911 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36914 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36916 * Makefile (strop-tests): Add strncat.
36917 * string/test-strncat.c: New file.
36919 2011-06-30 Marek Polacek <mpolacek@redhat.com>
36921 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36923 2011-06-21 Andreas Jaeger <aj@suse.de>
36925 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36926 Copy rule from iconvdata/Makefile.
36928 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36931 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36932 but no long options are defined, just return 'W'.
36934 2011-06-22 Marek Polacek <mpolacek@redhat.com>
36937 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36939 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36941 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36943 (innetgr): Likewise.
36945 2011-07-05 Roland McGrath <roland@hack.frob.com>
36947 * config.make.in (install_root): Default to $(DESTDIR).
36949 2011-07-05 Ulrich Drepper <drepper@gmail.com>
36951 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36953 2011-07-02 Roland McGrath <roland@hack.frob.com>
36955 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36957 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36958 containing directory rather than embedding absolute directory names.
36960 * scripts/check-local-headers.sh: Rewritten using awk.
36961 Match by word, not by line. Print error messages for matches.
36962 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36964 * Makerules [shlib-lds-flags empty]:
36965 ($(common-objpfx)libc_pic.opts): New target.
36966 ($(common-objpfx)libc_pic.os.clean): New target.
36967 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36969 * config.make.in (OBJCOPY): New variable.
36970 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36971 * configure: Regenerated.
36973 * config.make.in (use-default-link): New variable.
36974 * configure.in (use_default_link): Grok --with-default-link to set it.
36975 * configure: Regenerated.
36976 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36977 (shlib-lds, shlib-lds-flags): Define to empty.
36979 * Makerules (shlib-lds): New variable.
36980 (shlib-lds-flags): New variable.
36981 (build-shlib, build-moduile, build-module-asneeded): Use it.
36982 ($(common-objpfx)libc.so): Use $(shlib-lds).
36983 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36984 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36986 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36987 DT_FLAGS/DT_FLAGS_1 with zero flags.
36989 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36990 linker script munging.
36992 2011-07-02 Ulrich Drepper <drepper@gmail.com>
36994 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36996 * crypt/sha512.c (sha512_process_block): Perform total addition using
36997 128-bit if possible.
36998 (__sha512_finish_ctx): Likewise.
36999 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
37001 * crypt/sha256.c (SWAP64): Define.
37002 (sha256_process_block): Perform total addition using 64-bit if
37004 (__sha256_finish_ctx): Likewise.
37006 2011-07-01 Ulrich Drepper <drepper@gmail.com>
37008 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
37009 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37010 * nscd/hstcache.c (cache_addhst): Likewise.
37011 * nscd/grpcache.c (cache_addgr): Likewise.
37012 * nscd/aicache.c (addhstaiX): Likewise
37013 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37015 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
37017 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
37018 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37019 * nscd/hstcache.c (cache_addhst): Likewise.
37020 * nscd/grpcache.c (cache_addgr): Likewise.
37021 * nscd/aicache.c (addhstaiX): Likewise
37023 2011-07-01 Andreas Schwab <schwab@redhat.com>
37025 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37026 domain only when needed.
37028 2011-06-30 Andreas Schwab <schwab@redhat.com>
37030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37031 is always restored.
37033 2011-06-29 Ulrich Drepper <drepper@gmail.com>
37035 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37036 are re-adding the entry.
37037 * nscd/servicescache.c (cache_addserv): Likewise.
37039 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
37041 * sysdeps/generic/dl-irel.h: fix protection against multiple
37043 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37045 2011-06-28 Ulrich Drepper <drepper@gmail.com>
37048 * malloc/memusage.sh: Fix quoting in message.
37049 * debug/xtrace.sh: Likewise.
37051 * configure.in: Remove support for --experimental-malloc option, make
37053 * config.make.in: Likewise.
37054 * malloc/Makefile: Likewise.
37056 2011-06-27 Andreas Schwab <schwab@redhat.com>
37058 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37059 two-byte characters.
37061 2011-06-27 Roland McGrath <roland@hack.frob.com>
37063 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37064 AC_CACHE_CHECK invocation.
37065 * configure: Regenerated.
37067 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37069 2011-06-27 Ulrich Drepper <drepper@gmail.com>
37072 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
37073 bit from old_res_options.
37075 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37077 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37078 value type for setfct.
37080 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
37082 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37083 __gettimeofday instead of gettimeofday.
37085 2011-06-26 Ulrich Drepper <drepper@gmail.com>
37087 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37089 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
37091 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37093 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37096 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37098 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37099 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37100 strcpy-sse2-unaligned strncpy-sse2-unaligned
37101 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37102 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37103 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37104 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37105 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37106 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37107 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37108 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37109 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37110 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37111 (STRCPY): Support SSE2 and SSSE3 versions.
37113 2011-06-24 Ulrich Drepper <drepper@gmail.com>
37116 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37117 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37118 kernels which artificially limit size of requests.
37120 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37123 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37124 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37125 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37126 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37127 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37128 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37129 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37130 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37131 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37132 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37133 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37134 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37135 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37136 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37138 Enable unaligned load optimization for Intel Core i3, i5 and i7
37140 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37142 (index_Fast_Unaligned_Load): Define.
37143 (HAS_FAST_UNALIGNED_LOAD): Define.
37145 2011-06-23 Marek Polacek <mpolacek@redhat.com>
37147 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37149 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37152 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37153 until it is clear that the information is realy needed.
37154 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37156 2011-06-22 Andreas Schwab <schwab@redhat.com>
37158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37160 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37162 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37163 /sys/devices/system/cpu/online if it is usable.
37165 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37166 reading the information from the /proc filesystem to once a second.
37168 2011-06-21 Andreas Jaeger <aj@suse.de>
37170 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37171 NULL after inclusion of kernel headers.
37173 2011-06-21 Ulrich Drepper <drepper@gmail.com>
37175 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37176 calls to internal_setent.
37179 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37180 addresses using gethostbyname4_r ignore IPv4 addresses.
37182 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37183 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37185 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37187 2011-06-20 David S. Miller <davem@davemloft.net>
37189 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37191 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37193 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37194 (elf_irel): Use it.
37195 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37196 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37197 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37198 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37199 * sysdeps/x86_64/dl-irel.h: Likewise.
37201 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37202 * elf/dl-sym.c: Likewise.
37204 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37206 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37207 need to dereference resplen2.
37209 2011-06-14 Andreas Schwab <schwab@redhat.com>
37211 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37213 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37215 * Makeconfig: Define vardbdir and inst_vardbdir.
37216 * nss/Makefile: Add rules to install db-Makefile.
37218 * nss/nss_db/db-XXX.c: Cleanup.
37220 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37221 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37223 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37224 * nss/makedb.c: Implement -g option to specify that value strings
37225 are generated and should not be added to table iterated over for
37227 * nss/nss_db/db-initgroups.c: New file.
37229 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37232 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37233 (internal_getgrouplist): Adjust to name change.
37234 Update use_initgroups_entry if this is not the first call.
37235 * nss/databases.def: Add initgroups entry.
37237 * nss/makedb.c (compute_tables): Check result of multiple hash table
37238 sizes to minimize maximum chain length.
37240 2011-06-14 Ulrich Drepper <drepper@gmail.com>
37242 * Versions.def: Add entry for libnss_db.
37243 * shlib-versions: Likewise.
37244 * nss/Makefile: Add rules to build libnss_db.
37245 * nss/Versions: Add libnss_db information. Organize libnss_files
37247 * nss/db-Makefile: Add gshadow support. Change rules for the new
37248 makedb progra. Some minor improvements to generate smaller files.
37249 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37251 * nss/makedb.c: ...here.
37252 Improve database format to be smaller and require less memory at
37254 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37256 * nss/nss_db/db-netgrp.c: Likewise.
37257 * nss/nss_db/db-open.c: Likewise.
37258 * nss/nss_files/flies-XXX.x: Adjust comments.
37259 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37260 * nss/nss_files/files-grp.c: Likewise.
37261 * nss/nss_files/files-hosts.c: Likewise.
37262 * nss/nss_files/files-network.c: Likewise.
37263 * nss/nss_files/files-proto.c: Likewise.
37264 * nss/nss_files/files-pwd.c: Likewise.
37265 * nss/nss_files/files-rpc.c: Likewise.
37266 * nss/nss_files/files-service.c: Likewise.
37267 * nss/nss_files/files-sgrp.c: Likewise.
37268 * nss/nss_files/files-spwd.c: Likewise.
37269 * nss/nss_db/db-alias.c: Removed.
37270 * nss/nss_db/dummy-db.h: Removed.
37272 2011-06-02 Ulrich Drepper <drepper@gmail.com>
37274 * nss/makedb.c: Rewritten to not use database library.
37275 * nss/Makefile: Update to build new makedb program.
37277 2011-06-14 Andreas Jaeger <aj@suse.de>
37279 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37280 memset declaration.
37282 2011-06-10 Andreas Schwab <schwab@redhat.com>
37284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37287 2011-06-10 Roland McGrath <roland@hack.frob.com>
37289 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37290 * elf/Makefile ($(objpfx)ld.so): Likewise.
37292 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37293 Don't list ld.so twice in dependencies.
37295 * posix/bug-regex31.c: Include <stdlib.h>.
37297 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37299 * nis/nss_compat/compat-spwd.c
37300 (getspent_next_nss_netgr): Remove unused variable.
37301 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37303 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37304 nonmembers" output to use the right array.
37306 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37308 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37310 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37311 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37312 * catgets/gencat.c (read_input_file): Likewise.
37313 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37315 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37316 variable definition inside #if's controlling its use.
37318 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37320 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37322 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37324 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37327 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37329 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37330 * configure: Regenerated.
37332 * Makerules: Revert last change.
37333 * elf/Makefile: Likewise.
37335 2011-06-09 Roland McGrath <roland@hack.frob.com>
37337 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37338 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37339 (reloc-link): Likewise.
37341 2011-06-09 Ulrich Drepper <drepper@gmail.com>
37343 * elf/Makefile: Add rules to build pldd.
37344 * elf/pldd.c: New file.
37345 * elf/pldd-xx.c: New file.
37347 2011-06-07 Ulrich Drepper <drepper@gmail.com>
37349 * version.h: Update for 2.15 development version.
37351 2011-06-07 David S. Miller <davem@davemloft.net>
37353 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37355 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37356 elf_machine_lazy_rel): Likewise.
37357 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37358 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37359 elf_machine_lazy_rel): Likewise.
37360 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37361 dl_hwcap via passed in argument.
37362 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37365 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37367 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37369 2011-06-06 Roland McGrath <roland@hack.frob.com>
37372 * manual/fdl-1.1.texi: New file, verbatim from:
37373 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37374 * manual/lgpl-2.1.texi: New file, verbatim from:
37375 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37376 * manual/Makefile (licenses): New variable, list those new file names.
37378 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37380 * manual/fdl.texi: File removed.
37381 * manual/lesser.texi: File removed.
37382 * manual/libc.texinfo (Copying, Documentation License):
37383 Use new @include file names, put @appendix directive before @include.
37385 2011-06-04 Jakub Jelinek <jakub@redhat.com>
37388 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37389 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37390 (mq_open): Add __NTH.
37392 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37395 Assume Intel Core i3/i5/i7 processor if AVX is available.
37397 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37399 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37402 2011-05-31 Andreas Schwab <schwab@redhat.com>
37404 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37405 memory. Use alloca_account. Fix memory leak when retrying.
37407 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37409 * version.h (RELEASE): Bump for 2.14 release.
37410 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37412 * config.make.in (RANLIB): Remove entry.
37414 2011-05-30 Ulrich Drepper <drepper@gmail.com>
37416 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37417 (libc.pot): Work around missing support for .ksh extension in xgettext.
37420 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37421 if both request failed.
37422 (send_dg): In case of server errors clear resplen or *resplen2.
37425 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37426 when there are multiple maps.
37427 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37428 (_dl_fini): Remove test here.
37430 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37432 2011-05-29 Ulrich Drepper <drepper@gmail.com>
37435 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37436 bit from old_res_options.
37437 (gaih_inet): Likewise.
37440 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
37443 * resolv/res_init.c (res_setoptions): Make the code more compact.
37446 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37450 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37452 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37455 * malloc/malloc.h: Declare malloc hook variables as volatile.
37457 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37461 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
37462 raise in the comment.
37463 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37464 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37465 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
37467 2011-05-28 Ulrich Drepper <drepper@gmail.com>
37470 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37471 grow the buffers more if it already has to be sufficient.
37472 (build_wcs_upper_buffer): Likewise.
37473 * posix/regexec.c (check_matching): Likewise.
37474 (clean_state_log_if_needed): Likewise.
37475 (extend_buffers): Don't enlarge buffers beyond size of the input
37477 Patches mostly by Emil Wojak <emil@wojak.eu>.
37478 * posix/bug-regex32.c: New file.
37479 * posix/Makefile (tests): Add bug-regex32.
37481 * locale/findlocale.c (_nl_find_locale): Return right away if
37482 _nl_explode_name failed.
37483 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37485 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37487 * debug/xtrace.sh: Unify messages.
37488 * malloc/memusage.sh: Likewise.
37491 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37492 time symbol from vDSO. Substitute with vsyscall if not available.
37493 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37496 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37497 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37498 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37499 Add sendmmsg and internal_sendmmsg.
37500 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37501 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37502 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37504 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37505 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37506 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37508 2011-05-27 Ulrich Drepper <drepper@gmail.com>
37511 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37512 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37514 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37518 * iconvdata/Makefile (tests): Add bug-iconv9.
37519 * iconvdata/bug-iconv9.c: New file.
37521 2011-05-27 Andreas Schwab <schwab@redhat.com>
37524 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37526 2011-05-25 Jakub Jelinek <jakub@redhat.com>
37528 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37529 (struct user_regs_struct): Change intcs field back to cs.
37531 2011-05-25 Ulrich Drepper <drepper@gmail.com>
37533 * po/ja.po: Update from translation team.
37535 2011-05-23 Ulrich Drepper <drepper@gmail.com>
37538 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37539 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37541 2011-05-20 Andreas Schwab <schwab@redhat.com>
37543 * stdlib/longlong.h: Update from GCC.
37545 2011-05-23 Andreas Schwab <schwab@redhat.com>
37547 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37549 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37550 Add parameter name.
37551 (__sysconf): Pass it down.
37553 2011-05-22 Ulrich Drepper <drepper@gmail.com>
37556 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37558 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37559 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37560 add in in __libc_use_alloca calls. Adjust callers.
37561 (glob): Use malloc in some situations.
37563 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37564 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37567 2011-05-21 Ulrich Drepper <drepper@gmail.com>
37569 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37570 and CLOCK_BOOTTIME_ALARM.
37573 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37576 * string/_strerror.c (__strerror_r): Print negative errors as signed
37580 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37581 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37582 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37584 * configure.in: Fix typo in redirection and correct removal of test
37585 files in two cases.
37588 * locale/setlocale.c (new_composite_name): Fix test to check for
37589 identical name of all categories.
37592 * libio/filedoalloc.c (local_isatty): New function.
37593 (_IO_file_doallocate): Use local_isatty.
37594 * stdio-common/perror.c (perror): In case a new stream is used
37595 forward the stream error.
37596 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37599 2011-05-20 Ulrich Drepper <drepper@gmail.com>
37602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37604 * include/alloca.h (extend_alloca_account): Define.
37607 * posix/regex.h: Fix comments with documentation of user-accessible
37608 fields after compilation and describe correct free'ing of pattern
37609 after re_compile_pattern.
37610 Patch by Reuben Thomas <rrt@sc3d.org>.
37612 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37614 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37615 and -mno-altivec to prevent the compiler from using Altivec and/or
37616 VSX instructions when the corresponding registers are not available.
37618 2011-05-19 Andreas Schwab <schwab@redhat.com>
37620 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37622 2011-05-19 Ulrich Drepper <drepper@gmail.com>
37624 * libio/freopen.c (freopen): Use __dup2, not dup2.
37625 * libio/freopen64.c (freopen64): Likewise.
37627 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37630 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37631 * math/Makefile (tests): Add test-powl.
37632 (CFLAGS-test-powl.c): Define.
37633 * math/test-powl.c: New file.
37635 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37637 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37639 2011-05-17 Ulrich Drepper <drepper@gmail.com>
37642 * iconvdata/gb18030.c: Update to GB18020-2005.
37644 2011-05-16 Ulrich Drepper <drepper@gmail.com>
37646 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37647 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37648 Patch by Aharon Robbins <arnold@skeeve.com>.
37651 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37655 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37656 through underflows.
37659 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37660 point to strings before performing equality test for error_one_per_line
37664 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37667 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37668 (struct user_fpregs_struct): Avoid __uint*_t types.
37671 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37672 symbol info. Use it instead of calling _dl_addr locally.
37673 (lock_and_info): New function.
37674 (tr_freehook): Call lock_and_info and pass symbol info as additional
37675 parameter to tr_where.
37676 (tr_mallochook): Likewise.
37677 (tr_reallochook): Likewise.
37678 (tr_memalignhook): Likewise.
37680 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37681 used and couldn't be at all thread-safe.
37683 2011-05-15 Ulrich Drepper <drepper@gmail.com>
37685 * libio/freopen.c (freopen): Don't close old file descriptor
37686 before the new one is opened. Instead dup the new file descriptor
37687 to the old one after the new stream is created.
37688 * libio/freopen64.c (freopen64): Likewise.
37689 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37690 * libio/fileops.c (_IO_new_file_close_it): Handle new
37691 _IO_FLAGS2_NOCLOSE flag.
37692 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37693 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37694 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37695 _IO_FLAGS2_NOCLOSE flag.
37696 * include/unistd.h: Add hidden_proto for dup3.
37697 Define __have_dup3.
37698 * io/dup3.c: Define hidden symbol.
37699 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37702 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37703 when an incomplete long option is used.
37704 * posix/tst-getopt_long1.c: New file.
37705 * posix/Makefile (tests): Add tst-getopt_long1.
37708 * scripts/config.guess: Update from autoconf-2.68.
37709 * scripts/config.sub: Likewise.
37712 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37714 (has_cpuclock): ...this. New function.
37715 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37716 macro here based on has_cpuclock code.
37719 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37720 First byte (not low byte) is now always NUL.
37721 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37723 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37724 Use non-cancelable interfaces.
37727 * locale/iso-639.def: Add entry for Sorani.
37730 * include/stdlib.h: Move include protection to the right place.
37731 Define abort_msg_s. Declare __abort_msg with it.
37732 * stdlib/abort.c (__abort_msg): Adjust type.
37733 * assert/assert.c (__assert_fail_base): New function. Majority
37734 of code from __assert_fail. Allocate memory for __abort_msg with
37736 (__assert_fail): Now call __assert_fail_base.
37737 * assert/assert-perr.c: Remove bulk of implementation. Use
37738 __assert_fail_base.
37739 * include/assert.hL Declare __assert_fail_base.
37740 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37742 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37744 2011-05-14 Ulrich Drepper <drepper@gmail.com>
37748 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37749 until all modules are registered in the DTV.
37750 * elf/Makefile: Add rules to build and run tst-tls19.
37751 * elf/tst-tls19.c: New file.
37752 * elf/tst-tls19mod1.c: New file.
37753 * elf/tst-tls19mod2.c: New file.
37754 * elf/tst-tls19mod3.c: New file.
37755 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37758 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37762 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37763 two-byte sequence errors.
37764 * iconvdata/Makefile (tests): Add bug-iconv8.
37765 * iconvdata/bug-iconv8.c: New file.
37768 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37771 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37774 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37775 (dummy_getcfa): New function.
37776 (init): Get _Unwind_GetCFA address, use dummy if not found.
37777 (backtrace_helper): In recursion check, also check whether CFA changes.
37778 (__backtrace): Completely initialize arg.
37780 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37781 storing incomplete byte sequence in state object. Avoid testing for
37782 guaranteed too small input if we know there is enough data available.
37784 2011-05-11 Andreas Schwab <schwab@redhat.com>
37786 * Makeconfig (+link-pie): Indent.
37787 * Rules (binaries-pie): Define if $(have-fpie) and
37789 (binaries-shared): Also filter out $(binaries-pie).
37790 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37791 * nscd/Makefile (others-pie): Add nscd.
37792 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37793 ($(objpfx)nscd): Remove command override.
37794 * login/Makefile (others-pie): Add pt_chown.
37795 ($(objpfx)pt_chown): Remove command override.
37796 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37797 remove command overrides.
37799 2011-05-13 Ulrich Drepper <drepper@gmail.com>
37801 * libio/tst_putwc.c: Fix error messages.
37804 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37805 currently writing and seek to current position when not.
37806 * libio/Makefile (tests): Add bug-fclose1.
37807 * libio/bug-fclose1.c: New file.
37809 2011-05-12 Ulrich Drepper <drepper@gmail.com>
37812 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37813 don't set DF_1_NODELETE here.
37814 (do_lookup_x): When entering new entry test for copy relocation
37815 and if necessary set DF_1_NODELETE flag.
37816 * elf/tst-unique4.cc: New file.
37817 * elf/tst-unique4.h: New file.
37818 * elf/tst-unique4lib.cc: New file.
37819 * elf/Makefile: Add rules to build and run tst-unique4.
37820 Patch by Piotr Bury <pbury@goahead.com>.
37822 2011-05-11 Ulrich Drepper <drepper@gmail.com>
37825 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37828 * misc/mntent_r.c (addmntent): Flush the stream after the output
37831 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37832 (is_trusted_path_normalize): Skip initial colon. Append slash
37833 to empty buffer. Duplicate is_trusted_path code but allow
37834 constructed patch to be prefix.
37835 (is_dst): Allow $ORIGIN followed by /.
37836 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37837 Correct testing of result of is_trusted_path_normalize
37838 (decompose_rpath): Fix warning.
37840 2011-05-10 Ulrich Drepper <drepper@gmail.com>
37843 * grp/initgroups.c (internal_getgrouplist): When we found the service
37844 list through the initgroups entry in nsswitch.conf do not always
37845 continue on a successful lookup. Don't always use the
37846 __nss_group_database value if it is set.
37847 * nss/nsswitch.conf (initgroups): Change action for successful db
37848 lookup to continue for compatibility.
37850 2011-05-09 Ulrich Drepper <drepper@gmail.com>
37853 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37855 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37857 * iconvdata/tst-tables.sh: Likewise.
37858 * iconvdata/cp770.c: New file.
37859 * iconvdata/cp771.c: New file.
37860 * iconvdata/cp772.c: New file.
37861 * iconvdata/cp773.c: New file.
37862 * iconvdata/cp774.c: New file.
37863 * iconvdata/testdata/CP770: New file.
37864 * iconvdata/testdata/CP770..UTF8: New file.
37865 * iconvdata/testdata/CP771: New file.
37866 * iconvdata/testdata/CP771..UTF8: New file.
37867 * iconvdata/testdata/CP772: New file.
37868 * iconvdata/testdata/CP772..UTF8: New file.
37869 * iconvdata/testdata/CP773: New file.
37870 * iconvdata/testdata/CP773..UTF8: New file.
37871 * iconvdata/testdata/CP774: New file.
37872 * iconvdata/testdata/CP774..UTF8: New file.
37874 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37876 * iconvdata/gen-8bit-gap.sh: Likewise.
37877 * iconvdata/gen-8bit.sh: Likewise.
37879 * locale/iso-639.def: Add ary entry.
37882 * locale/C-translit.h.in: Add U20A1 transliteration.
37885 * locale/iso-639.def: Add wae entry.
37886 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37889 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37893 * locale/C-translit.h.in: Add entry for U20B9.
37894 Patch by pravin.d.s@gmail.com.
37896 2011-05-08 Ulrich Drepper <drepper@gmail.com>
37899 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37900 ENAMETOOLONG use generic getcwd.
37901 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37902 in rtld. Use *stat64.
37903 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37904 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37905 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37906 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37907 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37908 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37909 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37910 __fstatat64 macros.
37911 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37912 * dirent/rewinddir.c: Add libc_hidden_def.
37913 * sysdeps/mach/hurd/rewinddir.c: Likewise.
37914 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
37916 * include/dirent.h (__alloc_dir): Add flags parameter.
37917 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37918 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37920 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37921 from fdopendir if O_CLOEXEC is already set.
37923 2011-03-15 Alan Modra <amodra@gmail.com>
37925 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37926 l_tls_firstbyte_offset non-zero. Save padding offset in
37927 l_tls_firstbyte_offset for later use.
37928 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37929 freeing static tls block.
37931 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37933 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37934 where #ifdef was intended. The intent is to prevent ARG_MAX from
37935 being defined by the kernel headers.
37937 2011-05-07 Ulrich Drepper <drepper@gmail.com>
37940 * resolv/resolv.h: Define RES_NOTLDQUERY.
37941 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37942 no-tld-query and set RES_NOTLDQUERY.
37943 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37944 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37945 modern BIND to search name as TLD unless forbidden.
37947 2011-05-07 Petr Baudis <pasky@suse.cz>
37948 Ulrich Drepper <drepper@gmail.com>
37951 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37952 (is_trusted_path): ...to here.
37953 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37954 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37955 using is_trusted_path_normalize() in setuid scripts.
37957 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37959 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37960 __BEGIN/__END_DECLS.
37962 2011-05-06 Ulrich Drepper <drepper@gmail.com>
37964 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37965 NSS_STATUS_NOTFOUND if no record was found.
37967 2011-05-05 Andreas Schwab <schwab@redhat.com>
37969 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37970 (headers-not-in-tirpc): Remove rpc/netdb.h
37971 * resolv/netdb.h: Revert last change.
37973 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37975 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37976 circular dependency between libgcc.a and libc.a.
37978 2011-05-05 Andreas Schwab <schwab@redhat.com>
37980 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37981 * nis/Makefile: Don't install rpcsvc/*.
37982 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37983 instead of <rpc/types.h>.
37984 (MAXHOSTNAMELEN): Define.
37986 2011-05-03 Andreas Schwab <schwab@redhat.com>
37988 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37990 2011-04-28 Maciej Babinski <mbabinski@google.com>
37993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37994 gethostbyname4_r when IPv6 results are possible.
37996 2011-05-02 Ulrich Drepper <drepper@gmail.com>
37999 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
38000 _PC_PIPE_BUF handling.
38002 2011-04-30 Bruno Haible <bruno@clisp.org>
38005 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
38006 * resolv/netdb.h (getnameinfo): Change type of flags parameter
38008 * inet/getnameinfo.c (getnameinfo): Likewise.
38010 2011-04-29 Ulrich Drepper <drepper@gmail.com>
38012 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38013 to groups setting in database lookup.
38014 * nss/nsswitch.conf: Add initgroups entry.
38016 2011-04-22 Ulrich Drepper <drepper@gmail.com>
38019 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38021 Patch by Eric Blake <eblake@redhat.com>.
38023 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
38025 * sunrpc/Makefile (need-export-routines): Add svc_run.
38026 (routines): Remove svc_run.
38027 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38028 * sunrpc/clnt_perr.c (clnt_perrno): Export.
38029 * sunrpc/svc_run.c (svc_run): Likewise.
38030 * sunrpc/svc_udp.c (svcudp_create): Likewise.
38032 2011-04-21 Ulrich Drepper <drepper@gmail.com>
38034 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38035 problem in reallocation in last patch.
38037 2011-04-20 Ulrich Drepper <drepper@gmail.com>
38039 * sunrpc/Makefile: Move inclusion of Rules.
38041 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38043 * nss/nss_files/files-initgroups.c: New file.
38044 * nss/Makefile (libnss_files-routines): Add files-initgroups.
38045 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38046 _nss_files_initgroups_dyn.
38048 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
38050 * elf/elf.h (R_ARM_IRELATIVE): Define.
38052 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38054 * po/ru.po: Update from translation team.
38056 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38058 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38061 2011-02-06 Mike Frysinger <vapier@gentoo.org>
38064 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38065 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38066 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38067 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38068 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38070 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
38072 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38074 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38075 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38076 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38078 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38081 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38083 * stdlib/bug-getcontext.c: New file.
38084 * stdlib/Makefile: Add rules to build and run bug-getcontext.
38086 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38088 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38089 instructions into .machine "z9-109".
38090 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38091 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38093 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38095 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38096 between environment variables and auxiliary vector.
38098 2011-04-16 Ulrich Drepper <drepper@gmail.com>
38100 * Makefile: Add rules to build linkobj/libc.so.
38101 * include/libc-symbols.h: Define libc_hidden_nolink.
38102 * include/rpc/auth.h: Mark functions which are to be hidden.
38103 * include/rpc/auth_des.h: Likewise.
38104 * include/rpc/auth_unix.h: Likewise.
38105 * include/rpc/clnt.h: Likewise.
38106 * include/rpc/des_crypt.h: Likewise.
38107 * include/rpc/key_prot.h: Likewise.
38108 * include/rpc/pmap_clnt.h: Likewise.
38109 * include/rpc/pmap_prot.h: Likewise.
38110 * include/rpc/pmap_rmt.h: Likewise.
38111 * include/rpc/rpc_msg.h: Likewise.
38112 * include/rpc/svc.h: Likewise.
38113 * include/rpc/svc_auth.h: Likewise.
38114 * include/rpc/xdr.h: Likewise.
38115 * nis/Makefile: Link all DSOs against linkobj/libc.so.
38116 * nss/Makefile: Likewise.
38117 * sunrpc/Makefile: Don't install headers. Build library with normal
38118 entry points. Don't build rpcinfo. Link RPC tests appropriately.
38119 * sunrpc/auth_des.c: Hide exported symbols by default, export some
38120 for the compat linking library. Remove use of INTDEF/INTUSE.
38121 * sunrpc/auth_none.c: Likewise.
38122 * sunrpc/auth_unix.c: Likewise.
38123 * sunrpc/authdes_prot.c: Likewise.
38124 * sunrpc/authuxprot.c: Likewise.
38125 * sunrpc/clnt_gen.c: Likewise.
38126 * sunrpc/clnt_perr.c: Likewise.
38127 * sunrpc/clnt_raw.c: Likewise.
38128 * sunrpc/clnt_simp.c: Likewise.
38129 * sunrpc/clnt_tcp.c: Likewise.
38130 * sunrpc/clnt_udp.c: Likewise.
38131 * sunrpc/clnt_unix.c: Likewise.
38132 * sunrpc/des_crypt.c: Likewise.
38133 * sunrpc/des_soft.c: Likewise.
38134 * sunrpc/get_myaddr.c: Likewise.
38135 * sunrpc/key_call.c: Likewise.
38136 * sunrpc/key_prot.c: Likewise.
38137 * sunrpc/netname.c: Likewise.
38138 * sunrpc/pm_getmaps.c: Likewise.
38139 * sunrpc/pm_getport.c: Likewise.
38140 * sunrpc/pmap_clnt.c: Likewise.
38141 * sunrpc/pmap_prot.c: Likewise.
38142 * sunrpc/pmap_prot2.c: Likewise.
38143 * sunrpc/pmap_rmt.c: Likewise.
38144 * sunrpc/publickey.c: Likewise.
38145 * sunrpc/rpc_cmsg.c: Likewise.
38146 * sunrpc/rpc_common.c: Likewise.
38147 * sunrpc/rpc_dtable.c: Likewise.
38148 * sunrpc/rpc_prot.c: Likewise.
38149 * sunrpc/rpc_thread.c: Likewise.
38150 * sunrpc/rtime.c: Likewise.
38151 * sunrpc/svc.c: Likewise.
38152 * sunrpc/svc_auth.c: Likewise.
38153 * sunrpc/svc_authux.c: Likewise.
38154 * sunrpc/svc_raw.c: Likewise.
38155 * sunrpc/svc_run.c: Likewise.
38156 * sunrpc/svc_simple.c: Likewise.
38157 * sunrpc/svc_tcp.c: Likewise.
38158 * sunrpc/svc_udp.c: Likewise.
38159 * sunrpc/svc_unix.c: Likewise.
38160 * sunrpc/svcauth_des.c: Likewise.
38161 * sunrpc/xcrypt.c: Likewise.
38162 * sunrpc/xdr.c: Likewise.
38163 * sunrpc/xdr_array.c: Likewise.
38164 * sunrpc/xdr_float.c: Likewise.
38165 * sunrpc/xdr_intXX_t.c: Likewise.
38166 * sunrpc/xdr_mem.c: Likewise.
38167 * sunrpc/xdr_rec.c: Likewise.
38168 * sunrpc/xdr_ref.c: Likewise.
38169 * sunrpc/xdr_sizeof.c: Likewise.
38170 * sunrpc/xdr_stdio.c: Likewise.
38172 2011-04-10 Ulrich Drepper <drepper@gmail.com>
38175 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38176 * sysdeps/ia64/dl-tls.h: Likewise.
38177 * sysdeps/powerpc/dl-tls.h: Likewise.
38178 * sysdeps/s390/dl-tls.h: Likewise.
38179 * sysdeps/sh/dl-tls.h: Likewise.
38180 * sysdeps/sparc/dl-tls.h: Likewise.
38181 * sysdeps/x86_64/dl-tls.h: Likewise.
38182 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38184 2011-03-14 Andreas Schwab <schwab@redhat.com>
38186 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38187 rpath element also skip the following colon.
38188 (expand_dynamic_string_token): Add is_path parameter and pass
38189 down to DL_DST_REQUIRED and _dl_dst_substitute.
38190 (decompose_rpath): Call expand_dynamic_string_token with
38191 non-zero is_path. Ignore empty rpaths.
38192 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38195 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38200 2011-04-09 Ulrich Drepper <drepper@gmail.com>
38203 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38204 Patch by Filipe David Manana <fdmanana@apache.org>.
38206 2011-04-07 Andreas Schwab <schwab@redhat.com>
38208 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38209 Maintain aligned stack.
38210 (CHECK_RSP): Remove unused macro.
38212 2011-04-03 Ulrich Drepper <drepper@gmail.com>
38214 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38215 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38217 2011-04-02 Ulrich Drepper <drepper@gmail.com>
38219 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38221 * include/features.h: Mention __USE_XOPEN2K8 in comment.
38223 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38226 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38227 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38228 * sysdeps/x86_64/memmove.c: New file.
38229 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38230 (memcpy): Renamed to ...
38231 (__new_memcpy): This.
38232 (memcpy): Provide GLIBC_2_14 memcpy.
38233 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38234 (memcpy): Provide GLIBC_2_2_5 memcpy.
38236 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38239 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38241 2011-03-30 Andreas Schwab <schwab@redhat.com>
38243 * misc/syncfs.c: New file.
38244 * misc/Makefile (routines): Add syncfs.
38245 * posix/unistd.h: Declare syncfs.
38246 * sysdeps/unix/syscalls.list: Add syncfs.
38248 2011-04-01 Andreas Schwab <schwab@redhat.com>
38250 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38252 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38253 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38254 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38255 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38256 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38257 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38258 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38260 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38262 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38263 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38264 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38265 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38266 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38267 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38268 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38270 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38271 sync_file_range.c with -fexceptions.
38272 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38273 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38274 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38275 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38276 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38277 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38278 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
38279 sync_file_range as cancellation point
38280 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38281 now a wrapper around __call_sync_file_range with cancellation handling.
38282 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38283 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38284 function name to __call_sync_file_range.
38285 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38286 Add call_sync_file_range.
38288 2011-04-01 Andreas Schwab <schwab@redhat.com>
38290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38293 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38295 * iconv/iconv.h: Fix typo in comment.
38296 * io/fcntl.h: Likewise.
38297 * libio/stdio.h: Likewise.
38298 * posix/spawn.h: Likewise.
38299 * posix/unistd.h: Likewise.
38300 * stdlib/stdlib.h: Likewise.
38301 * time/time.h: Likewise.
38302 * wcsmbs/wchar.h: Likewise.
38304 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38305 open_by_handle): Add.
38306 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38307 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38308 Augment a few comments.
38309 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38310 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38311 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38312 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38313 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38314 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38317 * io/fcntl.h (AT_EMPTY_PATH): Define.
38319 2011-03-30 Ulrich Drepper <drepper@gmail.com>
38321 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38322 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38323 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38325 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
38326 * Versions.def: Add GLIBC_2.14.
38327 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38330 2011-03-22 Ulrich Drepper <drepper@gmail.com>
38332 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38334 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38336 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38339 * string/test-strncmp.c (do_page_test): New function.
38340 (check2): Likewise.
38341 (test_main): Call check2.
38342 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38344 2011-03-20 Ulrich Drepper <drepper@gmail.com>
38347 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38348 Handle cache information in CPU leaf 4.
38349 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38351 2011-03-18 Ulrich Drepper <drepper@gmail.com>
38354 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38355 character representation.
38356 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38358 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38360 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38361 END(__isnan) to END(__isnanf) to match function entry point/label
38362 EALIGN(__isnanf,...).
38364 2011-03-10 Jakub Jelinek <jakub@redhat.com>
38366 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38368 2011-03-10 Ulrich Drepper <drepper@gmail.com>
38371 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38372 copy from the symbol referenced in the relocation to initialize the
38374 Patch by Piotr Bury <pbury@goahead.com>.
38375 * elf/Makefile: Add rules to build and tst-unique3.
38376 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38377 * elf/tst-unique3.cc: New file.
38378 * elf/tst-unique3.h: New file.
38379 * elf/tst-unique3lib.cc: New file.
38380 * elf/tst-unique3lib2.cc: New file.
38382 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38384 2011-03-10 Mike Frysinger <vapier@gentoo.org>
38386 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38387 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38390 2011-03-06 Ulrich Drepper <drepper@gmail.com>
38392 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38393 to-be-loaded object along a path to loader is ld.so.
38395 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38396 Ulrich Drepper <drepper@gmail.com>
38398 * sysdeps/x86_64/memset.S: After aligning destination, code
38399 branches to different locations depending on the value of
38400 misalignment, when multiarch is enabled. Fix this.
38402 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38404 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38405 Set _x86_64_preferred_memory_instruction for AMD processsors.
38406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38407 Set bit_Prefer_SSE_for_memop for AMD processors.
38409 2011-03-04 Ulrich Drepper <drepper@gmail.com>
38411 * libio/fmemopen.c (fmemopen): Optimize a bit.
38413 2011-03-03 Andreas Schwab <schwab@redhat.com>
38415 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38417 2011-03-03 Roland McGrath <roland@redhat.com>
38419 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38421 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38423 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
38424 __bzero_ultra1 instead of __memset_ultra1.
38426 2011-02-23 Andreas Schwab <schwab@redhat.com>
38427 Ulrich Drepper <drepper@gmail.com>
38430 * include/link.h (struct link_map): Add l_orig_initfini.
38431 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38432 returning unsuccessfully.
38433 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38434 close of a file loaded at startup, restore the original l_initfini
38436 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38437 list, store the pointer.
38438 * elf/Makefile ($(objpfx)noload-mem): New rule.
38439 (noload-ENV): Define.
38440 (tests): Add $(objpfx)noload-mem.
38441 * elf/noload.c: Include <memcheck.h>.
38442 (main): Call mtrace. Close all opened handles.
38444 2011-02-17 Andreas Schwab <schwab@redhat.com>
38447 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38448 dependencies are missing.
38450 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38452 Fix __if_freereq crash: Unlike the generic version which uses free,
38454 * sysdeps/mach/hurd/ifreq.h: New file.
38456 2011-01-27 Petr Baudis <pasky@suse.cz>
38457 Ulrich Drepper <drepper@gmail.com>
38460 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38461 to extend_alloca().
38462 * stdio-common/bug23.c: New file.
38463 * stdio-common/Makefile (tests): Add bug23.
38465 2010-09-28 Andreas Schwab <schwab@redhat.com>
38466 Ulrich Drepper <drepper@gmail.com>
38469 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38470 before performing relro protection. At old place add assertion
38471 to make sure nothing changed.
38473 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38474 Glauber de Oliveira Costa <glommer@gmail.com>
38476 * elf/elf.h: Add new ARM TLS relocs.
38478 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38481 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38483 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38485 * sysdeps/wordsize-64/tst-writev.c: New file.
38487 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38489 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38490 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38491 insns in _dl_start to prevent a TOC reference before relocs are
38494 2011-02-15 Ulrich Drepper <drepper@gmail.com>
38497 * Makeconfig: Remove RANLIB definition.
38498 * Makerules: Don't use RANLIB.
38499 * aclocal.m4: Remove ranlib test.
38500 * configure.in: No need to check for ranlib.
38501 * elf/rtld-Rules: Don't use RANLIB.
38503 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38505 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38507 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38508 inclusion protection macro.
38510 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38511 SIGRTMIN and SIGRTMAX and print information in that case only when
38512 SIGRTMIN is defined.
38514 2011-02-11 Jakub Jelinek <jakub@redhat.com>
38516 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38517 arginfo fn returning -1.
38519 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38520 and thousands string is zero terminated.
38522 2011-02-03 Andreas Schwab <schwab@redhat.com>
38524 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38525 sysdeps/unix/sysv/linux/bits/socket.h.
38527 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38529 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38530 (__CPU_COUNT): Remove old macros.
38531 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38532 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38533 (__CPU_ALLOC, __CPU_FREE): Add macros.
38534 (__sched_cpualloc, __sched_cpufree): Add declarations.
38536 2011-02-05 Ulrich Drepper <drepper@gmail.com>
38538 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38539 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38540 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38541 (readdhstai): Return value of addhstaiX call.
38542 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38543 (addgrbyX): Return value returned by cache_addgr.
38544 (readdgrbyname): Return value returned by addgrbyX.
38545 (readdgrbygid): Likewise.
38546 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38547 (addpwbyX): Return value returned by cache_addpw.
38548 (readdpwbyname): Return value returned by addhstbyX.
38549 (readdpwbyuid): Likewise.
38550 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38551 (addservbyX): Return value returned by cache_addserv.
38552 (readdservbyname): Return value returned by addservbyX:
38553 (readdservbyport): Likewise.
38554 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38555 (addhstbyX): Return value returned by cache_addhst.
38556 (readdhstbyname): Return value returned by addhstbyX.
38557 (readdhstbyaddr): Likewise.
38558 (readdhstbynamev6): Likewise.
38559 (readdhstbyaddrv6): Likewise.
38560 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38561 (readdinitgroups): Return value returned by addinitgroupsX.
38562 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38563 (prune_cache): Keep track of timeout value of re-added entries.
38564 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38565 * nscd/nscd.h: Adjust prototypes of readd* functions.
38567 2011-02-04 Roland McGrath <roland@redhat.com>
38569 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38570 (nis_stats): Likewise.
38571 * nis/nis_modify.c (nis_modify): Likewise.
38572 * nis/nis_remove.c (nis_remove): Likewise.
38573 * nis/nis_add.c (nis_add): Likewise.
38575 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38577 * posix/fnmatch_loop.c: Add some consts.
38579 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38581 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38584 * config.make.in (config-cflags-novzeroupper): Define.
38585 * configure.in: Substitute libc_cv_cc_novzeroupper.
38586 * elf/Makefile (AVX-CFLAGS): Define.
38587 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38588 (CFLAGS-tst-auditmod4a.c): Likewise.
38589 (CFLAGS-tst-auditmod4b.c): Likewise.
38590 (CFLAGS-tst-auditmod6b.c): Likewise.
38591 (CFLAGS-tst-auditmod6c.c): Likewise.
38592 (CFLAGS-tst-auditmod7b.c): Likewise.
38593 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38595 2011-02-02 Ulrich Drepper <drepper@gmail.com>
38597 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38598 function to the callback.
38599 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38601 2011-02-02 Andreas Schwab <schwab@redhat.com>
38603 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38606 2011-01-19 Ulrich Drepper <drepper@gmail.com>
38609 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38611 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38613 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38616 * elf/Makefile: Add rules to build and run new test.
38617 * elf/tst-initorder.c: New file.
38618 * elf/tst-initorder.exp: New file.
38619 * elf/tst-initordera1.c: New file.
38620 * elf/tst-initordera2.c: New file.
38621 * elf/tst-initordera3.c: New file.
38622 * elf/tst-initordera4.c: New file.
38623 * elf/tst-initorderb1.c: New file.
38624 * elf/tst-initorderb2.c: New file.
38625 * elf/tst-order-a1.c: New file.
38626 * elf/tst-order-a2.c: New file.
38627 * elf/tst-order-a3.c: New file.
38628 * elf/tst-order-a4.c: New file.
38629 * elf/tst-order-b1.c: New file.
38630 * elf/tst-order-b2.c: New file.
38631 * elf/tst-order-main.c: New file.
38632 New test case by George Gensure <werkt0@gmail.com>.
38634 2010-10-01 Andreas Schwab <schwab@redhat.com>
38636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38637 decoding ACE if AI_CANONIDN.
38639 2011-01-18 Ulrich Drepper <drepper@gmail.com>
38641 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38643 2011-01-17 Ulrich Drepper <drepper@gmail.com>
38645 * version.h (RELEASE): Bump for 2.13 release.
38646 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38648 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38650 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38652 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38653 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38654 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38655 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38656 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38657 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38659 * posix/getconf.c: Update copyright year.
38660 * catgets/gencat.c: Likewise.
38661 * csu/version.c: Likewise.
38662 * debug/catchsegv.sh: Likewise.
38663 * debug/xtrace.sh: Likewise.
38664 * elf/ldconfig.c: Likewise.
38665 * elf/ldd.bash.in: Likewise.
38666 * elf/sprof.c (print_version): Likewise.
38667 * iconv/iconv_prog.c: Likewise.
38668 * iconv/iconvconfig.c: Likewise.
38669 * locale/programs/locale.c: Likewise.
38670 * locale/programs/localedef.c: Likewise.
38671 * malloc/memusage.sh: Likewise.
38672 * malloc/mtrace.pl: Likewise.
38673 * nscd/nscd.c (print_version): Likewise.
38674 * nss/getent.c: Likewise.
38676 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38677 PF_CAIF, and PF_ALG.
38678 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38680 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38682 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38683 (modules-names): Use them.
38684 (ifunc-test-modules, ifunc-pie-tests): Define.
38685 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38686 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38687 (test-extras): Likewise.
38688 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38689 $(compile-command.c).
38690 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38691 (all-built-dso): Define.
38692 (check-textrel.out, check-execstack.out): Depend on it.
38694 * configure.in: Don't override --enable-multi-arch.
38696 2011-01-15 Ulrich Drepper <drepper@gmail.com>
38699 * nscd/hstcache.c (tryagain): Define.
38700 (cache_addhst): Return tryagain not notfound for temporary errors.
38701 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38704 2011-01-14 Ulrich Drepper <drepper@gmail.com>
38707 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38708 to make the syscall.
38709 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38712 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38713 and fall back to matching as normal character if the string ends before
38714 the matching ']' is found. This is what POSIX requires.
38715 * posix/testfnm.c: Adjust test result.
38716 * posix/globtest.sh: Adjust test result. Add new test.
38717 * posix/tst-fnmatch.input: Likewise.
38718 * posix/tst-fnmatch2.c: Add new test.
38720 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38722 * elf/Makefile (check-execstack): Revert last change. Depend on
38724 (check-execstack.h): New target.
38725 (generated): Add check-execstack.h.
38726 * elf/check-execstack.c: Include "check-execstack.h".
38727 (main): Revert last change.
38728 (handle_file): Return zero if GNU_STACK is absent and
38729 DEFAULT_STACK_PERMS doesn't include PF_X.
38731 2011-01-13 Ulrich Drepper <drepper@gmail.com>
38733 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38734 in child fails because the descriptor is already closed.
38735 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38736 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38737 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38740 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38744 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38745 temporary buffer used to handle multi lookups locally.
38746 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38748 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38750 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38753 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38755 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38756 alignment for SSE2.
38758 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38761 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38762 characters. When rounding increased number of integer digits recompute
38764 * stdio-common/tst-grouping.c: New file.
38765 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38767 2011-01-09 Ulrich Drepper <drepper@gmail.com>
38769 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38770 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38772 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38774 * bits/select.h: Likewise.
38776 2011-01-08 Ulrich Drepper <drepper@gmail.com>
38778 * po/ja.po: Update from translation team.
38780 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
38783 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38784 implementation just like for lxstat, fxstatat, et al.
38786 2010-12-27 Jim Meyering <meyering@redhat.com>
38789 * posix/regexec.c (build_trtable): Return failure indication upon
38790 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38792 2010-12-25 Ulrich Drepper <drepper@gmail.com>
38795 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38796 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38797 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38798 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38801 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38804 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38805 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38807 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38809 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38810 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38811 script has SORT_BY_INIT_PRIORITY.
38812 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38813 NO_CTORS_DTORS_SECTIONS is defined.
38814 * elf/soinit.c: Likewise.
38815 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38816 NO_CTORS_DTORS_SECTIONS is defined.
38817 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38818 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38819 * sysdeps/sh/init-first.c: Likewise.
38820 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38822 2010-12-24 Ulrich Drepper <drepper@gmail.com>
38824 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38825 always use the slow path.
38827 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38829 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38830 similar rule which adds the sysdep directories to the header search in
38831 order to pick up the correct platform stackinfo.h.
38832 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38833 perform test if it is, otherwise return successfully without testing.
38834 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38835 DEFAULT_STACK_PERMS define in stackinfo.h.
38836 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38837 defined in stackinfo.h.
38838 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38839 DEFAULT_STACK_PERMS defined in stackinfo.h.
38840 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38841 * sysdeps/ia64/stackinfo.h: Likewise.
38842 * sysdeps/s390/stackinfo.h: Likewise.
38843 * sysdeps/sh/stackinfo.h: Likewise.
38844 * sysdeps/sparc/stackinfo.h: Likewise.
38845 * sysdeps/x86_64/stackinfo.h: Likewise.
38846 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38847 PF_X for powerpc64. Retain PF_X for powerpc32.
38849 2010-12-19 Ulrich Drepper <drepper@gmail.com>
38851 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38853 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38854 GETDENTS_64BIT_ALIGNED.
38856 2010-12-14 Ulrich Drepper <dreper@gmail.com>
38858 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38860 2010-12-10 Andreas Schwab <schwab@redhat.com>
38862 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38865 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38866 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38868 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38869 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38871 2010-12-09 Ulrich Drepper <drepper@gmail.com>
38874 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38877 2010-12-09 Jakub Jelinek <jakub@redhat.com>
38879 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38881 2010-12-03 Ulrich Drepper <drepper@gmail.com>
38883 * po/it.po: Update from translation team.
38885 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38887 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38890 2010-11-30 Ulrich Drepper <drepper@gmail.com>
38892 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38894 2010-11-24 Andreas Schwab <schwab@redhat.com>
38896 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38898 (gaih_getanswer_slice): Likewise.
38900 2010-10-20 Jakub Jelinek <jakub@redhat.com>
38902 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38904 2010-05-31 Petr Baudis <pasky@suse.cz>
38907 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38908 silently even in the chroot mode.
38910 2010-11-22 Ulrich Drepper <drepper@gmail.com>
38912 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38913 last patch a bit. Pretty printing
38915 2010-05-31 Petr Baudis <pasky@suse.cz>
38918 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38919 initialization of skip_initgroups_dyn.
38921 2010-11-19 Ulrich Drepper <drepper@gmail.com>
38923 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38924 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38926 2010-11-16 Ulrich Drepper <drepper@gmail.com>
38928 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38930 2010-11-11 Andreas Schwab <schwab@redhat.com>
38932 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38933 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38934 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38935 ($(objpfx)tst-fnmatch-mem): New rule.
38936 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38937 * posix/tst-fnmatch.c (main): Call mtrace.
38939 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38942 Support Intel processor model 6 and model 0x2c.
38944 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
38946 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38949 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38952 * string/test-strncasecmp.c (check_result): New function.
38953 (do_one_test): Use it.
38954 (check1): New function.
38955 (test_main): Use it.
38956 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38957 Support strcasecmp and strncasecmp.
38959 2010-11-08 Ulrich Drepper <drepper@gmail.com>
38962 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38963 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38965 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38967 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38971 * sysdeps/x86_64/multiarch/bzero.S: New file.
38972 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38973 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38974 * sysdeps/x86_64/multiarch/memset.S: New file.
38975 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38977 Set bit_Prefer_SSE_for_memop for Intel processors.
38978 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38980 (index_Prefer_SSE_for_memop): Define.
38981 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38983 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
38985 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38986 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38988 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38991 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38992 (__x86_64_raw_data_cache_size_half): Likewise.
38993 (__x86_64_raw_shared_cache_size): Likewise.
38994 (__x86_64_raw_shared_cache_size_half): Likewise.
38996 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38997 (__x86_64_raw_data_cache_size_half): Likewise.
38998 (__x86_64_raw_shared_cache_size): Likewise.
38999 (__x86_64_raw_shared_cache_size_half): Likewise.
39000 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
39001 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
39002 and __x86_64_raw_shared_cache_size_half. Round
39003 __x86_64_data_cache_size_half, __x86_64_data_cache_size
39004 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
39005 to multiple of 256 bytes.
39007 2010-11-03 Ulrich Drepper <drepper@gmail.com>
39010 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39011 of inacessible symlinks. Verify result of symlink before returning it.
39012 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39013 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39015 2010-10-28 Erich Ritz <erichritz@gmail.com>
39017 * math/math.h (isinf): Fix typo in comment.
39019 2010-11-01 Ulrich Drepper <drepper@gmail.com>
39021 * po/da.po: Update from translation team.
39023 2010-10-26 Ulrich Drepper <drepper@gmail.com>
39025 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39026 is added to the list.
39028 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39029 Ulrich Drepper <drepper@gmail.com>
39031 * elf/dl-object.c (_dl_new_object): Don't append the new object to
39032 the global list here. Move code to...
39033 (_dl_add_to_namespace_list): ...here. New function.
39034 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39035 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39036 * elf/dl-load.c (lose): Don't remove the element from the list.
39037 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39038 (_dl_map_object): Likewise.
39040 2010-10-25 Ulrich Drepper <drepper@gmail.com>
39043 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39044 into all bytes of SSE register.
39045 Patch by Richard Li <richardpku@gmail.com>.
39047 2010-10-24 Ulrich Drepper <drepper@gmail.com>
39050 * malloc/malloc.c (_int_free): Fill correct number of bytes when
39053 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
39055 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39056 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39057 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39058 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39063 2010-10-22 Andreas Schwab <schwab@redhat.com>
39065 * include/dlfcn.h (__RTLD_SECURE): Define.
39066 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
39067 mode & __RTLD_SECURE instead.
39068 (open_path): Rename preloaded parameter to secure.
39069 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39070 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39071 * elf/dl-deps.c (openaux): Likewise.
39072 * elf/rtld.c (struct map_args): Remove is_preloaded.
39073 (map_doit): Don't use it.
39074 (dl_main): Likewise.
39075 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39076 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39078 2010-09-09 Andreas Schwab <schwab@redhat.com>
39080 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39081 (sysd-rules-targets): Remove duplicates.
39082 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39083 rtld-%.$o dependency.
39085 2010-10-18 Andreas Schwab <schwab@redhat.com>
39087 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39088 _dl_map_object do it.
39090 2010-10-19 Ulrich Drepper <drepper@gmail.com>
39092 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39093 fast fma builtins, define the macros in the C99 standard.
39094 (FP_FAST_FMAF): Likewise.
39095 (FP_FAST_FMAL): Likewise.
39096 * sysdeps/x86_64/bits/mathdef.h: Likewise.
39098 * bits/mathdef.h: Update copyright year.
39099 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39101 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
39103 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39104 builtins, define the macros in the C99 standard.
39105 (FP_FAST_FMAF): Likewise.
39106 (FP_FAST_FMAL): Likewise.
39107 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39109 (FP_FAST_FMAF): Likewise.
39111 2010-10-15 Jakub Jelinek <jakub@redhat.com>
39114 * math/libm-test.inc (fma_test): Some new testcases.
39115 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39116 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39117 y and infinite z. Do multiplication by C already in long double.
39118 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39120 y and infinite z. Do bitwise or of inexact bit into u.d.
39121 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39122 * sysdeps/i386/fpu/s_fmaf.S: Removed.
39123 * sysdeps/i386/fpu/s_fma.S: Removed.
39124 * sysdeps/i386/fpu/s_fmal.S: Removed.
39126 2010-10-16 Jakub Jelinek <jakub@redhat.com>
39129 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39130 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39131 computation is not scheduled after fetestexcept. Fix value
39132 of minimum denormal long double.
39134 2010-10-14 Jakub Jelinek <jakub@redhat.com>
39137 * math/libm-test.inc (fma_test): Add some more tests.
39138 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39141 2010-10-15 Andreas Schwab <schwab@redhat.com>
39143 * scripts/data/localplt-s390-linux-gnu.data: New file.
39144 * scripts/data/localplt-s390x-linux-gnu.data: New file.
39146 2010-10-13 Jakub Jelinek <jakub@redhat.com>
39149 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39150 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39152 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39154 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39155 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39156 if one of x and y is very large and the other is subnormal.
39157 * sysdeps/s390/fpu/s_fmaf.c: New file.
39158 * sysdeps/s390/fpu/s_fma.c: New file.
39159 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39160 * sysdeps/powerpc/fpu/s_fma.S: New file.
39161 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39162 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39163 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39165 2010-10-12 Jakub Jelinek <jakub@redhat.com>
39168 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39170 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39171 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39172 * sysdeps/i386/i686/multiarch/s_fma.c: Include
39173 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39174 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39175 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39176 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39178 2010-10-12 Ulrich Drepper <drepper@redhat.com>
39181 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39182 * posix/bug-regex31.input: Add test case.
39184 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39186 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39187 * posix/bug-regex31.input: New file.
39190 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39191 (parse_sub_exp): Fix last change, use postorder.
39193 * posix/bug-regex31.c: New file.
39194 * posix/Makefile: Add rules to build and run bug-regex31.
39196 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39199 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39202 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39203 to have entries in sys_siglist.
39206 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39209 2010-10-07 Jakub Jelinek <jakub@redhat.com>
39212 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39213 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39214 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39215 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39216 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39217 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39218 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39219 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39220 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39221 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39222 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39223 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39224 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39225 * math/ftestexcept.c (fetestexcept): Likewise.
39226 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39227 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39228 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39229 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39230 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39231 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39232 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39234 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39237 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39240 2010-10-06 Ulrich Drepper <drepper@gmail.com>
39242 * string/bug-strstr1.c: New file.
39243 * string/Makefile: Add rules to build and run bug-strstr1.
39245 2010-10-05 Eric Blake <eblake@redhat.com>
39248 * string/str-two-way.h (two_way_long_needle): Always clear memory
39249 when skipping input due to the shift table.
39251 2010-10-03 Ulrich Drepper <drepper@gmail.com>
39254 * malloc/mcheck.c: Handle large requests.
39257 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39258 for strncmp and strncasecmp.
39259 * string/stratcliff.c: Add tests for strcmp and strncmp.
39260 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39262 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39264 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39267 2010-09-30 Andreas Jaeger <aj@suse.de>
39269 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39270 (CGROUP_SUPER_MAGIC): Define.
39271 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39272 Handle btrfs and cgroup file systems.
39273 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39276 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
39278 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39279 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39281 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39284 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39285 trying to locate the ELF header.
39287 2010-09-27 Andreas Schwab <schwab@redhat.com>
39290 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39291 Mask out sign-bit copies when constructing f_fsid.
39293 2010-09-24 Petr Baudis <pasky@suse.cz>
39295 * debug/stack_chk_fail_local.c: Add missing licence exception.
39296 * debug/warning-nop.c: Likewise.
39298 2010-09-15 Joseph Myers <joseph@codesourcery.com>
39300 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39301 implementing getdents64 using getdents syscall, set d_type if
39302 __ASSUME_GETDENTS32_D_TYPE.
39304 2010-09-16 Andreas Schwab <schwab@redhat.com>
39306 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39307 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39309 2010-09-21 Ulrich Drepper <drepper@redhat.com>
39312 * posix/unistd.h: Undo change of feature selection for ftruncate from
39315 2010-09-20 Ulrich Drepper <drepper@redhat.com>
39317 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
39320 2010-09-20 Andreas Schwab <schwab@redhat.com>
39322 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39324 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39326 2010-09-14 Andreas Schwab <schwab@redhat.com>
39328 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39329 variables after CHECK_SP call.
39330 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39332 2010-09-13 Andreas Schwab <schwab@redhat.com>
39333 Ulrich Drepper <drepper@redhat.com>
39335 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39336 re-relocationg ld.so.
39337 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39338 _dl_init_paths call.
39339 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39342 2010-09-14 Ulrich Drepper <drepper@redhat.com>
39344 * resolv/res_init.c (__res_vinit): Count the default server we added.
39346 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39347 Ulrich Drepper <drepper@redhat.com>
39350 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39351 (____longjmp_chk): Use %ebx for saving value across system call.
39354 2010-09-06 Andreas Schwab <schwab@redhat.com>
39356 * manual/Makefile: Don't mix pattern rules with normal rules.
39358 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39360 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39362 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39363 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39364 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39365 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39366 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39369 2010-09-04 Ulrich Drepper <drepper@redhat.com>
39372 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39373 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39375 2010-09-02 Ulrich Drepper <drepper@redhat.com>
39377 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39378 * sysdeps/x86_64/addmul_1.S: Likewise.
39379 * sysdeps/x86_64/lshift.S: Likewise.
39380 * sysdeps/x86_64/mul_1.S: Likewise.
39381 * sysdeps/x86_64/rshift.S: Likewise.
39382 * sysdeps/x86_64/sub_n.S: Likewise.
39383 * sysdeps/x86_64/submul_1.S: Likewise.
39385 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39387 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39388 Define __sched_param instead of SCHED_* and sched_param when
39389 <bits/sched.h> is included with __need_schedparam defined.
39390 * bits/sched.h [__need_schedparam]
39391 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
39392 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39393 (__defined_schedparam): Define to 1.
39394 (__sched_param): New structure, identical to sched_param.
39395 (__need_schedparam): Undefine.
39397 2010-08-31 Mike Frysinger <vapier@gentoo.org>
39399 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39400 (epoll_create1): Declare.
39402 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39404 2010-08-31 Andreas Schwab <schwab@redhat.com>
39407 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39408 shifting retval into place.
39410 2010-09-01 Ulrich Drepper <drepper@redhat.com>
39412 * nis/rpcsvc/nis.h: Update copyright notice.
39413 * nis/rpcsvc/nis.x: Likewise.
39414 * nis/rpcsvc/nis_callback.h: Likewise.
39415 * nis/rpcsvc/nis_callback.x: Likewise.
39416 * nis/rpcsvc/nis_object.x: Likewise.
39417 * nis/rpcsvc/nis_tags.h: Likewise.
39418 * nis/rpcsvc/yp.h: Likewise.
39419 * nis/rpcsvc/yp.x: Likewise.
39420 * nis/rpcsvc/ypupd.h: Likewise.
39421 * nis/yp_xdr.c: Likewise.
39422 * nis/ypupdate_xdr.c: Likewise.
39424 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39425 mainly the body of pmap_getport. Add parameters to specify timeouts.
39426 (pmap_getport): Use __libc_rpc_getport.
39427 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39428 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39429 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39431 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39436 2010-08-27 Roland McGrath <roland@redhat.com>
39438 * sysdeps/i386/i686/multiarch/Makefile
39439 (CFLAGS-varshift.c): New variable.
39441 2010-08-27 Ulrich Drepper <drepper@redhat.com>
39443 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39444 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39446 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39448 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39450 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39452 * sysdeps/x86_64/strlen.S: Unroll the loop.
39453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39454 strlen-sse2 strlen-sse2-bsf.
39455 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39456 __strlen_no_bsf if bit_Slow_BSF is set.
39457 (__strlen_sse42): Removed.
39458 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39459 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39461 2010-08-25 Roland McGrath <roland@redhat.com>
39463 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39464 * sysdeps/x86_64/multiarch/varshift.c: New file.
39465 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39466 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39467 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39468 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39470 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39472 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39473 strlen-sse2 strlen-sse2-bsf.
39474 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39475 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39476 (__strlen_sse2): Removed.
39477 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39478 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39480 bit_Slow_BSF for Atom.
39481 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39482 (index_Slow_BSF): Define.
39483 (HAS_SLOW_BSF): Define.
39485 2010-08-25 Ulrich Drepper <drepper@redhat.com>
39488 * resolv/res_init.c (__res_vinit): When no server address at all
39489 is given default to loopback.
39491 2010-08-24 Roland McGrath <roland@redhat.com>
39493 * configure.in: Remove config-name.h generation.
39494 * configure: Regenerated.
39495 * config-name.in: File removed.
39496 * scripts/config-uname.sh: New file.
39497 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39498 ($(objdir)config-name.h): New target.
39500 * sunrpc/rpc_parse.h: Avoid nested comment.
39502 2010-08-24 Richard Henderson <rth@redhat.com>
39503 Ulrich Drepper <drepper@redhat.com>
39504 H.J. Lu <hongjiu.lu@intel.com>
39506 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39508 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39509 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39510 _mm_alignr_epi8 with _mm_loadu_si128.
39511 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39512 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39513 (__m128i_shift_right): Removed.
39514 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39515 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39516 * sysdeps/x86_64/multiarch/varshift.h: New file.
39517 * sysdeps/x86_64/multiarch/varshift.S: New file.
39519 2010-08-21 Mike Frysinger <vapier@gentoo.org>
39521 * configure.in: Move assembler checks to before sysdep dir checking.
39523 2010-08-20 Petr Baudis <pasky@suse.cz>
39525 * LICENSES: Sync the sunrpc license.
39527 2010-08-19 Ulrich Drepper <drepper@redhat.com>
39529 * sunrpc/auth_des.c: Update copyright notice once again.
39530 * sunrpc/auth_none.c: Likewise.
39531 * sunrpc/auth_unix.c: Likewise.
39532 * sunrpc/authdes_prot.c: Likewise.
39533 * sunrpc/authuxprot.c: Likewise.
39534 * sunrpc/bindrsvprt.c: Likewise.
39535 * sunrpc/clnt_gen.c: Likewise.
39536 * sunrpc/clnt_perr.c: Likewise.
39537 * sunrpc/clnt_raw.c: Likewise.
39538 * sunrpc/clnt_simp.c: Likewise.
39539 * sunrpc/clnt_tcp.c: Likewise.
39540 * sunrpc/clnt_udp.c: Likewise.
39541 * sunrpc/clnt_unix.c: Likewise.
39542 * sunrpc/des_crypt.c: Likewise.
39543 * sunrpc/des_soft.c: Likewise.
39544 * sunrpc/get_myaddr.c: Likewise.
39545 * sunrpc/getrpcport.c: Likewise.
39546 * sunrpc/key_call.c: Likewise.
39547 * sunrpc/key_prot.c: Likewise.
39548 * sunrpc/openchild.c: Likewise.
39549 * sunrpc/pm_getmaps.c: Likewise.
39550 * sunrpc/pm_getport.c: Likewise.
39551 * sunrpc/pmap_clnt.c: Likewise.
39552 * sunrpc/pmap_prot.c: Likewise.
39553 * sunrpc/pmap_prot2.c: Likewise.
39554 * sunrpc/pmap_rmt.c: Likewise.
39555 * sunrpc/rpc/auth.h: Likewise.
39556 * sunrpc/rpc/auth_unix.h: Likewise.
39557 * sunrpc/rpc/clnt.h: Likewise.
39558 * sunrpc/rpc/des_crypt.h: Likewise.
39559 * sunrpc/rpc/key_prot.h: Likewise.
39560 * sunrpc/rpc/netdb.h: Likewise.
39561 * sunrpc/rpc/pmap_clnt.h: Likewise.
39562 * sunrpc/rpc/pmap_prot.h: Likewise.
39563 * sunrpc/rpc/pmap_rmt.h: Likewise.
39564 * sunrpc/rpc/rpc.h: Likewise.
39565 * sunrpc/rpc/rpc_des.h: Likewise.
39566 * sunrpc/rpc/rpc_msg.h: Likewise.
39567 * sunrpc/rpc/svc.h: Likewise.
39568 * sunrpc/rpc/svc_auth.h: Likewise.
39569 * sunrpc/rpc/types.h: Likewise.
39570 * sunrpc/rpc/xdr.h: Likewise.
39571 * sunrpc/rpc_clntout.c: Likewise.
39572 * sunrpc/rpc_cmsg.c: Likewise.
39573 * sunrpc/rpc_common.c: Likewise.
39574 * sunrpc/rpc_cout.c: Likewise.
39575 * sunrpc/rpc_dtable.c: Likewise.
39576 * sunrpc/rpc_hout.c: Likewise.
39577 * sunrpc/rpc_main.c: Likewise.
39578 * sunrpc/rpc_parse.c: Likewise.
39579 * sunrpc/rpc_parse.h: Likewise.
39580 * sunrpc/rpc_prot.c: Likewise.
39581 * sunrpc/rpc_sample.c: Likewise.
39582 * sunrpc/rpc_scan.c: Likewise.
39583 * sunrpc/rpc_scan.h: Likewise.
39584 * sunrpc/rpc_svcout.c: Likewise.
39585 * sunrpc/rpc_tblout.c: Likewise.
39586 * sunrpc/rpc_util.c: Likewise.
39587 * sunrpc/rpc_util.h: Likewise.
39588 * sunrpc/rpcinfo.c: Likewise.
39589 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39590 * sunrpc/rpcsvc/key_prot.x: Likewise.
39591 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39592 * sunrpc/rpcsvc/mount.x: Likewise.
39593 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39594 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39595 * sunrpc/rpcsvc/rex.x: Likewise.
39596 * sunrpc/rpcsvc/rstat.x: Likewise.
39597 * sunrpc/rpcsvc/rusers.x: Likewise.
39598 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39599 * sunrpc/rpcsvc/spray.x: Likewise.
39600 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39601 * sunrpc/rtime.c: Likewise.
39602 * sunrpc/svc.c: Likewise.
39603 * sunrpc/svc_auth.c: Likewise.
39604 * sunrpc/svc_authux.c: Likewise.
39605 * sunrpc/svc_raw.c: Likewise.
39606 * sunrpc/svc_run.c: Likewise.
39607 * sunrpc/svc_simple.c: Likewise.
39608 * sunrpc/svc_tcp.c: Likewise.
39609 * sunrpc/svc_udp.c: Likewise.
39610 * sunrpc/svc_unix.c: Likewise.
39611 * sunrpc/svcauth_des.c: Likewise.
39612 * sunrpc/xcrypt.c: Likewise.
39613 * sunrpc/xdr.c: Likewise.
39614 * sunrpc/xdr_array.c: Likewise.
39615 * sunrpc/xdr_float.c: Likewise.
39616 * sunrpc/xdr_mem.c: Likewise.
39617 * sunrpc/xdr_rec.c: Likewise.
39618 * sunrpc/xdr_ref.c: Likewise.
39619 * sunrpc/xdr_sizeof.c: Likewise.
39620 * sunrpc/xdr_stdio.c: Likewise.
39622 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39625 2010-08-19 Andreas Schwab <schwab@redhat.com>
39627 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39629 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
39631 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39632 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39633 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39634 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39635 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39636 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39637 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39638 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39639 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39640 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39641 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39642 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39643 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39644 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39646 2010-07-26 Anton Blanchard <anton@samba.org>
39648 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39649 * malloc/arena.c (heap_trim): Likewise.
39651 2010-08-16 Ulrich Drepper <drepper@redhat.com>
39653 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39655 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39656 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39658 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39660 * sysdeps/i386/elf/Makefile: New file.
39662 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39664 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39665 from fanotify_init.
39666 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39667 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39669 2010-08-15 Ulrich Drepper <drepper@redhat.com>
39671 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39673 * sysdeps/multiarch/strcmp.S: Likewise.
39675 2010-08-14 Ulrich Drepper <drepper@redhat.com>
39677 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39678 strncase_l-nonascii.
39679 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39680 Add strncase_l-ssse3.
39681 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39682 * sysdeps/x86_64/strcmp.S: Likewise.
39683 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39684 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39685 * sysdeps/x86_64/strncase.S: New file.
39686 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39687 * sysdeps/x86_64/strncase_l.S: New file.
39688 * string/Makefile (strop-tests): Add strncasecmp.
39689 * string/test-strncasecmp.c: New file.
39691 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39694 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39695 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39697 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39699 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39701 2010-08-12 Ulrich Drepper <drepper@redhat.com>
39703 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39704 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39705 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39707 2010-05-01 Alan Modra <amodra@gmail.com>
39709 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39710 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39711 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39712 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39713 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39714 tidying. Don't tail-call __sigjmp_save for static lib.
39715 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39717 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39718 (CALL_MCOUNT): Add eh info, and nop after bl.
39719 (TAIL_CALL_SYSCALL_ERROR): New macro.
39720 (PSEUDO_RET): Use it.
39721 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39722 Correct save location of integer regs and cr.
39723 (_dl_profile_resolve): Correct cr save location. Delete nops
39724 after bl when SHARED. Reduce cfi size a little by better
39725 placement of cfi directives.
39726 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39727 make a stack frame. Instead use parm save area as a temp.
39728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39729 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39731 Don't make a stack frame for parent, use parm save area.
39732 Increase child stack frame to 112 bytes. Don't save unused reg,
39733 and adjust reg usage. Set up cfi on error recovery and
39734 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39736 (__makecontext): Add dummy nop after jump to exit.
39737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39738 Use correct parm save area and cr save, reduce stack frame.
39739 Correct cfi for possible PSEUDO_RET frame setup.
39740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39741 Branch to local label emitted by PSEUDO_RET rather than
39744 2010-08-12 Andreas Schwab <schwab@redhat.com>
39747 * locale/programs/locale.c (print_assignment): New function.
39748 (show_locale_vars): Use it.
39750 2010-08-11 Ulrich Drepper <drepper@redhat.com>
39752 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39754 (struct statfs64): Likewise.
39755 (_STATFS_F_FLAGS): Define.
39756 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39757 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39758 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39759 (ST_VALID): Define locally.
39760 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39761 __statvfs_getflags, use the provided value.
39762 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39763 __ASSUME_STATFS_F_FLAGS.
39765 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39767 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39768 Add sys/fanotify.h.
39769 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39770 fanotify_mask for GLIBC_2.13.
39771 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39772 fanotify_init and fanotify_mark.
39773 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39774 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39776 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39778 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39779 prlimit64 for GLIBC_2.13.
39780 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39782 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39785 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39786 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39787 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39788 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39790 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39793 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39794 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39796 * nss/Makefile: Add rules to build and run tst-nss-test1.
39797 * shlib-versions: Add entry for libnss_test1.
39798 * nss/nss_test1.c: New file.
39799 * nss/tst-nss-test1.c: New file.
39801 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39802 (__nss_configure_lookup): Set appropriate entry in
39803 __nss_configure_lookup to true.
39804 * nss/nsswitch.h: Define enum with indeces of databases in
39805 databases and __nss_database_custom arrays. Declare
39806 __nss_database_custom.
39807 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39808 to avoid using nscd when custom rules are installed.
39809 * nss/getXXbyYY_r.c: Likewise.
39810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39812 * nss/nss_files/files-parse.c: Whitespace fixes.
39814 2010-08-09 Ulrich Drepper <drepper@redhat.com>
39817 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39818 * posix/fnmatch_loop.c: Likewise.
39820 2010-07-17 Andi Kleen <ak@linux.intel.com>
39822 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39823 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39824 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39825 * Versions.def [GLIBC_2.13]: Add.
39827 2010-08-06 Ulrich Drepper <drepper@redhat.com>
39829 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39830 Also fail if tpwd after pwuid call is NULL.
39832 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39834 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39835 when converting to ms.
39837 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39839 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39840 EOPNOTSUPP errors with ENOTTY.
39841 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39842 EOPNOTSUPP errors with ENOTTY.
39844 2010-07-31 Ulrich Drepper <drepper@redhat.com>
39846 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39847 Add strcasecmp_l-ssse3.
39848 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39850 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39851 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39852 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39854 2010-07-30 Ulrich Drepper <drepper@redhat.com>
39856 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39858 * string/Makefile (strop-tests): Add strcasecmp.
39859 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39860 strcasecmp_l-nonascii.
39861 (gen-as-const-headers): Add locale-defines.sym.
39862 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39863 * sysdeps/x86_64/strcasecmp.S: New file.
39864 * sysdeps/x86_64/strcasecmp_l.S: New file.
39865 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39866 * sysdeps/x86_64/locale-defines.sym: New file.
39867 * string/test-strcasecmp.c: New file.
39869 * string/test-strcasestr.c: Test both ends of the range of characters.
39870 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39872 2010-07-29 Roland McGrath <roland@redhat.com>
39875 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39877 2010-07-27 Ulrich Drepper <drepper@redhat.com>
39879 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39882 2010-07-27 Andreas Schwab <schwab@redhat.com>
39884 * manual/memory.texi (Malloc Tunable Parameters): Document
39887 2010-07-26 Roland McGrath <roland@redhat.com>
39890 * configure.in (-fgnu89-inline check): Set and substitute
39891 gnu89_inline, not libc_cv_gnu89_inline.
39892 * configure: Regenerated.
39893 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39895 2010-07-26 Ulrich Drepper <drepper@redhat.com>
39897 * string/test-strnlen.c: New file.
39898 * string/Makefile (strop-tests): Add strnlen.
39899 * string/tester.c (test_strnlen): Add a few more test cases.
39900 * string/tst-strlen.c: Better error reporting.
39902 * sysdeps/x86_64/strnlen.S: New file.
39904 2010-07-24 Ulrich Drepper <drepper@redhat.com>
39906 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39907 lower-latency instructions.
39909 2010-07-23 Ulrich Drepper <drepper@redhat.com>
39911 * string/test-strcasestr.c: New file.
39912 * string/test-strstr.c: New file.
39913 * string/Makefile (strop-tests): Add strstr and strcasestr.
39914 * string/str-two-way.h: Don't undefine MAX.
39915 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39917 2010-07-21 Andreas Schwab <schwab@redhat.com>
39919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39920 strcasestr-nonascii.
39921 (CFLAGS-strcasestr-nonascii.c): Define.
39922 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39923 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39924 Remove unused attribute.
39926 2010-07-20 Roland McGrath <roland@redhat.com>
39928 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39929 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39930 ld.so.cache was broken. With it, there is no way to disable dsocaps
39931 like LD_HWCAP_MASK can disable hwcaps.
39933 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39935 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39937 2010-07-16 Ulrich Drepper <drepper@redhat.com>
39939 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39940 call in strcasestr.
39941 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39942 __strcasestr_sse42_nonascii.
39943 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39944 strcasestr-nonascii.c.
39945 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39947 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
39949 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39950 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39951 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39952 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39954 2010-07-09 Ulrich Drepper <drepper@redhat.com>
39956 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39959 2010-07-06 Andreas Schwab <schwab@redhat.com>
39962 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39965 2010-07-06 Ulrich Drepper <drepper@redhat.com>
39967 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39968 _PC_PIPE_BUF using F_GETPIPE_SZ.
39970 2010-07-05 Roland McGrath <roland@redhat.com>
39972 * manual/arith.texi (Rounding Functions): Fix rint description
39973 implicit in round description.
39975 2010-07-02 Ulrich Drepper <drepper@redhat.com>
39977 * elf/Makefile: Fix linking for a few tests to make recent linker
39980 2010-06-30 Andreas Schwab <schwab@redhat.com>
39982 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39983 $(common-objpfx)libc_nonshared.a.
39985 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
39987 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39988 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39989 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39990 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39991 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39992 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39993 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39994 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
40000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
40002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
40003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
40004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
40005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
40007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40009 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40010 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40011 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40012 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40013 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40014 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40015 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40016 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40017 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40018 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40019 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40020 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40036 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
40038 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40039 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
40040 * string/memmove.c (memmove): Renamed to ...
40041 (MEMMOVE): ...this. Default to memmove.
40042 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40043 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40046 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40047 mempcpy-ssse3-back memmove-ssse3-back.
40048 * sysdeps/x86_64/multiarch/bcopy.S: New file .
40049 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40050 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40051 * sysdeps/x86_64/multiarch/memcpy.S: New file.
40052 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40053 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40054 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40055 * sysdeps/x86_64/multiarch/memmove.c: New file.
40056 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40057 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40058 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40059 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40060 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40061 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40063 (index_Fast_Copy_Backward): Define.
40064 (HAS_ARCH_FEATURE): Define.
40065 (HAS_FAST_REP_STRING): Define.
40066 (HAS_FAST_COPY_BACKWARD): Define.
40068 2010-06-21 Andreas Schwab <schwab@redhat.com>
40070 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40071 Restore proper fallback handling.
40073 2010-06-19 Ulrich Drepper <drepper@redhat.com>
40076 * posix/group_member.c (__group_member): Correct checking loop.
40078 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40079 OOM in getpwuid_r correctly. Return error number when the caller
40080 should return, otherwise -1.
40081 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40082 call returning > 0 value.
40083 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40085 2010-06-07 Andreas Schwab <schwab@redhat.com>
40087 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40088 libc_nonshared.a from targets in modules-names.
40090 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
40092 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40095 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
40097 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40098 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40099 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40100 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40102 2010-06-02 Andreas Schwab <schwab@redhat.com>
40104 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40106 2010-06-14 Ulrich Drepper <drepper@redhat.com>
40108 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40110 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40111 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40113 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40114 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40115 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40117 2010-06-14 Roland McGrath <roland@redhat.com>
40119 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40121 2010-06-07 Jakub Jelinek <jakub@redhat.com>
40123 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40124 __REDIRECT followed by __THROW.
40125 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40126 * posix/getopt.h (getopt): Likewise.
40128 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40130 * hurd/lookup-at.c (__file_name_lookup_at): Accept
40131 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
40132 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40134 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40135 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40137 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
40139 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40141 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
40144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40145 Properly check family and model.
40147 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
40149 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40151 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
40153 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40155 2010-05-21 Ulrich Drepper <drepper@redhat.com>
40157 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40160 2010-05-19 Andreas Schwab <schwab@redhat.com>
40162 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40165 2010-05-21 Andreas Schwab <schwab@redhat.com>
40167 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40168 and internal_recvmmsg.
40169 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40170 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40171 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40172 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40174 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40175 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40176 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40178 2010-05-20 Andreas Schwab <schwab@redhat.com>
40180 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40182 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
40184 POWER7 optimizations.
40185 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40186 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40188 2010-05-19 Ulrich Drepper <drepper@redhat.com>
40190 * version.h: Update for 2.13 development version.
40192 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
40194 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40195 exceptions. Return 0.
40197 2010-05-07 Roland McGrath <roland@redhat.com>
40199 * elf/ldconfig.c (main): Add a const.
40201 2010-05-06 Ulrich Drepper <drepper@redhat.com>
40203 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40204 (args_options): Add no-idn option.
40205 (ahosts_keys_int): Add idn_flags to ai_flags.
40206 (parse_option): Handle 'i' option to clear idn_flags.
40208 * malloc/malloc.c (_int_free): Possible race in the most recently
40209 added check. Only act on the data if no current modification
40212 See ChangeLog.17 for earlier changes.