1 2014-02-22 Roland McGrath <roland@hack.frob.com>
3 * csu/Versions: Remove unused %include.
4 * resolv/Versions: Likewise.
6 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9 ($(objpfx)check-local-headers.out): Likewise.
10 ($(objpfx)begin-end-check.out): Likewise.
11 * Makerules (check-abi-%.out): Likewise.
12 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13 ($(objpfx)test2.cat): Likewise.
14 ($(objpfx)de/libc.cat): Likewise.
15 ($(objpfx)test-gencat.out): Likewise.
16 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18 ($(objpfx)noload-mem): Likewise.
19 ($(objpfx)tst-pathopt.out): Likewise.
20 ($(objpfx)tst-rtld-load-self.out): Likewise.
21 ($(objpfx)tst-array1-cmp.out): Likewise.
22 ($(objpfx)tst-array1-static-cmp.out): Likewise.
23 ($(objpfx)tst-array2-cmp.out): Likewise.
24 ($(objpfx)tst-array3-cmp.out): Likewise.
25 ($(objpfx)tst-array4-cmp.out): Likewise.
26 ($(objpfx)tst-array5-cmp.out): Likewise.
27 ($(objpfx)tst-array5-static-cmp.out): Likewise.
28 ($(objpfx)check-textrel.out): Likewise.
29 ($(objpfx)check-execstack.out): Likewise.
30 ($(objpfx)check-localplt.out): Likewise.
31 ($(objpfx)order2-cmp.out): Likewise.
32 ($(objpfx)tst-leaks1-mem): Likewise.
33 ($(objpfx)tst-leaks1-static-mem): Likewise.
34 ($(objpfx)tst-initorder-cmp.out): Likewise.
35 ($(objpfx)tst-initorder2-cmp.out): Likewise.
36 ($(objpfx)tst-unused-dep.out): Likewise.
37 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
38 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
39 * iconv/Makefile (test-iconvconfig): Likewise.
40 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
41 ($(objpfx)iconv-test.out): Likewise.
42 ($(objpfx)tst-tables.out): Likewise.
43 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
44 ($(objpfx)tst-gettext.out): Likewise.
45 ($(objpfx)tst-translit.out): Likewise.
46 ($(objpfx)tst-gettext2.out): Likewise.
47 ($(objpfx)tst-gettext4.out): Likewise.
48 ($(objpfx)tst-gettext6.out): Likewise.
49 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
50 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
51 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
52 ($(objpfx)tst-fopenloc-mem.out): Likewise.
53 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
54 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
55 * posix/Makefile ($(objpfx)globtest.out): Likewise.
56 ($(objpfx)wordexp-tst.out): Likewise.
57 ($(objpfx)annexc.out): Likewise.
58 ($(objpfx)tst-fnmatch-mem): Likewise.
59 ($(objpfx)bug-regex2-mem): Likewise.
60 ($(objpfx)bug-regex14-mem): Likewise.
61 ($(objpfx)bug-regex21-mem): Likewise.
62 ($(objpfx)bug-regex31-mem): Likewise.
63 ($(objpfx)tst-vfork3-mem): Likewise.
64 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
65 ($(objpfx)tst-pcre-mem): Likewise.
66 ($(objpfx)tst-boost-mem): Likewise.
67 ($(objpfx)tst-getconf.out): Likewise.
68 ($(objpfx)bug-ga2-mem): Likewise.
69 ($(objpfx)bug-glob2-mem): Likewise.
70 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
71 ($(objpfx)mtrace-tst-leaks2): Likewise.
72 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
73 ($(objpfx)tst-printf.out): Likewise.
74 ($(objpfx)tst-setvbuf1.out): Likewise.
75 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
76 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
77 ($(objpfx)tst-fmtmsg.out): Likewise.
78 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
79 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
81 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
82 * bits/sigaction.h [__USE_MISC]: Likewise.
83 * bits/waitstatus.h: Update #endif comments.
84 * ctype/ctype.h: Likewise.
85 * dirent/dirent.h: Likewise.
86 [__USE_MISC]: Remove redundant conditionals.
87 * grp/grp.h: Update #endif comments.
88 [__USE_GNU]: Remove redundant conditionals.
89 [__USE_MISC]: Likewise.
90 * inet/netinet/in.h [__USE_GNU]: Likewise.
91 * io/sys/stat.h [__USE_MISC]: Likewise.
92 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
93 * libio/bits/stdio.h: Update #endif comments.
94 [__USE_MISC]: Remove redundant conditionals.
95 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
96 * libio/stdio.h: Update #endif comments.
97 [__USE_MISC]: Remove redundant conditionals.
98 * math/bits/math-finite.h [__USE_MISC]: Likewise.
99 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
100 * math/math.h: Update #else and #endif comments.
101 [__USE_MISC]: Remove redundant conditionals.
102 * misc/sys/uio.h: Update #endif comments.
103 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
104 * posix/glob.h [__USE_MISC]: Likewise.
105 * posix/sys/types.h: Update #endif comments.
106 [__USE_MISC]: Remove redundant conditionals.
107 * posix/sys/wait.h: Update #endif comments.
108 [__USE_MISC]: Remove redundant conditionals.
109 * posix/unistd.h: Update #endif comments.
110 [__USE_MISC]: Remove redundant conditionals.
111 * pwd/pwd.h [__USE_GNU]: Likewise.
112 [__USE_MISC]: Likewise.
113 * resolv/netdb.h [__USE_GNU]: Likewise.
114 * signal/signal.h: Update #endif comments.
115 [__USE_MISC]: Remove redundant conditionals.
116 * stdlib/stdlib.h: Update #else and #endif comments.
117 [__USE_MISC]: Remove redundant conditionals.
118 [__USE_GNU]: Likewise.
119 * string/bits/string2.h [__USE_MISC]: Likewise.
120 * string/string.h: Update #endif comments.
121 [__USE_MISC]: Remove redundant conditionals.
122 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
124 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
125 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
126 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
128 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
130 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
132 [__USE_MISC]: Remove redundant conditionals.
133 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
134 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
135 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
136 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
137 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
139 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
140 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
142 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
143 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
145 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
147 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
148 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
150 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
152 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
153 * sysdeps/x86/bits/string.h: Update #endif comments.
154 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
156 * time/sys/time.h: Update #endif comments.
157 * time/time.h: Likewise.
158 [__USE_MISC]: Remove redundant conditionals.
160 2014-02-21 Yury Gribov <y.gribov@samsung.com>
163 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
165 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
167 * Versions.def (librt): Add GLIBC_2.17.
169 2014-02-21 Adam Conrad <adconrad@0c3.net>
171 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
172 synonym for _SYS_AUXV_H to allow direct inclusion.
173 * sysdeps/sparc/bits/hwcap.h: Likewise.
174 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
175 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
176 * sysdeps/sparc/sysdep.h: Likewise.
178 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
180 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
182 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
184 * benchtests/bench-strrchr.c: Print length instead of position.
186 2014-02-20 Joseph Myers <joseph@codesourcery.com>
189 * sysdeps/unix/sysv/linux/kernel-features.h
190 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
191 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
192 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
193 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
195 [__i386__ || __powerpc__ || __sh__ || __sparc__]
196 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
197 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
198 (__ASSUME_SENDMMSG): Define instead of using previous
199 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
200 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
201 (__ASSUME_SENDMMSG_SYSCALL): Define.
202 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
203 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
205 * sysdeps/unix/sysv/linux/arm/kernel-features.h
206 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
208 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
209 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
211 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
212 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
213 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
214 [__ASSUME_SENDMMSG]: Change conditionals to
215 [__ASSUME_SENDMMSG_SOCKETCALL].
216 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
217 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
219 * sysdeps/unix/sysv/linux/mips/kernel-features.h
220 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
222 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
223 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
224 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
225 [!__ASSUME_SENDMMSG]: Change conditional to
226 [!__ASSUME_SENDMMSG_SOCKETCALL].
227 * sysdeps/unix/sysv/linux/tile/kernel-features.h
228 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
232 * sysdeps/unix/sysv/linux/kernel-features.h
233 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
234 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
235 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
236 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
237 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
238 [__i386__ || __sparc__]
239 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
240 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
241 (__ASSUME_RECVMMSG): Define instead of using previous
242 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
243 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
244 (__ASSUME_RECVMMSG_SYSCALL): Define.
245 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
246 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
248 * sysdeps/unix/sysv/linux/arm/kernel-features.h
249 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
251 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
252 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
254 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
255 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
256 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
257 [__ASSUME_RECVMMSG]: Change condition to
258 [__ASSUME_RECVMMSG_SOCKETCALL].
259 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
260 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
262 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
263 * sysdeps/unix/sysv/linux/mips/kernel-features.h
264 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
266 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
267 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
268 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
269 [!__ASSUME_RECVMMSG]: Change condition to
270 [!__ASSUME_RECVMMSG_SOCKETCALL].
271 * sysdeps/unix/sysv/linux/tile/kernel-features.h
272 (__ASSUME_RECVMMSG_SYSCALL): Define.
275 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
276 __powerpc__ || __s390__ || __sh__ || __sparc__]
277 (__ASSUME_SOCKETCALL): Define.
278 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
279 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
280 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
281 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
282 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
283 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
284 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
285 (__ASSUME_ACCEPT4): Define instead of using previous
286 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
287 __powerpc__ || __sparc__ || __s390__)] condition.
288 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
289 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
290 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
291 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
292 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
293 [!__ASSUME_ACCEPT4]: Change condition to
294 [!__ASSUME_ACCEPT4_SOCKETCALL].
295 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
296 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
297 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
298 * sysdeps/unix/sysv/linux/arm/kernel-features.h
299 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
300 __ASSUME_ACCEPT4_SYSCALL.
301 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
302 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
303 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
304 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
305 __ASSUME_ACCEPT4_SYSCALL.
306 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
307 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
308 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
309 [__ASSUME_ACCEPT4]: Change condition to
310 [__ASSUME_ACCEPT4_SOCKETCALL].
311 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
312 (__ASSUME_SOCKETCALL): Define.
313 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
314 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
315 (__ASSUME_SOCKETCALL): Define.
316 (__ASSUME_ACCEPT4): Remove.
317 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
319 * sysdeps/unix/sysv/linux/mips/kernel-features.h
320 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
322 * sysdeps/unix/sysv/linux/tile/kernel-features.h
323 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
325 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
327 (HWCAP_ARM_LPAE): Likewise.
328 (HWCAP_ARM_EVTSTRM): Likewise.
329 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
330 Add vpfd32, lpae and evtstrm.
331 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
334 2014-02-19 Joseph Myers <joseph@codesourcery.com>
336 * math/auto-libm-test-in: Add tests of clog10.
337 * math/auto-libm-test-out: Regenerated.
338 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
339 * sysdeps/i386/fpu/libm-test-ulps: Update.
340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
342 2014-02-18 Andreas Schwab <schwab@suse.de>
345 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
346 Store non-zero if the second buffer was newly allocated.
348 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
349 to send_vc and send_dg.
350 (res_nsend): Pass NULL for ansp2_malloced.
351 * resolv/res_query.c (__libc_res_nquery): Add parameter
352 answerp2_malloced and pass it down to __libc_res_nsend.
353 (res_nquery): Pass additional NULL to __libc_res_nquery.
354 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
355 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
356 second answer buffer if answerp2_malloced was set.
357 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
358 (__libc_res_nquerydomain): Add parameter
359 answerp2_malloced and pass it down to __libc_res_nquery.
360 (res_nquerydomain): Pass additional NULL to
361 __libc_res_nquerydomain.
362 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
363 additional NULL to __libc_res_nsend and __libc_res_nquery.
364 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
365 additional NULL to __libc_res_nsearch.
366 (_nss_dns_gethostbyname4_r): Revert last change. Use new
367 parameter of __libc_res_nsearch to check for separately allocated
369 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
371 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
372 additional NULL to __libc_res_nquery.
373 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
375 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
376 * include/resolv.h: Update prototypes of __libc_res_nquery,
377 __libc_res_nsearch, __libc_res_nsend.
379 2014-02-18 Joseph Myers <joseph@codesourcery.com>
381 * math/auto-libm-test-in: Add tests of fma.
382 * math/auto-libm-test-out: Regenerated.
383 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
384 (fma_towardzero_test_data): Likewise.
385 (fma_downward_test_data): Likewise.
386 (fma_upward_test_data): Likewise.
387 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
389 (rounding_modes): Add values for new field.
390 (func_calc_method): Add value mpfr_fff_f.
391 (func_calc_desc): Add mpfr_fff_f union field.
392 (test_function): Add field exact_args.
393 (FUNC): Add macro argument EXACT_ARGS.
394 (FUNC_mpfr_f_f): Update call to FUNC.
395 (FUNC_mpfr_f_f): Likewise.
396 (FUNC_mpfr_ff_f): Likewise.
397 (FUNC_mpfr_if_f): Likewise.
398 (FUNC_mpc_c_f): Likewise.
399 (FUNC_mpc_c_c): Likewise.
400 (test_functions): Add fma. Update calls to FUNC.
401 (handle_input_arg): Add argument exact_args.
402 (add_test): Update call to handle_input_arg.
403 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
404 (output_for_one_input_case): Update call to calc_generic_results.
405 Recalculate exact zero results in each rounding mode.
407 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
408 non-negative before setting low bit.
409 * math/auto-libm-test-in: Mark one asin test possibly having
411 * math/auto-libm-test-out: Regenerated.
412 * sysdeps/i386/fpu/libm-test-ulps: Update.
413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
415 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
417 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
418 * sysdeps/unix/sysv/linux/microblaze: Move directory from
419 ports/sysdeps/unix/sysv/linux/microblaze.
420 * README: Add missing listing for microblaze*-*-linux-gnu.
422 2014-02-16 Mike Frysinger <vapier@gentoo.org>
424 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
425 * sysdeps/unix/sysv/linux/ia64: Move directory from
426 ports/sysdeps/unix/sysv/linux/ia64.
427 * README: Update listing for ia64-*-linux-gnu.
429 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
430 Joseph Myers <joseph@codesourcery.com>
432 * Makeconfig (test-name): New variable.
433 (evaluate-test): Likewise.
434 * Makerules (do-test-clean): Remove .test-result files.
435 (common-mostlyclean): Likewise.
436 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
437 * scripts/evaluate-test.sh: New file.
439 2014-02-14 Joseph Myers <joseph@codesourcery.com>
441 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
442 separate $(objpfx)tst-fopenloc-cmp.out and
443 $(objpfx)tst-fopenloc-mem.out targets.
444 (tests): Update dependencies.
445 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
446 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
447 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
448 (tst-rxspencer-no-utf8-ARGS): New variable.
449 (tst-rxspencer-no-utf8-ENV): Likewise.
450 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
451 instead of $(objpfx)tst-rxspencer-mem.
452 ($(objpfx)tst-rxspencer-mem): Change target to
453 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
454 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
455 * posix/tst-rxspencer-no-utf8.c: New file.
457 * elf/Makefile ($(objpfx)order.out): Remove rule.
458 [$(run-built-tests) = yes] (tests): Depend on
459 $(objpfx)order-cmp.out.
460 ($(objpfx)order-cmp.out): New rule.
461 [$(run-built-tests) = yes] (tests): Depend on
462 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
463 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
464 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
465 $(objpfx)tst-array5-static-cmp.out.
466 ($(objpfx)tst-array1.out): Remove rule.
467 ($(objpfx)tst-array1-cmp.out): New rule.
468 ($(objpfx)tst-array1-static.out): Remove rule.
469 ($(objpfx)tst-array1-static-cmp.out): New rule.
470 ($(objpfx)tst-array2.out): Remove rule.
471 ($(objpfx)tst-array2-cmp.out): New rule.
472 ($(objpfx)tst-array3.out): Remove rule.
473 ($(objpfx)tst-array3-cmp.out): New rule.
474 ($(objpfx)tst-array4.out): Remove rule.
475 ($(objpfx)tst-array4-cmp.out): New rule.
476 ($(objpfx)tst-array5.out): Remove rule.
477 ($(objpfx)tst-array5-cmp.out): New rule.
478 ($(objpfx)tst-array5-static.out): Remove rule.
479 ($(objpfx)tst-array5-static-cmp.out): New rule.
480 [$(run-built-tests) = yes] (tests): Depend on
481 $(objpfx)order2-cmp.out.
482 ($(objpfx)order2.out): Remove rule.
483 ($(objpfx)order2-cmp.out): New rule.
484 ($(objpfx)tst-initorder.out): Remove rule.
485 [$(run-built-tests) = yes] (tests): Depend on
486 $(objpfx)tst-initorder-cmp.out.
487 ($(objpfx)tst-initorder-cmp.out): New rule.
488 ($(objpfx)tst-initorder2.out): Remove rule.
489 [$(run-built-tests) = yes] (tests): Depend on
490 $(objpfx)tst-initorder2-cmp.out.
491 ($(objpfx)tst-initorder2-cmp.out): New rule.
492 [$(run-built-tests) = yes] (tests): Depend on
493 $(objpfx)tst-unused-dep-cmp.out.
494 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
495 ($(objpfx)tst-unused-dep-cmp.out): New rule.
496 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
497 on $(objpfx)tst-setvbuf1-cmp.out.
498 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
499 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
500 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
501 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
502 ($(objpfx)tst-svc.out): Remove rule.
503 ($(objpfx)tst-svc-cmp.out): New rule.
505 2014-02-13 Joseph Myers <joseph@codesourcery.com>
507 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
508 * ctype/ctype.h [__USE_MISC]: Likewise.
509 * dirent/dirent.h [__USE_MISC]: Likewise.
510 * grp/grp.h [__USE_MISC]: Likewise.
511 * io/fcntl.h [__USE_MISC]: Likewise.
512 * io/sys/stat.h [__USE_MISC]: Likewise.
513 * libio/stdio.h [__USE_MISC]: Likewise.
514 * posix/unistd.h [__USE_MISC]: Likewise.
515 * pwd/pwd.h [__USE_MISC]: Likewise.
516 * stdlib.h [__USE_MISC]: Likewise.
517 * string/bits/string2.h [__USE_MISC]: Likewise.
518 * string/string.h [__USE_MISC]: Likewise.
519 * time/time.h [__USE_MISC]: Likewise.
521 2014-02-13 Andreas Schwab <schwab@suse.de>
524 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
525 second answer buffer if it was separately allocated.
527 2014-02-12 Joseph Myers <joseph@codesourcery.com>
529 * sysdeps/mips/math-tests.h: Include <features.h>.
530 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
531 (ROUNDING_TESTS_long_double): Do not define.
532 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
533 (EXCEPTION_TESTS_long_double): Likewise.
534 * sysdeps/mips/mips64/libm-test-ulps: Update.
536 * include/features.h (__USE_BSD): Remove macro definitions.
537 (__USE_SVID): Likewise.
538 (_BSD_SOURCE): Likewise.
539 (_SVID_SOURCE): Likewise.
540 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
541 from definition of _DEFAULT_SOURCE.
542 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
544 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
545 * bits/mman.h [__USE_BSD]: Likewise.
546 * bits/termios.h [__USE_BSD]: Likewise.
547 * bits/waitstatus.h [__USE_BSD]: Likewise.
548 * ctype/ctype.h [__USE_SVID]: Likewise.
549 * dirent/dirent.h [__USE_BSD]: Likewise.
550 * grp/grp.h [__USE_SVID]: Likewise.
551 [__USE_BSD]: Likewise.
552 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
553 * io/fcntl.h [__USE_BSD]: Likewise.
554 * io/ftw.h [__USE_BSD]: Likewise.
555 * io/sys/stat.h [__USE_BSD]: Likewise.
556 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
557 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
558 * libio/stdio.h [__USE_SVID]: Likewise.
559 [__USE_BSD]: Likewise.
560 * math/math.h [__USE_SVID]: Likewise.
561 [__USE_BSD]: Likewise.
562 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
563 * misc/bits/syslog.h [__USE_BSD]: Likewise.
564 * misc/search.h [__USE_SVID]: Likewise.
565 * misc/sys/mman.h [__USE_BSD]: Likewise.
566 * misc/sys/syslog.h [__USE_BSD]: Likewise.
567 * misc/sys/uio.h [__USE_BSD]: Likewise.
568 * posix/bits/unistd.h [__USE_BSD]: Likewise.
569 * posix/glob.h [__USE_BSD]: Likewise.
570 * posix/regex.h [__USE_BSD]: Likewise.
571 * posix/sys/types.h [__USE_BSD]: Likewise.
572 [__USE_SVID]: Likewise.
573 * posix/sys/utsname.h [__USE_SVID]: Likewise.
574 * posix/sys/wait.h [__USE_BSD]: Likewise.
575 [__USE_SVID]: Likewise.
576 * posix/unistd.h [__USE_BSD]: Likewise.
577 [__USE_SVID]: Likewise.
578 * pwd/pwd.h [__USE_SVID]: Likewise.
579 * resolv/netdb.h [__USE_BSD]: Likewise.
580 * setjmp/setjmp.h [__USE_BSD]: Likewise.
581 * signal/signal.h [__USE_BSD]: Likewise.
582 [__USE_SVID]: Likewise.
583 * socket/sys/socket.h [__USE_BSD]: Likewise.
584 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
585 * stdlib/stdlib.h [__USE_BSD]: Likewise.
586 [__USE_SVID]: Likewise.
587 * string/bits/string2.h [__USE_BSD]: Likewise.
588 [__USE_SVID]: Likewise.
589 * string/bits/string3.h [__USE_BSD]: Likewise.
590 * string/endian.h [__USE_BSD]: Likewise.
591 * string/string.h [__USE_SVID]: Likewise.
592 [__USE_BSD]: Likewise.
593 * string/strings.h [__USE_BSD]: Likewise.
594 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
595 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
596 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
597 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
598 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
599 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
601 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
603 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
604 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
606 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
607 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
609 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
611 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
612 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
613 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
615 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
617 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
618 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
619 * termios/termios.h [__USE_BSD]: Likewise.
620 * time/sys/time.h [__USE_BSD]: Likewise.
621 * time/time.h [__USE_BSD]: Likewise.
622 [__USE_SVID]: Likewise.
624 * Makefile (subdir_targets): Remove subdir_lint.out.
626 * stdio-common/Makefile (do-tst-unbputc): Remove target.
627 (do-tst-printf): Likewise.
628 (tests): Depend directly on $(objpfx)tst-unbputc.out and
629 $(objpfx)tst-printf.out.
631 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
633 * Makerules (check-abi-%): Change target to
634 $(objpfx)check-abi-%.out.
635 (check-abi target): Update dependencies.
636 (check-abi-pattern variable): Redirect output of diff to $@.
637 (check-abi variable): Likewise.
638 * elf/Makefile (check-abi): Update dependencies.
640 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
642 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
643 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
645 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
646 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
647 value has largest subnormal exponent.
648 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
649 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
650 * sysdeps/aarch64/soft-fp/sfp-machine.h
651 (_FP_TININESS_AFTER_ROUNDING): New macro.
652 * sysdeps/alpha/soft-fp/sfp-machine.h
653 (_FP_TININESS_AFTER_ROUNDING): Likewise.
654 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
656 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
657 (_FP_TININESS_AFTER_ROUNDING): Likewise.
658 * sysdeps/mips/soft-fp/sfp-machine.h
659 (_FP_TININESS_AFTER_ROUNDING): Likewise.
660 * sysdeps/powerpc/soft-fp/sfp-machine.h
661 (_FP_TININESS_AFTER_ROUNDING): Likewise.
662 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
664 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
665 (_FP_TININESS_AFTER_ROUNDING): Likewise.
666 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
667 (_FP_TININESS_AFTER_ROUNDING): Likewise.
668 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
671 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
674 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
677 2014-02-12 Richard Henderson <rth@redhat.com>
679 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
680 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
681 * sysdeps/unix/sysv/linux/alpha: Move directory from
682 ports/sysdeps/unix/sysv/linux/alpha.
683 * README: Update listing for alpha-*-linux-gnu.
685 2014-02-11 Joseph Myers <joseph@codesourcery.com>
687 * include/features.h: Update comment documenting feature test
689 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
691 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
692 (_SVID_SOURCE): Likewise.
693 (_DEFAULT_SOURCE): Update description of default features.
694 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
696 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
698 * manual/math.texi (Mathematical Constants): Likewise.
699 * manual/signal.texi (Interrupted Primitives): Likewise.
700 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
701 * math/test-matherr.c (_SVID_SOURCE): Do not define.
702 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
703 Don't refer to _SVID_SOURCE in warning text.
705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
707 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
709 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
710 * sysdeps/mips/dl-lookup.c: Remove.
711 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
713 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
716 * math/auto-libm-test-in: Add testcase for expl.
717 * math/auto-libm-test-out: Regenerate.
718 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
719 calculation of unsafe.
720 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
722 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
724 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
725 * sysdeps/unix/sysv/linux/aarch64: Move directory from
726 ports/sysdeps/unix/sysv/linux/aarch64.
727 * README: Update listing for aarch64*-*-linux-gnu.
729 2014-02-11 Will Newton <will.newton@linaro.org>
731 * manual/probes.texi (Mathematical Function Probes): Use
732 "triggered" instead of "hit".
734 2014-02-11 Will Newton <will.newton@linaro.org>
736 * manual/probes.texi (Internal Probes): Add documentation
737 of setjmp, longjmp and longjmp_target probes.
739 2014-02-11 Will Newton <will.newton@linaro.org>
741 * include/stap-probe.h: Add comment about probe argument
744 2014-02-11 Will Newton <will.newton@linaro.org>
746 * malloc/mtrace.c (attribute_hidden): Remove unused macro
747 definition. (tr_where, tr_freehook, tr_mallochook,
748 tr_reallochook, tr_memalignhook): Use ANSI protoype.
750 2014-02-11 David S. Miller <davem@davemloft.net>
752 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
753 processing int_tests.
755 2014-02-10 Joseph Myers <joseph@codesourcery.com>
757 * sysdeps/mips: Move directory from ports/sysdeps/mips.
758 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
759 * sysdeps/unix/sysv/linux/mips: Move directory from
760 ports/sysdeps/unix/sysv/linux/mips.
761 * README: Update listing for mips-*-linux-gnu and
764 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
766 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
767 * sysdeps/unix/sysv/linux/m68k: Move directory from
768 ports/sysdeps/unix/sysv/linux/m68k.
769 * README: Update listing for m68k-*-linux-gnu.
771 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
773 * sysdeps/tile: Move directory from ports/sysdeps/tile.
774 * sysdeps/unix/sysv/linux/generic: Move directory from
775 ports/sysdeps/unix/sysv/linux/generic.
776 * sysdeps/unix/sysv/linux/tile: Move directory from
777 ports/sysdeps/unix/sysv/linux/tile.
778 * README: Update listing for tile*-*-linux-gnu.
780 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
782 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
783 * benchtests/bench-memmem.c (simple_memmem): Likewise.
784 * catgets/open_catalog.c (__open_catalog): Likewise.
785 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
786 * debug/confstr_chk.c: Likewise.
787 * debug/fread_chk.c (__fread_chk): Likewise.
788 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
789 * debug/getgroups_chk.c: Likewise.
790 * debug/mbsnrtowcs_chk.c: Likewise.
791 * debug/mbsrtowcs_chk.c: Likewise.
792 * debug/mbstowcs_chk.c: Likewise.
793 * debug/memcpy_chk.c: Likewise.
794 * debug/memmove_chk.c: Likewise.
795 * debug/mempcpy_chk.c: Likewise.
796 * debug/memset_chk.c: Likewise.
797 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
798 * debug/strcat_chk.c (__strcat_chk): Likewise.
799 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
800 * debug/strncat_chk.c (__strncat_chk): Likewise.
801 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
802 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
803 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
804 * debug/wcpncpy_chk.c: Likewise.
805 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
806 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
807 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
808 * debug/wcsncpy_chk.c: Likewise.
809 * debug/wcsnrtombs_chk.c: Likewise.
810 * debug/wcsrtombs_chk.c: Likewise.
811 * debug/wcstombs_chk.c: Likewise.
812 * debug/wmemcpy_chk.c: Likewise.
813 * debug/wmemmove_chk.c: Likewise.
814 * debug/wmempcpy_chk.c: Likewise.
815 * debug/wmemset_chk.c: Likewise.
816 * dirent/scandirat.c (SCANDIRAT): Likewise.
817 * dlfcn/dladdr1.c (dladdr1): Likewise.
818 * dlfcn/dladdr.c (dladdr): Likewise.
819 * dlfcn/dlclose.c (dlclose_doit): Likewise.
820 * dlfcn/dlerror.c (__dlerror): Likewise.
821 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
822 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
823 * dlfcn/dlopen.c (dlopen_doit): Likewise.
824 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
825 * dlfcn/dlsym.c (dlsym_doit): Likewise.
826 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
827 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
828 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
830 * elf/dl-conflict.c: Likewise.
831 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
832 * elf/dl-dst.h: Likewise.
833 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
834 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
835 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
836 * elf/dl-init.c (call_init, _dl_init): Likewise.
837 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
838 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
839 _dl_map_object_from_fd, open_verify, open_path,
840 _dl_map_object): Likewise.
841 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
843 * elf/dl-minimal.c (__libc_memalign): Likewise.
844 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
845 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
846 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
847 * elf/dl-sym.c (do_sym): Likewise.
848 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
849 _dl_tls_get_addr_soft): Likewise.
850 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
851 * elf/dl-writev.h (_dl_writev): Likewise.
852 * elf/ldconfig.c (search_dir): Likewise.
853 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
855 * elf/setup-vdso.h (setup_vdso): Likewise.
856 * grp/compat-initgroups.c (compat_call): Likewise.
857 * grp/fgetgrent.c (fgetgrent): Likewise.
858 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
859 * grp/putgrent.c (putgrent): Likewise.
860 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
862 * hurd/hurdinit.c: Likewise.
863 * iconvdata/8bit-gap.c (struct): Likewise.
864 * iconvdata/ansi_x3.110.c : Likewise.
865 * iconvdata/big5.c : Likewise.
866 * iconvdata/big5hkscs.c : Likewise.
867 * iconvdata/cp1255.c: Likewise.
868 * iconvdata/cp1258.c : Likewise.
869 * iconvdata/cp932.c : Likewise.
870 * iconvdata/euc-cn.c: Likewise.
871 * iconvdata/euc-jisx0213.c : Likewise.
872 * iconvdata/euc-jp.c: Likewise.
873 * iconvdata/euc-jp-ms.c : Likewise.
874 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
875 * iconvdata/gb18030.c : Likewise.
876 * iconvdata/gbbig5.c (const): Likewise.
877 * iconvdata/gbgbk.c: Likewise.
878 * iconvdata/gbk.c : Likewise.
879 * iconvdata/ibm1364.c : Likewise.
880 * iconvdata/ibm930.c : Likewise.
881 * iconvdata/ibm932.c: Likewise.
882 * iconvdata/ibm933.c : Likewise.
883 * iconvdata/ibm935.c : Likewise.
884 * iconvdata/ibm937.c : Likewise.
885 * iconvdata/ibm939.c : Likewise.
886 * iconvdata/ibm943.c: Likewise.
887 * iconvdata/iso_11548-1.c: Likewise.
888 * iconvdata/iso-2022-cn.c : Likewise.
889 * iconvdata/iso-2022-cn-ext.c : Likewise.
890 * iconvdata/iso-2022-jp-3.c: Likewise.
891 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
892 * iconvdata/iso-2022-kr.c : Likewise.
893 * iconvdata/iso646.c (gconv_end): Likewise.
894 * iconvdata/iso_6937-2.c : Likewise.
895 * iconvdata/iso_6937.c : Likewise.
896 * iconvdata/iso8859-1.c: Likewise.
897 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
898 * iconvdata/shift_jisx0213.c : Likewise.
899 * iconvdata/sjis.c : Likewise.
900 * iconvdata/t.61.c : Likewise.
901 * iconvdata/tcvn5712-1.c : Likewise.
902 * iconvdata/tscii.c: Likewise.
903 * iconvdata/uhc.c : Likewise.
904 * iconvdata/unicode.c (gconv_end): Likewise.
905 * iconvdata/utf-16.c (gconv_end): Likewise.
906 * iconvdata/utf-32.c (gconv_end): Likewise.
907 * iconvdata/utf-7.c (base64): Likewise.
908 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
909 * iconv/gconv_close.c (__gconv_close): Likewise.
910 * iconv/gconv_open.c (__gconv_open): Likewise.
911 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
912 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
913 internal_ucs4le_loop_single, ucs4le_internal_loop,
914 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
915 * iconv/iconv.c (iconv): Likewise.
916 * iconv/iconv_close.c: Likewise.
917 * iconv/loop.c (SINGLE): Likewise.
918 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
919 * include/atomic.h: Likewise.
920 * inet/inet6_option.c (option_alloc): Likewise.
921 * intl/bindtextdom.c (set_binding_values): Likewise.
922 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
923 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
924 * intl/localealias.c (read_alias_file): Likewise.
925 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
926 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
927 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
928 * libio/fmemopen.c (fmemopen): Likewise.
929 * libio/iofgets.c (_IO_fgets): Likewise.
930 * libio/iofgets_u.c (fgets_unlocked): Likewise.
931 * libio/iofgetws.c (fgetws): Likewise.
932 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
933 * libio/iogetdelim.c (_IO_getdelim): Likewise.
934 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
935 adjust_wide_data, _IO_wfile_seekoff): Likewise.
936 * locale/findlocale.c (_nl_find_locale): Likewise.
937 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
938 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
940 * locale/setlocale.c (setlocale): Likewise.
941 * login/programs/pt_chown.c (main): Likewise.
942 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
943 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
944 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
945 mmap, mmap64, mremap, munmap): Likewise.
946 * math/e_exp2l.c: Likewise.
947 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
948 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
949 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
950 * math/s_catan.c (__catan): Likewise.
951 * math/s_catanf.c (__catanf): Likewise.
952 * math/s_catanh.c (__catanh): Likewise.
953 * math/s_catanhf.c (__catanhf): Likewise.
954 * math/s_catanhl.c (__catanhl): Likewise.
955 * math/s_catanl.c (__catanl): Likewise.
956 * math/s_ccosh.c (__ccosh): Likewise.
957 * math/s_ccoshf.c (__ccoshf): Likewise.
958 * math/s_ccoshl.c (__ccoshl): Likewise.
959 * math/s_cexp.c (__cexp): Likewise.
960 * math/s_cexpf.c (__cexpf): Likewise.
961 * math/s_cexpl.c (__cexpl): Likewise.
962 * math/s_clog10.c (__clog10): Likewise.
963 * math/s_clog10f.c (__clog10f): Likewise.
964 * math/s_clog10l.c (__clog10l): Likewise.
965 * math/s_clog.c (__clog): Likewise.
966 * math/s_clogf.c (__clogf): Likewise.
967 * math/s_clogl.c (__clogl): Likewise.
968 * math/s_csin.c (__csin): Likewise.
969 * math/s_csinf.c (__csinf): Likewise.
970 * math/s_csinh.c (__csinh): Likewise.
971 * math/s_csinhf.c (__csinhf): Likewise.
972 * math/s_csinhl.c (__csinhl): Likewise.
973 * math/s_csinl.c (__csinl): Likewise.
974 * math/s_csqrt.c (__csqrt): Likewise.
975 * math/s_csqrtf.c (__csqrtf): Likewise.
976 * math/s_csqrtl.c (__csqrtl): Likewise.
977 * math/s_ctan.c (__ctan): Likewise.
978 * math/s_ctanf.c (__ctanf): Likewise.
979 * math/s_ctanh.c (__ctanh): Likewise.
980 * math/s_ctanhf.c (__ctanhf): Likewise.
981 * math/s_ctanhl.c (__ctanhl): Likewise.
982 * math/s_ctanl.c (__ctanl): Likewise.
983 * math/w_pow.c: Likewise.
984 * math/w_powf.c: Likewise.
985 * math/w_powl.c: Likewise.
986 * math/w_scalb.c (sysv_scalb): Likewise.
987 * math/w_scalbf.c (sysv_scalbf): Likewise.
988 * math/w_scalbl.c (sysv_scalbl): Likewise.
989 * misc/error.c (error_tail): Likewise.
990 * misc/pselect.c (__pselect): Likewise.
991 * nis/nis_callback.c (__nis_create_callback): Likewise.
992 * nis/nis_call.c (__nisfind_server): Likewise.
993 * nis/nis_creategroup.c (nis_creategroup): Likewise.
994 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
995 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
996 * nis/nis_getservlist.c (nis_getservlist): Likewise.
997 * nis/nis_lookup.c (nis_lookup): Likewise.
998 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
999 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1000 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1001 * nis/nis_xdr.c (xdr_endpoint): Likewise.
1002 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1003 internal_getgrgid_r): Likewise.
1004 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1006 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1007 internal_getpwuid_r): Likewise.
1008 * nis/nss_compat/compat-spwd.c (getspent_next_file,
1009 internal_getspnam_r): Likewise.
1010 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1011 _nss_nis_getaliasbyname_r): Likewise.
1012 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1013 _nss_nis_getntohost_r): Likewise.
1014 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1015 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1017 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1018 internal_nis_gethostent_r, internal_gethostbyname2_r,
1019 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1020 _nss_nis_gethostbyname4_r): Likewise.
1021 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1022 initgroups_netid): Likewise.
1023 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1024 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1025 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1026 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1027 _nss_nis_getprotobynumber_r): Likewise.
1028 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1029 _nss_nis_getsecretkey): Likewise.
1030 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1031 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1033 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1034 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1035 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1036 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1037 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1038 _nss_nis_getspnam_r): Likewise.
1039 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1041 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1042 _nss_nisplus_getntohost_r): Likewise.
1043 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1044 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1045 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1046 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1047 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1049 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1050 _nss_nisplus_getnetbyaddr_r): Likewise.
1051 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1052 _nss_nisplus_getprotobynumber_r): Likewise.
1053 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1054 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1055 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1057 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1058 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1059 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1060 _nss_nisplus_getspnam_r): Likewise.
1061 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1062 * nscd/aicache.c (addhstaiX): Likewise.
1063 * nscd/cache.c (cache_search, prune_cache): Likewise.
1064 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1065 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1066 * nscd/grpcache.c (addgrbyX): Likewise.
1067 * nscd/hstcache.c (addhstbyX): Likewise.
1068 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1069 * nscd/mem.c (gc, mempool_alloc): Likewise.
1070 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1072 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1074 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1075 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1076 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1078 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1079 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1080 * nscd/nscd_helper.c (__readvall, open_socket,
1081 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1082 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1083 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1084 * nscd/pwdcache.c (addpwbyX): Likewise.
1085 * nscd/selinux.c (preserve_capabilities): Likewise.
1086 * nscd/servicescache.c (addservbyX): Likewise.
1087 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1088 * posix/fnmatch.c (fnmatch): Likewise.
1089 * posix/getopt.c (_getopt_internal_r): Likewise.
1090 * posix/glob.c (glob, glob_in_dir): Likewise.
1091 * posix/wordexp.c (exec_comm_child): Likewise.
1092 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1093 gaih_getanswer_slice): Likewise.
1094 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1095 * resolv/res_init.c: Likewise.
1096 * resolv/res_mkquery.c (res_nmkquery): Likewise.
1097 * resolv/res_query.c (__libc_res_nquery): Likewise.
1098 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1100 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1101 * stdio-common/perror.c (perror): Likewise.
1102 * stdio-common/printf_fp.c (___printf_fp): Likewise.
1103 * stdio-common/tmpnam.c (tmpnam): Likewise.
1104 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1105 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1106 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1107 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1108 * stdlib/putenv.c (putenv): Likewise.
1109 * stdlib/setenv.c (__add_to_environ): Likewise.
1110 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1111 * stdlib/strtol_l.c (INTERNAL): Likewise.
1112 * string/memmem.c (memmem): Likewise.
1113 * string/strerror.c (strerror): Likewise.
1114 * string/strnlen.c (__strnlen): Likewise.
1115 * string/test-memmem.c (simple_memmem): Likewise.
1116 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1117 * sunrpc/pm_getport.c (__get_socket): Likewise.
1118 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1119 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1120 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1121 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1123 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1124 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1125 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1126 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1127 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1128 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1129 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1130 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1131 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1132 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1133 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1134 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1135 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1136 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1137 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1138 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1139 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1140 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1141 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1143 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1145 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1147 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1148 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1149 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1150 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1151 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1152 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1153 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1154 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1155 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1156 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1157 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1158 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1159 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1160 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1161 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1162 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1163 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1165 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1167 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1169 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1170 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1171 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1173 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1174 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1175 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1176 * sysdeps/posix/sleep.c: Likewise.
1177 * sysdeps/posix/tempname.c: Likewise.
1178 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1179 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1181 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1182 elf_machine_rela): Likewise.
1183 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1184 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1185 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1186 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1188 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1189 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1190 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1191 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1192 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1193 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1194 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1195 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1196 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1197 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1198 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1199 elf_machine_lazy_rel): Likewise.
1200 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1201 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1202 elf_machine_lazy_rel): Likewise.
1203 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1204 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1205 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1206 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1207 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1208 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1209 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1212 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1213 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1214 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1215 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1216 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1217 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1218 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1219 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1220 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1221 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1222 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1224 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1225 (__posix_fallocate64_l64): Likewise.
1226 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1227 (posix_fallocate): Likewise.
1228 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1229 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1230 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1231 getifaddrs_internal): Likewise.
1232 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1233 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1234 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1235 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1236 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1237 (__posix_fallocate64_l64): Likewise.
1238 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1240 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1241 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1243 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1244 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1245 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1246 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1247 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1248 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1249 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1250 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1252 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1253 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1254 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1255 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1256 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1257 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1258 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1260 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1261 (posix_fallocate): Likewise.
1262 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1263 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1264 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1265 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1266 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1268 * time/asctime.c (asctime_internal): Likewise.
1269 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1270 * time/tzset.c (__tzset_parse_tz): Likewise.
1271 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1272 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1273 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1274 * wcsmbs/wcsmbsload.h: Likewise.
1276 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1279 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1281 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1283 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1284 arena_get2): Remove THREAD_STATS conditionals.
1285 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1286 __malloc_stats, int): Likewise.
1288 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1290 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1291 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1293 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1295 * manual/setjmp.texi: Fix typos/grammar errors.
1297 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1299 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1300 Only return early when n is <= 0. Delete unused return statement.
1302 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1304 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1305 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1306 * debug/tst-longjmp_chk3.c: New file.
1308 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1310 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1311 (test_main): Replace code with set_fortify_handler call.
1312 * debug/test-strcpy_chk.c: Likewise.
1313 * debug/tst-chk1.c: Likewise.
1314 * debug/tst-longjmp_chk.c: Likewise.
1315 * test-skeleton.c: Include fcntl.h & paths.h
1316 (set_fortify_handler): Define.
1318 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1320 * debug/tst-longjmp_chk.c: Add header comment and include
1322 (do_test): Mark static.
1323 (TEST_FUNCTION): Define.
1325 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1327 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1328 (IP_PMTUDISC_INTERFACE): Likewise.
1329 (IP_MULTICAST_IF): Likewise.
1330 (IP_MULTICAST_TTL): Likewise.
1331 (IP_MULTICAST_LOOP): Likewise.
1332 (IP_ADD_MEMBERSHIP): Likewise.
1333 (IP_DROP_MEMBERSHIP): Likewise.
1334 (IP_UNBLOCK_SOURCE): Likewise.
1335 (IP_BLOCK_SOURCE): Likewise.
1336 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1337 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1338 (IP_MSFILTER): Likewise.
1339 (MCAST_JOIN_GROUP): Likewise.
1340 (MCAST_BLOCK_SOURCE): Likewise.
1341 (MCAST_UNBLOCK_SOURCE): Likewise.
1342 (MCAST_LEAVE_GROUP): Likewise.
1343 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1344 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1345 (MCAST_MSFILTER): Likewise.
1346 (IP_MULTICAST_ALL): Likewise.
1347 (IP_UNICAST_IF): Likewise.
1349 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1351 * timezone/Makefile: Delete $(have-ksh) check.
1352 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1353 * timezone/tzselect.ksh: Add +x mode bits.
1355 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1357 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1358 (ANON_INODE_FS_MAGIC): Likewise.
1359 (BDEVFS_MAGIC): Likewise.
1360 (BINFMTFS_MAGIC): Likewise.
1361 (BTRFS_TEST_MAGIC): Likewise.
1362 (CRAMFS_MAGIC_WEND): Likewise.
1363 (DEBUGFS_MAGIC): Likewise.
1364 (ECRYPTFS_SUPER_MAGIC): Likewise.
1365 (EXT3_SUPER_MAGIC): Likewise.
1366 (EXT4_SUPER_MAGIC): Likewise.
1367 (FUTEXFS_SUPER_MAGIC): Likewise.
1368 (HOSTFS_SUPER_MAGIC): Likewise.
1369 (HUGETLBFS_MAGIC): Likewise.
1370 (MINIX3_SUPER_MAGIC): Likewise.
1371 (MTD_INODE_FS_MAGIC): Likewise.
1372 (NILFS_SUPER_MAGIC): Likewise.
1373 (OPENPROM_SUPER_MAGIC): Likewise.
1374 (PIPEFS_MAGIC): Likewise.
1375 (PSTOREFS_MAGIC): Likewise.
1376 (QNX6_SUPER_MAGIC): Likewise.
1377 (RAMFS_MAGIC): Likewise.
1378 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1379 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1380 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1381 (SECURITYFS_MAGIC): Likewise.
1382 (SELINUX_MAGIC): Likewise.
1383 (SMACK_MAGIC): Likewise.
1384 (SOCKFS_MAGIC): Likewise.
1385 (SQUASHFS_MAGIC): Likewise.
1386 (STACK_END_MAGIC): Likewise.
1387 (TMPFS_MAGIC): Likewise.
1388 (USBDEVICE_SUPER_MAGIC): Likewise.
1389 (V9FS_MAGIC): Likewise.
1390 (XENFS_SUPER_MAGIC): Likewise.
1391 (CRAMFS_MAGIC): Fix typo in comment.
1392 (EXT2_SUPER_MAGIC): Update comment.
1393 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1395 2014-02-08 Joseph Myers <joseph@codesourcery.com>
1397 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1398 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1399 * sysdeps/unix/sysv/linux/arm: Move directory from
1400 ports/sysdeps/unix/sysv/linux/arm.
1401 * README: Update listing for arm-*-linux-gnueabi.
1403 * README: Remove mention of am33.
1405 2014-02-07 Roland McGrath <roland@hack.frob.com>
1407 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1408 than the comma operator, to avoid "rhs of comma has no effect"
1410 (__sigfillset, __sigandset, __sigorset): Likewise.
1411 * include/signal.h (__sigemptyset): Likewise.
1412 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1414 2014-02-07 Allan McRae <allan@archlinux.org>
1416 * version.h (RELEASE): Set to "development".
1417 (VERSION): Set to "2.19.90"
1418 * NEWS: Add 2.20 section.
1420 2014-02-06 Carlos O'Donell <carlos@redhat.com>
1423 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1425 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1427 * manual/contrib.texi: Update entry for Carlos O'Donell,
1428 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1430 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
1432 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1434 * sysdeps/unix/sysv/linux/kernel-features.h
1435 [__LINUX_KERNEL_VERSION >= 0x020621]
1436 (__ASSUME_PROC_PID_TASK_COMM): Define.
1438 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1440 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1441 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1442 Leonard and Allan McRae.
1444 2014-02-04 David S. Miller <davem@davemloft.net>
1446 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1449 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1478 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1480 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1481 * shlib-versions: Likewise.
1483 2014-02-04 Roland McGrath <roland@hack.frob.com>
1484 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1486 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1487 (abilist-pattern): New variable, set to %-le.abilist.
1489 * Makerules (abilist-pattern): New variable.
1490 (vpath): Use $(abilist-pattern) in place of %.abilist.
1491 (check-abi-% pattern rule): Likewise.
1492 (check-abi, update-abi): Likewise.
1494 2014-02-04 Eric Wong <normalperson@yhbt.net>
1496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1498 2014-02-04 Eric Wong <normalperson@yhbt.net>
1500 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1502 2014-02-03 Carlos O'Donell <carlos@redhat.com>
1504 * manual/startup.texi: Add next, previous, and top entries for
1505 the `Program Arguments' and `Environment Variables' nodes.
1507 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
1509 * manual/macros.texi: Add comments before MTASC-safety macros.
1511 * manual/users.texi: Document MTASC-safety properties.
1513 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1514 pthread_getspecific, pthread_setspecific): Format with
1515 @deftypefun, and add @safety note.
1516 * manual/signal.texi: Move comments that analyze the above
1517 functions to their home place.
1519 2014-02-03 Allan McRae <allan@archlinux.org>
1521 * po/sl.po: Update Slovenian translation from translation project.
1523 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
1525 * manual/time.texi (timegm): Add missing blank after @c.
1526 Reported by Joseph Myers <joseph@codesourcery.com>.
1528 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
1530 * manual/check-safety.sh: New.
1531 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1533 * manual/terminal.texi: Document MTASC-safety properties.
1535 * manual/filesys.texi: Document MTASC-safety properties.
1537 * manual/errno.texi: Document MTASC-safety properties.
1539 * manual/intro.texi: Document safety identifiers and
1542 * manual/string.texi (wcstok): Fix prototype.
1543 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1545 * manual/time.texi: Document MTASC-safety properties.
1547 * manual/string.texi: Document MTASC-safety properties.
1549 * manual/threads.texi: Document MTASC-safety properties.
1551 * manual/stdio.texi: Document MTASC-safety properties.
1553 * manual/syslog.texi: Document MTASC-safety properties.
1555 * manual/sysinfo.texi: Document MTASC-safety properties.
1557 * manual/startup.texi: Document MTASC-safety properties.
1559 * manual/socket.texi: Document MTASC-safety properties.
1561 * manual/signal.texi: Document MTASC-safety properties.
1563 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
1565 * manual/setjmp.texi: Document MTASC-safety properties.
1567 * manual/search.texi: Document MTASC-safety properties.
1569 * manual/resource.texi: Document MTASC-safety properties.
1571 * manual/process.texi: Document MTASC-safety properties.
1573 * manual/platform.texi: Document MTASC-safety properties.
1575 * manual/pipe.texi: Document MTASC-safety properties.
1577 * manual/pattern.texi: Document MTASC-safety properties.
1579 * manual/message.texi: Document MTASC-safety properties.
1582 * manual/memory.texi: Document MTASC-safety properties.
1584 * manual/math.texi: Document MTASC-safety properties.
1586 * manual/locale.texi: Document MTASC-safety properties.
1588 * manual/llio.texi: Document MTASC-safety properties.
1590 * manual/libdl.texi: New.
1592 * manual/lang.texi: Document MTASC-safety properties.
1594 * manual/job.texi: Document MTASC-safety properties.
1596 * manual/getopt.texi: Document MTASC-safety properties.
1598 * manual/ctype.texi: Document MTASC-safety properties.
1600 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1603 * csu/libc-tls.c (static_map): Remove variable.
1604 (__libc_setup_tls): Use main executable's link map for TLS data.
1605 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1606 casing for LM_ID_BASE and GL(dl_nns).
1607 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1608 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1609 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1610 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1611 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1613 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1616 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
1618 * manual/debug.texi: Document MTASC-safety properties.
1620 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1623 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1624 of __x86_64__ when disabling x87 inline functions.
1626 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
1628 * manual/charset.texi: Document MTASC-safety properties.
1630 * manual/crypt.texi: Document MTASC-safety properties.
1632 * manual/conf.texi: Document MTASC-safety properties.
1634 * manual/arith.texi: Document MTASC-safety properties.
1636 * manual/argp.texi: Document MTASC-safety properties.
1638 * manual/macros.texi: Introduce macros to document multi
1639 thread, asynchronous signal and asynchronous cancellation
1641 * manual/intro.texi: Introduce the properties themselves.
1643 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1645 * sysdeps/sh/sh4/Makefile: New file.
1647 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1649 * math/gen-libm-test.pl ($srcdir): New variable.
1650 ($auto_input): Use it.
1652 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1655 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1656 access beyond array bounds when parsing netgroups file.
1658 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1659 the old buffer before realloc.
1661 2014-01-27 Allan McRae <allan@archlinux.org>
1663 * po/fr.po: Update French translation from translation project.
1665 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1667 * sysdeps/sh/libm-test-ulps: Regenerate.
1669 2014-01-24 David S. Miller <davem@davemloft.net>
1671 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1673 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1675 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1676 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1678 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1681 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1682 string pointers after reallocation.
1684 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1686 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1687 __SH4A__ instead of __SH_FPU_ANY__.
1689 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1691 * sysdeps/sh/fpu_control.h: New file.
1692 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1693 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1694 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1695 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1696 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1697 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1698 * sysdeps/sh/sys/ucontext.h: Remove.
1699 * sysdeps/sh/sys: Remove directory.
1701 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1703 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1704 s390/sys/ucontext.h.
1705 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1706 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1708 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1711 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1713 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1716 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1717 Adjust the vDSO correctly for internal calls.
1718 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1720 2014-01-20 Allan McRae <allan@archlinux.org>
1722 * po/ca.po: Update Catalan translation from translation project.
1724 2014-01-16 Mike Frysinger <vapier@gentoo.org>
1726 * sysdeps/s390/sotruss-lib.c: New file.
1728 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1731 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1732 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1733 local calls issues by not having a PLT stub required for IFUNC calls.
1734 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1736 2014-01-16 Joseph Myers <joseph@codesourcery.com>
1738 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1739 * math/test-fpucw-static.c: Likewise.
1741 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1744 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1746 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1748 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1749 implementation for powerpc.
1751 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
1754 * sysdeps/posix/system.c (__libc_system): Do not enable
1755 asynchronous cancellation.
1757 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1760 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1761 handling only for numbers special also in the IEEE case.
1763 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1765 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1767 2014-01-11 Allan McRae <allan@archlinux.org>
1769 * po/bg.po: Update Bulgarian translation from translation project.
1771 * po/de.po: Update German translation from translation project.
1773 2014-01-10 Roland McGrath <roland@hack.frob.com>
1775 * sysdeps/generic/gcc-compat.h: New file.
1777 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1779 * benchtests/asin-inputs: Correct slow inputs.
1780 * benchtests/acos-inputs: Likewise.
1782 2014-01-10 Allan McRae <allan@archlinux.org>
1784 * po:sv.po: Update Swedish translation from translation project.
1786 * po/vi.po: Update Vietnamese translation from translation project.
1788 * po/eo.po: Update Esperanto translation from translation project.
1790 * po/cs.po: Update Czech translation from translation project.
1792 * po/nl.po: Update Dutch translation from translation project.
1794 * po/pl.po: Update Polish translation from translation project.
1796 * po/ru.po: Update Russian translation from translation project.
1798 * po/uk.po: Update Ukrainian translation from translation project.
1800 2014-01-08 Brooks Moses <bmoses@google.com>
1802 * elf/dl-load.c: Fix comment typo.
1804 2014-01-08 Carlos O'Donell <carlos@redhat.com>
1806 * po/header.pot: Rename to...
1807 * po/pot.header: ... this.
1808 * po/Makefile: Use pot.header.
1810 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1811 Maxim Kuvyrkov <maxim@kugelworks.com>
1814 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1815 SRC and DEST against LEN.
1817 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1820 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1822 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1824 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1828 2014-01-08 Joseph Myers <joseph@codesourcery.com>
1831 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1832 for large positive arguments.
1834 2014-01-07 Joseph Myers <joseph@codesourcery.com>
1836 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1838 * math/auto-libm-test-in: Mark various tests with
1839 xfail-rounding:ldbl-128ibm.
1840 * math/auto-libm-test-out: Regenerated.
1843 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1844 Increase overflow threshold.
1846 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
1849 * stdio-common/vfprintf.c: Check for integer overflow.
1851 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1853 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1854 the first argument and return value of __tls_get_addr_internal.
1856 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1858 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1859 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1861 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1863 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1864 * sysdeps/s390/rtld-global-offsets.sym: New file.
1865 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1867 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1868 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1869 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1871 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1872 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1878 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1879 halfs of GPRs for high_gprs contexts.
1880 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1881 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1883 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1885 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1887 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1888 for high GPRs (uc_high_gprs) and for future extensions
1890 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1891 for future extensions (__reserved).
1892 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1894 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1895 SC_HIGHGPRS offset definition.
1896 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1897 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1899 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1901 * Versions.def: Add GLIBC_2.19 for libpthread.
1902 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1903 siglongjmp for libpthread with GLIBC_2.19 symver.
1904 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1905 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1906 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1907 * sysdeps/s390/__longjmp.c: New file.
1908 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1909 * sysdeps/s390/longjmp.c: New file.
1910 * sysdeps/s390/setjmp.S: New file.
1911 * sysdeps/s390/sigjmp.S: New file.
1912 * sysdeps/s390/v1-longjmp.c: New file.
1913 * sysdeps/s390/v1-setjmp.h: New file.
1914 * sysdeps/s390/v1-sigjmp.c: New file.
1915 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1916 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1918 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1919 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1920 versioned symbols for ____longjmp_chk.
1921 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1931 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1932 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1933 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1934 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1935 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1936 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1937 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1938 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1939 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1940 * sysdeps/s390/rtld-__longjmp.c: New file.
1941 * sysdeps/s390/rtld-setjmp.S: New file.
1943 2014-01-06 Joseph Myers <joseph@codesourcery.com>
1946 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1947 Return -__logl (x) for small positive arguments without evaluating
1950 2014-01-06 Mike Frysinger <vapier@gentoo.org>
1952 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1954 (__ptrace_peeksiginfo_args): ... this.
1955 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1956 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1957 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1959 2014-01-06 Allan McRae <allan@archlinux.org>
1961 * inet/netinet/in.h: Fix typo in comment.
1963 2014-01-05 Andreas Jaeger <aj@suse.de>
1965 * sysdeps/i386/fpu/libm-test-ulps: Update.
1967 2014-01-05 Allan McRae <allan@archlinux.org>
1969 * po/libc.pot: Regenerated.
1971 * malloc/memusagestat.c: Fix gettext call formatting.
1973 2014-01-04 Sami Kerola <kerolasa@iki.fi>
1975 * nscd/nscd.c: Improve usage() output.
1977 2014-01-04 Mike Frysinger <vapier@gentoo.org>
1979 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1980 * sysdeps/unix/sysv/linux/configure: Regenerated.
1981 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1982 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1984 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1987 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1988 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1990 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1992 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1993 extra tokens at end of #undef directive.
1994 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1995 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1996 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1998 2014-01-03 Joseph Myers <joseph@codesourcery.com>
2000 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2002 * math/auto-libm-test-in: Mark various tests with
2003 xfail-rounding:ldbl-128ibm.
2004 * math/auto-libm-test-out: Regenerated.
2006 2014-01-02 Joseph Myers <joseph@codesourcery.com>
2009 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2010 numbers with subnormal high part when calculating exponent.
2013 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2017 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2019 (__ieee754_acoshl): Use __log1pl not __log1p.
2021 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
2023 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2024 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2025 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2026 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2027 Convert to GNU style.
2028 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2029 mem2mem_check, mem2chunk_check, top_check, realloc_check,
2030 memalign_check, __malloc_set_state): Likewise.
2031 * malloc/mallocbug.c (main): Likewise.
2032 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2033 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2034 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2035 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2036 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2037 * malloc/malloc.h: Likewise.
2038 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2039 memalignhook, reallochook, mabort): Likewise.
2040 * malloc/mcheck.h: Likewise.
2041 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2042 mmap64, mremap, munmap, dest): Likewise.
2043 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2044 * malloc/morecore.c (__default_morecore): Likewise.
2045 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2046 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2047 _obstack_allocated_p, obstack_free, _obstack_memory_used,
2048 print_and_abort): Likewise.
2049 * malloc/obstack.h: Likewise.
2050 * malloc/set-freeres.c (__libc_freeres): Likewise.
2051 * malloc/tst-mallocstate.c (main): Likewise.
2052 * malloc/tst-mtrace.c (main): Likewise.
2053 * malloc/tst-realloc.c (do_test): Likewise.
2055 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2058 * nscd/netgroupcache.c (do_notfound): New function.
2059 (addgetnetgrentX): Use it.
2062 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2063 NSS_STATUS_NOTFOUND.
2065 2014-01-01 Joseph Myers <joseph@codesourcery.com>
2067 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2070 2014-01-01 Allan McRae <allan@archlinux.org>
2072 * scripts/update-copyrights: Update configure input file suffix.
2074 * NEWS: Update copyright year.
2075 * catgets/gencat.c: Likewise.
2076 * csu/version.c: Likewise.
2077 * debug/catchsegv.sh: Likewise.
2078 * debug/pcprofiledump.c: Likewise.
2079 * debug/xtrace.sh: Likewise.
2080 * elf/ldconfig.c: Likewise.
2081 * elf/ldd.bash.in: Likewise.
2082 * elf/pldd.c: Likewise.
2083 * elf/sotruss.ksh: Likewise.
2084 * elf/sprof.c: Likewise.
2085 * iconv/iconv_prog.c: Likewise.
2086 * iconv/iconvconfig.c: Likewise.
2087 * locale/programs/locale.c: Likewise.
2088 * locale/programs/localedef.c: Likewise.
2089 * login/programs/pt_chown.c: Likewise.
2090 * malloc/memusage.sh: Likewise.
2091 * malloc/memusagestat.c: Likewise.
2092 * malloc/mtrace.pl: Likewise.
2093 * manual/libc.texinfo: Likewise.
2094 * nscd/nscd.c: Likewise.
2095 * nss/getent.c: Likewise.
2096 * nss/makedb.c: Likewise.
2097 * posix/getconf.c: Likewise.
2098 * scripts/test-installation.pl: Likewise.
2100 * All files with FSF copyright notices: Update copyright dates
2101 using scripts/update-copyrights.
2102 * intl/plural.c: Regenerated.
2103 * locale/programs/charmap-kw.h: Likewise.
2104 * locale/programs/locfile-kw.h: Likewise.
2106 2013-12-31 Mike Frysinger <vapier@gentoo.org>
2108 * sysdeps/unix/sysv/linux/configure: Regenerated.
2109 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2110 the linux/fanotify.h header.
2111 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2112 HAVE_LINUX_FANOTIFY_H is defined.
2114 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2116 * benchtests/cos-inputs: New inputs.
2117 * benchtests/sin-inputs: Likewise.
2119 * benchtests/atan-inputs: New inputs. Fix name of multiple
2120 precision fallback inputs.
2122 * benchtests/atanh-inputs: New inputs.
2123 * benchtests/tanh-inputs: Likewise.
2125 * benchtests/acosh-inputs: New inputs.
2126 * benchtests/asinh-inputs: Likewise.
2128 * benchtests/cosh-inputs: New inputs.
2129 * benchtests/sinh-inputs: Likewise.
2131 * benchtests/acos-inputs: Add more inputs.
2132 * benchtests/asin-inputs: Likewise.
2134 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
2137 * manual/arith.texi: Fix spelling.
2138 * manual/charset.texi: Likewise.
2139 * manual/errno.texi: Likewise.
2140 * manual/filesys.texi: Likewise.
2141 * manual/lang.texi: Likewise.
2142 * manual/llio.texi: Likewise.
2143 * manual/locale.texi: Likewise.
2144 * manual/message.texi: Likewise.
2145 * manual/resource.texi: Likewise.
2146 * manual/search.texi: Likewise.
2147 * manual/setjmp.texi: Likewise.
2148 * manual/stdio.texi: Likewise.
2149 * manual/string.texi: Likewise.
2150 * manual/sysinfo.texi: Likewise.
2151 * manual/time.texi: Likewise.
2153 2013-12-27 Carlos O'Donell <carlos@redhat.com>
2155 * po/sl.po: New file.
2157 2013-12-27 Mike Frysinger <vapier@gentoo.org>
2159 * .gitignore: Add core/.gdbinit/.gdb_history.
2161 2013-12-27 Allan McRae <allan@archlinux.org>
2164 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2165 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2167 2013-12-24 Brooks Moses <bmoses@google.com>
2169 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2170 all compilers that claim C++98 compliance, not just GCC.
2171 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2174 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2176 * NEWS: Restore accidentally deleted bug-fix entries.
2178 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2179 Ondřej Bílka <neleai@seznam.cz>
2182 * malloc/malloc.c (_int_free): Perform sanity check only if we
2185 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
2188 * manual/stdio.texi (String Input Conversions): Clarify that character
2189 classes are not supported.
2191 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2195 2013-12-22 Joseph Myers <joseph@codesourcery.com>
2198 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2199 Calculate results for small negative arguments directly rather
2200 than using reflection formula with special underflow handling.
2202 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2203 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2204 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2205 (fchflags): Likewise.
2207 (setlogin): Likewise.
2208 (sigaltstack): Likewise.
2211 (sigsetmask): Likewise.
2213 (waitpid): Likewise.
2214 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2215 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2217 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2218 * sysdeps/unix/bsd/Makefile: ... here.
2219 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2220 * sysdeps/unix/bsd/Versions: ... here.
2221 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2222 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2223 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2224 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2225 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2226 * sysdeps/unix/bsd/sigblock.c: ... here.
2227 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2228 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2229 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2230 * sysdeps/unix/bsd/sigvec.c: ... here.
2231 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2232 * sysdeps/unix/bsd/tcdrain.c: ... here.
2233 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2234 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2235 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2236 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2237 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2238 * sysdeps/unix/bsd/wait.c: ... here.
2239 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2240 * sysdeps/unix/bsd/wait3.c: ... here.
2241 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2242 * sysdeps/unix/bsd/waitpid.c: ... here.
2244 2013-12-21 Joseph Myers <joseph@codesourcery.com>
2247 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2248 round-to-nearest for [!USE_AS_EXPM1L].
2249 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2250 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2251 more tests of exp and exp10. Expect some exp10 tests to miss
2252 exceptions or fail in directed rounding modes.
2253 * math/auto-libm-test-out: Regenerated.
2254 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2255 (exp10_test_tonearest): New function.
2256 (exp10_towardzero_test_data): New array.
2257 (exp10_test_towardzero): New function.
2258 (exp10_downward_test_data): New array.
2259 (exp10_test_downward): New function.
2260 (exp10_upward_test_data): New array.
2261 (exp10_test_upward): New function.
2262 (main): Call the new functions.
2263 * sysdeps/i386/fpu/libm-test-ulps: Update.
2264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2266 2013-12-20 Joseph Myers <joseph@codesourcery.com>
2268 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2269 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2270 * math/auto-libm-test-out: Regenerated.
2271 * math/libm-test.inc (acosh_test_data): Add more tests.
2272 (atanh_test_data): Likewise.
2273 (ceil_test_data): Likewise.
2274 (copysign_test_data): Likewise.
2275 * sysdeps/i386/fpu/libm-test-ulps: Update.
2276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2278 * timezone/checktab.awk: Update from tzcode 2013i.
2279 * timezone/private.h: Likewise.
2280 * timezone/scheck.c: Likewise.
2281 * timezone/tzfile.h: Likewise.
2282 * timezone/tzselect.ksh: Likewise.
2283 * timezone/zdump.c: Likewise.
2284 * timezone/zic.c: Likewise.
2286 * math/auto-libm-test-in: Add tests of cpow.
2287 * math/auto-libm-test-out: Regenerated.
2288 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2289 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2291 (func_calc_desc): Add mpc_cc_c union field.
2292 (test_functions): Add cpow.
2293 (special_fill_2pi): New function.
2294 (special_real_inputs): Add 2pi.
2295 (calc_generic_results): Handle mpc_cc_c.
2296 * sysdeps/i386/fpu/libm-test-ulps: Update.
2297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2299 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2300 csqrt, ctan and ctanh.
2301 * math/auto-libm-test-out: Regenerated.
2302 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2303 (TEST_COND_x86): Likewise.
2304 (ccos_test_data): Use AUTO_TESTS_c_c.
2305 (ccosh_test_data): Likewise.
2306 (cexp_test_data): Likewise.
2307 (clog_test_data): Likewise.
2308 (csqrt_test_data): Likewise.
2309 (ctan_test_data): Likewise.
2310 (ctan_tonearest_test_data): Likewise.
2311 (ctan_towardzero_test_data): Likewise.
2312 (ctan_downward_test_data): Likewise.
2313 (ctan_upward_test_data): Likewise.
2314 (ctanh_test_data): Likewise.
2315 (ctanh_tonearest_test_data): Likewise.
2316 (ctanh_towardzero_test_data): Likewise.
2317 (ctanh_downward_test_data): Likewise.
2318 (ctanh_upward_test_data): Likewise.
2319 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2321 (func_calc_desc): Add mpc_c_c union field.
2322 (FUNC_mpc_c_c): New macro.
2323 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2324 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2326 (special_fill_min_subnorm_p120): New function.
2327 (special_real_inputs): Add min_subnorm_p120.
2328 (calc_generic_results): Handle mpc_c_c.
2329 * sysdeps/i386/fpu/libm-test-ulps: Update.
2330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2332 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2334 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2335 do_sin_slow): New functions.
2336 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2337 cslow2, csloww1, csloww2): Use the new functions.
2339 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2340 Use M to change sign of result instead of X. Assume X is
2342 (csloww1): Likewise.
2346 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2351 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2353 (sloww1): Don't adjust sign of DX.
2354 (csloww1): Likewise.
2355 (sloww2): Use X directly and don't adjust sign of DX.
2356 (csloww2): Likewise.
2358 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2360 * math/auto-libm-test-in: Add tests of cabs and carg.
2361 * math/auto-libm-test-out: Regenerated.
2362 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2363 (carg_test_data): Likewise.
2364 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2366 (func_calc_desc): Add mpc_c_f union field.
2367 (test_functions): Add cabs and carg.
2368 (calc_generic_results): Handle mpc_c_f.
2370 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2371 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2372 as a macro and a compat symbol.
2373 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2374 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2375 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2376 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2377 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2378 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2380 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2382 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2384 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2386 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2388 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2390 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2391 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2394 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2398 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2400 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2401 trailing whitespace removed.
2402 * scripts/config.guess: Update to version 2013-11-29.
2403 * scripts/config.sub: Update to version 2013-10-01.
2405 * math/auto-libm-test-in: Add tests of sincos.
2406 * math/auto-libm-test-out: Regenerated.
2407 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2408 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2410 (func_calc_desc): Add mpfr_f_11 union field.
2411 (test_functions): Add sincos.
2412 (calc_generic_results): Handle mpfr_f_11.
2413 * sysdeps/i386/fpu/libm-test-ulps: Update.
2414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2416 2013-12-19 Andreas Schwab <schwab@suse.de>
2418 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2420 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2421 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2422 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2424 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2426 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2427 * sysdeps/i386/fpu/libm-test-ulps: Update.
2428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2431 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2432 round-to-nearest mode when using frndint.
2433 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2434 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2435 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2437 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2439 * math/auto-libm-test-out: Regenerated.
2440 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2441 (TEST_COND_x86): Likewise.
2442 (expm1_tonearest_test_data): New array.
2443 (expm1_test_tonearest): New function.
2444 (expm1_towardzero_test_data): New array.
2445 (expm1_test_towardzero): New function.
2446 (expm1_downward_test_data): New array.
2447 (expm1_test_downward): New function.
2448 (expm1_upward_test_data): New array.
2449 (expm1_test_upward): New function.
2450 (main): Run the new test functions.
2451 * sysdeps/i386/fpu/libm-test-ulps: Update.
2452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2454 * include/features.h: Update comment documenting feature test
2455 macros. Mention _DEFAULT_SOURCE in comment.
2456 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2457 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2458 _BSD_SOURCE and _SVID_SOURCE.
2459 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2460 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2461 !_SVID_SOURCE]: Likewise.
2462 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2463 (__USE_POSIX_IMPLICITLY): Define.
2464 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2465 (_POSIX_SOURCE): Undefine and redefine.
2466 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2467 (_POSIX_C_SOURCE): Likewise.
2468 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2469 (Feature Test Macros): Update documentation of default features.
2471 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2473 * benchtests/Makefile: Add bench-strtok.
2474 * benchtests/bench-strtok.c: New file: strtok benchtest.
2476 2013-12-19 Allan McRae <allan@archlinux.org>
2478 * manual/install.texi: Suppress menu for plain text output.
2479 * INSTALL: Regenerated.
2481 2013-12-18 Brooks Moses <bmoses@google.com>
2484 * misc/getauxval.c: Include errno.h.
2485 (__getauxval): Set errno to ENOENT if the requested type is not
2487 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2488 don't declare with __attribute_const__.
2489 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2490 * manual/startup.texi: Document that getauxval sets errno.
2492 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2494 * math/auto-libm-test-in: Add tests of jn and yn.
2495 * math/auto-libm-test-out: Regenerated.
2496 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2497 (yn_test_data): Likewise.
2498 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2500 (func_calc_desc): Add mpfr_if_f union field.
2501 (FUNC_mpfr_if_f): New macro.
2502 (test_functions): Add jn and yn.
2503 (calc_generic_results): Assert type of second input for
2504 mpfr_ff_f. Handle mpfr_if_f.
2505 (output_for_one_input_case): Disable all checking for arguments
2506 fitting floating-point types in case of an integer argument.
2507 * sysdeps/i386/fpu/libm-test-ulps: Update.
2508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2511 Don't expect fegetround reference in libm.so.
2513 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2515 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2516 $(config-cflags-nofma).
2518 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2520 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2521 * math/auto-libm-test-out: Regenerated.
2524 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2525 to determine exponent and adjust argument to have exponent of -1.
2526 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2528 * math/auto-libm-test-out: Regenerated.
2529 * sysdeps/i386/fpu/libm-test-ulps: Update.
2530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2532 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
2534 * manual/probes.texi: Remove cases when per-thread arenas are
2537 2013-12-18 Andreas Schwab <schwab@suse.de>
2539 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2540 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2541 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2542 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2543 * sysdeps/i386/i686/multiarch/Makefile: Update.
2544 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2546 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2548 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2549 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2551 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2554 Support TZ transition times < 00:00:00.
2555 This is needed for version-3 tz-format files; it supports time
2556 stamps past 2037 for America/Godthab (the only entry in the tz
2557 database for which this change is relevant).
2558 * manual/time.texi (TZ Variable): Document transition times
2559 from -167:59:59 through -00:00:01.
2560 * time/tzset.c (tz_rule): Time of day is now signed.
2561 (__tzset_parse_tz): Parse negative time of day.
2563 Document TZ transition times >= 25:00:00.
2564 * manual/time.texi (TZ Variable): Document transition times from
2565 25:00:00 through 167:59:59. These are already supported, and this
2566 support will help with version-3 tz-format files.
2568 * manual/time.texi (TZ Variable): Modernize North America example
2569 to reflect current (i.e., 2007-and-later) daylight saving rules.
2571 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2573 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2575 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2576 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2577 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2578 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2579 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2580 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2581 * sysdeps/unix/bsd/clock.c: Likewise.
2582 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2583 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2584 * sysdeps/unix/bsd/init-posix.c: Likewise.
2585 * sysdeps/unix/bsd/poll.c: Likewise.
2586 * sysdeps/unix/bsd/ptsname.c: Likewise.
2587 * sysdeps/unix/bsd/seekdir.c: Likewise.
2588 * sysdeps/unix/bsd/setegid.c: Likewise.
2589 * sysdeps/unix/bsd/seteuid.c: Likewise.
2590 * sysdeps/unix/bsd/setgid.c: Likewise.
2591 * sysdeps/unix/bsd/setrgid.c: Likewise.
2592 * sysdeps/unix/bsd/setruid.c: Likewise.
2593 * sysdeps/unix/bsd/setsid.c: Likewise.
2594 * sysdeps/unix/bsd/setuid.c: Likewise.
2595 * sysdeps/unix/bsd/sigaction.c: Likewise.
2596 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2597 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2598 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2599 * sysdeps/unix/bsd/telldir.c: Likewise.
2600 * sysdeps/unix/bsd/times.c: Likewise.
2601 * sysdeps/unix/bsd/usleep.c: Likewise.
2603 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2604 ($(objpfx)libbsd-compat.a): Remove rule.
2606 * include/features.h (__FAVOR_BSD): Do not define.
2607 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2608 features conflicting with POSIX.
2609 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2610 (_BSD_SOURCE): Remove description of not being a subset of other
2611 feature test macros.
2612 * manual/job.texi (getpgrp): Do not document BSD version.
2613 (getpgid): Do not document by reference to BSD getpgrp.
2614 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2615 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2616 * signal/signal.h [__FAVOR_BSD]: Likewise.
2617 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2618 instead of making contents conditional on [__FAVOR_BSD].
2619 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2621 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2625 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2628 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2629 values below 2**-450, not 2**-500.
2630 * math/auto-libm-test-in: Don't allow spurious underflow from
2632 * math/auto-libm-test-out: Regenerated.
2636 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2637 values of ha and hb and sort them after adjusting subnormal
2639 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2641 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2642 values of ea and eb and sort them after adjusting subnormal
2644 * math/auto-libm-test-in: Do not expect some hypot tests of
2645 subnormals to fail. Add more hypot tests.
2646 * math/auto-libm-test-out: Regenerated.
2648 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2651 * sysdeps/sh/s_fma.c: New file.
2652 * sysdeps/sh/s_fmaf.c: New file.
2653 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2655 * sysdeps/sh/Implies: Add sh/soft-fp.
2657 2013-12-16 Roland McGrath <roland@hack.frob.com>
2659 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2660 level of indirection to members `objname', `errstring', `malloced'.
2661 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2662 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2663 it as the __longjmp argument (just pass 1 instead).
2664 (_dl_catch_error): Initialize C with argument pointers and address of
2665 volatile local ERRCODE rather than copying values out of C at return.
2667 2013-12-16 Joseph Myers <joseph@codesourcery.com>
2669 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2670 * math/auto-libm-test-out: Regenerated.
2671 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2672 (hypot_test_data): Likewise.
2673 (pow_test_data): Likewise.
2674 (pow_tonearest_test_data): Likewise.
2675 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2677 (func_calc_desc): Add mpfr_ff_f union field.
2678 (FUNC_mpfr_ff_f): New macro.
2679 (test_functions): Add atan2, hypot and pow.
2680 (special_fill_min): New function.
2681 (special_fill_minus_min): Likewise.
2682 (special_fill_min_subnorm): Likewise.
2683 (special_fill_minus_min_subnorm): Likewise.
2684 (special_real_inputs): Add min, -min, min_subnorm and
2686 (calc_generic_results): Handle mpfr_ff_f.
2687 * sysdeps/i386/fpu/libm-test-ulps: Update.
2688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2690 2013-12-16 Will Newton <will.newton@linaro.org>
2692 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2693 (Aligned Memory Blocks): Add documentation for aligned_alloc
2694 and suggest it as an alternative to posix_memalign.
2695 (Hooks for Malloc): Document __memalign_hook is also called
2696 for aligned_alloc. (Summary of Malloc): Add summary for
2697 aligned alloc. Document __memalign_hook is also called
2700 2013-12-16 Will Newton <will.newton@linaro.org>
2702 * manual/memory.texi (Malloc Examples): Clarify default
2703 alignment documentation. Suggest posix_memalign rather
2704 than memalign or valloc.
2705 (Aligned Memory Blocks): Remove suggestion to use memalign
2706 or valloc. Remove obsolete comment about BSD.
2707 Document memalign errno values and mark the function obsolete.
2708 Document posix_memalign returned error codes. Mark valloc
2709 as obsolete. (Hooks for Malloc): __memalign_hook is also
2710 called for posix_memalign and valloc.
2711 (Summary of Malloc): Add posix_memalign to function summary.
2712 __memalign_hook is also called for posix_memalign and valloc.
2714 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2716 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2720 (sloww): Use mynumber union. Expand ternary operator into
2722 (cslow): use mynumber union.
2724 2013-12-16 Allan McRae <allan@archlinux.org>
2726 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2727 * configure: Regenerated.
2729 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2732 * configure.ac: Added --enable-maintainer-mode. Check for
2733 autoconf when enabled.
2734 * configure: Regenerated.
2736 * nscd/nscd.service: New file.
2737 * nscd/nscd.tmpfiles: New file.
2739 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
2742 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2743 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2744 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2745 (strstr): Add __strstr_sse2_unaligned ifunc.
2746 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2747 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2748 (strcasestr): Remove __strcasestr_sse42 ifunc.
2749 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2750 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2751 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2753 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2755 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2756 * sysdeps/sh/bits/fenv.h: ... here.
2757 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2759 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2761 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2763 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2765 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2766 hypotf multiarch implementations.
2767 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2768 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2769 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2770 multiarch hypot for PPC64.
2771 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2772 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2773 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2774 multiarch hypotf for PPC64.
2776 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2778 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2779 modff multiarch implementations.
2780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2783 multiarch modf for PPC64.
2784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2787 multiarch modff for PPC64.
2789 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2791 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2792 and logl multiarch implementations.
2793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2796 multiarch logb for PPC64.
2797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2800 multiarch logb for PPC64.
2801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2804 multiarch logb for PPC64.
2806 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2808 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2809 isinff multiarch implementation.
2810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2814 multiarch isinf for PPC64.
2815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2818 multiarch isinff for PPC64.
2820 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2822 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2823 finitef multiarch implementation.
2824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2828 multiarch finite for PPC64.
2829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2832 multiarch finitef for PPC64.
2834 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2836 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2837 lrint multiarch implementation.
2838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2842 multiarch llrint for PPC64.
2843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2844 multiarch lrint for PPC64.
2846 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2848 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2849 copysignf multiarch implementation.
2850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2855 multiarch copysign for PPC64.
2856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2857 multiarch copysignf for PPC64.
2859 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2862 multiarch implementation.
2863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2871 multiarch llround for PPC64.
2872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2873 multiarch trunc for PPC64.
2874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2875 multiarch truncf for PPC64.
2877 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2879 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2880 multiarch implementation.
2881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2889 multiarch llround for PPC64.
2890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2891 multiarch round for PPC64.
2892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2893 multiarch roundf for PPC64.
2895 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2897 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2898 multiarch implementation.
2899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2907 multiarch llround for PPC64.
2908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2909 multiarch floor for PPC64.
2910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2911 multiarch floorf for PPC64.
2913 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2915 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2916 multiarch implementation.
2917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2925 multiarch llround for PPC64.
2926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2927 multiarch ceil for PPC64.
2928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2929 multiarch ceilf for PPC64.
2931 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2933 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2934 multiarch implementation.
2935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2942 multiarch llround for PPC64.
2943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2944 multiarch lround for PPC64.
2946 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2948 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2949 multiarch implementation.
2950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2957 multiarch isnan for PPC64.
2958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2959 multiarch isnanf for PPC64.
2961 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2963 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2964 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2965 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2966 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2967 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2970 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2972 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2973 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2974 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2975 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2977 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2980 multiarch implementations.
2981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2982 (__libc_ifunc_impl_list): Likewise.
2983 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2984 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2985 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2986 multiarch stpcpy for PPC64.
2988 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2991 multiarch implementations.
2992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2993 (__libc_ifunc_impl_list): Likewise.
2994 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2995 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2996 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2997 multiarch strcpy for PPC64.
2999 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3001 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3002 redefine function name.
3003 (_wordcopy_fwd_dest_aligned): Likewise.
3004 (_wordcopy_bwd_aligned): Likewise.
3005 (_wordcopy_bwd_dest_aligned): Likewise.
3006 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3007 multiarch implementations.
3008 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3009 (__libc_ifunc_impl_list): Likewise.
3010 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3011 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3012 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3013 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3014 multiarch wcscpy for PPC64.
3016 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3018 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3019 multiarch implementations.
3020 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3021 (__libc_ifunc_impl_list): Likewise.
3022 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3023 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3024 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3025 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3026 multiarch wcscpy for PPC64.
3028 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3030 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3031 multiarch implementations.
3032 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3033 (__libc_ifunc_impl_list): Likewise.
3034 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3035 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3036 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3037 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3038 multiarch wcsrchr for PPC64.
3040 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3043 multiarch implementations.
3044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3045 (__libc_ifunc_impl_list): Likewise.
3046 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3047 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3048 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3049 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3050 multiarch wcschr for PPC64.
3052 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3055 multiarch implementations.
3056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3057 (__libc_ifunc_impl_list): Likewise.
3058 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3059 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3060 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3061 multiarch strchrnul for PPC64.
3063 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3068 (__libc_ifunc_impl_list): Likewise.
3069 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3070 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3071 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3072 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3075 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3080 (__libc_ifunc_impl_list): Likewise.
3081 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3082 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3083 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3084 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3087 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3090 multiarch implementations.
3091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3092 (__libc_ifunc_impl_list): Likewise.
3093 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3094 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3095 strncasecmp for PPC64.
3096 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3097 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3098 multiarch strncasecmp_l for PPC64.
3100 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3103 multiarch implementations.
3104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3105 (__libc_ifunc_impl_list): Likewise.
3106 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3107 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3108 multiarch strcasecmp for PPC64.
3109 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3111 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3112 multiarch strcasecmp_l for PPC64.
3114 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3119 (__libc_ifunc_impl_list): Likewise.
3120 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3121 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3122 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3125 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3130 (__libc_ifunc_impl_list): Likewise.
3131 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3132 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3133 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3136 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3138 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3141 (__libc_ifunc_impl_list): Likewise.
3142 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3143 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3144 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3145 rawmemrchr for PPC64.
3147 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3152 (__libc_ifunc_impl_list): Likewise.
3153 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3154 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3155 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3158 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3160 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3163 (__libc_ifunc_impl_list): Likewise.
3164 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3165 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3166 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3169 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3171 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3174 (__libc_ifunc_impl_list): Likewise.
3175 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3176 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3177 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3180 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3182 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3183 avoid cretion of __bzero symbol.
3184 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3186 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3188 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3191 multiarch implementations.
3192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3193 (__libc_ifunc_impl_list): Likewise.
3194 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3195 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3196 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3197 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3199 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3200 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3201 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3202 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3203 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3205 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3207 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3209 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3213 (__libc_ifunc_impl_list): Likewise.
3214 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3215 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3216 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3217 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3220 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3223 multiarch for POWER/PPC64.
3224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3225 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3226 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3227 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3228 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3229 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3230 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3231 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3232 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3235 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3237 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3238 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3239 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3240 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3241 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3242 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3243 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3244 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3245 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3246 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3247 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3248 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3249 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3250 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3251 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3260 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3262 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3264 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3266 * benchtests/Makefile (bench): Add exp2 and log2.
3267 (LDLIBS-bench-exp2): Add -lm.
3268 (LDLIBS-bench-log2): Likewise.
3269 * benchtests/exp2-inputs: New inputs file.
3270 * benchtests/log2-inputs: New inputs file.
3271 * benchtests/log-inputs: Add new inputs.
3272 * benchtests/tan-inputs: Likewise.
3274 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3276 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3278 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3279 csloww1, csloww2): ... from here.
3281 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3282 instead of structures.
3283 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3284 (POLYNOMIAL): Likewise.
3285 (TAYLOR_SLOW): Likewise.
3293 (bsloww1): Likewise.
3294 (bsloww2): Likewise.
3297 (csloww1): Likewise.
3298 (csloww2): Likewise.
3300 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3302 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3303 (__malloc_assert, __libc_realloc, __libc_calloc,
3304 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3306 * malloc/hooks.c (realloc_check): Likewise.
3308 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3310 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3311 * malloc/arena.c: Remove PER_THREAD conditional.
3312 [!PER_THREAD]: Remove code.
3313 (ptmalloc_unlock_all2): Likewise.
3314 (ptmalloc_init): Likewise.
3315 (_int_new_arena): Likewise.
3316 (arena_get2): Likewise.
3317 * malloc/hooks.c (__malloc_get_state): Likewise.
3318 (__malloc_set_state): Likewise.
3319 * malloc/malloc.c: Likewise.
3320 (struct malloc_state): Likewise.
3321 (struct malloc_par): Likewise.
3322 (__libc_realloc): Likewise.
3323 (__libc_mallopt): Likewise.
3325 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3327 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3329 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3331 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3332 macro to a function. Check for zero perturb_byte.
3333 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3335 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3337 * malloc/malloc.c: (force_reg): Remove.
3338 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3339 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3340 force_reg by atomic_forced_read.
3341 * malloc/arena.c (ptmalloc_init): Likewise.
3342 * malloc/hooks.c (top_check): Likewise.
3344 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3348 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3350 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3352 2013-12-08 Joseph Myers <joseph@codesourcery.com>
3354 * math/auto-libm-test-in: Add tests of lgamma.
3355 * math/auto-libm-test-out: Regenerated.
3356 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3357 (M_LOG_2_SQRT_PIl): Likewise.
3358 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3359 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3361 (func_calc_desc): Add mpfr_f_f1 union field.
3370 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3371 (test_functions): Add lgamma.
3372 (calc_generic_results): Handle mpfr_f_f1.
3373 * sysdeps/i386/fpu/libm-test-ulps: Update.
3374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3376 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3378 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3379 __mpn_add_n for PowerPC64/POWER7.
3380 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3381 __mpn_sub_n for PowerPC64/POWER7.
3383 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3385 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3386 __mpn_addmul_1 for PowerPC64.
3387 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3388 __mpn_submul_1 for PowerPC64.
3389 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3391 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3394 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3397 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3399 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3401 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3403 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3405 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3406 add multiarch folders.
3407 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3408 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3409 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3410 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3411 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3412 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3413 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3414 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3415 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3416 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3417 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3425 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3428 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3434 multiarch __ieee754_hypot for PowerPC32.
3435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3440 multiarch __ieee754_hypotf for PowerPC32.
3442 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3444 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3445 long_double_symbol only if __logbl is defined.
3446 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3447 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3448 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3449 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3450 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3451 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3452 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3453 path for implementation.
3454 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3455 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3457 logb, and logbl multiarch implementations for PowerPC32.
3458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3463 multiarch logb for PowerPC32.
3464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3469 multiarch logbf for PowerPC32.
3470 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3474 multiarch logbl implementation for PowerPC32.
3476 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3479 and modff multiarch implementations.
3480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3485 multiarch modf for PowerPC32.
3486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3491 multiarch modff for PowerPC32.
3493 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3496 and lrintf multiarch implementations.
3497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3502 multiarch lrint for PowerPC32.
3503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3504 file: multiarch lrintf for PowerPC32.
3506 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3509 and lroundf multiarch implementations.
3510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3517 multiarch lround for PowerPC32.
3518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3519 file: multiarch lroundf for PowerPC32.
3521 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3524 copysign and copysignf multiarch implementations.
3525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3530 file: multiarch copysign for PowerPC32.
3531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3532 file: multiarch copysignf for PowerPC32.
3534 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3537 and truncf multiarch implementations.
3538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3543 multiarch trunc for PowerPC32.
3544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3549 multiarch truncf for PowerPC32.
3551 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3554 and roundf multiarch implementations.
3555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3560 multiarch round for PowerPC32.
3561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3566 multiarch roundf for PowerPC32.
3568 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3571 and floorf multiarch implementations.
3572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3577 multiarch floor for PowerPC32.
3578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3583 multiarch floorf for PowerPC32.
3585 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3588 and ceilf multiarch implementations.
3589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3594 multiarch ceil for PowerPC32.
3595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3600 multiarch ceilf for PowerPC32.
3602 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3604 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3606 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3609 and finitef multiarch implementations.
3610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3615 multiarch finite for PowerPC32.
3616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3619 file: multiarch finitef for PowerPC32.
3621 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3624 and isinff multiarch implementations.
3625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3630 multiarch isinf for PowerPC32.
3631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3634 multiarch isinff for PowerPC32.
3636 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3638 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3639 alias when __isnan is defined.
3640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3641 and isnanf multiarch implementations.
3642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3651 multiarch isnan for PowerPC32.
3652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3657 multiarch isnanf for PowerPC32.
3659 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3662 and sqrtf multiarch implementations.
3663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3668 multiarch sqrt for PowerPC32.
3669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3674 multiarch sqrtf for PowerPC32.
3676 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3679 and llroundf multiarch implementations.
3680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3687 file: multiarch llround for PowerPC32.
3688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3689 file: multiarch llroundf for PowerPC32.
3691 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3694 multiarch PowerPC32 fpu implementations.
3695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3700 multiarch llrint for PowerPC32.
3701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3708 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3712 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3714 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3716 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3718 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3720 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3721 multiarch wordcopy for PPC32.
3722 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3724 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3725 (__libc_ifunc_impl_list): Likewise.
3726 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3727 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3728 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3729 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3730 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3731 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3733 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3735 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3736 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3738 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3740 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3742 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3743 multiarch wcscpy for PPC32.
3744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3747 (__libc_ifunc_impl_list): Likewise.
3748 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3749 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3750 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3751 sysdeps/powerpc/power6/wcscpy.c.
3753 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3755 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3756 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3758 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3760 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3762 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3763 multiarch wcsrchr for PPC32.
3764 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3766 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3767 (__libc_ifunc_impl_list): Likewise.
3768 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3769 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3770 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3771 sysdeps/powerpc/power6/wcsrchr.c.
3773 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3775 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3777 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3779 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3780 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3781 multiarch wcschr for PPc32.
3782 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3784 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3785 (__libc_ifunc_impl_list): Likewise.
3786 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3787 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3788 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3789 sysdeps/powerpc/power6/wcschr.c.
3791 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3793 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3794 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3796 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3797 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3798 file: multiarch strchr for PPC32.
3799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3802 (__libc_ifunc_impl_list): Likewise.
3804 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3806 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3808 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3810 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3812 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3813 multiarch strchrnul for PPC32.
3814 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3816 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3817 (__libc_ifunc_impl_list): Likewise.
3819 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3821 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3823 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3824 multiarch strncasecmp for PPC32.
3825 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3827 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3828 multiarch strncasecmp_l for PPC32.
3829 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3830 strncasecmp multiarch objects.
3831 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3832 (__libc_ifunc_impl_list): Likewise.
3834 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3836 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3838 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3839 multiarch strncasecmp for PPC32.
3840 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3842 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3843 multiarch strcasecmp_l for PPC32.
3844 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3846 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3847 (__libc_ifunc_impl_list): Likewise.
3849 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3851 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3853 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3855 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3856 multiarch strncmp for PPC32.
3857 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3859 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3860 (__libc_ifunc_impl_list): Likewise.
3862 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3864 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3865 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3867 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3868 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3869 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3871 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3872 (__libc_ifunc_impl_list): Likewise.
3874 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3876 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3878 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3880 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3881 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3883 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3884 (__libc_ifunc_impl_list): Likewise.
3886 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3888 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3890 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3892 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3893 multiarch rawmemchr for PPC32.
3894 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3896 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3897 (__libc_ifunc_impl_list): Likewise.
3899 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3901 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3903 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3905 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3906 file: memrchr multiarch for PPC32.
3907 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3909 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3910 (__libc_ifunc_impl_list): Likewise.
3912 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3914 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3915 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3917 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3918 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3919 multiarch memchr for PPC32.
3920 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3922 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3923 (__libc_ifunc_impl_list): Likewise.
3925 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3927 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3928 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3930 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3932 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3933 file: multiarch mempcpy for PPC32.
3934 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3936 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3937 (__libc_ifunc_impl_list): Likewise.
3939 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3941 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3942 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3943 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3944 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3945 multiarch bzero for PPC32.
3946 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3948 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3950 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3951 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3952 file: multiarch memset for PPC32.
3953 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3954 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3955 memset multiarch objects.
3956 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3957 (__libc_ifunc_impl_list): Likewise.
3959 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3961 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3963 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3964 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3966 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3967 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3969 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3970 (__libc_ifunc_impl_list): Likewise.
3972 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3974 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3975 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3976 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3978 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3980 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3982 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3983 multiarch memcpy for PPC32.
3984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3987 (__libc_ifunc_impl_list): Likewise.
3989 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3991 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3992 support multiarch for POWER/PPC32.
3993 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3995 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3997 Implies file to make multiarch folder appers before the fpu and
3998 default folder for power4 configuration.
4000 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4002 * scripts/bench.pl: Append volatile keyword to type.
4004 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4006 * sysdeps/sh/sotruss-lib.c: New file.
4007 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4009 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4013 2013-12-05 Joseph Myers <joseph@codesourcery.com>
4016 * math/w_tgamma.c: Include <errno.h>.
4017 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
4018 * math/w_tgammaf.c: Include <errno.h>.
4019 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
4020 * math/w_tgammal.c: Include <errno.h>.
4021 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
4022 * math/auto-libm-test-in: Do not allow missing errno on tgamma
4023 underflow. Add more tgamma tests.
4024 * math/auto-libm-test-out: Regenerated.
4025 * sysdeps/i386/fpu/libm-test-ulps: Update.
4026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4028 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4029 sin, sinh, tan, tanh, tgamma, y0 and y1.
4030 * math/auto-libm-test-out: Regenerated.
4031 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4032 (TEST_COND_x86): Likewise.
4033 (M_E2l): Remove macro.
4035 (M_2_SQRT_PIl): Likewise.
4036 (M_SQRT_PIl): Likewise.
4037 (M_1_DIV_El): Likewise.
4038 (log_test_data): Use AUTO_TESTS_f_f.
4039 (log10_test_data): Likewise.
4040 (log1p_test_data): Likewise.
4041 (log2_test_data): Likewise.
4042 (sin_test_data): Likewise.
4043 (sin_tonearest_test_data): Likewise.
4044 (sin_towardzero_test_data): Likewise.
4045 (sin_downward_test_data): Likewise.
4046 (sin_upward_test_data): Likewise.
4047 (sinh_test_data): Likewise.
4048 (sinh_tonearest_test_data): Likewise.
4049 (sinh_towardzero_test_data): Likewise.
4050 (sinh_downward_test_data): Likewise.
4051 (sinh_upward_test_data): Likewise.
4052 (tan_test_data): Likewise.
4053 (tan_tonearest_test_data): Likewise.
4054 (tan_towardzero_test_data): Likewise.
4055 (tan_downward_test_data): Likewise.
4056 (tan_upward_test_data): Likewise.
4057 (tanh_test_data): Likewise.
4058 (tgamma_test_data): Likewise.
4059 (y0_test_data): Likewise.
4060 (y1_test_data): Likewise.
4061 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4062 (special_real_inputs): Add pi/4.
4063 * sysdeps/i386/fpu/libm-test-ulps: Update.
4064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4066 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4068 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4069 "longjmp_target" static probes.
4070 (__longjmp): Rename to __longjmp_symbol.
4071 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4072 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4073 on which longjmp to generate.
4074 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4075 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4077 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4078 (__sigjmp_save): Rename to __sigjmp_save_symbol.
4079 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4080 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4081 and __sigjmp_save_symbol based on which sigsetjmp to generated.
4082 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4084 __longjmp_symbol based on which __longjmp to generate.
4085 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4087 (setjmp): Rename to setjmp_symbol.
4088 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4089 (_setjmp): Rename to _setjmp_symbol.
4090 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4091 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4092 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4093 which setjmp to generate.
4094 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4095 "longjmp_target" static probes.
4097 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4099 * benchtests/README: Add note about output arguments.
4100 * benchtests/bench-sincos.c: Remove file.
4101 * benchtests/sincos-inputs: New file.
4102 * scripts/bench.pl: Identify output arguments and define
4103 static variables for them.
4105 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4108 * Makefile (INSTALL): Add install-plain.texi as the primary
4110 * manual/install-plain.texi: New file.
4111 * manual/install.texi: Include node directive only for
4112 non-plaintext output.
4114 2013-12-04 Joseph Myers <joseph@codesourcery.com>
4116 * stdlib/longlong.h: Update from GCC.
4120 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4121 * math/w_j0f.c (y0f): Likewise.
4122 * math/w_j0l.c (__y0l): Likewise.
4123 * math/w_j1.c (y1): Likewise.
4124 * math/w_j1f.c (y1f): Likewise.
4125 * math/w_j1l.c (__y1l): Likewise
4126 * math/w_jn.c (yn): Likewise.
4127 * math/w_jnf.c (ynf): Likewise.
4128 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4129 Bessel function pole errors in _POSIX_ mode. Use NAN as return
4130 value for Bessel function domain errors outside _SVID_ mode.
4131 Adjust sign of return value for yn (negative integer, 0).
4132 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4133 by zero in return for negative x and set sign appropriately for
4135 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4136 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4137 * math/libm-test.inc (y0_test_data): Add more tests and adjust
4138 expectations in error cases.
4139 (y1_test_data): Likewise.
4140 (yn_test_data): Likewise.
4141 * sysdeps/i386/fpu/libm-test-ulps: Update.
4142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4144 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4146 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4147 "64" to "64-v1". Add "64-v2".
4148 (abi-64-options): Rename to ...
4149 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
4150 (abi-64-condition): Rename to ...
4151 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
4152 (abi-64-ld-soname): Rename to ...
4153 (abi-64-v1-ld-soname): ... this.
4154 (abi-64-v2-options): Define.
4155 (abi-64-v2-condition): Likewise.
4156 (abi-64-v2-ld-soname): Likewise.
4157 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4158 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4163 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4164 Alan Modra <amodra@gmail.com>
4166 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4167 New versions for use with the ELFv2 ABI.
4168 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4169 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4171 (struct La_ppc64v2_retval): Likewise.
4172 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4173 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4174 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4175 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4176 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4177 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4178 Do not save or restore CR.
4179 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4180 (_dl_profile_resolve): Do no save or restore CR. Support extended
4181 return values for ELFv2 ABI. Fix location of FPR return registers.
4182 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4183 updated values for _CALL_ELF == 2.
4184 (La_regs, La_retval, int_retval): Likewise.
4186 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4188 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4189 (FRAME_MIN_SIZE_PARM): Likewise.
4190 (FRAME_BACKCHAIN): Likewise.
4191 (FRAME_CR_SAVE): Likewise.
4192 (FRAME_LR_SAVE): Likewise.
4193 (FRAME_TOC_SAVE): Likewise.
4194 (FRAME_PARM_SAVE): Likewise.
4195 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4196 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4197 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4198 (call_mcount_parm_offset): New macro.
4199 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4200 (PROF): Use symbolic stack frame offsets.
4201 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4202 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4203 Redefine in terms of FRAME_MIN_SIZE.
4204 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4205 (_dl_profile_resolve): Likewise. Update comment.
4206 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4207 symbols stack frame offsets.
4208 (__sigsetjmp): Likewise.
4209 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4210 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4211 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4212 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4215 (FRAME_BACKCHAIN): Remove.
4216 (FRAME_CR_SAVE): Likewise.
4217 (FRAME_LR_SAVE): Likewise.
4218 (FRAME_COMPILER_DW): Likewise.
4219 (FRAME_LINKER_DW): Likewise.
4220 (FRAME_TOC_SAVE): Likewise.
4221 (FRAME_PARM_SAVE): Likewise.
4222 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4223 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4224 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4226 (CHECK_SP): Use symbolic stack frame offsets.
4227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4228 zone" instead of caller's parameter save area for temp storage.
4229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4230 Likewise. Also, use symbolic stack frame offsets.
4231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4232 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4233 our own stack frame instead of the caller's.
4234 (__socket): Use symbolic stack frame offsets.
4236 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4237 Alan Modra <amodra@gmail.com>
4239 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4241 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4242 PPC64_LOCAL_ENTRY_OFFSET): Define.
4243 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4245 (elf_machine_fixup_plt): Call it.
4246 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4248 (elf_machine_rela): Update call to elf_machine_plt_conflict.
4249 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4250 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
4251 r2 before calling target.
4253 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4254 Alan Modra <amodra@gmail.com>
4256 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4257 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4258 versions of macros to support ELFv2 ABI.
4259 (LOCALENTRY): New macro.
4260 (ENTRY, EALIGN): Use it.
4261 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4262 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4263 fall through into ENTRY entry point.
4264 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4265 Only define if _CALL_ELF != 2.
4267 (elf_machine_matches_host): Verify ABI version matches.
4268 (RTLD_START): Use LOCALENTRY.
4269 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4270 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4271 (PLT_ENTRY_WORDS): New macro.
4272 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4273 (elf_machine_runtime_setup): Support ELFv2 ABI.
4274 (elf_machine_fixup_plt): Likewise.
4275 (elf_machine_plt_conflict): Likewise.
4276 (resolve_ifunc): Likewise.
4277 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4278 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4281 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4283 (makecontext): Support ELFv2 ABI.
4284 * elf/elf.h (EF_PPC64_ABI): Define.
4286 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4288 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4289 New assembler macro.
4290 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4291 [ASSEMBLER] (ENTRY): ... but instead here ...
4292 [ASSEMBLER] (EALIGN): ... and here.
4293 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4294 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4295 [!ASSEMBLER] (ENTRY_2): Use it.
4296 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4297 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4298 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4299 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4300 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4302 Use PPC64_LOAD_FUNCPTR.
4304 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4306 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4308 2013-12-04 Alan Modra <amodra@gmail.com>
4310 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4311 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4312 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4313 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4315 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4316 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4317 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4318 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4319 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4320 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4322 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4325 (__makecontext): Fix incorrect CFI when backtracing out of
4326 context created via makecontext.
4327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4328 (__setcontext): Fix incorrect CFI during switch to new context.
4329 (__novec_setcontext): Likewise.
4331 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4334 * time/strptime_l.c (__strptime_internal): Allow modifiers
4336 * time/tst-strptime.c (day_tests): Add testcase.
4339 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4341 * scripts/bench.pl: Skip over blank lines.
4343 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4346 * manual/time.texi (Calendar Time): Clarify what timezone functions
4349 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4353 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4355 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4357 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4358 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4359 * debug/memset_chk.c (__memset_chk): Likewise.
4360 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4361 * debug/strncpy_chk.c: Likewise.
4363 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4367 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4368 (__ieee754_exp): For possibly underflowing results, check size of
4369 result and force underflow exception if required.
4370 * math/auto-libm-test-in: Add more tests of exp.
4371 * math/auto-libm-test-out: Regenerated.
4372 * sysdeps/i386/fpu/libm-test-ulps: Update.
4373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4376 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4377 * math/w_exp2f.c (__exp2f): Likewise.
4378 * math/w_exp2l.c (__exp2l): Likewise.
4379 * math/auto-libm-test-in: Do not allow missing errno on exp2
4381 * math/auto-libm-test-out: Regenerated.
4383 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
4386 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4387 handle filename validation.
4388 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4391 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4394 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4395 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4396 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4398 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4399 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4400 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4402 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4403 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4404 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4405 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4406 Add more erfc tests.
4407 * math/auto-libm-test-out: Regenerated.
4408 * sysdeps/i386/fpu/libm-test-ulps: Update.
4409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4411 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4412 exp2, expm1, j0 and j1.
4413 * math/auto-libm-test-out: Regenerated.
4414 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4415 (erfc_test_data): Likewise.
4416 (exp_test_data): Likewise.
4417 (exp_tonearest_test_data): Likewise.
4418 (exp_towardzero_test_data): Likewise.
4419 (exp_downward_test_data): Likewise.
4420 (exp_upward_test_data): Likewise.
4421 (exp10_test_data): Likewise.
4422 (exp2_test_data): Likewise.
4423 (expm1_test_data): Likewise.
4424 (j0_test_data): Likewise.
4425 (j1_test_data): Likewise.
4426 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4427 (input_flag_type): Add flag_xfail_rounding.
4428 (input_flags): Add xfail-rounding.
4429 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4430 (output_for_one_input_case): Handle flag_xfail_rounding.
4431 * sysdeps/i386/fpu/libm-test-ulps: Update.
4432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4434 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4437 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4440 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4443 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4444 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4445 (STAP_PROBE0): New macro.
4446 (STAP_PROBE1): Likewise.
4447 (STAP_PROBE2): Likewise.
4448 (STAP_PROBE3): Likewise.
4449 (STAP_PROBE4): Likewise.
4451 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
4453 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4455 2013-12-02 Steve Ellcey <sellcey@mips.com>
4457 * benchtests/Makefile (bench): Add sqrt.
4458 (LDLIBS-bench-sqrt): New.
4459 * benchtests/sqrt-input: New.
4461 2013-12-02 Pavel Simerda <psimerda@redhat.com>
4463 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4464 (GAIH_EAI): Likewise.
4465 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4466 (gaih_inet): Likewise.
4467 (getaddrinfo): Don't use GAIH_EAI.
4469 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4470 (struct gaih): Remove definition.
4472 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4474 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4475 Use HERRNOP directly.
4477 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4481 2013-11-30 Joseph Myers <joseph@codesourcery.com>
4483 * math/gen-auto-libm-tests.c (test_functions): Add more
4484 single-argument functions.
4485 (special_fill_pi_2): New function.
4486 (special_fill_minus_pi_2): Likewise.
4487 (special_fill_pi_6): Likewise.
4488 (special_fill_minus_pi_6): Likewise.
4489 (special_fill_pi_3): Likewise.
4490 (special_fill_2pi_3): Likewise.
4491 (special_fill_e): Likewise.
4492 (special_fill_1_e): Likewise.
4493 (special_fill_e_minus_1): Likewise.
4494 (special_real_inputs): Add more special inputs.
4495 (output_for_one_input_case): Do not require ERANGE on underflow to
4496 zero if round-to-nearest result does not underflow to zero, unless
4497 exact results required.
4498 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4499 atan, atanh, cbrt, cos and cosh.
4500 * math/auto-libm-test-out: Regenerated.
4501 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4502 (acos_tonearest_test_data): Likewise.
4503 (acos_towardzero_test_data): Likewise.
4504 (acos_downward_test_data): Likewise.
4505 (acos_upward_test_data): Likewise.
4506 (acosh_test_data): Likewise.
4507 (asin_test_data): Likewise.
4508 (asin_tonearest_test_data): Likewise.
4509 (asin_towardzero_test_data): Likewise.
4510 (asin_upward_test_data): Likewise.
4511 (asinh_test_data): Likewise.
4512 (atan_test_data): Likewise.
4513 (atanh_test_data): Likewise.
4514 (cbrt_test_data): Likewise.
4515 (cos_test_data): Likewise.
4516 (cos_tonearest_test_data): Likewise.
4517 (cos_towardzero_test_data): Likewise.
4518 (cos_downward_test_data): Likewise.
4519 (cos_upward_test_data): Likewise.
4520 (cosh_test_data): Likewise.
4521 (cosh_tonearest_test_data): Likewise.
4522 (cosh_towardzero_test_data): Likewise.
4523 (cosh_downward_test_data): Likewise.
4524 (cosh_upward_test_data): Likewise.
4525 * sysdeps/i386/fpu/libm-test-ulps: Update.
4526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4528 2013-11-29 Joseph Myers <joseph@codesourcery.com>
4531 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4532 * math/w_exp10f.c (__exp10f): Likewise.
4533 * math/w_exp10l.c (__exp10l): Likewise.
4534 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4535 errno settings in existing tests.
4538 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4539 precision control set to double precision.
4540 * sysdeps/i386/fpu/w_sqrt.c: New file.
4541 * math/auto-libm-test-in: Add more tests.
4542 * math/auto-libm-test-out: Update.
4544 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4545 (sqrt_test_tonearest): New function.
4546 (sqrt_towardzero_test_data): New variable.
4547 (sqrt_test_towardzero): New function.
4548 (sqrt_downward_test_data): New variable.
4549 (sqrt_test_downward): New function.
4550 (sqrt_upward_test_data): New variable.
4551 (sqrt_test_upward): New function.
4552 (main): Call the new functions.
4554 * math/gen-auto-libm-tests.c: New file.
4555 * math/auto-libm-test-in: Likewise.
4556 * math/auto-libm-test-out: New generated file.
4557 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4559 (%beautify): Add generated representations of zero.
4560 (top level): Set $auto_input and call parse_auto_input.
4561 (beautify): Remove trailing "f" from hex float constants.
4562 (parse_args): Handle XFAIL_TEST.
4563 (convert_condition): New function.
4564 (or_value): Likewise.
4565 (or_cond_value): Likewise.
4566 (generate_testfile): Handle AUTO_TESTS_* lines.
4567 (parse_auto_input): New function.
4568 * math/libm-test.inc (XFAIL_TEST): New macro.
4569 (ERRNO_UNCHANGED): Update value.
4570 (ERRNO_EDOM): Likewise.
4571 (ERRNO_ERANGE): Likewise.
4572 (IGNORE_RESULT): Likewise.
4573 (TEST_COND_flt_32): New macro.
4574 (TEST_COND_dbl_64): Likewise.
4575 (TEST_COND_ldbl_96_intel): Likewise.
4576 (TEST_COND_ldbl_96_m68k): Likewise.
4577 (TEST_COND_ldbl_128): Likewise.
4578 (TEST_COND_ldbl_128ibm): Likewise.
4579 (TEST_COND_long32): Likewise.
4580 (TEST_COND_long64): Likewise.
4581 (TEST_COND_before_rounding): Likewise.
4582 (TEST_COND_after_rounding): Likewise.
4583 (enable_test): Handle XFAIL_TEST flag.
4584 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4585 with finite results.
4586 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4589 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4590 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4593 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4594 __tls_get_addr_internal instead of __tls_get_offset in order to
4595 avoid GOT pointer dependency. Make rtld export
4596 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4597 __tls_get_addr since we are a __tls_get_offset platform.
4598 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4599 GOT pointer being set up before.
4600 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4602 2013-11-28 Joseph Myers <joseph@codesourcery.com>
4604 * manual/math.texi (Errors in Math Functions): Document accuracy
4608 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4609 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4610 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4611 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4612 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4613 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4614 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4615 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4616 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4617 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4618 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4619 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4620 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4621 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4622 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4623 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4625 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4626 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4627 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4628 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4629 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4631 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4633 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4635 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4636 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4637 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4638 atomic-feupdateenv and flt-rounds.
4639 * sysdeps/powerpc/nofpu/Versions (libc): Add
4640 __atomic_feholdexcept, __atomic_feclearexcept,
4641 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4642 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4643 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4644 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4645 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4650 * manual/arith.texi (FP Exceptions): Document that exceptions may
4651 not be raised when matherr is used.
4652 (Math Error Reporting): Document overflow in directed rounding
4653 modes. Document that errno may not be set when finite values are
4654 returned on overflow. Document intent to set errno on underflow
4655 only for underflow to zero.
4658 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4659 round-to-nearest then adjust result for other rounding modes.
4660 * include/fenv.h (fegetround): Use libm_hidden_proto.
4661 * math/fegetround.c (fegetround): Use libm_hidden_def.
4662 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4663 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4664 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4665 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4667 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4668 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4669 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4670 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4672 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4675 * nss/Versions (libnss_files): Add
4676 _nss_files_gethostbyname3_r.
4677 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4679 (HOST_DB_LOOKUP): Remove macro.
4680 (_nss_files_gethostbyname_r): Implement function without the
4681 HOST_DB_LOOKUP macro.
4682 (_nss_files_gethostbyname2_r): Likewise.
4684 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
4686 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4688 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
4690 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4691 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4694 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4696 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4697 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4698 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4699 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4700 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4701 __fe_nomask_env_priv and attribute_hidden.
4702 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4703 (libc_feupdateenv_test_ppc): Likewise.
4704 (libc_feresetround_ppc): Likewise.
4705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4706 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4707 compat_symbol macro.
4708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4709 (__fe_nomask_env): Likewise.
4710 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4712 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4714 * string/Makefile: Remove ifunc tests.
4715 * string/test-string.h: Define TEST_IFUNC.
4716 * string/test-bcopy-ifunc.c: Remove.
4717 * string/test-bzero-ifunc.c: Likewise.
4718 * string/test-memccpy-ifunc.c: Likewise.
4719 * string/test-memchr-ifunc.c: Likewise.
4720 * string/test-memcmp-ifunc.c: Likewise.
4721 * string/test-memcpy-ifunc.c: Likewise.
4722 * string/test-memmem-ifunc.c: Likewise.
4723 * string/test-memmove-ifunc.c: Likewise.
4724 * string/test-mempcpy-ifunc.c: Likewise.
4725 * string/test-memrchr-ifunc.c: Likewise.
4726 * string/test-memset-ifunc.c: Likewise.
4727 * string/test-rawmemchr-ifunc.c: Likewise.
4728 * string/test-stpcpy-ifunc.c: Likewise.
4729 * string/test-stpncpy-ifunc.c: Likewise.
4730 * string/test-strcasecmp-ifunc.c: Likewise.
4731 * string/test-strcasestr-ifunc.c: Likewise.
4732 * string/test-strcat-ifunc.c: Likewise.
4733 * string/test-strchr-ifunc.c: Likewise.
4734 * string/test-strchrnul-ifunc.c: Likewise.
4735 * string/test-strcmp-ifunc.c: Likewise.
4736 * string/test-strcpy-ifunc.c: Likewise.
4737 * string/test-strcspn-ifunc.c: Likewise.
4738 * string/test-strlen-ifunc.c: Likewise.
4739 * string/test-strncasecmp-ifunc.c: Likewise.
4740 * string/test-strncat-ifunc.c: Likewise.
4741 * string/test-strncmp-ifunc.c: Likewise.
4742 * string/test-strncpy-ifunc.c: Likewise.
4743 * string/test-strnlen-ifunc.c: Likewise.
4744 * string/test-strpbrk-ifunc.c: Likewise.
4745 * string/test-strrchr-ifunc.c: Likewise.
4746 * string/test-strspn-ifunc.c: Likewise.
4747 * string/test-strstr-ifunc.c: Likewise.
4749 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4751 * benchtests/Makefile: Remove ifunc tests.
4752 * benchtests/bench-string.h: Define TEST_IFUNC.
4753 * benchtests/bench-bcopy-ifunc.c: Remove.
4754 * benchtests/bench-bzero-ifunc.c: Likewise.
4755 * benchtests/bench-memccpy-ifunc.c: Likewise.
4756 * benchtests/bench-memchr-ifunc.c: Likewise.
4757 * benchtests/bench-memcmp-ifunc.c: Likewise.
4758 * benchtests/bench-memcpy-ifunc.c: Likewise.
4759 * benchtests/bench-memmem-ifunc.c: Likewise.
4760 * benchtests/bench-memmove-ifunc.c: Likewise.
4761 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4762 * benchtests/bench-memrchr-ifunc.c: Likewise.
4763 * benchtests/bench-memset-ifunc.c: Likewise.
4764 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4765 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4766 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4767 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4768 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4769 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4770 * benchtests/bench-strcat-ifunc.c: Likewise.
4771 * benchtests/bench-strchr-ifunc.c: Likewise.
4772 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4773 * benchtests/bench-strcmp-ifunc.c: Likewise.
4774 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4775 * benchtests/bench-strcpy-ifunc.c: Likewise.
4776 * benchtests/bench-strcspn-ifunc.c: Likewise.
4777 * benchtests/bench-strlen-ifunc.c: Likewise.
4778 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4779 * benchtests/bench-strncat-ifunc.c: Likewise.
4780 * benchtests/bench-strncmp-ifunc.c: Likewise.
4781 * benchtests/bench-strncpy-ifunc.c: Likewise.
4782 * benchtests/bench-strnlen-ifunc.c: Likewise.
4783 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4784 * benchtests/bench-strrchr-ifunc.c: Likewise.
4785 * benchtests/bench-strsep-ifunc.c: Likewise.
4786 * benchtests/bench-strspn-ifunc.c: Likewise.
4787 * benchtests/bench-strstr-ifunc.c: Likewise.
4789 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4791 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4793 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4795 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4796 * rt/aio.h: Likewise.
4797 * sysdeps/gnu/bits/utmp.h: Likewise.
4798 * sysdeps/gnu/bits/utmpx.h: Likewise.
4799 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4800 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4801 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4802 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4803 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4804 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4805 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4806 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4807 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4808 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4809 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4810 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4811 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4813 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4814 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4815 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4816 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4817 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4818 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4819 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4820 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4821 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4822 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4823 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4825 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4826 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4827 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4828 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4829 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4830 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4831 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4832 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4833 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4834 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4835 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4836 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4837 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4838 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4839 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4840 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4842 2013-11-25 Carlos O'Donell <carlos@redhat.com>
4845 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4846 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4848 2013-11-25 Joseph Myers <joseph@codesourcery.com>
4850 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4851 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4854 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4856 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4857 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4858 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4859 (__fesetround): Remove define.
4860 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4861 rounding and exceptions handling.
4862 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4863 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4864 (__fe_nomask_env): Likewise.
4865 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4866 __fegetround instead of fegetround.
4867 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4868 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4870 2013-11-21 Roland McGrath <roland@hack.frob.com>
4872 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4875 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4877 2013-11-21 Meador Inge <meadori@codesourcery.com>
4880 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4881 (encrypt_r): Likewise.
4882 * malloc/obstack.h (obstack_free): Likewise.
4883 * posix/unistd.h (encrypt): Likewise.
4885 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4887 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4888 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4889 DL_CALL_DT_FINI() that call the functions directly.
4890 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4891 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4892 * elf/dl-fini.c: Likewise.
4894 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
4896 * malloc/hooks.c (memalign_check): Add alignment rounding.
4897 * malloc/malloc.c (_mid_memalign): New function.
4898 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4899 Implement by calling _mid_memalign.
4900 * manual/probes.texi (Memory Allocation Probes): Remove
4901 memory_valloc_retry and memory_pvalloc_retry.
4903 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4905 * locale/programs/locarchive.c (open_archive): Add const
4906 qualifier to ARCHIVEFNAME and copy default fname to
4910 * libio/tst-widetext.input: Rename Oriya to Odia.
4911 * locale/iso-639.def: Likewise.
4913 * manual/probes.texi (Mathematical Function Probes): Add
4914 documentation for sin, cos, asin and acos probes.
4915 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4916 (__sin32): Add slowasin probe.
4917 (__cos32): Add slowacos probe.
4918 (__mpsin): Add slowsin probe.
4919 (__mpcos): Add slowcos probe.
4921 2013-11-19 Joseph Myers <joseph@codesourcery.com>
4924 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4925 thread-local __sim_exceptions_thread and global
4926 __sim_exceptions_global.
4927 (__sim_disabled_exceptions): Change to thread-local
4928 __sim_disabled_exceptions_thread and global
4929 __sim_disabled_exceptions_global.
4930 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4931 and global __sim_round_mode_global.
4932 (__simulate_exceptions): Use thread-local floating-point state and
4933 set global state from it as needed.
4934 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4935 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4936 __sim_round_mode_thread.
4937 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4938 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4939 and global __sim_exceptions_global.
4940 (__sim_disabled_exceptions): Change to thread-local
4941 __sim_disabled_exceptions_thread and global
4942 __sim_disabled_exceptions_global.
4943 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4944 and global __sim_round_mode_global.
4945 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4946 (SIM_SET_GLOBAL): Likewise.
4947 * sysdeps/powerpc/soft-fp/sfp-machine.h
4948 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4949 __sim_round_mode_thread.
4950 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4951 __sim_disabled_exceptions_thread.
4952 (__sim_exceptions): Change to __sim_exceptions_thread.
4953 (__sim_disabled_exceptions): Change to
4954 __sim_disabled_exceptions_thread.
4955 (__sim_round_mode): Change to __sim_round_mode_thread.
4956 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4957 thread-local floating-point state and set global state from it as
4959 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4960 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4961 (__sim_disabled_exceptions): Remove extern declaration.
4962 (feenableexcept): Use thread-local floating-point state and set
4963 global state from it as needed.
4964 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4966 (__sim_disabled_exceptions): Likewise.
4967 (__sim_round_mode): Likewise.
4968 (__fegetenv): Use thread-local floating-point state.
4969 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4970 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4971 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4972 floating-point state and set global state from it as needed.
4973 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4974 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4975 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4977 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4978 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4980 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4981 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4982 Use __sim_round_mode_thread.
4983 * math/test-fenv-tls.c: New file.
4984 * math/Makefile (tests): Add test-fenv-tls.
4985 ($(objpfx)test-fenv-tls): Depend on
4986 $(common-objpfx)nptl/libpthread.so.
4988 2013-11-19 Andreas Schwab <schwab@suse.de>
4990 * locale/programs/locale.c (show_info): Decode wordarray elements.
4991 * locale/categories.def (LC_MONETARY): Add element for
4992 _NL_MONETARY_CRNCYSTR.
4993 * locale/C-monetary.c (conversion_rate): New variable.
4994 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4997 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4999 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5000 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5002 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5004 * elf/Makefile (tst-auxv): New test.
5005 * elf/tst-auxv.c: New
5006 * elf/rtld.c (dl_main): Adjust AT_EXECFN
5008 2013-11-18 Joseph Myers <joseph@codesourcery.com>
5010 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5011 (hidden_proto): Caller changed.
5012 (hidden_tls_proto): New macro.
5013 (libc_hidden_tls_proto): Likewise.
5014 (rtld_hidden_tls_proto): Likewise.
5015 (libm_hidden_tls_proto): Likewise.
5016 (libresolv_hidden_tls_proto): Likewise.
5017 (librt_hidden_tls_proto): Likewise.
5018 (libdl_hidden_tls_proto): Likewise.
5019 (libnss_files_hidden_tls_proto): Likewise.
5020 (libnsl_hidden_tls_proto): Likewise.
5021 (libnss_nisplus_hidden_tls_proto): Likewise.
5022 (libutil_hidden_tls_proto): Likewise.
5024 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
5027 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5028 (decompose_rpath): Defer expansion to fillin_rpath.
5029 (_dl_init_paths): Pass linkmap to fillin_rpath.
5031 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5033 * benchtests/Makefile: Add strsep.
5034 * benchtests/bench-strsep.c: New file: strsep benchtest.
5035 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5037 2013-11-18 Andreas Schwab <schwab@suse.de>
5039 * locale/programs/locale.c (show_info) [case byte]: Check for
5040 '\377' instead of '\177'.
5041 * locale/C-monetary.c (not_available): Always use "\377".
5042 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5043 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
5044 detect unavailable sign_posn locale elements.
5045 * locale/localeconv.c (__localeconv): For grouping and
5046 mon_grouping handle "\177" and "\377" like no grouping.
5047 (INT_ELEM): New macro. Use it to set all numeric members.
5048 * locale/programs/ld-monetary.c (monetary_read)
5049 <tok_mon_grouping>: Normalize single -1 to the empty string.
5050 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5053 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5056 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5057 when we match (nil).
5058 * stdio-common/tst-sscanf.c (struct test): Add testcase.
5060 2013-11-16 Joseph Myers <joseph@codesourcery.com>
5062 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5063 (NO_TEST_INLINE): Update value.
5064 (ERRNO_UNCHANGED): Likewise.
5065 (ERRNO_EDOM): Likewise.
5066 (ERRNO_ERANGE): Likewise.
5067 (IGNORE_RESULT): Likewise.
5068 (check_float_internal): Check signs of NaN results if
5070 (check_complex): Pass TEST_NAN_SIGN flag through to second
5071 check_float_internal call.
5072 (copysign_test_data): Add tests with quiet NaNs as second
5073 argument. Use TEST_NAN_SIGN.
5074 (fabs_test_data): Add test of negative quiet NaN argument. Use
5076 (signbit_test_data): Add tests of quiet NaN argument.
5077 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5079 * math/gen-libm-test.pl (show_exceptions): Take extra argument
5081 (parse_args): Handle function results specified as IGNORE.
5082 * math/libm-test.inc (IGNORE_RESULT): New macro.
5083 (check_float_internal): Do not check numerical result if flag
5085 (check_complex): Pass through IGNORE_RESULT to second
5086 check_float_internal call.
5087 (check_int): Do not check numerical result if flag IGNORE_RESULT
5089 (check_long): Likewise.
5090 (check_bool): Likewise.
5091 (check_longlong): Likewise.
5092 (lrint_test_data): Add tests of infinite and NaN arguments.
5093 (lrint_tonearest_test_data): Likewise.
5094 (lrint_towardzero_test_data): Likewise.
5095 (lrint_downward_test_data): Likewise.
5096 (lrint_upward_test_data): Likewise.
5097 (llrint_test_data): Likewise.
5098 (llrint_tonearest_test_data): Likewise.
5099 (llrint_towardzero_test_data): Likewise.
5100 (llrint_downward_test_data): Likewise.
5101 (llrint_upward_test_data): Likewise.
5102 (lround_test_data): Likewise.
5103 (llround_test_data): Likewise.
5105 * math/libm-test.inc (NO_TEST_INLINE): New macro.
5106 (ERRNO_UNCHANGED): Update value.
5107 (ERRNO_EDOM): Likewise.
5108 (ERRNO_ERANGE): Likewise.
5109 (NO_TEST_INLINE_FLOAT): New macro.
5110 (NO_TEST_INLINE_DOUBLE): Likewise.
5111 (enable_test): New function.
5112 (RUN_TEST_f_f): Check enable_test before running test.
5113 (RUN_TEST_2_f): Likewise.
5114 (RUN_TEST_fff_f): Likewise.
5115 (RUN_TEST_c_f): Likewise.
5116 (RUN_TEST_f_f1): Likewise.
5117 (RUN_TEST_fF_f1): Likewise.
5118 (RUN_TEST_fI_f1): Likewise.
5119 (RUN_TEST_ffI_f1): Likewise.
5120 (RUN_TEST_c_c): Likewise.
5121 (RUN_TEST_cc_c): Likewise.
5122 (RUN_TEST_f_i): Likewise.
5123 (RUN_TEST_f_i_tg): Likewise.
5124 (RUN_TEST_ff_i_tg): Likewise.
5125 (RUN_TEST_f_b): Likewise.
5126 (RUN_TEST_f_b_tg): Likewise.
5127 (RUN_TEST_f_l): Likewise.
5128 (RUN_TEST_f_L): Likewise.
5129 (RUN_TEST_fFF_11): Likewise.
5130 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5132 (cosh_test_data): Likewise.
5133 (exp_test_data): Likewise.
5134 (expm1_test_data): Likewise.
5135 (hypot_test_data): Likewise.
5136 (pow_test_data): Likewise.
5137 (sinh_test_data): Likewise.
5138 (tanh_test_data): Likewise.
5139 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5142 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5143 tests with quiet NaN input and output.
5144 (acosh_test_data): Likewise.
5145 (asin_test_data): Likewise.
5146 (asinh_test_data): Likewise.
5147 (atan_test_data): Likewise.
5148 (atanh_test_data): Likewise.
5149 (atan2_test_data): Likewise.
5150 (cbrt_test_data): Likewise.
5151 (cos_test_data): Likewise.
5152 (cosh_test_data): Likewise.
5153 (erf_test_data): Likewise.
5154 (erfc_test_data): Likewise.
5155 (exp_test_data): Likewise.
5156 (exp10_test_data): Likewise.
5157 (exp2_test_data): Likewise.
5158 (expm1_test_data): Likewise.
5159 (hypot_test_data): Likewise.
5160 (j0_test_data): Likewise.
5161 (j1_test_data): Likewise.
5162 (jn_test_data): Likewise.
5163 (lgamma_test_data): Likewise.
5164 (log_test_data): Likewise.
5165 (log10_test_data): Likewise.
5166 (log1p_test_data): Likewise.
5167 (log2_test_data): Likewise.
5168 (pow_test_data): Likewise.
5169 (scalb_test_data): Likewise.
5170 (sin_test_data): Likewise.
5171 (sincos_test_data): Likewise.
5172 (sinh_test_data): Likewise.
5173 (tan_test_data): Likewise.
5174 (tanh_test_data): Likewise.
5175 (tgamma_test_data): Likewise.
5176 (y0_test_data): Likewise.
5177 (y1_test_data): Likewise.
5178 (yn_test_data): Likewise.
5181 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5182 argument being NaN and avoid computations with second argument in
5184 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5185 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5186 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5188 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5190 * locale/iso-639.def: Add Chitwani Tharu (the).
5192 2013-11-14 Andreas Schwab <schwab@suse.de>
5194 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5195 word instead of empty string.
5197 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5200 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5202 (__fe_nomask_env): Likewise.
5204 2013-11-13 Steve Ellcey <sellcey@mips.com>
5206 * benchtests/bench-timing.h: Include time.h.
5208 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5211 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5213 * sysdeps/unix/sysv/linux/configure: Regenerated.
5215 2013-11-13 Joseph Myers <joseph@codesourcery.com>
5218 * stdlib/strtod_l.c (round_and_return): Do not consider
5219 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5220 exponent one less than half the least subnormal exponent.
5221 * stdlib/test-strtod-round-data: Add more tests.
5222 * stdlib/tst-strtod-round.c (tests): Regenerated.
5224 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5227 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5228 (__fe_mask_env): Likewise.
5229 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5230 libm_hidden_proto and add function prototype.
5231 (__fe_mask_env): Add function prototype.
5232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5233 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5235 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5237 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5239 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5241 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
5242 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5244 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5246 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5247 of htab_find_slot().
5249 2013-11-11 David S. Miller <davem@davemloft.net>
5252 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5253 symbol in the non-vis3 case in static builds.
5254 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5255 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5256 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5257 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5259 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5262 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5265 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5267 * benchtests/Makefile: Add bench-strtod.
5268 * benchtests/bench-strtod.c: New file: strtod benchtest
5270 2013-11-11 Andreas Schwab <schwab@suse.de>
5273 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5274 terminating NUL in key length.
5276 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5278 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5279 Add artificial ODP entry for vDSO symbol for PPC64.
5280 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5281 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5283 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5286 * nss/getent.c (services_keys): Recognize services starting with digit.
5288 2013-11-06 David S. Miller <davem@davemloft.net>
5291 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5292 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5294 2013-11-06 Will Newton <will.newton@linaro.org>
5296 * manual/memory.texi (Malloc Examples): Remove register
5297 keyword from examples.
5299 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
5301 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
5303 2013-11-04 Joseph Myers <joseph@codesourcery.com>
5306 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5307 depending on [__GCC_IEC_559 > 0].
5308 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5309 depending on [__GCC_IEC_559_COMPLEX > 0].
5311 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
5313 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5316 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
5318 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5320 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
5323 * malloc/malloc (malloc_info): Do not handle first bin as
5326 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
5328 * locale/iso-639.def: Add Central Nahuatl (nhn).
5330 2013-11-01 Bruno Haible <bruno@clisp.org>
5333 * manual/math.texi (BSD Random): Specify range upper bound as
5336 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
5338 * locale/iso-639.def: Add Meadow Mari (mhr).
5340 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
5342 [BZ #14752], [BZ #15763]
5343 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5345 * rt/tst_shm.c: Add test for escaping directory.
5347 2013-10-31 Andreas Schwab <schwab@suse.de>
5350 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5351 followed by 'x' as part of digit sequence.
5352 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5354 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5357 * configure.ac: allow GNU Make 4.0 and greater.
5358 * configure: Regenerated.
5360 2013-10-30 Will Newton <will.newton@linaro.org>
5363 * malloc/hooks.c (memalign_check): Limit alignment to the
5364 maximum representable power of two.
5365 * malloc/malloc.c (__libc_memalign): Likewise.
5366 * malloc/tst-memalign.c (do_test): Add test for very
5367 large alignment values.
5368 * malloc/tst-posix_memalign.c (do_test): Likewise.
5370 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5373 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5374 (munmap_chunk): Likewise.
5375 (mremap_chunk): Likewise.
5377 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5380 * stdlib/div.c (div): Remove obsolete code.
5381 * stdlib/ldiv.c (ldiv): Likewise.
5382 * stdlib/lldiv.c (lldiv): Likewise.
5384 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5387 * nss/nss_files/files-XXX.c (get_contents_ret): New
5389 (get_contents): New function.
5390 (internal_getent): Use it. Expand size of LINEBUFLEN.
5392 2013-10-30 Mike Frysinger <vapier@gentoo.org>
5394 * configure.in: Moved to ...
5395 * configure.ac: ... here. Change reference to configure.in
5397 * sysdeps/arm/preconfigure.ac: ... here.
5398 configure.in to configure.ac.
5399 * sysdeps/gnu/configure.in: Moved to ...
5400 * sysdeps/gnu/configure.ac: ... here.
5401 * sysdeps/i386/configure.in: Moved to ...
5402 * sysdeps/i386/configure.ac: ... here.
5403 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5404 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5405 * sysdeps/mach/configure.in: Moved to ...
5406 * sysdeps/mach/configure.ac: ... here.
5407 * sysdeps/mach/hurd/configure.in: Moved to ...
5408 * sysdeps/mach/hurd/configure.ac: ... here.
5409 * sysdeps/powerpc/configure.in: Moved to ...
5410 * sysdeps/powerpc/configure.ac: ... here.
5411 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5412 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5413 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5414 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5415 * sysdeps/s390/s390-32/configure.in: Moved to ...
5416 * sysdeps/s390/s390-32/configure.ac: ... here.
5417 * sysdeps/s390/s390-64/configure.in: Moved to ...
5418 * sysdeps/s390/s390-64/configure.ac: ... here.
5419 * sysdeps/sh/configure.in: Moved to ...
5420 * sysdeps/sh/configure.ac: ... here.
5421 * sysdeps/sparc/configure.in: Moved to ...
5422 * sysdeps/sparc/configure.ac: ... here.
5423 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5424 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5425 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5426 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5427 * sysdeps/x86_64/configure.in: Moved to ...
5428 * sysdeps/x86_64/configure.ac: ... here.
5429 * sysdeps/x86_64/preconfigure.in: Moved to ...
5430 * sysdeps/x86_64/preconfigure.ac: ... here.
5431 * aclocal.m4: Change reference to configure.in to configure.ac.
5432 * config.h.in: Likewise.
5433 * manual/install.texi: Likewise.
5434 * manual/maint.texi: Likewise.
5435 * Makefile: Likewise.
5436 * malloc/Makefile: Likewise.
5437 * nscd/Makefile: Likewise.
5438 * Makeconfig: Change reference to configure.in and
5439 preconfigure.in to configure.ac and preconfigure.ac
5441 * INSTALL: Regenerated.
5442 * configure: Likewise.
5443 * sysdeps/gnu/configure: Likewise.
5444 * sysdeps/i386/configure: Likewise.
5445 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5446 * sysdeps/mach/configure: Likewise.
5447 * sysdeps/mach/hurd/configure: Likewise.
5448 * sysdeps/powerpc/configure: Likewise.
5449 * sysdeps/powerpc/powerpc32/configure: Likewise.
5450 * sysdeps/powerpc/powerpc64/configure: Likewise.
5451 * sysdeps/s390/s390-32/configure: Likewise.
5452 * sysdeps/s390/s390-64/configure: Likewise.
5453 * sysdeps/sh/configure: Likewise.
5454 * sysdeps/sparc/configure: Likewise.
5455 * sysdeps/unix/sysv/linux/configure: Likewise.
5456 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5457 * sysdeps/x86_64/configure: Likewise.
5458 * sysdeps/x86_64/preconfigure: Likewise.
5460 2013-10-29 Andreas Schwab <schwab@suse.de>
5462 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5464 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5466 * benchtests/pow-inputs: Add new inputs.
5468 * benchtests/exp-inputs: Add new inputs.
5470 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5471 conditional check for return value.
5472 (__cos32): Likewise.
5474 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5476 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5477 to provide a boost for large inputs with word alignment.
5478 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5479 implementation based on optimized PPC64 strcpy.
5480 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5481 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5482 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5483 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5485 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5488 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5490 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5493 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5494 * time/tst-strptime.c (day_tests): Add testcase.
5496 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5499 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5501 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5504 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5505 MAP_FAILED on error.
5507 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5510 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5511 heap for large requests.
5513 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5516 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5517 result if the result has no associated interface.
5518 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5519 interface for all 127.X.Y.Z addresses.
5521 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
5523 * locale/iso-639.def: Add Ligurian (lij)
5525 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
5528 * sunrpc/rpc_main.c: Document rpcgen -5.
5530 2013-10-19 Michael Stahl <mstahl@redhat.com>
5532 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5534 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5537 * posix/glob.c: Match only directories when trailing slash is present.
5538 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5539 (main): Add testcase.
5541 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5544 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5546 2013-10-18 Carlos O'Donell <carlos@redhat.com>
5548 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5549 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5550 AUTH_DES and cindex for FIPS 140-2.
5551 (DES Encryption): Add cindex FIPS 46-3.
5553 * locale/locarchive.h (struct locarhandle): Add fname.
5554 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5555 if an optional argument was specified to --list-archive,
5557 * locale/programs/locarchive.c (show_archive_content): Take new
5558 argument fname and pass it via ah.fname to open_archive.
5559 * locale/programs/localedef.h: Update decl.
5560 (open_archive): If AH->fname is non-null, open that file
5561 rather than the default file name, and don't ignore ENOENT.
5562 (create_archive): Set AH.fname to NULL.
5563 (delete_locales_from_archive): Likewise.
5564 (add_locales_to_archive): Likewise.
5565 * locale/programs/locfile.c (write_all_categories): Likewise.
5567 2013-10-18 Joseph Myers <joseph@codesourcery.com>
5568 Aldy Hernandez <aldyh@redhat.com>
5570 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5571 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5572 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5573 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5574 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5575 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5576 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5577 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5578 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5579 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5580 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5581 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5582 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5583 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5584 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5586 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5588 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5590 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5592 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5593 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5595 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5596 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5597 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5598 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5600 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5601 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5602 * sysdeps/powerpc/preconfigure: Likewise.
5603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5605 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5606 Replace contents of file by #include of <fenv_libc.h>.
5607 * sysdeps/powerpc/soft-fp/sfp-machine.h
5608 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5610 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5611 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5612 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5613 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5614 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5615 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5617 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5618 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5619 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5620 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5621 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5623 Allow copysignl PLT reference to be missing.
5625 2013-10-18 Richard Sandiford <richard@codesourcery.com>
5626 Joseph Myers <joseph@codesourcery.com
5629 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5631 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5633 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5635 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5636 * elf/tst-tls1.c: Likewise.
5637 * elf/tst-tls10.h: Likewise.
5638 * elf/tst-tls14.c: Likewise.
5639 * elf/tst-tls2.c: Likewise.
5640 * elf/tst-tls3.c: Likewise.
5641 * elf/tst-tls4.c: Likewise.
5642 * elf/tst-tls5.c: Likewise.
5643 * elf/tst-tls6.c: Likewise.
5644 * elf/tst-tls7.c: Likewise.
5645 * elf/tst-tls8.c: Likewise.
5646 * elf/tst-tls9.c: Likewise.
5647 * elf/tst-tlsmod1.c: Likewise.
5648 * elf/tst-tlsmod13.c: Likewise.
5649 * elf/tst-tlsmod13a.c: Likewise.
5650 * elf/tst-tlsmod14a.c: Likewise.
5651 * elf/tst-tlsmod16a.c: Likewise.
5652 * elf/tst-tlsmod16b.c: Likewise.
5653 * elf/tst-tlsmod2.c: Likewise.
5654 * elf/tst-tlsmod3.c: Likewise.
5655 * elf/tst-tlsmod4.c: Likewise.
5656 * elf/tst-tlsmod5.c: Likewise.
5657 * elf/tst-tlsmod6.c: Likewise.
5659 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
5662 * malloc/malloc.c: remove checks for statistics.
5664 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5667 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5668 * inet/tst-network.c: Add testcase.
5670 2013-10-17 Andreas Schwab <schwab@suse.de>
5673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5674 to determine canonical name.
5676 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5678 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5679 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5681 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5682 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5683 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5684 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5685 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5686 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5687 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5688 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5689 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5690 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5691 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5692 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5693 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5695 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5696 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5697 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5698 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5699 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5700 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5701 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5702 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5703 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5704 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5705 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5706 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5707 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5708 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5709 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5710 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5711 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5712 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5713 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5714 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5715 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5717 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5718 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5719 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5720 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5721 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5722 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5723 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5724 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5725 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5726 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5727 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5728 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5729 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5730 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5731 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5732 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5733 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5734 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5735 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5737 2013-10-17 Joseph Myers <joseph@codesourcery.com>
5740 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5741 make result into a quiet NaN.
5743 2013-10-16 Joseph Myers <joseph@codesourcery.com>
5745 * soft-fp/adddf3.c: Fix horizontal whitespace.
5746 * soft-fp/addsf3.c: Likewise.
5747 * soft-fp/addtf3.c: Likewise.
5748 * soft-fp/divdf3.c: Likewise.
5749 * soft-fp/divsf3.c: Likewise.
5750 * soft-fp/divtf3.c: Likewise.
5751 * soft-fp/double.h: Likewise.
5752 * soft-fp/eqdf2.c: Likewise.
5753 * soft-fp/eqsf2.c: Likewise.
5754 * soft-fp/eqtf2.c: Likewise.
5755 * soft-fp/extenddftf2.c: Likewise.
5756 * soft-fp/extended.h: Likewise.
5757 * soft-fp/extendsfdf2.c: Likewise.
5758 * soft-fp/extendsftf2.c: Likewise.
5759 * soft-fp/extendxftf2.c: Likewise.
5760 * soft-fp/fixdfdi.c: Likewise.
5761 * soft-fp/fixdfsi.c: Likewise.
5762 * soft-fp/fixdfti.c: Likewise.
5763 * soft-fp/fixsfdi.c: Likewise.
5764 * soft-fp/fixsfsi.c: Likewise.
5765 * soft-fp/fixsfti.c: Likewise.
5766 * soft-fp/fixtfdi.c: Likewise.
5767 * soft-fp/fixtfsi.c: Likewise.
5768 * soft-fp/fixtfti.c: Likewise.
5769 * soft-fp/fixunsdfdi.c: Likewise.
5770 * soft-fp/fixunsdfsi.c: Likewise.
5771 * soft-fp/fixunsdfti.c: Likewise.
5772 * soft-fp/fixunssfdi.c: Likewise.
5773 * soft-fp/fixunssfsi.c: Likewise.
5774 * soft-fp/fixunssfti.c: Likewise.
5775 * soft-fp/fixunstfdi.c: Likewise.
5776 * soft-fp/fixunstfsi.c: Likewise.
5777 * soft-fp/fixunstfti.c: Likewise.
5778 * soft-fp/floatdidf.c: Likewise.
5779 * soft-fp/floatdisf.c: Likewise.
5780 * soft-fp/floatditf.c: Likewise.
5781 * soft-fp/floatsidf.c: Likewise.
5782 * soft-fp/floatsisf.c: Likewise.
5783 * soft-fp/floatsitf.c: Likewise.
5784 * soft-fp/floattidf.c: Likewise.
5785 * soft-fp/floattisf.c: Likewise.
5786 * soft-fp/floattitf.c: Likewise.
5787 * soft-fp/floatundidf.c: Likewise.
5788 * soft-fp/floatundisf.c: Likewise.
5789 * soft-fp/floatunditf.c: Likewise.
5790 * soft-fp/floatunsidf.c: Likewise.
5791 * soft-fp/floatunsisf.c: Likewise.
5792 * soft-fp/floatunsitf.c: Likewise.
5793 * soft-fp/floatuntidf.c: Likewise.
5794 * soft-fp/floatuntisf.c: Likewise.
5795 * soft-fp/floatuntitf.c: Likewise.
5796 * soft-fp/fmadf4.c: Likewise.
5797 * soft-fp/fmasf4.c: Likewise.
5798 * soft-fp/fmatf4.c: Likewise.
5799 * soft-fp/gedf2.c: Likewise.
5800 * soft-fp/gesf2.c: Likewise.
5801 * soft-fp/getf2.c: Likewise.
5802 * soft-fp/ledf2.c: Likewise.
5803 * soft-fp/lesf2.c: Likewise.
5804 * soft-fp/letf2.c: Likewise.
5805 * soft-fp/muldf3.c: Likewise.
5806 * soft-fp/mulsf3.c: Likewise.
5807 * soft-fp/multf3.c: Likewise.
5808 * soft-fp/negdf2.c: Likewise.
5809 * soft-fp/negsf2.c: Likewise.
5810 * soft-fp/negtf2.c: Likewise.
5811 * soft-fp/op-1.h: Likewise.
5812 * soft-fp/op-2.h: Likewise.
5813 * soft-fp/op-4.h: Likewise.
5814 * soft-fp/op-8.h: Likewise.
5815 * soft-fp/op-common.h: Likewise.
5816 * soft-fp/quad.h: Likewise.
5817 * soft-fp/single.h: Likewise.
5818 * soft-fp/soft-fp.h: Likewise.
5819 * soft-fp/sqrtdf2.c: Likewise.
5820 * soft-fp/sqrtsf2.c: Likewise.
5821 * soft-fp/sqrttf2.c: Likewise.
5822 * soft-fp/subdf3.c: Likewise.
5823 * soft-fp/subsf3.c: Likewise.
5824 * soft-fp/subtf3.c: Likewise.
5825 * soft-fp/truncdfsf2.c: Likewise.
5826 * soft-fp/trunctfdf2.c: Likewise.
5827 * soft-fp/trunctfsf2.c: Likewise.
5828 * soft-fp/trunctfxf2.c: Likewise.
5829 * soft-fp/unorddf2.c: Likewise.
5830 * soft-fp/unordsf2.c: Likewise.
5831 * soft-fp/unordtf2.c: Likewise.
5833 2013-10-15 Joseph Myers <joseph@codesourcery.com>
5835 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5836 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5838 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
5840 * elf/dl-libc.c: Clear initfini list after freeing.
5842 2013-10-14 Joseph Myers <joseph@codesourcery.com>
5844 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5845 * soft-fp/addsf3.c: Likewise.
5846 * soft-fp/addtf3.c: Likewise.
5847 * soft-fp/divdf3.c: Likewise.
5848 * soft-fp/divsf3.c: Likewise.
5849 * soft-fp/divtf3.c: Likewise.
5850 * soft-fp/double.h: Likewise.
5851 * soft-fp/eqdf2.c: Likewise.
5852 * soft-fp/eqsf2.c: Likewise.
5853 * soft-fp/eqtf2.c: Likewise.
5854 * soft-fp/extenddftf2.c: Likewise.
5855 * soft-fp/extended.h: Likewise.
5856 * soft-fp/extendsfdf2.c: Likewise.
5857 * soft-fp/extendsftf2.c: Likewise.
5858 * soft-fp/extendxftf2.c: Likewise.
5859 * soft-fp/fixdfdi.c: Likewise.
5860 * soft-fp/fixdfsi.c: Likewise.
5861 * soft-fp/fixdfti.c: Likewise.
5862 * soft-fp/fixsfdi.c: Likewise.
5863 * soft-fp/fixsfsi.c: Likewise.
5864 * soft-fp/fixsfti.c: Likewise.
5865 * soft-fp/fixtfdi.c: Likewise.
5866 * soft-fp/fixtfsi.c: Likewise.
5867 * soft-fp/fixtfti.c: Likewise.
5868 * soft-fp/fixunsdfdi.c: Likewise.
5869 * soft-fp/fixunsdfsi.c: Likewise.
5870 * soft-fp/fixunsdfti.c: Likewise.
5871 * soft-fp/fixunssfdi.c: Likewise.
5872 * soft-fp/fixunssfsi.c: Likewise.
5873 * soft-fp/fixunssfti.c: Likewise.
5874 * soft-fp/fixunstfdi.c: Likewise.
5875 * soft-fp/fixunstfsi.c: Likewise.
5876 * soft-fp/fixunstfti.c: Likewise.
5877 * soft-fp/floatdidf.c: Likewise.
5878 * soft-fp/floatdisf.c: Likewise.
5879 * soft-fp/floatditf.c: Likewise.
5880 * soft-fp/floatsidf.c: Likewise.
5881 * soft-fp/floatsisf.c: Likewise.
5882 * soft-fp/floatsitf.c: Likewise.
5883 * soft-fp/floattidf.c: Likewise.
5884 * soft-fp/floattisf.c: Likewise.
5885 * soft-fp/floattitf.c: Likewise.
5886 * soft-fp/floatundidf.c: Likewise.
5887 * soft-fp/floatundisf.c: Likewise.
5888 * soft-fp/floatunsidf.c: Likewise.
5889 * soft-fp/floatunsisf.c: Likewise.
5890 * soft-fp/floatuntidf.c: Likewise.
5891 * soft-fp/floatuntisf.c: Likewise.
5892 * soft-fp/floatuntitf.c: Likewise.
5893 * soft-fp/fmadf4.c: Likewise.
5894 * soft-fp/fmasf4.c: Likewise.
5895 * soft-fp/fmatf4.c: Likewise.
5896 * soft-fp/gedf2.c: Likewise.
5897 * soft-fp/gesf2.c: Likewise.
5898 * soft-fp/getf2.c: Likewise.
5899 * soft-fp/ledf2.c: Likewise.
5900 * soft-fp/lesf2.c: Likewise.
5901 * soft-fp/letf2.c: Likewise.
5902 * soft-fp/muldf3.c: Likewise.
5903 * soft-fp/mulsf3.c: Likewise.
5904 * soft-fp/multf3.c: Likewise.
5905 * soft-fp/negdf2.c: Likewise.
5906 * soft-fp/negsf2.c: Likewise.
5907 * soft-fp/negtf2.c: Likewise.
5908 * soft-fp/op-1.h: Likewise.
5909 * soft-fp/op-2.h: Likewise.
5910 * soft-fp/op-4.h: Likewise.
5911 * soft-fp/op-8.h: Likewise.
5912 * soft-fp/op-common.h: Likewise.
5913 * soft-fp/quad.h: Likewise.
5914 * soft-fp/single.h: Likewise.
5915 * soft-fp/soft-fp.h: Likewise.
5916 * soft-fp/sqrtdf2.c: Likewise.
5917 * soft-fp/sqrtsf2.c: Likewise.
5918 * soft-fp/sqrttf2.c: Likewise.
5919 * soft-fp/subdf3.c: Likewise.
5920 * soft-fp/subsf3.c: Likewise.
5921 * soft-fp/subtf3.c: Likewise.
5922 * soft-fp/truncdfsf2.c: Likewise.
5923 * soft-fp/trunctfdf2.c: Likewise.
5924 * soft-fp/trunctfsf2.c: Likewise.
5925 * soft-fp/trunctfxf2.c: Likewise.
5926 * soft-fp/unorddf2.c: Likewise.
5927 * soft-fp/unordsf2.c: Likewise.
5928 * soft-fp/unordtf2.c: Likewise.
5930 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
5933 * misc/error.c (error_tail): Fix possible buffer overflow.
5935 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5938 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5941 2013-10-14 P. J. McDermott <pj@pehjota.net>
5944 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5945 testing pipefail option.
5947 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5949 * soft-fp/double.h: Indent preprocessor directives inside #if.
5950 * soft-fp/extended.h: Likewise.
5951 * soft-fp/op-2.h: Likewise.
5952 * soft-fp/op-4.h: Likewise.
5953 * soft-fp/op-common.h: Likewise.
5954 * soft-fp/quad.h: Likewise.
5955 * soft-fp/single.h: Likewise.
5956 * soft-fp/soft-fp.h: Likewise.
5958 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5960 * iconv/iconv_prog.c: Fix typos.
5961 * stdio-common/psiginfo-data.h: Likewise.
5963 2013-10-12 Reuben Thomas <rrt@sc3d.org>
5966 * locale/setlocale.c: Fix typo.
5968 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5971 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5972 signaling NaN arguments.
5973 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5974 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5977 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5979 * soft-fp/gesf2.c (__gesf2): Likewise.
5980 * soft-fp/getf2.c (__getf2): Likewise.
5981 * soft-fp/ledf2.c (__ledf2): Likewise.
5982 * soft-fp/lesf2.c (__lesf2): Likewise.
5983 * soft-fp/letf2.c (__letf2): Likewise.
5985 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5986 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5987 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5988 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5989 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5990 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5991 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5992 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5993 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5994 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5995 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5996 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5997 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5998 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5999 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6000 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6001 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6002 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6003 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6004 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6005 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6006 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6007 * soft-fp/floatdisf.c (__floatdisf): Likewise.
6008 * soft-fp/floatsisf.c (__floatsisf): Likewise.
6009 * soft-fp/floattidf.c (__floattidf): Likewise.
6010 * soft-fp/floattisf.c (__floattisf): Likewise.
6011 * soft-fp/floattitf.c (__floattitf): Likewise.
6012 * soft-fp/floatundidf.c (__floatundidf): Likewise.
6013 * soft-fp/floatundisf.c (__floatundisf): Likewise.
6014 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6015 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6016 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6017 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6018 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6019 * soft-fp/gesf2.c (__gesf2): Likewise.
6020 * soft-fp/getf2.c (__getf2): Likewise.
6021 * soft-fp/ledf2.c (__ledf2): Likewise.
6022 * soft-fp/lesf2.c (__lesf2): Likewise.
6023 * soft-fp/letf2.c (__letf2): Likewise.
6025 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6026 Undefine and redefine.
6027 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6028 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6029 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6030 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6031 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6032 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6033 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6034 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6035 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6036 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6037 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6038 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6039 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6040 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6041 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6044 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6045 without decrementing exponent if mantissa >= that for the
6047 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6048 denominator, not >. Decrement exponent in < case instead of
6049 incrementing in >= case.
6050 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6051 without decrementing exponent if mantissa >= that for the
6054 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6055 computing saturated result for unsigned overflow.
6057 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6058 Jeff Law <law@redhat.com>
6060 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6061 (atan2Mp): Add systemtap probe marker.
6062 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6063 (__ieee754_log): Add systemtap probe marker.
6064 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6065 (atanMp): Add systemtap probe marker.
6066 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6067 (tanMp): Add systemtap probe marker.
6068 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6069 (__slowexp): Add systemtap probe marker.
6070 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6071 (__slowpow): Add systemtap probe marker.
6072 * manual/probes.texi: Document probes.
6074 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
6077 * libio/fileops.c (_IO_new_file_write): Return count of bytes
6079 (_IO_new_file_xsputn): Don't return EOF if nothing has been
6081 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6082 written to buffer but not flushed.
6083 * libio/iofwrite_u.c: Likewise.
6084 * libio/iopadn.c: Return bytes returned even if EOF was
6086 * libio/iowpadn.c: Likewise.
6087 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6088 if _IO_padn does not write the whole buffer.
6089 [!COMPILE_WPRINTF] (PAD): Likewise.
6091 2013-10-10 David S. Miller <davem@davemloft.net>
6093 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6096 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6098 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
6099 instead of FSF address.
6100 * soft-fp/fixdfti.c: Likewise.
6101 * soft-fp/fixsfti.c: Likewise.
6102 * soft-fp/fixtfti.c: Likewise.
6103 * soft-fp/fixunsdfti.c: Likewise.
6104 * soft-fp/fixunssfti.c: Likewise.
6105 * soft-fp/fixunstfti.c: Likewise.
6106 * soft-fp/floattidf.c: Likewise.
6107 * soft-fp/floattisf.c: Likewise.
6108 * soft-fp/floattitf.c: Likewise.
6109 * soft-fp/floatuntidf.c: Likewise.
6110 * soft-fp/floatuntisf.c: Likewise.
6111 * soft-fp/floatuntitf.c: Likewise.
6112 * soft-fp/trunctfxf2.c: Likewise.
6114 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
6115 * soft-fp/fixdfti.c: Likewise.
6116 * soft-fp/fixsfti.c: Likewise.
6117 * soft-fp/fixtfti.c: Likewise.
6118 * soft-fp/fixunsdfti.c: Likewise.
6119 * soft-fp/fixunssfti.c: Likewise.
6120 * soft-fp/fixunstfti.c: Likewise.
6121 * soft-fp/floattidf.c: Likewise.
6122 * soft-fp/floattisf.c: Likewise.
6123 * soft-fp/floattitf.c: Likewise.
6124 * soft-fp/floatuntidf.c: Likewise.
6125 * soft-fp/floatuntisf.c: Likewise.
6126 * soft-fp/floatuntitf.c: Likewise.
6127 * soft-fp/trunctfxf2.c: Likewise.
6129 2013-10-10 David S. Miller <davem@davemloft.net>
6131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6133 2013-10-10 Joseph Myers <joseph@codsourcery.com>
6135 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6136 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6137 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6138 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6139 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6140 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6141 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6143 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6144 for NaNs before doing comparisons on argument.
6145 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6148 2013-10-10 Will Newton <will.newton@linaro.org>
6150 * malloc/hooks.c (memalign_check): Ensure the value of bytes
6151 passed to _int_memalign does not overflow.
6153 2013-10-10 Torvald Riegel <triegel@redhat.com>
6155 * scripts/bench.pl: Add include-sources directive.
6156 * benchtests/README: Update documentation.
6158 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6160 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6161 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6162 instead of FP_INIT_ROUNDMODE.
6163 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6164 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6167 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6168 copy class of input value.
6169 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6170 not handle exceptions.
6171 * soft-fp/negsf2.c (__negsf2): Likewise.
6172 * soft-fp/negtf2.c (__negtf2): Likewise.
6173 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6175 2013-10-09 Joseph Myers <joseph@codesourcery.com>
6177 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6178 semicolon. From Linux kernel.
6180 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6182 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6184 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6187 * manual/socket.texi: Added statement about buffer
6188 for gethostbyname2_r.
6190 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
6192 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6193 Use .p2align directive instead, throughout.
6194 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6195 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6196 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6197 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6198 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6199 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6200 * sysdeps/x86_64/strchr.S: Likewise.
6201 * sysdeps/x86_64/strrchr.S: Likewise.
6203 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6205 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6207 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6209 * sysdeps/generic/math_private.h (__mpsin1): Remove
6211 (__mpcos1): Likewise.
6212 (__mpsin): New argument __range_reduce.
6213 (__mpcos): Likewise.
6214 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6215 (slow): Use __mpsin and __mpcos.
6222 (bsloww1): Likewise.
6223 (bsloww2): Likewise.
6226 (csloww1): Likewise.
6227 (csloww2): Likewise.
6228 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6229 range_reduce. Merge in __mpsin1.
6230 (__mpcos): Likewise.
6232 (__mpcos1): Likewise.
6234 2013-10-07 Joseph Myers <joseph@codesourcery.com>
6236 * locale/loadlocale.c (_nl_intern_locale_data): Use
6238 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6239 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6240 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6241 obstack data is appropriately aligned.
6242 (obstack_int32_grow_fast): Likewise.
6243 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6244 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6245 (add_locale_uint32_array): Likewise.
6247 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6249 * benchtests/Makefile: Remove ARGLIST and RET variables.
6250 ($(objpfx)bench-%.c): Pass only function name to the script.
6251 * benchtests/README: Update documentation.
6252 * benchtests/acos-inputs: Add new directives.
6253 * benchtests/acosh-inputs: Likewise.
6254 * benchtests/asin-inputs: Likewise.
6255 * benchtests/asinh-inputs: Likewise.
6256 * benchtests/atan-inputs: Likewise.
6257 * benchtests/atanh-inputs: Likewise.
6258 * benchtests/cos-inputs: Likewise.
6259 * benchtests/cosh-inputs: Likewise.
6260 * benchtests/exp-inputs: Likewise.
6261 * benchtests/log-inputs: Likewise.
6262 * benchtests/pow-inputs: Likewise.
6263 * benchtests/rint-inputs: Likewise.
6264 * benchtests/sin-inputs: Likewise.
6265 * benchtests/sinh-inputs: Likewise.
6266 * benchtests/tan-inputs: Likewise.
6267 * benchtests/tanh-inputs: Likewise.
6268 * scripts/bench.pl: Add support for new directives.
6270 2013-10-07 Alan Modra <amodra@gmail.com>
6272 * README: Fix careless merge.
6274 2013-10-05 Alan Modra <amodra@gmail.com>
6276 * NEWS: Mention powerpc64le support and bugs fixed.
6277 * README: Both big-endian and little-endian powerpc64 supported.
6279 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6281 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6282 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6283 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6284 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6286 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6288 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6291 2013-10-04 Joseph Myers <joseph@codesourcery.com>
6293 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6294 Move -mhard-float appending from
6295 ports/sysdeps/powerpc/powerpc32/Makefile.
6296 [$(with-fp) = yes] (ASFLAGS): Likewise.
6297 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6298 * sysdeps/powerpc/nofpu: Move directory from
6299 ports/sysdeps/powerpc/nofpu.
6300 * sysdeps/powerpc/soft-fp: Move directory from
6301 ports/sysdeps/powerpc/soft-fp.
6302 * sysdeps/powerpc/powerpc32/405: Move directory from
6303 ports/sysdeps/powerpc/powerpc32/405.
6304 * sysdeps/powerpc/powerpc32/440: Move directory from
6305 ports/sysdeps/powerpc/powerpc32/440.
6306 * sysdeps/powerpc/powerpc32/464: Move directory from
6307 ports/sysdeps/powerpc/powerpc32/464.
6308 * sysdeps/powerpc/powerpc32/476: Move directory from
6309 ports/sysdeps/powerpc/powerpc32/476.
6310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6311 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6313 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6315 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6317 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6319 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6320 * README: Update for powerpc-*-linux-gnu software floating point
6323 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6324 case to powerpc/powerpc32*.
6325 * sysdeps/unix/sysv/linux/configure: Regenerated.
6327 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6328 (_FPU_MASK_OM): Define as 0x04.
6329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6330 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6332 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6334 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6337 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6340 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6343 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6344 and setcontext_e500.
6346 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6348 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6350 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6352 * manual/threads.texi (Default Thread Attributes): Fix typo.
6354 2013-10-04 Will Newton <will.newton@linaro.org>
6356 * malloc/Makefile: Add tst-memalign.
6357 * malloc/tst-memalign.c: New file.
6359 * malloc/tst-posix_memalign.c: Add comments.
6360 (do_test): Add comments and call free on all potentially
6361 allocated pointers. Add space after cast.
6363 * malloc/tst-pvalloc.c: Add comments.
6364 (do_test): Add comments and call free on all potentially
6365 allocated pointers. Remove duplicate check for NULL pointer.
6366 Add space after cast.
6368 * malloc/tst-valloc.c: Add comments.
6369 (do_test): Add comments and call free on all potentially
6370 allocated pointers. Remove duplicate check for NULL pointer.
6371 Add space after cast.
6373 2013-10-04 Alan Modra <amodra@gmail.com>
6375 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6376 Use stdint types in rather than __attribute__((mode())).
6377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6379 2013-10-04 Alan Modra <amodra@gmail.com>
6381 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6382 Correct handling of unaligned relocs for little-endian.
6383 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6385 2013-10-04 Alan Modra <amodra@gmail.com>
6387 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6388 * configure: Regenerate.
6389 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6390 * shlib-versions: Likewise.
6392 2013-10-04 Alan Modra <amodra@gmail.com>
6394 * string/tester.c (test_memrchr): Increment reported test cycle.
6396 2013-10-04 Alan Modra <amodra@gmail.com>
6398 * string/test-memcpy.c (do_one_test): When reporting errors, print
6399 string address and don't overrun end of string.
6401 2013-10-04 Alan Modra <amodra@gmail.com>
6403 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6404 insrdi. Make better use of reg selection to speed exit slightly.
6405 Schedule entry path a little better. Remove useless "are we done"
6406 checks on entry to main loop. Handle wrapping around zero address.
6407 Correct main loop count. Handle single left-over word from main
6408 loop inline rather than by using loop_small. Remove extra word
6409 case in loop_small caused by wrong loop count. Add little-endian
6411 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6412 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6414 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6415 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6416 support. Avoid rlwimi.
6417 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6419 2013-10-04 Alan Modra <amodra@gmail.com>
6421 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
6423 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6424 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6425 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6426 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6427 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6428 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6430 2013-10-04 Alan Modra <amodra@gmail.com>
6432 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6433 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6434 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6435 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6436 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6437 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6438 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6439 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6440 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6441 use of regs. Use power7 mtocrf. Tidy function tails.
6443 2013-10-04 Alan Modra <amodra@gmail.com>
6445 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6446 Formatting. Consistently use rXXX register defines or rN defines.
6447 Use early exit labels that avoid restoring unused non-volatile regs.
6448 Make cr field use more consistent with rWORDn compares. Rename
6449 regs used as shift registers for unaligned loop, using rN defines
6450 for short lifetime/multiple use regs.
6451 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6452 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6453 addi 1,1,64 to pop stack frame. Simplify return value code.
6454 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6456 2013-10-04 Alan Modra <amodra@gmail.com>
6458 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6459 support. Correct typos, formatting. Optimize tail. Use insrdi
6461 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6462 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6463 little-endian support. Correct typos.
6464 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6466 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6467 in loop and entry code to keep "and." results.
6468 (strchr): Add little-endian support. Comment. Move cntlzd
6470 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6472 2013-10-04 Alan Modra <amodra@gmail.com>
6474 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6475 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6476 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6477 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6479 2013-10-04 Alan Modra <amodra@gmail.com>
6481 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6482 (rTMP): Define as r11.
6483 (strcmp): Add little-endian support. Optimise tail.
6484 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6485 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6486 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6487 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6488 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6489 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6490 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6492 2013-10-04 Alan Modra <amodra@gmail.com>
6494 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6495 little-endian support. Remove unnecessary "are we done" tests.
6496 Handle "s" wrapping around zero and extremely large "size".
6497 Correct main loop count. Handle single left-over word from main
6498 loop inline rather than by using small_loop. Correct comments.
6499 Delete "zero" tail, use "end_max" instead.
6500 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6502 2013-10-04 Alan Modra <amodra@gmail.com>
6504 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6505 support. Don't branch over align.
6506 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6507 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6508 support. Rearrange tmp reg use to suit. Comment.
6509 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6511 2013-10-04 Alan Modra <amodra@gmail.com>
6513 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6515 2013-10-04 Alan Modra <amodra@gmail.com>
6517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6518 conditional form of branch and link when obtaining pc.
6519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6521 2013-10-04 Alan Modra <amodra@gmail.com>
6523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6528 2013-10-04 Alan Modra <amodra@gmail.com>
6530 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6531 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6532 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6533 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6534 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6535 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6536 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6537 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6538 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6539 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6541 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6542 Alistair Popple <alistair@ozlabs.au.ibm.com>
6543 Alan Modra <amodra@gmail.com>
6546 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6547 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6548 _dl_hwcap access for little-endian.
6549 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6550 destroy vmx regs when saving unaligned.
6551 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6552 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6553 destroy vmx regs when saving unaligned.
6555 2013-10-04 Alan Modra <amodra@gmail.com>
6557 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6558 Don't use a union to pack hi/low value.
6560 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6562 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6564 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6565 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6566 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6567 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6568 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6570 2013-10-04 Alan Modra <amodra@gmail.com>
6572 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6573 constants to usual value for .cst8 section, and remove redundant
6575 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6576 constant for 0x1p52. Load little-endian words of double from
6577 correct stack offsets.
6579 2013-10-04 Alan Modra <amodra@gmail.com>
6581 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6582 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6583 words of double from correct stack offsets.
6584 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6585 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6586 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6587 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6588 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6589 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6590 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6591 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6592 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6593 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6594 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6595 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6596 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6597 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6598 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6599 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6600 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6602 2013-10-04 Alan Modra <amodra@gmail.com>
6604 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6605 64-bit int/double union.
6606 (_FPU_SETCW): Likewise.
6607 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6608 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6610 2013-10-04 Alan Modra <amodra@gmail.com>
6612 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6613 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6615 2013-10-04 Alan Modra <amodra@gmail.com>
6617 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6618 use vector int constants.
6619 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6621 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6623 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6624 array with long long.
6625 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6626 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6627 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6628 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6629 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6630 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6631 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6632 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6633 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6634 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6635 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6636 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6637 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6639 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6641 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6642 (__signbit): Likewise. Correct for little-endian.
6643 (__signbitl): Call __signbit.
6644 (lrint): Correct for little-endian.
6645 (lrintf): Call lrint.
6647 2013-10-04 Alan Modra <amodra@gmail.com>
6649 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6650 union 32-bit int array member with 64-bit int array.
6651 (t515, tm256): Double rather than long double.
6652 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6654 2013-10-04 Alan Modra <amodra@gmail.com>
6656 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6658 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6659 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6660 version of math_ldbl.h.
6662 2013-10-04 Alan Modra <amodra@gmail.com>
6664 [BZ #15734], [BZ #15735]
6665 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6666 all uses of ieee875 long double macros and unions. Simplify test
6667 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6668 ldbl_extract_mantissa value for ix,iy exponents. Properly
6669 normalize after ldbl_extract_mantissa, and don't add hidden bit
6670 already handled. Don't treat low word of ieee854 mantissa like
6671 low word of IBM long double and mask off bit when testing for
6673 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6674 all uses of ieee875 long double macros and unions. Simplify tests
6675 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6676 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6677 two1022, instead use their values. Recognise that tests for large
6678 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6679 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6680 Rewrite all uses of ieee875 long double macros and unions. Simplify
6681 test for 0.0L and nan. Correct negation.
6682 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6683 ieee875 long double macros and unions. Correct output for large
6684 magnitude x. Correct absolute value calculation.
6685 (__erfcl): Likewise.
6686 * math/libm-test.inc: Add tests for errors discovered in IBM long
6687 double versions of fmodl, remainderl, erfl and erfcl.
6689 2013-10-04 Alan Modra <amodra@gmail.com>
6691 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6692 all uses of ieee854 long double macros and unions. Simplify tests
6693 for long doubles that are fully specified by the high double.
6694 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6696 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6697 Remove dead code too.
6698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6699 (__ieee754_ynl): Likewise.
6700 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6701 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6702 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6703 Remove dead code too.
6704 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6705 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6706 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6707 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6709 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6711 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6712 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6713 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6714 Comment on variable precision.
6715 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6716 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6718 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6719 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6720 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6721 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6722 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6724 2013-10-04 Alan Modra <amodra@gmail.com>
6726 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6727 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6728 all uses of ieee854 long double macros and unions.
6729 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6730 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6731 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6732 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6733 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6734 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6736 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6737 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6738 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6739 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6740 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6741 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6742 Simplify sign and nan test too.
6743 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6744 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6745 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6746 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6748 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6749 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6751 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6752 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6753 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6754 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6755 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6758 2013-10-04 Alan Modra <amodra@gmail.com>
6760 * stdio-common/printf_size.c (__printf_size): Don't use
6761 union ieee854_long_double in fpnum union.
6762 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6763 signbit macro to retrieve sign from long double.
6764 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6765 retrieve sign from long double.
6766 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6767 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6768 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6769 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6770 * math/test-misc.c (main): Don't use union ieee854_long_double.
6772 2013-10-04 Alan Modra <amodra@gmail.com>
6775 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6776 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6777 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6778 calculation. Remove unnecessary test for denormal exponent.
6779 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6780 Correct handling of denormals. Avoid undefined shift behaviour.
6781 Correct normalisation of low mantissa when low double is denormal.
6782 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6783 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6784 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6785 Correct normalisation of low mantissa. Test for overflow of high
6786 mantissa and normalise.
6787 (ldbl_nearbyint): Use more readable constant for two52.
6788 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6789 (__mpn_construct_long_double): Fix test for overflow of high
6790 mantissa and correct normalisation. Avoid undefined shift.
6792 2013-10-04 Alan Modra <amodra@gmail.com>
6794 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6795 (union ibm_extended_long_double): Define as an array of ieee754_double.
6796 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6797 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6798 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6799 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6800 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6801 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6802 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6803 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6804 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6805 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6806 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6808 2013-10-03 Joseph Myers <joseph@codesourcery.com>
6810 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6811 page size instead of calling getpagesize.
6813 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6814 (LOCFILE_ALIGN_MASK): Likewise.
6815 (LOCFILE_ALIGN_UP): Likewise.
6816 (LOCFILE_ALIGNED_P): Likewise.
6817 * locale/programs/ld-collate.c (collate_output): Use the new
6818 macros instead of __alignof__ (int32_t).
6819 * locale/weight.h (findidx): Likewise.
6821 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
6824 * manual/string.texi: Fix strncat and wcsncat.
6826 2013-10-03 Brooks Moses <bmoses@google.com>
6829 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6830 * Makerules: ...here, and adjust associated comments.
6832 2013-10-02 Will Newton <will.newton@linaro.org>
6834 * malloc/Makefile: Add tst-pvalloc.
6835 * malloc/tst-pvalloc.c: New file.
6837 2013-10-02 Will Newton <will.newton@linaro.org>
6839 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6840 improve test coverage.
6842 2013-10-02 Will Newton <will.newton@linaro.org>
6844 * malloc/Makefile: Add tst-posix_memalign.
6845 * malloc/tst-posix_memalign.c: New file.
6847 2013-10-01 Eric Blake <eblake@redhat.com>
6849 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6850 Use __THROWNL rather than __THROW on static functions.
6852 2013-09-30 Petr Machata <pmachata@redhat.com>
6854 * elf/elf.h (R_AARCH64_ABS16): New macro.
6855 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6856 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6857 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6858 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6859 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6860 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6861 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6862 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6863 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6864 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6865 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6866 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6867 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6868 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6869 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6870 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6871 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6872 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6873 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6874 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6875 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6876 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6877 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6878 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6879 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6880 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6881 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6882 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6883 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6884 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6885 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6886 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6887 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6888 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6889 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6890 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6891 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6892 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6893 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6894 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6895 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6896 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6897 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6898 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6899 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6900 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6901 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6902 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6903 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6904 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6905 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6906 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6907 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6908 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6909 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6910 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6911 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6912 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6913 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6914 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6915 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6916 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6917 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6918 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6919 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6920 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6921 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6922 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6923 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6924 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6925 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6926 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6927 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6928 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6929 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6930 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6931 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6932 (R_AARCH64_TLSDESC_LDR): Likewise.
6933 (R_AARCH64_TLSDESC_ADD): Likewise.
6934 (R_AARCH64_TLSDESC_CALL): Likewise.
6936 2013-09-30 Andreas Schwab <schwab@suse.de>
6939 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6940 the nss database lookup.
6941 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6944 2013-09-28 Mike Frysinger <vapier@gentoo.org>
6946 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6948 2013-09-28 P. J. McDermott <pj@pehjota.net>
6950 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6951 ${Bash-specific parameter/pattern/string} parameter expansion.
6952 * sysdeps/unix/make-syscalls.sh: Likewise.
6954 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6956 * sysdeps/sh/stackguard-macros.h: New file.
6958 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
6960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6962 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6963 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6964 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6965 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6967 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6969 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6970 Fix thread ID register.
6972 2013-09-25 Joseph Myers <joseph@codesourcery.com>
6974 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6975 [POSIX || UNIX98]: Require rather than permitting all symbols from
6977 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6978 element of struct sched_param.
6979 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6980 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6981 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6982 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6985 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6987 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6988 argument calculation.
6990 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6992 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6994 [POSIX] (pthread_attr_t): Do not require type.
6995 [POSIX] (pthread_cond_t): Likewise.
6996 [POSIX] (pthread_condattr_t): Likewise.
6997 [POSIX] (pthread_key_t): Likewise.
6998 [POSIX] (pthread_mutex_t): Likewise.
6999 [POSIX] (pthread_mutexattr_t): Likewise.
7000 [POSIX] (pthread_once_t): Likewise.
7001 [POSIX] (pthread_t): Likewise.
7002 [POSIX-based standards] (pthread_atfork): Expect function.
7004 2013-09-24 Joseph Myers <joseph@codesourcery.com>
7005 Richard Sandiford <richard@codesourcery.com>
7007 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7008 (swap_endianness_p): New extern variable.
7009 (set_big_endian): New inline function.
7010 (maybe_swap_uint32): Likewise.
7011 (maybe_swap_uint32_array): Likewise.
7012 (maybe_swap_uint32_obstack): Likewise.
7013 * locale/programs/locfile.c: Include <stdbool.h>.
7014 (swap_endianness_p): New variable.
7015 (add_locale_uint32): Call maybe_swap_uint32.
7016 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7017 (write_locale_data): Call maybe_swap_uint32_array.
7018 * locale/programs/ld-collate.c (obstack_int32_grow): Call
7020 (obstack_int32_grow_fast): Likewise.
7021 (output_weightwc): Call maybe_swap_uint32_obstack.
7022 (collate_output): Likewise.
7023 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7024 (OPT_LITTLE_ENDIAN): Likewise.
7025 (options): Add --little-endian and --big-endian options.
7026 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7027 * locale/programs/locarchive.c: Include "locfile.h".
7031 (create_archive): Use the new macros to access fields of
7032 structures directly mapped from or written to locale archives.
7033 (oldlocrecentcmp): Likewise.
7034 (enlarge_archive): Likewise.
7035 (insert_name): Likewise.
7036 (add_alias): Likewise.
7037 (add_locale): Likewise.
7038 (delete_locales_from_archive): Likewise.
7039 (show_archive_content): Likewise.
7040 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
7043 2013-09-24 Roland McGrath <roland@hack.frob.com>
7045 * manual/freemanuals.texi: Updated from (newly) canonical copy at
7046 http://www.gnu.org/doc/freemanuals.texi.
7047 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7049 2013-09-24 Will Newton <will.newton@linaro.org>
7051 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7054 2013-09-23 Joseph Myers <joseph@codesourcery.com>
7056 * locale/hashval.h (compute_hashval): Interpret bytes of key as
7059 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
7061 * manual/threads.texi (POSIX Threads): Fix a typo.
7063 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7066 * string/tst-strcoll-overflow.c: New test case.
7067 * string/Makefile (xtests): Add tst-strcoll-overflow.
7068 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7069 cache if string sizes may cause integer overflow.
7072 * string/strcoll_l.c (coll_seq): New members rule, idx,
7073 save_idx and back_us.
7074 (get_next_seq_nocache): New function.
7075 (do_compare_nocache): New function.
7076 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7079 2013-09-23 Carlos O'Donell <carlos@redhat.com>
7082 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7083 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7084 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7087 * elf/Makefile (tests): Add tst-ptrguard1.
7088 (tests-static): Add tst-ptrguard1-static.
7089 (tst-ptrguard1-ARGS): Define.
7090 (tst-ptrguard1-static-ARGS): Define.
7091 * elf/tst-ptrguard1.c: New file.
7092 * elf/tst-ptrguard1-static.c: New file.
7093 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7094 * sysdeps/i386/stackguard-macros.h: Likewise.
7095 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7096 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7097 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7098 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7099 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7100 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7102 2013-09-23 Hector Marco <hecmargi@upv.es>
7103 Ismael Ripoll <iripoll@disca.upv.es>
7104 Carlos O'Donell <carlos@redhat.com>
7107 * sysdeps/generic/stackguard-macros.h: Define
7108 __pointer_chk_guard_local and POINTER_CHK_GUARD.
7109 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7110 Define __pointer_chk_guard_local.
7111 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7112 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7114 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
7117 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7119 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
7121 * include/string.h (__ffs): Declare as hidden.
7122 * string/ffs.c (__ffs): Define as hidden.
7123 * sysdeps/i386/ffs.c (__ffs): Likewise.
7124 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7125 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7126 * sysdeps/s390/ffs.c (__ffs): Likewise.
7127 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7129 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
7131 * NEWS: Mention malloc probes.
7133 * malloc/arena.c (new_heap): New memory_heap_new probe.
7134 (grow_heap): New memory_heap_more probe.
7135 (shrink_heap): New memory_heap_less probe.
7136 (heap_trim): New memory_heap_free probe.
7137 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7138 (systrim): New memory_sbrk_less probe.
7139 * manual/probes.texi: Document them.
7141 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7142 * manual/probes.texi: Document it.
7144 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7145 (__libc_realloc): Add memory_realloc_retry probe.
7146 (__libc_memalign): Add memory_memalign_retry probe.
7147 (__libc_valloc): Add memory_valloc_retry probe.
7148 (__libc_pvalloc): Add memory_pvalloc_retry probe.
7149 (__libc_calloc): Add memory_calloc_retry probe.
7150 * manual/probes.texi: Document them.
7152 * malloc/arena.c (get_free_list): Add probe
7153 memory_arena_reuse_free_list.
7154 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7155 and memory_arena_reuse.
7156 (arena_get2) [!PER_THREAD]: Likewise.
7157 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7158 memory_arena_reuse_realloc.
7159 * manual/probes.texi: Document them.
7161 * malloc/malloc.c (__libc_free): Add
7162 memory_mallopt_free_dyn_thresholds probe.
7163 (__libc_mallopt): Add multiple memory_mallopt probes.
7164 * manual/probes.texi: Document them.
7166 * malloc/malloc.c: Include stap-probe.h.
7167 (__libc_mallopt): Add memory_mallopt probe.
7168 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7169 * manual/probes.texi: New.
7170 * manual/Makefile (chapters): Add probes.
7171 * manual/threads.texi: Set next node.
7173 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
7176 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7177 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7178 Add `Chinese' to `nan' entry name.
7180 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7182 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7183 (POLYNOMIAL): Likewise.
7184 (TAYLOR_SINCOS): Likewise.
7185 (TAYLOR_SLOW): Likewise.
7186 (__sin): Use TAYLOR_SINCOS.
7188 (slow): Use TAYLOR_SLOW.
7193 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7195 * stdlib/strtod_l.c: Fix buffer overrun.
7197 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7199 * benchtests/Makefile (bench): Add sincos.
7200 * benchtests/bench-sincos.c: New file.
7202 * math/libm-test.inc (cos_test_data): New test inputs.
7203 (sin_test_data): Likewise.
7205 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7213 (bsloww1): Likewise.
7214 (bsloww2): Likewise.
7216 (csloww1): Likewise.
7217 (csloww2): Likewise.
7219 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7224 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7228 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7230 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7231 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7232 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7233 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7234 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7235 * elf/cache.c (print_entry): Handle the new cache flags.
7237 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7238 Aldy Hernandez <aldyh@redhat.com>
7240 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7241 Change condition to [_SOFT_FLOAT].
7242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7246 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7248 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7249 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7254 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7257 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7260 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7262 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7263 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7264 (__longjmp): Use LOAD_GP to load saved GPRs.
7265 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7266 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7267 (__sigsetjmp): Use SAVE_GP to save GPRs.
7269 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7270 Do not append -msoft-float.
7271 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7273 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7275 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7277 2013-09-17 Joseph Myers <joseph@codesourcery.com>
7280 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7281 (_FPU_GETCW): Use initial "__" on variable and field names but not
7282 on macro parameter name.
7283 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7284 parentheses around reference to macro parameter.
7286 2013-09-13 Richard Sandiford <richard@codesourcery.com>
7288 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7290 (ctype_startup): Use uint32_t in cast and sizeof for
7293 2013-09-11 Jia Liu <proljc@gmail.com>
7295 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7297 [__FreeBSD__]: Likewise.
7299 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
7301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7302 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7303 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7304 (strchr): Remove __strchr_sse42 ifunc selection.
7305 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7306 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7308 2013-09-11 Will Newton <will.newton@linaro.org>
7310 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7311 parameter to RES. Remove hardcoded 1000 value.
7312 * benchtests/bench-skeleton.c (main): Pass RES parameter
7313 to TIMING_INIT and multiply result by 1000.
7315 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7319 2013-09-11 Andreas Schwab <schwab@suse.de>
7321 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7323 (O_TMPFILE) [__USE_GNU]: Define.
7324 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7327 2013-09-11 Will Newton <will.newton@linaro.org>
7330 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7333 2013-09-11 Will Newton <will.newton@linaro.org>
7336 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7339 2013-09-11 Will Newton <will.newton@linaro.org>
7342 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7345 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
7347 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7348 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7349 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7350 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7351 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7353 2013-09-10 Allan McRae <allan@archlinux.org>
7356 * manual/arith.texi (Parsing of Floats): Clarify
7360 * manual/install.texi (Running make install): Mention
7362 * INSTALL: Regenerated.
7364 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7366 * csu/init-first.c (_init): Remove the !SHARED condition around
7367 FPU control word initialization.
7368 * elf/dl-support.c (_dl_fpu_control): New variable.
7369 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7370 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7371 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7372 * math/test-fpucw-static.c: New file.
7373 * math/test-fpucw-ieee.c: New file.
7374 * math/test-fpucw-ieee-static.c: New file.
7375 * math/Makefile (tests): Add `test-fpucw-ieee' and
7377 (tests-static): New variable.
7378 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7380 [($(build-shared),yes)]
7381 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7383 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7386 2013-09-09 Allan McRae <allan@archlinux.org>
7389 * manual/string.texi (Collation Functions): Fix typo in
7391 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7394 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7397 * libio/memstream.c (open_memstream): Fix memory leak.
7398 * libio/wmemstream.c (open_wmemstream): Likewise.
7401 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7403 2013-09-09 Will Newton <will.newton@linaro.org>
7405 * malloc/Makefile: Add tst-realloc to tests.
7406 * malloc/tst-realloc.c: New file.
7408 2013-09-09 Allan McRae <allan@archlinux.org>
7411 * COPYING: Update from GNU website to fix FSF address.
7412 * COPYING.LIB: Likewise.
7414 2013-09-06 David S. Miller <davem@davemloft.net>
7416 * po/zh_TW.po: Update Chinese (traditional) translation from
7417 translation project.
7419 2013-09-06 Richard Sandiford <richard@codesourcery.com>
7420 Joseph Myers <joseph@codesourcery.com>
7422 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7424 (obstack_chunk_alloc): New macro.
7425 (obstack_chunk_free): Likewise.
7426 (record_offset): New function.
7427 (init_locale_data): Likewise.
7428 (align_locale_data): Likewise.
7429 (add_locale_empty): Likewise.
7430 (add_locale_raw_data): Likewise.
7431 (add_locale_raw_obstack): Likewise.
7432 (add_locale_string): Likewise.
7433 (add_locale_wstring): Likewise.
7434 (add_locale_uint32): Likewise.
7435 (add_locale_uint32_array): Likewise.
7436 (add_locale_char): Likewise.
7437 (start_locale_structure): Likewise.
7438 (end_locale_structure): Likewise.
7439 (start_locale_prelude): Likewise.
7440 (end_locale_prelude): Likewise.
7441 (write_locale_data): Take locale_file structure rather than an
7443 * locale/programs/locfile.h: Include "obstack.h".
7444 (struct locale_file): Change to store locale file contents instead
7446 (init_locale_data): New prototype.
7447 (align_locale_data): Likewise.
7448 (add_locale_empty): Likewise.
7449 (add_locale_raw_data): Likewise.
7450 (add_locale_raw_obstack): Likewise.
7451 (add_locale_string): Likewise.
7452 (add_locale_wstring): Likewise.
7453 (add_locale_uint32): Likewise.
7454 (add_locale_uint32_array): Likewise.
7455 (add_locale_char): Likewise.
7456 (start_locale_structure): Likewise.
7457 (end_locale_structure): Likewise.
7458 (start_locale_prelude): Likewise.
7459 (end_locale_prelude): Likewise.
7460 (write_locale_data): Update prototype.
7461 * locale/programs/3level.h (struct TABLE): Remove result field.
7462 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7463 Use new locale_file interface.
7464 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7465 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7466 * locale/programs/ld-address.c (address_output): Use new
7467 locale_file interface.
7468 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7470 (collate_finish): Don't call collseq_table_finalize.
7471 (collate_output): Use new locale_file interface.
7472 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7474 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7475 (TABLE): Move defines earlier in file.
7476 (ELEMENT): Likewise.
7477 (DEFAULT): Likewise.
7478 (wctrans_table_add): Move macro and inline function earlier in
7480 (struct wctype_table): Move type earlier in file.
7481 (add_locale_wctype_table): New static prototype.
7482 (struct locale_ctype_t): Use logical types instead of struct iovec
7483 pointers for members.
7484 (ctype_output): Use new locale_file interface.
7485 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7486 new locale_file interface.
7487 (allocate_arrays): Update for use of new locale_file interface.
7488 * locale/programs/ld-identification.c (identification_output): Use
7489 new locale_file interface.
7490 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7491 * locale/programs/ld-messages.c (messages_output): Likewise.
7492 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7493 * locale/programs/ld-name.c (name_output): Likewise.
7494 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7495 * locale/programs/ld-paper.c (paper_output): Likewise.
7496 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7497 * locale/programs/ld-time.c (time_output): Likewise.
7499 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7501 * benchtests/Makefile: Add memrchr benchmark.
7502 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7503 benchmark as memrchr.
7504 * benchtests/bench-memrchr-ifunc.c: New file.
7505 * benchtests/bench-memrchr.c: New file.
7507 2013-09-06 Will Newton <will.newton@linaro.org>
7509 * benchtests/Makefile (string-bench): Add memcpy.
7511 2013-09-05 Carlos O'Donell <carlos@redhat.com>
7512 Cong Wang <amwang@redhat.com>
7515 * sysdeps/unix/sysv/linux/bits/in.h
7516 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7517 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7518 before __USE_KERNEL_IPV6_DEFS uses.
7519 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7521 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7522 sockaddr_in6, or ipv6_mreq.
7524 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7526 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7527 memory access for final bytes in some large inputs.
7528 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7530 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7532 * string/test-memrchr.c: New file.
7533 * string/test-memrchr-ifunc.c: New file.
7534 * string/Makefile: Add new memrchr testcase.
7536 2013-09-05 Mike Frysinger <vapier@gentoo.org>
7538 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7539 fanotify_init returns EPERM.
7541 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7543 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7545 (top level): Treat second token from macro or constant entries for
7546 allowed headers as allowed.
7547 * include/complex.h: Condition internal declarations on
7549 * include/fenv.h: Condition include of <stdbool.h> and internal
7550 declarations on [!_ISOMAC].
7552 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7555 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7557 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7559 * configure.in (--enable-versioning): Remove configure option.
7560 (libc_cv_asm_symver_directive): Remove configure test.
7561 (libc_cv_ld_version_script_option): Likewise.
7562 (VERSIONING): Remove variable and AC_SUBST.
7563 (DO_VERSIONING): Remove AC_DEFINE.
7564 * configure: Regenerated.
7565 * config.h.in (DO_VERSIONING): Remove macro.
7566 * Makerules [$(versioning) = yes]: Change conditionals to
7567 [$(build-shared) = yes].
7568 * config.make.in (versioning): Remove variable.
7569 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7570 [$(build-shared) = yes].
7571 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7572 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7573 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7574 [$(build-shared) = yes].
7575 * extra-lib.mk [$(versioning) = yes]: Likewise.
7576 * hurd/Makefile [$(versioning) = yes]: Likewise.
7577 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7579 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7581 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7582 [SHARED && !NO_HIDDEN].
7583 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7585 [SHARED && DO_VERSIONING]: Likewise..
7586 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7587 [$(build-shared) = yes].
7588 * manual/install.texi (--disable-versioning): Remove
7590 * INSTALL: Regenerated.
7591 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7593 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7594 [$(build-shared) = yes].
7595 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7596 * sysdeps/i386/i686/multiarch/strstr-c.c
7597 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7598 [SHARED && !NO_HIDDEN].
7599 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7600 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7601 * sysdeps/powerpc/powerpc32/dl-machine.c
7602 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7603 * sysdeps/powerpc/powerpc32/sysdep.h
7604 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7605 to [SHARED && PIC && !NO_HIDDEN].
7606 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7607 conditional to [SHARED].
7609 2013-09-04 Will Newton <will.newton@linaro.org>
7611 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7612 * benchtests/bench-string.h: Include bench-timing.h instead
7613 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7614 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7615 call to HP_TIMING_DIFF_INIT.
7616 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7617 instead of hp-timing.h macros.
7618 * benchtests/bench-memchr.c: Likewise.
7619 * benchtests/bench-memcmp.c: Likewise.
7620 * benchtests/bench-memcpy.c: Likewise.
7621 * benchtests/bench-memmem.c: Likewise.
7622 * benchtests/bench-memmove.c: Likewise.
7623 * benchtests/bench-memset.c: Likewise.
7624 * benchtests/bench-rawmemchr.c: Likewise.
7625 * benchtests/bench-strcasecmp.c: Likewise.
7626 * benchtests/bench-strcasestr.c: Likewise.
7627 * benchtests/bench-strcat.c: Likewise.
7628 * benchtests/bench-strchr.c: Likewise.
7629 * benchtests/bench-strcmp.c: Likewise.
7630 * benchtests/bench-strcpy.c: Likewise.
7631 * benchtests/bench-strcpy_chk.c: Likewise.
7632 * benchtests/bench-strlen.c: Likewise.
7633 * benchtests/bench-strncasecmp.c: Likewise.
7634 * benchtests/bench-strncat.c: Likewise.
7635 * benchtests/bench-strncmp.c: Likewise.
7636 * benchtests/bench-strncpy.c: Likewise.
7637 * benchtests/bench-strnlen.c: Likewise.
7638 * benchtests/bench-strpbrk.c: Likewise.
7639 * benchtests/bench-strrchr.c: Likewise.
7640 * benchtests/bench-strspn.c: Likewise.
7641 * benchtests/bench-strstr.c: Likewise.
7643 2013-09-04 Will Newton <will.newton@linaro.org>
7645 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7647 2013-09-03 Joseph Myers <joseph@codesourcery.com>
7650 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7651 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7652 * math/libm-test.inc (lgamma_test_data): Add more tests.
7653 * sysdeps/i386/fpu/libm-test-ulps: Update.
7654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7656 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
7658 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7659 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7661 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7662 Add strcmp-sse2-unaligned
7663 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7665 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7667 * Versions.def (libc): Add GLIBC_2.19.
7669 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7671 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7672 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7674 2013-09-02 Joseph Myers <joseph@codesourcery.com>
7677 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7678 intermediate calculations in recurrence.
7679 (__ieee754_ynf): Likewise.
7680 * math/libm-test.inc (jn_test_data): Do not allow spurious
7681 underflow exception. Add more tests.
7682 (yn_test_data): Add more tests.
7683 * sysdeps/i386/fpu/libm-test-ulps: Update.
7684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7686 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
7688 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7690 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7692 * csu/init-first.c: Fix then/than typos.
7693 * locale/programs/ld-collate.c: Likewise.
7694 * locale/programs/linereader.h: Likewise.
7695 * manual/charset.texi: Likewise.
7696 * manual/filesys.texi: Likewise.
7697 * manual/stdio.texi: Likewise.
7698 * manual/string.texi: Likewise.
7699 * stdlib/fmtmsg.c: Likewise.
7700 * sysdeps/i386/stpncpy.S: Likewise.
7701 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7702 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7703 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7704 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7706 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7708 * elf/dl-open.c: Fix typos.
7709 * iconvdata/gbbig5.c: Likewise.
7710 * iconvdata/iso-2022-jp.c: Likewise.
7711 * iconv/gconv_int.h: Likewise.
7712 * iconv/loop.c: Likewise.
7713 * nis/rpcsvc/nis.h: Likewise.
7714 * resolv/ns_name.c: Likewise.
7715 * stdio-common/vfscanf.c: Likewise.
7716 * streams/stropts.h: Likewise.
7717 * sunrpc/rpc_thread.c: Likewise.
7718 * sysdeps/i386/strpbrk.S: Likewise.
7719 * sysdeps/ieee754/k_standard.c: Likewise.
7720 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7721 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7722 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7723 * sysdeps/mach/hurd/profil.c: Likewise.
7724 * sysdeps/s390/dl-procinfo.h: Likewise.
7725 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7726 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7727 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7728 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7729 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7731 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7733 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7734 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7736 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7738 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7740 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7741 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7742 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7743 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7744 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7745 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7746 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7747 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7749 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7750 Roland McGrath <roland@hack.frob.com>
7752 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7753 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7755 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7757 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7758 __executable_start symbol instead of _start.
7760 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7762 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7763 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7765 * sysdeps/gnu/ldsodefs.h: ... this new file.
7767 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7768 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7769 instead of ELFOSABI_LINUX.
7771 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7772 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7773 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7774 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7776 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7777 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7778 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7780 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7781 (ibm_extended_long_double): Add ieee_nan member.
7782 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7783 (do_test): New function.
7785 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7787 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7788 functions, renamed from truncdfsf_test, trunctfsf_test,
7790 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7792 (do_test): Run all these.
7794 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7796 * argp/argp-help.c: Fix typos.
7797 * argp/argp-parse.c: Likewise.
7798 * debug/backtracesyms.c: Likewise.
7799 * elf/elf.h: Likewise.
7800 * malloc/malloc.c: Likewise.
7801 * nis/nis_print.c: Likewise.
7802 * resolv/res_comp.c: Likewise.
7803 * stdlib/stdlib.h: Likewise.
7804 * sunrpc/clnt_tcp.c: Likewise.
7805 * sunrpc/clnt_udp.c: Likewise.
7806 * sunrpc/clnt_unix.c: Likewise.
7807 * sysdeps/unix/bsd/ptsname.c: Likewise.
7808 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7809 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7816 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7818 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7820 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7823 2013-08-27 Mike Frysinger <vapier@gentoo.org>
7826 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7827 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7828 ($(objpfx)bug-dl-leaf): New rule.
7829 ($(objpfx)bug-dl-leaf.so): Likewise.
7830 ($(objpfx)bug-dl-leaf.out): Likewise.
7831 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7832 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7833 * dlfcn/bug-dl-leaf.c: New test.
7834 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7835 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7836 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7837 (dlclose): Likewise.
7838 (dlmopen): Likewise.
7840 2013-08-27 Roland McGrath <roland@hack.frob.com>
7842 * include/netdb.h [!_ISOMAC]:
7843 Don't include <tls.h>.
7844 (h_errno, __libc_h_errno): Move declaration and macros out of
7847 * include/resolv.h [_RESOLV_H_]:
7848 Don't include <tls.h>.
7849 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7850 * resolv/res_libc.c: Don't include <tls.h>.
7851 (_res): Use __attribute__ ((nocommon)) in place of
7852 __attribute__ ((section (".bss"))).
7854 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7855 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7857 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7859 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7860 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7862 * resolv/res_mkquery.c: Include <sys/time.h>.
7864 * inet/ifreq.c: Moved to ...
7865 * sysdeps/unix/ifreq.c: ... here.
7866 * inet/ifreq.c: New file, true stub version.
7868 * socket/sa_len.c: New file.
7869 * socket/Makefile (aux): Add it.
7870 * sysdeps/unix/sysv/linux/Makefile
7871 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7872 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7873 and #include <socket/sa_len.c>.
7874 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7875 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7877 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7878 * bits/socket.h: ... here.
7880 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7881 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7882 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7884 2013-08-27 Andreas Schwab <schwab@suse.de>
7887 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7888 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7889 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7890 * string/test-strcasecmp.c (test_main): Run tests in several
7892 * string/test-strncasecmp.c (test_main): Likewise.
7894 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7895 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7896 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7897 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7898 (__strncasecmp_ssse3) [PIC]: Likewise.
7900 2013-08-26 Roland McGrath <roland@hack.frob.com>
7902 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7904 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7905 instead of explicitly declaring xdecrypt.
7906 * nis/nss_nis/nis-publickey.c: Likewise.
7908 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7911 * nscd/aicache.c: Include res_hconf.h.
7912 (addhstaiX): Initialize res_hconf.
7914 2013-08-26 Andreas Schwab <schwab@suse.de>
7916 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7917 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7919 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7921 * nscd/aicache.c (addhstaiX): Fix indentation.
7923 2013-08-25 Mike Frysinger <vapier@gentoo.org>
7925 * configure.ac: Quote $build_pt_chown test.
7926 * configure: Regenerated.
7928 2013-08-23 Joseph Myers <joseph@codesourcery.com>
7931 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7932 * math/s_cexpf.c (__cexpf): Likewise.
7933 * math/s_cexpl.c (__cexpl): Likewise.
7934 * math/libm-test.inc (cexp_test_data): Correct expected return
7935 value for NaN + i0. Add another test.
7937 2013-08-22 David S. Miller <davem@davemloft.net>
7939 * po/ca.po: Update Catalan translation from translation project.
7940 * po/uk.po: Add Ukrainian translations from translation project.
7942 2013-08-21 Joseph Myers <joseph@codesourcery.com>
7945 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7946 is infinite, not alongside NaN test.
7947 * math/s_fdimf.c (__fdimf): Likewise.
7948 * math/s_fdiml.c (__fdiml): Likewise.
7949 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7952 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
7954 * argp/argp-help.c: Fix typos.
7955 * crypt/speeds.c: Likewise.
7956 * csu/check_fds.c: Likewise.
7957 * elf/dl-load.c: Likewise.
7958 * elf/dl-open.c: Likewise.
7959 * elf/reldep3.c: Likewise.
7960 * elf/reldep.c: Likewise.
7961 * elf/sprof.c: Likewise.
7962 * iconv/iconv_charmap.c: Likewise.
7963 * iconv/skeleton.c: Likewise.
7964 * iconv/strtab.c: Likewise.
7965 * io/lockf64.c: Likewise.
7966 * libio/libioP.h: Likewise.
7967 * resolv/gai_notify.c: Likewise.
7968 * resolv/ns_name.c: Likewise.
7969 * resolv/ns_samedomain.c: Likewise.
7970 * resolv/res_send.c: Likewise.
7971 * stdlib/random.c: Likewise.
7972 * sunrpc/rpc/xdr.h: Likewise.
7973 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7974 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7975 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7976 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7977 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7978 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7979 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7980 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7981 * sysdeps/mach/hurd/check_fds.c: Likewise.
7982 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7983 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7984 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7985 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7986 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7987 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7988 * sysdeps/pthread/aio_notify.c: Likewise.
7989 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7990 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7991 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7992 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7993 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7995 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7997 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7998 version if bit_Slow_SSE4_2 is set.
7999 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8000 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8002 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8005 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8006 trampoline stack frame information.
8007 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8008 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8009 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8010 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8011 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8012 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8013 (_libc_vdso_platform_setup): Initialize the signal trampolines.
8014 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8016 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8017 interrupting a syscall and set with option SA_SIGINFO.
8019 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8022 * math/s_cproj.c (__cproj): Only return an infinity if one part of
8023 argument is infinite.
8024 * math/s_cprojf.c (__cprojf): Likewise.
8025 * math/s_cprojl.c (__cprojl): Likewise.
8026 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8027 * math/libm-test.inc (cproj_test_data): Add more tests.
8029 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8031 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8032 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8033 size. Use __ffs to determine corresponding shift.
8035 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8036 Roland McGrath <roland@hack.frob.com>
8038 * Makefile (INSTALL): Remove trailing blank lines from output of
8041 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8043 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8044 Align 32 bit compat elf_greg to 8 bytes.
8046 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8048 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8050 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8052 * string/strcoll_l.c (coll_seq): New structure.
8053 (get_next_seq_cached): New function.
8054 (get_next_seq): New function.
8055 (do_compare): New function.
8056 (STRCOLL): Use GNU style definition. Simplify implementation
8057 by using get_next_seq, get_next_seq_cached and do_compare.
8059 2013-08-16 Florian Weimer <fweimer@redhat.com>
8063 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8065 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8067 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8068 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8069 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
8071 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8072 GETDENTS_64BIT_ALIGNED.
8073 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8074 * manual/filesys.texi (Reading/Closing Directory): Document
8075 ENAMETOOLONG return value of readdir_r. Recommend readdir more
8077 * manual/conf.texi (Limits for Files): Add portability note to
8079 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8081 2013-08-13 Andreas Schwab <schwab@suse.de>
8084 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8086 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8087 LDBL_MAX_EXP >= 16384]: Add tests for it.
8089 2013-08-12 David S. Miller <davem@davemloft.net>
8091 * version.h (RELEASE): Set to "development".
8092 (VERSION): Set to "2.18.90".
8093 * NEWS: Add 2.19 section.
8095 2013-08-03 David S. Miller <davem@davemloft.net>
8097 * po/ko.po: Update Korean translation from translation project.
8099 2013-08-01 David S. Miller <davem@davemloft.net>
8101 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
8102 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8105 2013-07-30 David S. Miller <davem@davemloft.net>
8107 * po/fr.po: Update French translation from translation project.
8109 2013-07-28 David S. Miller <davem@davemloft.net>
8111 * po/cs.po: Update Czech translation from translation project.
8113 * po/sv.po: Update Swedish translation from translation project.
8115 2013-07-27 David S. Miller <davem@davemloft.net>
8117 * po/eo.po: Update Esperanto translation from translation project.
8119 * po/vi.po: Update Vietnamese translation from translation project.
8121 * po/de.po: Update German translation from translation project.
8123 2013-07-26 David S. Miller <davem@davemloft.net>
8125 * po/bg.po: Update Bulgarian translation from translation project.
8127 * po/nl.po: Update Dutch translation from translation project.
8128 * po/pl.po: Update Polish translation from translation project.
8129 * po/ru.po: Update Russian translation from translation project.
8131 2013-07-24 David S. Miller <davem@davemloft.net>
8133 * po/libc.pot: Update.
8135 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8137 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8139 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8140 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8141 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8143 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8145 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8147 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8148 Andreas Schwab <schwab@suse.de>
8149 Roland McGrath <roland@hack.frob.com>
8150 Joseph Myers <joseph@codesourcery.com>
8151 Carlos O'Donell <carlos@redhat.com>
8154 * config.h.in: Define HAVE_PT_CHOWN.
8155 * config.make.in (build-pt-chown): New variable.
8156 * configure.in (--enable-pt_chown): New configure option.
8157 * configure: Regenerate.
8158 * login/Makefile: Include Makeconfig. Build pt_chown only if
8159 build-pt-chown is enabled.
8160 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8161 pt_chown to fix pty ownership.
8162 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8164 * manual/install.texi (Configuring and compiling): Mention
8165 --enable-pt_chown. Add @findex for grantpt.
8166 * INSTALL: Regenerate.
8168 2013-07-20 David S. Miller <davem@davemloft.net>
8170 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8171 difference between 32-bit and 64-bit.
8173 2013-07-15 Carlos O'Donell <carlos@redhat.com>
8176 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8177 Avoid system header dependency with -ffreestanding.
8178 ($(objpfx)bits/syscall%d): Likewise.
8180 2013-07-13 David S. Miller <davem@davemloft.net>
8182 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8183 underflows from atanl/atan2l due to bug 15319.
8184 (casinh_test_data): Likewise.
8186 2013-07-07 David S. Miller <davem@davemloft.net>
8188 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8190 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8192 * sysdeps/i386/fpu/libm-test-ulps: Update.
8193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8195 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8197 * configure.in (--enable-lock-elision): Fix message text.
8198 * INSTALL: Regenerate.
8199 * configure: Regenerate.
8201 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8205 2013-07-03 Andreas Jaeger <aj@suse.de>
8207 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8209 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8210 (ptrace_peeksiginfo_args): Add.
8211 (__ptrace_peeksiginfo_flags): Add.
8212 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8214 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8216 2013-07-03 Allan McRae <allan@archlinux.org>
8218 * sysdeps/i386/fpu/libm-test-ulps: Update.
8220 2013-07-02 David S. Miller <davem@davemloft.net>
8222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8224 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8228 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8230 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8233 2013-07-02 Andi Kleen <ak@linux.intel.com>
8235 * config.h.in (ENABLE_LOCK_ELISION): Add.
8236 * configure.in (--enable-lock-elision): Add option.
8237 * manual/install.texi: Document --enable lock elision.
8238 * configure: Regenerate
8239 * INSTALL: Regenerate.
8241 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8243 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8244 SSE4.2 strcasecmp for libc.a.
8245 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8247 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8250 * soft-fp/op-common.h (_FP_FMA): New macro.
8251 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8252 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8253 (_FP_MUL_MEAT_1_imm): ... here.
8254 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8255 (_FP_MUL_MEAT_1_wide): ... here.
8256 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8257 (_FP_MUL_MEAT_1_hard): ... here.
8258 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8259 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8260 (_FP_MUL_MEAT_2_wide): ... here.
8261 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8262 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8263 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8264 (_FP_MUL_MEAT_2_gmp): ... here.
8265 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8266 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8267 (_FP_MUL_MEAT_4_wide): ... here.
8268 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8269 (_FP_MUL_MEAT_4_gmp): ... here.
8270 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8271 (_FP_WFRACBITS_DW_S): Likewise.
8272 (_FP_WFRACXBITS_DW_S): Likewise.
8273 (_FP_HIGHBIT_DW_S): Likewise.
8274 (FP_FMA_S): Likewise.
8275 (_FP_FRAC_HIGH_DW_S): Likewise.
8276 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8277 (_FP_WFRACBITS_DW_D): Likewise.
8278 (_FP_WFRACXBITS_DW_D): Likewise.
8279 (_FP_HIGHBIT_DW_D): Likewise.
8280 (FP_FMA_D): Likewise.
8281 (_FP_FRAC_HIGH_DW_D): Likewise.
8282 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8283 (_FP_WFRACBITS_DW_E): Likewise.
8284 (_FP_WFRACXBITS_DW_E): Likewise.
8285 (_FP_HIGHBIT_DW_E): Likewise.
8286 (FP_FMA_E): Likewise.
8287 (_FP_FRAC_HIGH_DW_E): Likewise.
8288 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8289 (_FP_WFRACBITS_DW_Q): Likewise.
8290 (_FP_WFRACXBITS_DW_Q): Likewise.
8291 (_FP_HIGHBIT_DW_Q): Likewise.
8292 (FP_FMA_Q): Likewise.
8293 (_FP_FRAC_HIGH_DW_Q): Likewise.
8294 * soft-fp/fmasf4.c: New file.
8295 * soft-fp/fmadf4.c: Likewise.
8296 * soft-fp/fmatf4.c: Likewise.
8298 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8301 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8303 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8305 (index_Slow_SSE4_2): Likewise.
8306 (index_Prefer_PMINUB_for_stringop): Likewise.
8307 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8308 bit_Slow_SSE4_2 is set.
8309 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8310 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8312 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8314 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8315 rtld_global._dl_hwcap2.
8316 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8318 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8319 POWER8 feature descriptions defined in _dl_hwcap2.
8320 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8321 string handling for POWER8 feature bits.
8322 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8323 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8324 _dl_powerpc_cap_flags.
8325 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8326 * sysdeps/powerpc/rtld-global-offsets.sym
8327 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8328 _dl_hwcap2 in the rtld_global_ro structure.
8330 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8332 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8333 hardware capabilities in support of AT_HWCAP2.
8334 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8335 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8337 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8338 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8339 explicitly the unknown a_type display mechanism is used.
8340 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8341 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8343 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8344 to macro prototype for AT_HWCAP2 support.
8345 * sysdeps/i386/dl-procinfo.h: Likewise.
8346 * sysdeps/s390/dl-procinfo.h: Likewise.
8347 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8348 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8349 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8350 return -1 for unknown a_type display fallback.
8351 * sysdeps/sparc/dl-procinfo.h: Likewise.
8352 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8353 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8355 2013-06-28 Joseph Myers <joseph@codesourcery.com>
8357 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8358 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8360 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8363 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8364 mprotect making __stack_prot writable.
8366 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8367 Joseph Myers <joseph@codesourcery.com>
8369 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8370 as being properly aligned.
8372 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8374 * dlfcn/modstatic5.c: New file.
8375 * dlfcn/tststatic5.c: New file.
8376 * dlfcn/Makefile (tests): Add tststatic5.
8377 (tests-static): Likewise.
8378 (modules-names): Add modstatic5.
8379 (tststatic5-ENV): New variable.
8380 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8383 * elf/dl-support.c (_dl_main_map): New variable.
8384 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8385 (_dl_nns, _dl_load_adds): Set to 1.
8386 (_dl_initial_searchlist): Refer to _dl_main_map.
8387 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8388 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8389 call to _dl_get_origin.
8390 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8392 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8393 * dlfcn/modstatic3.c: New file.
8394 * dlfcn/tststatic3.c: New file.
8395 * dlfcn/tststatic4.c: New file.
8396 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8397 (tests-static): Likewise.
8398 (modules-names): Add modstatic3.
8399 (tststatic3-ENV, tststatic4-ENV): New variables.
8400 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8401 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8403 2013-06-26 Joseph Myers <joseph@codesourcery.com>
8405 * configure.in (CC): Require GCC version 4.4 or later.
8406 * configure: Regenerated.
8407 * manual/install.texi (Tools for Compilation): Update GCC version
8409 * INSTALL: Regenerated.
8411 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8414 * string/test-memcmp.c (check2): New.
8415 (main): Call check2.
8417 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8419 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8422 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8424 (dl_open_worker) [!SHARED]: ... here.
8426 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8428 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8430 2013-06-25 Richard Henderson <rth@redhat.com>
8432 * locale/programs/locarchive.c: Include <libc-internal.h>
8434 2013-06-25 Joseph Myers <joseph@codesourcery.com>
8436 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8437 trailing whitespace removed.
8439 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8442 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8443 * locale/programs/locarchive.c: Include libc-mmap.h.
8444 (prepare_address_space): Take two new outputs (the mmap base and len).
8445 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8447 (create_archive): Declare new mmap base and len values for
8448 prepare_address_space, and store the result in ah.
8449 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8450 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8451 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8452 Declare new mmap base and len values for
8453 prepare_address_space, and store the result in new_ah.
8454 (open_archive): Declare new mmap base and len values for
8455 prepare_address_space, and store the result in ah.
8456 (close_archive): If ah->mmap_base is not NULL, use that and
8457 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8458 * sysdeps/generic/libc-mmap.h: New file.
8460 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8462 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8463 (ALIGN_UP): Likewise.
8464 (PTR_ALIGN_DOWN): Likewise.
8465 (PTR_ALIGN_UP): Likewise.
8467 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8469 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8470 entry mapped to PPC_PLATFORM_POWER8.
8471 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8473 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8474 (_dl_string_platform): Add case for exporting platform position for
8476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8477 search path to sysdeps/powerpc/powerpc32/power8 directory.
8478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8479 search path to sysdeps/powerpc/powerpc64/power8 directory.
8480 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8482 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8485 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8487 * INSTALL: Regenerate.
8489 * nscd/connections.c (nscd_init): Fix comment.
8491 2013-06-22 Joseph Myers <joseph@codesourcery.com>
8493 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8496 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8497 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8499 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8501 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8503 (DL_DST_REQ_STATIC): Remove macro.
8505 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8508 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8509 with a shift of 0 bits.
8511 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8513 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8516 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8519 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8521 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8523 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8524 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8525 accepts -fno-tree-loop-distribute-patterns.
8526 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8527 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8529 * string/memset.c (memset): Likewise.
8530 * string/test-memmove.c (simple_memmove): Disable loop transformation
8532 * string/test-memset.c (simple_memset): Likewise.
8533 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8534 * benchtests/bench-memset.c (simple_memset): Likewise.
8535 * configure: Regenerated.
8537 2013-06-20 Joseph Myers <joseph@codesourcery.com>
8539 * math/test-misc.c (main): Ignore fesetround failure when failures
8540 of subsequent rounding tests would be ignored.
8543 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8544 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8545 * math/fegetenv.c (__fegetenv): Return 0.
8546 * math/fegetexcept.c (fegetexcept): Return 0.
8547 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8549 * math/feholdexcpt.c (feholdexcept): Return 0.
8550 * math/fesetenv.c (__fesetenv): Return 0.
8551 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8552 argument FE_TONEAREST.
8553 * math/feupdateenv.c (__feupdateenv): Return 0.
8554 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8556 2013-06-18 Roland McGrath <roland@hack.frob.com>
8558 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8559 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8560 ($(objpfx)rtld-%.os rules): Use them.
8562 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8564 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8567 2013-06-17 Roland McGrath <roland@hack.frob.com>
8569 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8570 length of target pattern, then descending length of dependency pattern.
8571 * configure.in (AWK): Require gawk 3.1.2 or newer.
8572 * manual/install.texi (Tools for Compilation): Say that we do.
8573 * configure: Regenerated.
8575 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8576 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8577 * scripts/sysd-rules.awk: ... this new script.
8578 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8579 than a glob-style pattern.
8581 2013-06-17 Joseph Myers <joseph@codesourcery.com>
8583 * math/test-misc.c (main): Do not treat incorrectly rounded
8584 conversions as failure unless ROUNDING_TESTS passes.
8586 2013-06-15 Joseph Myers <joseph@codesourcery.com>
8589 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8590 restore exception state around main square root computation, then
8591 check for inexactness explicitly.
8593 * math/libm-test.inc (fma_test_data): Add another test.
8595 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8597 * manual/threads.texi (Non-POSIX Extensions): New document
8598 node. Document pthread_getattr_default_np and
8599 pthread_setattr_default_np.
8601 * Versions.def (libpthread): Add GLIBC_2.18.
8602 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8611 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8622 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8625 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8627 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8628 H.J. Lu <hjl.tools@gmail.com>
8631 * sysdeps/x86_64/rtld-memset.c: Remove file.
8632 * sysdeps/x86_64/rtld-memset.S: New file.
8634 2013-06-14 Joseph Myers <joseph@codesourcery.com>
8636 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8637 (test_in_one_mode): Take arguments for whether the rounding mode
8638 is supported for each floating-point type.
8639 (do_test): Pass new arguments to test_in_one_mode using
8642 2013-06-13 Roland McGrath <roland@hack.frob.com>
8644 * posix/tst-waitid.c (do_test): Distinguish different instances of
8645 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8646 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8647 before entering the kernel for waitpid.
8649 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8651 * NEWS: Fix note on clock function precision. Text by Roland
8654 2013-06-13 Roland McGrath <roland@hack.frob.com>
8656 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8657 it into place only when and if the sanity check passes.
8659 2013-06-13 Joseph Myers <joseph@codesourcery.com>
8661 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8662 output for whether conversion result is exact. Take argument
8663 indicating whether type is IBM long double.
8664 (round_for_all): Change need_exact field to ibm_ld.
8665 * stdlib/tst-strtod-round.c (struct exactness): New type.
8666 (struct test): Change bool ld_ok field to struct exactness exact.
8667 (TEST): Update all definitions for change to field.
8668 (tests): Regenerate array contents.
8669 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8670 field value. Check for IBM long double here.
8671 (do_test): Update calls to test_in_one_mode.
8673 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8676 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8677 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8679 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8682 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8683 generated by the compiler on loop optimizations.
8684 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8685 general definitions.
8687 2013-06-12 Joseph Myers <joseph@codesourcery.com>
8689 * math/bug-nextafter.c: Include <math-tests.h>.
8690 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8692 * math/bug-nexttoward.c: Include <math-tests.h>.
8693 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8695 * math/test-misc.c: Include <math-tests.h>.
8696 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8699 2013-06-12 Andreas Jaeger <aj@suse.de>
8701 * po/ia.po: Update Interlingua translation from translation
8704 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8706 * include/fenv.h: Include stdbool.h.
8707 (struct rm_ctx): New structure.
8708 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8710 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8711 (SET_RESTORE_ROUNDF): Likewise.
8712 (SET_RESTORE_ROUNDL): Likewise.
8713 (SET_RESTORE_ROUND_NOEX): Likewise.
8714 (SET_RESTORE_ROUND_NOEXF): Likewise.
8715 (SET_RESTORE_ROUND_NOEXL): Likewise.
8716 (SET_RESTORE_ROUND_53BIT): Likewise.
8717 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8718 (libc_feresetround_noexf_ctx): Likewise.
8719 (libc_feresetround_noexl_ctx): Likewise.
8720 (libc_feholdsetround_53bit_ctx): Likewise.
8721 (libc_feresetround_53bit_ctx): Likewise.
8722 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8723 (libc_feholdexcept_setround_sse_ctx): New function.
8724 (libc_fesetenv_sse_ctx): Likewise.
8725 (libc_feupdateenv_sse_ctx): Likewise.
8726 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8727 (libc_feholdexcept_setround_387_ctx): Likewise.
8728 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8729 (libc_feholdsetround_387_prec_ctx): Likewise.
8730 (libc_feholdsetround_387_ctx): Likewise.
8731 (libc_feholdsetround_387_53bit_ctx): Likewise.
8732 (libc_feholdsetround_sse_ctx): Likewise.
8733 (libc_feresetround_sse_ctx): Likewise.
8734 (libc_feresetround_387_ctx): Likewise.
8735 (libc_feupdateenv_387_ctx): Likewise.
8736 (libc_feholdexcept_setroundf_ctx): Define macro.
8737 (libc_fesetenvf_ctx): Likewise.
8738 (libc_feupdateenvf_ctx): Likewise.
8739 (libc_feholdsetroundf_ctx): Likewise.
8740 (libc_feresetroundf_ctx): Likewise.
8741 (libc_feholdexcept_setround_ctx): Likewise.
8742 (libc_fesetenv_ctx): Likewise.
8743 (libc_feupdateenv_ctx): Likewise.
8744 (libc_feholdsetround_ctx): Likewise.
8745 (libc_feresetround_ctx): Likewise.
8746 (libc_feholdexcept_setroundl_ctx): Likewise.
8747 (libc_feupdateenvl_ctx): Likewise.
8748 (libc_feholdsetroundl_ctx): Likewise.
8749 (libc_feresetroundl_ctx): Likewise.
8750 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8751 (libc_feresetround_53bit_ctx): Likewise.
8753 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8755 * locale/iso-639.def: Convert to UTF-8.
8757 2013-06-11 Joseph Myers <joseph@codesourcery.com>
8759 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8760 (EXCEPTION_TESTS_double): Likewise.
8761 (EXCEPTION_TESTS_long_double): Likewise.
8762 (EXCEPTION_TESTS): Likewise.
8763 * math/libm-test.inc (test_exceptions): Only test exceptions if
8764 EXCEPTION_TESTS (FLOAT).
8766 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8768 * benchtests/Makefile (string-bench): Add strcpy_chk and
8770 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8771 * benchtests/bench-stpcpy_chk.c: New file.
8772 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8773 * benchtests/bench-strcpy_chk.c: New file.
8774 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8776 (do_test): Likewise.
8778 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8780 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8781 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8782 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8783 with tabs where appropriate.
8784 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8786 [PPC_PLATFORM_PPC440]: Likewise.
8787 [PPC_PLATFORM_PPC464]: Likewise.
8788 [PPC_PLATFORM_PPC476]: Likewise.
8789 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8790 ppc464, and ppc476 platform strings merging from ports/
8793 2013-06-11 Andreas Schwab <schwab@suse.de>
8796 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8797 (from_ucs4_idx): Regenerate.
8798 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8799 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8800 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8801 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8802 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8803 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8804 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8805 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8806 from FROM_LOOP and TO_LOOP specific macros.
8807 (BODY): Handle combining characters.
8808 * iconvdata/BIG5HKSCS.irreversible: Update.
8809 * iconvdata/BIG5HKSCS.precomposed: New file.
8810 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8812 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8814 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8816 * include/sys/time.h: Fix indentation and add copyright header.
8818 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8819 (do_test): Likewise.
8820 * string/test-memchr.c (do_one_test): Likewise.
8821 (do_test): Likewise.
8822 * string/test-memcmp.c (do_one_test): Likewise.
8823 (do_test): Likewise.
8824 * string/test-memcpy.c (do_one_test): Likewise.
8825 (do_test): Likewise.
8826 * string/test-memmem.c (do_one_test): Likewise.
8827 (do_test): Likewise.
8828 (do_random_tests): Likewise.
8829 * string/test-memmove.c (do_one_test): Likewise.
8830 (do_test): Likewise.
8831 * string/test-memset.c (do_one_test): Likewise.
8832 (do_test): Likewise.
8833 * string/test-rawmemchr.c (do_one_test): Likewise.
8834 (do_test): Likewise.
8835 * string/test-strcasecmp.c (do_one_test): Likewise.
8836 (do_test): Likewise.
8837 * string/test-strcasestr.c (do_one_test): Likewise.
8838 (do_test): Likewise.
8839 * string/test-strcat.c (do_one_test): Likewise.
8840 (do_test): Likewise.
8841 * string/test-strchr.c (do_one_test): Likewise.
8842 (do_test): Likewise.
8843 * string/test-strcmp.c (do_one_test): Likewise.
8844 (do_test): Likewise.
8845 * string/test-strcpy.c (do_one_test): Likewise.
8846 (do_test): Likewise.
8847 * string/test-string.h: Likewise.
8848 (test_init): Likewise.
8849 * string/test-strlen.c (do_one_test): Likewise.
8850 (do_test): Likewise.
8851 * string/test-strncasecmp.c (do_one_test): Likewise.
8852 (do_test): Likewise.
8853 * string/test-strncat.c (do_one_test): Likewise.
8854 (do_test): Likewise.
8855 * string/test-strncmp.c (do_one_test): Likewise.
8856 (do_test_limit): Likewise.
8857 (do_test): Likewise.
8858 * string/test-strncpy.c (do_one_test): Likewise.
8859 (do_test): Likewise.
8860 * string/test-strnlen.c (do_one_test): Likewise.
8861 (do_test): Likewise.
8862 * string/test-strpbrk.c (do_one_test): Likewise.
8863 (do_test): Likewise.
8864 * string/test-strrchr.c (do_one_test): Likewise.
8865 (do_test): Likewise.
8866 * string/test-strspn.c (do_one_test): Likewise.
8867 (do_test): Likewise.
8868 * string/test-strstr.c (do_one_test): Likewise.
8869 (do_test): Likewise.
8871 * benchtests/Makefile (string-bench): Add string benchmarks.
8872 * benchtests/bench-bcopy-ifunc.c: New file.
8873 * benchtests/bench-bcopy.c: New file.
8874 * benchtests/bench-bzero-ifunc.c: New file.
8875 * benchtests/bench-bzero.c: New file.
8876 * benchtests/bench-memccpy-ifunc.c: New file.
8877 * benchtests/bench-memccpy.c: New file.
8878 * benchtests/bench-memchr-ifunc.c: New file.
8879 * benchtests/bench-memchr.c: New file.
8880 * benchtests/bench-memcmp-ifunc.c: New file.
8881 * benchtests/bench-memcmp.c: New file.
8882 * benchtests/bench-memmem-ifunc.c: New file.
8883 * benchtests/bench-memmem.c: New file.
8884 * benchtests/bench-memmove-ifunc.c: New file.
8885 * benchtests/bench-memmove.c: New file.
8886 * benchtests/bench-mempcpy-ifunc.c: New file.
8887 * benchtests/bench-mempcpy.c: New file.
8888 * benchtests/bench-memset-ifunc.c: New file.
8889 * benchtests/bench-memset.c: New file.
8890 * benchtests/bench-rawmemchr-ifunc.c: New file.
8891 * benchtests/bench-rawmemchr.c: New file.
8892 * benchtests/bench-stpcpy-ifunc.c: New file.
8893 * benchtests/bench-stpcpy.c: New file.
8894 * benchtests/bench-stpncpy-ifunc.c: New file.
8895 * benchtests/bench-stpncpy.c: New file.
8896 * benchtests/bench-strcasecmp-ifunc.c: New file.
8897 * benchtests/bench-strcasecmp.c: New file.
8898 * benchtests/bench-strcasestr-ifunc.c: New file.
8899 * benchtests/bench-strcasestr.c: New file.
8900 * benchtests/bench-strcat-ifunc.c: New file.
8901 * benchtests/bench-strcat.c: New file.
8902 * benchtests/bench-strchr-ifunc.c: New file.
8903 * benchtests/bench-strchr.c: New file.
8904 * benchtests/bench-strchrnul-ifunc.c: New file.
8905 * benchtests/bench-strchrnul.c: New file.
8906 * benchtests/bench-strcmp-ifunc.c: New file.
8907 * benchtests/bench-strcmp.c: New file.
8908 * benchtests/bench-strcpy-ifunc.c: New file.
8909 * benchtests/bench-strcpy.c: New file.
8910 * benchtests/bench-strcspn-ifunc.c: New file.
8911 * benchtests/bench-strcspn.c: New file.
8912 * benchtests/bench-strlen-ifunc.c: New file.
8913 * benchtests/bench-strlen.c: New file.
8914 * benchtests/bench-strncasecmp-ifunc.c: New file.
8915 * benchtests/bench-strncasecmp.c: New file.
8916 * benchtests/bench-strncat-ifunc.c: New file.
8917 * benchtests/bench-strncat.c: New file.
8918 * benchtests/bench-strncmp-ifunc.c: New file.
8919 * benchtests/bench-strncmp.c: New file.
8920 * benchtests/bench-strncpy-ifunc.c: New file.
8921 * benchtests/bench-strncpy.c: New file.
8922 * benchtests/bench-strnlen-ifunc.c: New file.
8923 * benchtests/bench-strnlen.c: New file.
8924 * benchtests/bench-strpbrk-ifunc.c: New file.
8925 * benchtests/bench-strpbrk.c: New file.
8926 * benchtests/bench-strrchr-ifunc.c: New file.
8927 * benchtests/bench-strrchr.c: New file.
8928 * benchtests/bench-strspn-ifunc.c: New file.
8929 * benchtests/bench-strspn.c: New file.
8930 * benchtests/bench-strstr-ifunc.c: New file.
8931 * benchtests/bench-strstr.c: New file.
8933 * benchtests/Makefile: Disable parallel execution of targets.
8934 (string-bench): Add memcpy.
8935 (benchset): New variable to store a list of benchmark sets.
8936 (bench-func): Renamed from bench.
8937 (bench-set): New target.
8938 (bench): Depend on bench-func and bench-set.
8939 * benchtests/README: Add section on benchmark sets.
8940 * benchtests/bench-memcpy-ifunc.c: New file.
8941 * benchtests/bench-memcpy.c: New file.
8942 * benchtests/bench-string.h: New file.
8944 2013-06-11 Andreas Schwab <schwab@suse.de>
8947 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8948 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8949 values in the triple.
8950 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8951 terminator in the group key.
8953 2013-06-11 Andreas Jaeger <aj@suse.de>
8955 * po/zh_TW.po: Update Chinese (traditional) translation from
8956 translation project.
8958 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8960 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8961 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8962 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8963 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8964 (clock_getcpuclockid): Likewise.
8965 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8966 Add weak_alias and libc_hidden_def.
8967 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8968 * rt/clock_gettime.c (clock_gettime): Rename to
8969 __clock_gettime. Add weak_alias and libc_hidden_def.
8970 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8971 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8972 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8973 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8974 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8976 * rt/clock_settime.c (clock_settime): Rename to
8977 __clock_settime. Add weak_alias and libc_hidden_def.
8978 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8980 2013-06-10 Joseph Myers <joseph@codesourcery.com>
8982 * mach/err_boot.sub: Remove trailing whitespace.
8983 * mach/err_ipc.sub: Likewise.
8984 * mach/err_mach.sub: Likewise.
8986 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8987 (ROUNDING_TESTS_double): Likewise.
8988 (ROUNDING_TESTS_long_double): Likewise.
8989 (ROUNDING_TESTS): Likewise.
8990 * math/libm-test.inc: Include <math-tests.h>.
8991 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8992 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8993 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8994 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8996 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8998 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
9001 2013-06-08 Joseph Myers <joseph@codesourcery.com>
9003 * sysdeps/gnu/errlist.awk: Do not generate space at end of
9004 otherwise empty TRANS lines.
9005 * sysdeps/gnu/errlist.c: Regenerated.
9007 * catgets/gencat.c (error_print): Use (void) in function
9009 * crypt/crypt_util.c (__init_des): Likewise.
9010 * crypt/speeds.c (Stop): Likewise.
9012 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9013 * inet/ruserpass.c (token): Likewise.
9014 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9015 * intl/localealias.c (extend_alias_table): Likewise.
9016 * intl/plural-exp.c (init_germanic_plural): Likewise.
9017 * libio/fcloseall.c (__fcloseall): Likewise.
9018 * libio/genops.c (_IO_flush_all): Likewise.
9019 (_IO_flush_all_linebuffered): Likewise.
9020 (_IO_cleanup): Likewise.
9021 (_IO_iter_begin): Likewise.
9022 (_IO_iter_end): Likewise.
9023 (_IO_list_lock): Likewise.
9024 (_IO_list_unlock): Likewise.
9025 (_IO_list_resetlock): Likewise.
9026 * libio/getchar.c (getchar): Likewise.
9027 * libio/getchar_u.c (getchar_unlocked): Likewise.
9028 * libio/getwchar.c (getwchar): Likewise.
9029 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9030 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9031 * login/getpt.c (__getpt): Likewise.
9032 * login/tst-utmp.c (main): Likewise.
9033 * malloc/hooks.c (__malloc_check_init): Likewise.
9034 * malloc/malloc.c (__malloc_stats): Likewise.
9035 * malloc/mtrace.c (tr_break): Likewise.
9037 (muntrace): Likewise.
9038 * misc/fstab.c (endfsent): Likewise.
9039 * misc/getclktck.c (__getclktck): Likewise.
9040 * misc/getdtsz.c (__getdtablesize): Likewise.
9041 * misc/gethostid.c (gethostid): Likewise.
9042 * misc/getpagesize.c (__getpagesize): Likewise.
9043 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9044 (__get_nprocs): Likewise.
9045 (__get_phys_pages): Likewise.
9046 (__get_avphys_pages): Likewise.
9047 * misc/getttyent.c (getttyent): Likewise.
9048 (setttyent): Likewise.
9049 (endttyent): Likewise.
9050 * misc/getusershell.c (getusershell): Likewise.
9051 (endusershell): Likewise.
9052 (setusershell): Likewise.
9053 (initshells): Likewise.
9054 * misc/hsearch.c (__hdestroy): Likewise.
9055 * misc/sync.c (sync): Likewise.
9056 * misc/syslog.c (closelog_internal): Likewise.
9057 (closelog): Likewise.
9058 * misc/ttyslot.c (ttyslot): Likewise.
9059 * misc/vhangup.c (vhangup): Likewise.
9060 * posix/fork.c (__fork): Likewise.
9061 * posix/getegid.c (__getegid): Likewise.
9062 * posix/geteuid.c (__geteuid): Likewise.
9063 * posix/getgid.c (__getgid): Likewise.
9064 * posix/getpid.c (__getpid): Likewise.
9065 * posix/getppid.c (__getppid): Likewise.
9066 * posix/getuid.c (__getuid): Likewise.
9067 * posix/pause.c (pause): Likewise.
9068 * posix/setpgrp.c (setpgrp): Likewise.
9069 * posix/setsid.c (__setsid): Likewise.
9070 * posix/test-vfork.c (noop): Likewise.
9071 * resolv/gethnamaddr.c (_endhtent): Likewise.
9072 (_gethtent): Likewise.
9073 (ht_endhostent): Likewise.
9074 (gethostent): Likewise.
9075 (dns_service): Likewise.
9076 * stdlib/drand48.c (drand48): Likewise.
9077 * stdlib/lrand48.c (lrand48): Likewise.
9078 * stdlib/mrand48.c (mrand48): Likewise.
9079 * stdlib/rand.c (rand): Likewise.
9080 * stdlib/random.c (__random): Likewise.
9081 * stdlib/setenv.c (clearenv): Likewise.
9082 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9083 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9084 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9085 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9086 (__get_nprocs): Likewise.
9087 (__get_phys_pages): Likewise.
9088 (__get_avphys_pages): Likewise.
9089 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9090 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9091 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9092 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9093 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9094 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9095 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9096 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9097 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9098 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9099 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9100 * sysdeps/mach/hurd/sync.c (sync): Likewise.
9101 * sysdeps/posix/clock.c (clock): Likewise.
9102 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9103 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9104 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9105 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9106 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9108 (__get_nprocs_conf): Likewise.
9109 (__get_phys_pages): Likewise.
9110 (__get_avphys_pages): Likewise.
9111 * time/clock.c (clock): Likewise.
9112 * time/tzset.c (__tzname_max): Likewise.
9114 2013-06-07 Joseph Myers <joseph@codesourcery.com>
9116 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9117 (__bswap_32): Do not use "register".
9118 * crypt/crypt.c (_ufc_doit_r): Likewise.
9119 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9120 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9121 * gmon/gmon.c (__monstartup): Likewise.
9122 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9123 * hurd/hurdmalloc.c (more_memory): Likewise.
9126 (realloc): Likewise.
9127 (malloc_fork_prepare): Likewise.
9128 (malloc_fork_parent): Likewise.
9129 (malloc_fork_child): Likewise.
9130 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9131 (_svcauth_des): Likewise.
9132 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9133 * inet/inet_net.c (inet_network): Likewise.
9134 * inet/inet_netof.c (inet_netof): Likewise.
9135 * inet/rcmd.c (__validuser2_sa): Likewise.
9136 * io/fts.c (fts_open): Likewise.
9137 (fts_load): Likewise.
9138 (fts_close): Likewise.
9139 (fts_read): Likewise.
9140 (fts_children): Likewise.
9141 (fts_build): Likewise.
9142 (fts_stat): Likewise.
9143 (fts_sort): Likewise.
9144 (fts_alloc): Likewise.
9145 (fts_lfree): Likewise.
9146 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9147 (_IO_file_xsgetn): Likewise.
9148 (_IO_file_xsgetn_mmap): Likewise.
9149 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9150 (_IO_cookie_write): Likewise.
9151 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9152 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9153 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9154 * malloc/obstack.c (_obstack_begin): Likewise.
9155 (_obstack_begin_1): Likewise.
9156 (_obstack_newchunk): Likewise.
9157 (_obstack_allocated_p): Likewise.
9158 (obstack_free): Likewise.
9159 (_obstack_memory_used): Likewise.
9160 * misc/getttyent.c (getttynam): Likewise.
9161 (getttyent): Likewise.
9164 * misc/getusershell.c (initshells): Likewise.
9165 * misc/syslog.c (__vsyslog_chk): Likewise.
9166 * misc/ttyslot.c (ttyslot): Likewise.
9167 * nis/nis_hash.c (__nis_hash): Likewise.
9168 * posix/fnmatch_loop.c (FCT): Likewise.
9169 * posix/getconf.c (print_all): Likewise.
9171 * posix/getopt.c (exchange): Likewise.
9172 * posix/glob.c (globfree): Likewise.
9173 (prefix_array): Likewise.
9174 (__glob_pattern_type): Likewise.
9175 * resolv/arpa/nameser.h (NS_GET16): Likewise.
9176 (NS_GET32): Likewise.
9177 (NS_PUT16): Likewise.
9178 (NS_PUT32): Likewise.
9179 * resolv/gethnamaddr.c (getanswer): Likewise.
9180 (gethostbyname2): Likewise.
9181 (gethostbyaddr): Likewise.
9182 (_gethtent): Likewise.
9183 (_gethtbyname2): Likewise.
9184 (_gethtbyaddr): Likewise.
9185 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9186 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9187 * resolv/res_init.c (__res_vinit): Likewise.
9188 (net_mask): Likewise.
9189 * resolv/res_mkquery.c (outchar): Likewise.
9191 * stdio-common/printf_fp.c (outchar): Likewise.
9193 * stdio-common/printf_fphex.c (outchar): Likewise.
9195 * stdio-common/printf_size.c (outchar): Likewise.
9197 * stdio-common/test_rdwr.c (main): Likewise.
9198 * stdio-common/tfformat.c (matches): Likewise.
9199 * stdio-common/vfprintf.c (outchar): Likewise.
9200 (printf_unknown): Likewise.
9201 (buffered_vfprintf): Likewise.
9202 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9203 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9204 (ReadFile): Likewise.
9205 * stdlib/qsort.c (SWAP): Likewise.
9206 (_quicksort): Likewise.
9207 * stdlib/setenv.c (__add_to_environ): Likewise.
9208 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9209 * stdlib/strtol_l.c (__strtol_l): Likewise.
9210 * stdlib/tst-strtod.c (main): Likewise.
9211 * stdlib/tst-strtol.c (main): Likewise.
9212 * stdlib/tst-strtoll.c (main): Likewise.
9213 * string/bits/string2.h (__strcmp_cc): Likewise.
9214 (__strcmp_cg): Likewise.
9215 (__strcspn_c1): Likewise.
9216 (__strcspn_c2): Likewise.
9217 (__strcspn_c3): Likewise.
9218 (__strspn_c1): Likewise.
9219 (__strspn_c2): Likewise.
9220 (__strspn_c3): Likewise.
9221 (__strsep_1c): Likewise.
9222 (__strsep_2c): Likewise.
9223 (__strsep_3c): Likewise.
9224 * string/memccpy.c (__memccpy): Likewise.
9225 * string/stpcpy.c (__stpcpy): Likewise.
9226 * string/strcmp.c (strcmp): Likewise.
9227 * string/strrchr.c (strrchr): Likewise.
9228 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9230 * sysdeps/mach/hurd/getcwd.c
9231 (_hurd_canonicalize_directory_name_internal): Likewise.
9232 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9233 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9234 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9235 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9236 Likewise, in both definitions.
9237 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9239 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9240 64] (__bswap_64): Likewise.
9241 * time/test_time.c (main): Likewise.
9242 * time/tzfile.c (__tzfile_read): Likewise.
9243 (__tzfile_compute): Likewise.
9244 * time/tzset.c (__tzset_parse_tz): Likewise.
9245 (tzset_internal): Likewise.
9246 (compute_change): Likewise.
9247 * wcsmbs/wcscat.c (__wcscat): Likewise.
9248 * wcsmbs/wcschr.c (wcschr): Likewise.
9249 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9250 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9251 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9252 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9253 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9254 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9255 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9256 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9257 * wcsmbs/wmemset.c (wmemset): Likewise.
9259 2013-06-06 Joseph Myers <joseph@codesourcery.com>
9261 * scripts/config.guess: Update to version 2013-05-16.
9262 * scripts/config.sub: Update to version 2013-04-24.
9263 * scripts/install-sh: Update to version 2011-11-20.07.
9264 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9265 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9267 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
9269 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9270 * elf/sln.c: Likewise.
9271 * hurd/hurd/ioctl.h: Likewise.
9272 * hurd/hurdmalloc.c: Likewise.
9273 * hurd/xattr.c: Likewise.
9274 * include/shlib-compat.h: Likewise.
9275 * inet/ruserpass.c: Likewise.
9276 * libio/iofgets_u.c: Likewise.
9277 * libio/iofgetws_u.c: Likewise.
9278 * locale/programs/ld-identification.c: Likewise.
9279 * locale/programs/ld-time.c: Likewise.
9280 * mach/msg-destroy.c: Likewise.
9281 * nss/nss_files/files-netgrp.c: Likewise.
9282 * resolv/res_data.c: Likewise.
9283 * soft-fp/op-1.h: Likewise.
9284 * soft-fp/op-2.h: Likewise.
9285 * soft-fp/op-4.h: Likewise.
9286 * soft-fp/op-common.h: Likewise.
9287 * stdio-common/printf_fphex.c: Likewise.
9288 * stdlib/strtod_l.c: Likewise.
9289 * sunrpc/rpc/clnt.h: Likewise.
9290 * sysdeps/generic/framestate.c: Likewise.
9291 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9292 * sysdeps/i386/bsd-setjmp.S: Likewise.
9293 * sysdeps/i386/__longjmp.S: Likewise.
9294 * sysdeps/i386/setjmp.S: Likewise.
9295 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9296 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9297 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9298 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9299 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9300 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9301 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9302 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9303 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9304 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9305 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9306 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9307 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9308 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9309 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9310 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9311 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9312 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9313 * sysdeps/ieee754/support.c: Likewise.
9314 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9315 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9316 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9317 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9318 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9319 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9320 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9321 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9322 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9323 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9324 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9325 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9326 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9327 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9328 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9329 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9330 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9333 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
9335 * posix/transbug.c: Remove executable mode.
9337 2013-06-05 Joseph Myers <joseph@codesourcery.com>
9339 * crypt/speeds.c: Remove trailing whitespace.
9340 * dlfcn/default.c: Likewise.
9341 * elf/ifuncdep2.c: Likewise.
9342 * elf/ifuncmain1.c: Likewise.
9343 * elf/ifuncmain1vis.c: Likewise.
9344 * elf/testobj.h: Likewise.
9345 * elf/tst-stackguard1.c: Likewise.
9346 * gmon/sys/gmon.h: Likewise.
9347 * hurd/hurdmsg.c: Likewise.
9348 * hurd/new-fd.c: Likewise.
9349 * hurd/ports-get.c: Likewise.
9350 * iconvdata/ibm1008_420.c: Likewise.
9351 * inet/tst-getni1.c: Likewise.
9352 * inet/tst-getni2.c: Likewise.
9353 * libio/ioungetc.c: Likewise.
9354 * libio/wfiledoalloc.c: Likewise.
9355 * manual/libm-err-tab.pl: Likewise.
9356 * math/w_dremf.c: Likewise.
9357 * misc/ftruncate.c: Likewise.
9358 * posix/bug-glob2.c: Likewise.
9359 * posix/tst-pcre.c: Likewise.
9360 * posix/wait4.c: Likewise.
9361 * resolv/README: Likewise.
9362 * resolv/res_debug.h: Likewise.
9363 * resolv/tst-inet_ntop.c: Likewise.
9364 * setjmp/bug269-setjmp.c: Likewise.
9365 * soft-fp/extended.h: Likewise.
9366 * soft-fp/op-1.h: Likewise.
9367 * soft-fp/op-2.h: Likewise.
9368 * soft-fp/op-4.h: Likewise.
9369 * soft-fp/op-8.h: Likewise.
9370 * soft-fp/testit.c: Likewise.
9371 * stdio-common/bug16.c: Likewise.
9372 * stdlib/random.c: Likewise.
9373 * sunrpc/rpcsvc/rquota.x: Likewise.
9374 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9375 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9376 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9377 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9378 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9379 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9380 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9381 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9382 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9383 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9384 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9385 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9386 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9387 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9388 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9389 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9390 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9391 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9392 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9393 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9394 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9395 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9396 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9397 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9398 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9399 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9400 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9401 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9402 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9403 * sysdeps/ieee754/s_lib_version.c: Likewise.
9404 * sysdeps/mach/hurd/check_fds.c: Likewise.
9405 * sysdeps/mach/hurd/getsockname.c: Likewise.
9406 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9407 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9408 * sysdeps/powerpc/bits/link.h: Likewise.
9409 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9410 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9411 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9412 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9413 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9414 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9415 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9416 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9417 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9418 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9419 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9420 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9421 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9422 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9423 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9424 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9425 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9426 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9427 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9428 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9429 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9430 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9431 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9432 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9433 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9434 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9435 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9436 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9437 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9438 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9439 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9440 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9441 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9442 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9443 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9444 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9445 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9446 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9447 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9448 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9449 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9450 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9451 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9452 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9453 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9454 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9455 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9456 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9457 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9458 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9459 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9460 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9461 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9462 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9463 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9464 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9465 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9466 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9467 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9468 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9469 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9470 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9471 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9472 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9473 * sysdeps/powerpc/sysdep.h: Likewise.
9474 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9475 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9476 * sysdeps/sh/dl-trampoline.S: Likewise.
9477 * sysdeps/sh/memset.S: Likewise.
9478 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9479 * sysdeps/sh/strlen.S: Likewise.
9480 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9481 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9482 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9483 * sysdeps/sparc/sparc32/rem.S: Likewise.
9484 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9485 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9486 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9487 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9488 * sysdeps/sparc/sparc32/urem.S: Likewise.
9489 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9490 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9491 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9492 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9493 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9494 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9495 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9496 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9497 * sysdeps/unix/bsd/times.c: Likewise.
9498 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9499 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9503 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9504 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9505 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9506 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9507 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9508 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9509 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9510 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9511 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9512 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9513 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9514 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9515 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9516 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9517 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9518 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9519 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9520 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9521 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9522 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9523 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9524 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9525 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9526 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9527 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9528 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9529 * sysdeps/x86_64/strcspn.S: Likewise.
9531 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9533 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9534 generated file. Regenerate properly from gen-translit.pl.
9535 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9536 locale/C-translit.h.
9538 2013-06-05 Andreas Schwab <schwab@suse.de>
9541 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9542 week as 6 instead of -1.
9543 * time/tst-strptime.c (day_tests): Add test case.
9545 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9547 * sysdeps/generic/math_private.h
9548 (libc_feholdexcept_setround_53bit): Replace with
9549 libc_feholdsetround_53bit.
9550 (libc_feupdateenv_53bit): Replace with
9551 libc_feresetround_53bit.
9552 (SET_RESTORE_ROUND_53BIT): Adjust.
9554 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9556 * string/test-strchrnul.c: Add copyright header.
9558 * posix/tst-getaddrinfo4.c: Increase test timeout.
9560 2013-06-03 Carlos O'Donell <carlos@redhat.com>
9563 * math/libm-test.inc (MAX_EXP): Remove
9565 (ulp): Use MIN_EXP - MANT_DIG.
9566 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9568 2013-05-31 Carlos O'Donell <carlos@redhat.com>
9570 * po/be.po: Revert last change.
9571 * po/zh_CN.po: Likewise.
9572 * po/header.pot: Likewise.
9574 2013-05-31 Joseph Myers <joseph@codesourcery.com>
9576 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9577 link-libc-deps to empty as target-specific variable.
9578 * Makerules (link-libc-args): New variable.
9579 (libc-for-link): Likewise.
9580 (link-libc-deps): Likewise.
9581 (lib%.so): Depend on $(link-libc-deps). Link with
9583 (build-module): Link with $(link-libc-args).
9584 (build-module-asneeded): Likewise.
9585 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9587 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9588 target-specific variable.
9589 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9590 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9591 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9593 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9595 ($(objpfx)libpcprofile.so): Likewise.
9596 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9598 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9599 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9600 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9602 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9603 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9604 * login/Makefile ($(objpfx)libutil.so): Likewise.
9605 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9606 * math/Makefile ($(objpfx)libm.so): Likewise.
9607 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9608 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9609 variable instead of depending directly on libc.
9610 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9611 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9613 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9615 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9616 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9617 ($(objpfx)libanl.so): Likewise.
9618 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9620 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9622 * sysdeps/i386/fpu/Makefile: Remove file.
9623 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9624 ($(objpfx)libm.so): Remove dependency on ld.so.
9626 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
9629 * nis/yp_xdr.c (XDRMAXNAME): Define.
9630 (XDRMAXRECORD): Define.
9631 (xdr_domainname): Use XDRMAXNAME.
9632 (xdr_mapname): Likewise.
9633 (xdr_peername): Likewise.
9634 (xdr_keydat): Use XDRMAXRECORD.
9635 (xdr_valdat): Likewise.
9637 2013-05-30 Jeff Law <law@redhat.com>
9640 * manual/errno.texi (ESTALE): Update to account for more than
9641 just NFS file systems.
9642 * sysdeps/gnu/errlist.c: Regenerated.
9644 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9647 * elf/Makefile (tests): Add tst-null-argv.
9648 (modules-names): Add tst-null-argv-lib.
9649 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9650 (tst-null-argv-ENV): Set environment for tst-null-argv.
9651 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9652 (RTLD_PROGNAME): New macro.
9653 * elf/tst-null-argv.c: New test case.
9654 * elf/tst-null-argv-lib.c: Library for test case.
9655 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9656 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9657 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9658 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9659 * elf/dl-init.c (call_init): Likewise.
9660 (_dl_init): Likewise.
9661 * elf/dl-load.c (print_search_path): Likewise.
9662 (_dl_map_object): Likewise.
9663 * elf/dl-lookup.c (do_lookup_x): Likewise.
9664 (add_dependency): Likewise.
9665 (_dl_lookup_symbol_x): Likewise.
9666 (_dl_debug_bindings): Likewise.
9667 * elf/dl-open.c (_dl_show_scope): Likewise.
9668 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9669 * elf/dl-version.c (match_symbol): Likewise.
9670 (_dl_check_map_versions): Likewise.
9671 * elf/rtld.c (dl_main): Likewise.
9672 (print_unresolved): Use RTLD_PROGNAME.
9673 (print_missing_version): Likewise.
9674 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9675 (elf_machine_rela): Likewise.
9676 * sysdeps/powerpc/powerpc32/dl-machine.c
9677 (__process_machine_rela): Likewise.
9678 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9680 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9682 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9684 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9685 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9687 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9689 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9691 2013-05-28 Carlos O'Donell <carlos@redhat.com>
9693 * po/be.po: Add descriptive title.
9694 * po/zh_CN.po: Likewise.
9695 * po/header.pot: Likewise.
9697 2013-05-28 Mike Frysinger <vapier@gentoo.org>
9699 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9701 (enlarge_archive): Likewise.
9703 2013-05-28 Ben North <ben@redfrontdoor.org>
9705 * manual/arith.texi (frexp): It is the magnitude of the return
9706 value which lies in [0.5, 1), not the return value itself.
9708 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9712 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9714 * stdio-common/bug26.c (main): Correct fscanf template.
9716 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9717 declare _dl_skip_args.
9719 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9722 * manual/platform.texi: Add missing @end deftypefun.
9724 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9727 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9728 bit of mantissa of 2^16382.
9729 * math/libm-test.inc (hypot_test_data): Add more tests.
9731 * math/libm-test.inc: Add drem and pow10 to list of tested
9733 (pow10_test): New function.
9734 (drem_test): Likewise.
9735 (drem_test_tonearest): Likewise.
9736 (drem_test_towardzero): Likewise.
9737 (drem_test_downward): Likewise.
9738 (drem_test_upward): Likewise.
9739 (main): Call the new functions.
9741 * math/libm-test.inc (finite_test_data): Remove.
9742 (finite_test): Run tests from isfinite_test_data.
9743 (gamma_test_data): Remove.
9744 (gamma_test): Run tests from lgamma_test_data.
9745 * sysdeps/i386/fpu/libm-test-ulps: Update.
9746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9748 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9750 * manual/platform.texi: Add PowerPC PPR function set documentation.
9751 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9754 2013-05-24 Carlos O'Donell <carlos@redhat.com>
9756 * math/libm-test.inc (MAX_EXP): Define.
9758 (ulp): New function.
9759 (check_float_internal): Use ULPDIFF.
9760 (cpow_test): Disable failing test.
9761 (check_ulp): Test ulp() implemetnation.
9762 (main): Call check_ulp before starting tests.
9764 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9766 * math/gen-libm-test.pl (generate_testfile): Do not handle
9767 START_DATA and END_DATA.
9768 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9770 (acos_tonearest_test_data): Likewise.
9771 (acos_towardzero_test_data): Likewise.
9772 (acos_downward_test_data): Likewise.
9773 (acos_upward_test_data): Likewise.
9774 (acosh_test_data): Likewise.
9775 (asin_test_data): Likewise.
9776 (asin_tonearest_test_data): Likewise.
9777 (asin_towardzero_test_data): Likewise.
9778 (asin_downward_test_data): Likewise.
9779 (asin_upward_test_data): Likewise.
9780 (asinh_test_data): Likewise.
9781 (atan_test_data): Likewise.
9782 (atanh_test_data): Likewise.
9783 (atan2_test_data): Likewise.
9784 (cabs_test_data): Likewise.
9785 (cacos_test_data): Likewise.
9786 (cacosh_test_data): Likewise.
9787 (carg_test_data): Likewise.
9788 (casin_test_data): Likewise.
9789 (casinh_test_data): Likewise.
9790 (catan_test_data): Likewise.
9791 (catanh_test_data): Likewise.
9792 (cbrt_test_data): Likewise.
9793 (ccos_test_data): Likewise.
9794 (ccosh_test_data): Likewise.
9795 (ceil_test_data): Likewise.
9796 (cexp_test_data): Likewise.
9797 (cimag_test_data): Likewise.
9798 (clog_test_data): Likewise.
9799 (clog10_test_data): Likewise.
9800 (conj_test_data): Likewise.
9801 (copysign_test_data): Likewise.
9802 (cos_test_data): Likewise.
9803 (cos_tonearest_test_data): Likewise.
9804 (cos_towardzero_test_data): Likewise.
9805 (cos_downward_test_data): Likewise.
9806 (cos_upward_test_data): Likewise.
9807 (cosh_test_data): Likewise.
9808 (cosh_tonearest_test_data): Likewise.
9809 (cosh_towardzero_test_data): Likewise.
9810 (cosh_downward_test_data): Likewise.
9811 (cosh_upward_test_data): Likewise.
9812 (cpow_test_data): Likewise.
9813 (cproj_test_data): Likewise.
9814 (creal_test_data): Likewise.
9815 (csin_test_data): Likewise.
9816 (csinh_test_data): Likewise.
9817 (csqrt_test_data): Likewise.
9818 (ctan_test_data): Likewise.
9819 (ctan_tonearest_test_data): Likewise.
9820 (ctan_towardzero_test_data): Likewise.
9821 (ctan_downward_test_data): Likewise.
9822 (ctan_upward_test_data): Likewise.
9823 (ctanh_test_data): Likewise.
9824 (ctanh_tonearest_test_data): Likewise.
9825 (ctanh_towardzero_test_data): Likewise.
9826 (ctanh_downward_test_data): Likewise.
9827 (ctanh_upward_test_data): Likewise.
9828 (erf_test_data): Likewise.
9829 (erfc_test_data): Likewise.
9830 (exp_test_data): Likewise.
9831 (exp_tonearest_test_data): Likewise.
9832 (exp_towardzero_test_data): Likewise.
9833 (exp_downward_test_data): Likewise.
9834 (exp_upward_test_data): Likewise.
9835 (exp10_test_data): Likewise.
9836 (exp2_test_data): Likewise.
9837 (expm1_test_data): Likewise.
9838 (fabs_test_data): Likewise.
9839 (fdim_test_data): Likewise.
9840 (finite_test_data): Likewise.
9841 (floor_test_data): Likewise.
9842 (fma_test_data): Likewise.
9843 (fma_towardzero_test_data): Likewise.
9844 (fma_downward_test_data): Likewise.
9845 (fma_upward_test_data): Likewise.
9846 (fmax_test_data): Likewise.
9847 (fmin_test_data): Likewise.
9848 (fmod_test_data): Likewise.
9849 (fpclassify_test_data): Likewise.
9850 (frexp_test_data): Likewise.
9851 (gamma_test_data): Likewise.
9852 (hypot_test_data): Likewise.
9853 (ilogb_test_data): Likewise.
9854 (isfinite_test_data): Likewise.
9855 (isgreater_test_data): Likewise.
9856 (isgreaterequal_test_data): Likewise.
9857 (isinf_test_data): Likewise.
9858 (isless_test_data): Likewise.
9859 (islessequal_test_data): Likewise.
9860 (islessgreater_test_data): Likewise.
9861 (isnan_test_data): Likewise.
9862 (isnormal_test_data): Likewise.
9863 (issignaling_test_data): Likewise.
9864 (isunordered_test_data): Likewise.
9865 (j0_test_data): Likewise.
9866 (j1_test_data): Likewise.
9867 (jn_test_data): Likewise.
9868 (ldexp_test_data): Likewise.
9869 (lgamma_test_data): Likewise.
9870 (lrint_test_data): Likewise.
9871 (lrint_tonearest_test_data): Likewise.
9872 (lrint_towardzero_test_data): Likewise.
9873 (lrint_downward_test_data): Likewise.
9874 (lrint_upward_test_data): Likewise.
9875 (llrint_test_data): Likewise.
9876 (llrint_tonearest_test_data): Likewise.
9877 (llrint_towardzero_test_data): Likewise.
9878 (llrint_downward_test_data): Likewise.
9879 (llrint_upward_test_data): Likewise.
9880 (log_test_data): Likewise.
9881 (log10_test_data): Likewise.
9882 (log1p_test_data): Likewise.
9883 (log2_test_data): Likewise.
9884 (logb_test_data): Likewise.
9885 (logb_downward_test_data): Likewise.
9886 (lround_test_data): Likewise.
9887 (llround_test_data): Likewise.
9888 (modf_test_data): Likewise.
9889 (nearbyint_test_data): Likewise.
9890 (nextafter_test_data): Likewise.
9891 (nexttoward_test_data): Likewise.
9892 (pow_test_data): Likewise.
9893 (pow_tonearest_test_data): Likewise.
9894 (pow_towardzero_test_data): Likewise.
9895 (pow_downward_test_data): Likewise.
9896 (pow_upward_test_data): Likewise.
9897 (remainder_test_data): Likewise.
9898 (remainder_tonearest_test_data): Likewise.
9899 (remainder_towardzero_test_data): Likewise.
9900 (remainder_downward_test_data): Likewise.
9901 (remainder_upward_test_data): Likewise.
9902 (remquo_test_data): Likewise.
9903 (rint_test_data): Likewise.
9904 (rint_tonearest_test_data): Likewise.
9905 (rint_towardzero_test_data): Likewise.
9906 (rint_downward_test_data): Likewise.
9907 (rint_upward_test_data): Likewise.
9908 (round_test_data): Likewise.
9909 (scalb_test_data): Likewise.
9910 (scalbn_test_data): Likewise.
9911 (scalbln_test_data): Likewise.
9912 (signbit_test_data): Likewise.
9913 (sin_test_data): Likewise.
9914 (sin_tonearest_test_data): Likewise.
9915 (sin_towardzero_test_data): Likewise.
9916 (sin_downward_test_data): Likewise.
9917 (sin_upward_test_data): Likewise.
9918 (sincos_test_data): Likewise.
9919 (sinh_test_data): Likewise.
9920 (sinh_tonearest_test_data): Likewise.
9921 (sinh_towardzero_test_data): Likewise.
9922 (sinh_downward_test_data): Likewise.
9923 (sinh_upward_test_data): Likewise.
9924 (sqrt_test_data): Likewise.
9925 (tan_test_data): Likewise.
9926 (tan_tonearest_test_data): Likewise.
9927 (tan_towardzero_test_data): Likewise.
9928 (tan_downward_test_data): Likewise.
9929 (tan_upward_test_data): Likewise.
9930 (tanh_test_data): Likewise.
9931 (tgamma_test_data): Likewise.
9932 (trunc_test_data): Likewise.
9933 (y0_test_data): Likewise.
9934 (y1_test_data): Likewise.
9935 (yn_test_data): Likewise.
9936 (significand_test_data): Likewise.
9938 * math/gen-libm-test.pl (@functions): Remove variable.
9939 (generate_testfile): Don't handle START and END lines.
9940 * math/libm-test.inc (START): New macro.
9942 (END_COMPLEX): Likewise.
9943 (acos_test): Use END macro without arguments.
9944 (acos_test_tonearest): Likewise.
9945 (acos_test_towardzero): Likewise.
9946 (acos_test_downward): Likewise.
9947 (acos_test_upward): Likewise.
9948 (acosh_test): Likewise.
9949 (asin_test): Likewise.
9950 (asin_test_tonearest): Likewise.
9951 (asin_test_towardzero): Likewise.
9952 (asin_test_downward): Likewise.
9953 (asin_test_upward): Likewise.
9954 (asinh_test): Likewise.
9955 (atan_test): Likewise.
9956 (atanh_test): Likewise.
9957 (atan2_test): Likewise.
9958 (cabs_test): Likewise.
9959 (cacos_test): Use END_COMPLEX macro without arguments.
9960 (cacosh_test): Likewise.
9961 (carg_test): Use END macro without arguments.
9962 (casin_test): Use END_COMPLEX macro without arguments.
9963 (casinh_test): Likewise.
9964 (catan_test): Likewise.
9965 (catanh_test): Likewise.
9966 (cbrt_test): Use END macro without arguments.
9967 (ccos_test): Use END_COMPLEX macro without arguments.
9968 (ccosh_test): Likewise.
9969 (ceil_test): Use END macro without arguments.
9970 (cexp_test): Use END_COMPLEX macro without arguments.
9971 (cimag_test): Use END macro without arguments.
9972 (clog_test): Use END_COMPLEX macro without arguments.
9973 (clog10_test): Likewise.
9974 (conj_test): Likewise.
9975 (copysign_test): Use END macro without arguments.
9976 (cos_test): Likewise.
9977 (cos_test_tonearest): Likewise.
9978 (cos_test_towardzero): Likewise.
9979 (cos_test_downward): Likewise.
9980 (cos_test_upward): Likewise.
9981 (cosh_test): Likewise.
9982 (cosh_test_tonearest): Likewise.
9983 (cosh_test_towardzero): Likewise.
9984 (cosh_test_downward): Likewise.
9985 (cosh_test_upward): Likewise.
9986 (cpow_test): Use END_COMPLEX macro without arguments.
9987 (cproj_test): Likewise.
9988 (creal_test): Use END macro without arguments.
9989 (csin_test): Use END_COMPLEX macro without arguments.
9990 (csinh_test): Likewise.
9991 (csqrt_test): Likewise.
9992 (ctan_test): Likewise.
9993 (ctan_test_tonearest): Likewise.
9994 (ctan_test_towardzero): Likewise.
9995 (ctan_test_downward): Likewise.
9996 (ctan_test_upward): Likewise.
9997 (ctanh_test): Likewise.
9998 (ctanh_test_tonearest): Likewise.
9999 (ctanh_test_towardzero): Likewise.
10000 (ctanh_test_downward): Likewise.
10001 (ctanh_test_upward): Likewise.
10002 (erf_test): Use END macro without arguments.
10003 (erfc_test): Likewise.
10004 (exp_test): Likewise.
10005 (exp_test_tonearest): Likewise.
10006 (exp_test_towardzero): Likewise.
10007 (exp_test_downward): Likewise.
10008 (exp_test_upward): Likewise.
10009 (exp10_test): Likewise.
10010 (exp2_test): Likewise.
10011 (expm1_test): Likewise.
10012 (fabs_test): Likewise.
10013 (fdim_test): Likewise.
10014 (finite_test): Likewise.
10015 (floor_test): Likewise.
10016 (fma_test): Likewise.
10017 (fma_test_towardzero): Likewise.
10018 (fma_test_downward): Likewise.
10019 (fma_test_upward): Likewise.
10020 (fmax_test): Likewise.
10021 (fmin_test): Likewise.
10022 (fmod_test): Likewise.
10023 (fpclassify_test): Likewise.
10024 (frexp_test): Likewise.
10025 (gamma_test): Likewise.
10026 (hypot_test): Likewise.
10027 (ilogb_test): Likewise.
10028 (isfinite_test): Likewise.
10029 (isgreater_test): Likewise.
10030 (isgreaterequal_test): Likewise.
10031 (isinf_test): Likewise.
10032 (isless_test): Likewise.
10033 (islessequal_test): Likewise.
10034 (islessgreater_test): Likewise.
10035 (isnan_test): Likewise.
10036 (isnormal_test): Likewise.
10037 (issignaling_test): Likewise.
10038 (isunordered_test): Likewise.
10039 (j0_test): Likewise.
10040 (j1_test): Likewise.
10041 (jn_test): Likewise.
10042 (ldexp_test): Likewise.
10043 (lgamma_test): Likewise.
10044 (lrint_test): Likewise.
10045 (lrint_test_tonearest): Likewise.
10046 (lrint_test_towardzero): Likewise.
10047 (lrint_test_downward): Likewise.
10048 (lrint_test_upward): Likewise.
10049 (llrint_test): Likewise.
10050 (llrint_test_tonearest): Likewise.
10051 (llrint_test_towardzero): Likewise.
10052 (llrint_test_downward): Likewise.
10053 (llrint_test_upward): Likewise.
10054 (log_test): Likewise.
10055 (log10_test): Likewise.
10056 (log1p_test): Likewise.
10057 (log2_test): Likewise.
10058 (logb_test): Likewise.
10059 (logb_test_downward): Likewise.
10060 (lround_test): Likewise.
10061 (llround_test): Likewise.
10062 (modf_test): Likewise.
10063 (nearbyint_test): Likewise.
10064 (nextafter_test): Likewise.
10065 (nexttoward_test): Likewise.
10066 (pow_test): Likewise.
10067 (pow_test_tonearest): Likewise.
10068 (pow_test_towardzero): Likewise.
10069 (pow_test_downward): Likewise.
10070 (pow_test_upward): Likewise.
10071 (remainder_test): Likewise.
10072 (remainder_test_tonearest): Likewise.
10073 (remainder_test_towardzero): Likewise.
10074 (remainder_test_downward): Likewise.
10075 (remainder_test_upward): Likewise.
10076 (remquo_test): Likewise.
10077 (rint_test): Likewise.
10078 (rint_test_tonearest): Likewise.
10079 (rint_test_towardzero): Likewise.
10080 (rint_test_downward): Likewise.
10081 (rint_test_upward): Likewise.
10082 (round_test): Likewise.
10083 (scalb_test): Likewise.
10084 (scalbn_test): Likewise.
10085 (scalbln_test): Likewise.
10086 (signbit_test): Likewise.
10087 (sin_test): Likewise.
10088 (sin_test_tonearest): Likewise.
10089 (sin_test_towardzero): Likewise.
10090 (sin_test_downward): Likewise.
10091 (sin_test_upward): Likewise.
10092 (sincos_test): Likewise.
10093 (sinh_test): Likewise.
10094 (sinh_test_tonearest): Likewise.
10095 (sinh_test_towardzero): Likewise.
10096 (sinh_test_downward): Likewise.
10097 (sinh_test_upward): Likewise.
10098 (sqrt_test): Likewise.
10099 (tan_test): Likewise.
10100 (tan_test_tonearest): Likewise.
10101 (tan_test_towardzero): Likewise.
10102 (tan_test_downward): Likewise.
10103 (tan_test_upward): Likewise.
10104 (tanh_test): Likewise.
10105 (tgamma_test): Likewise.
10106 (trunc_test): Likewise.
10107 (y0_test): Likewise.
10108 (y1_test): Likewise.
10109 (yn_test): Likewise.
10110 (significand_test): Likewise.
10112 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
10115 * libio/genops.c (_IO_no_init): Initialize wide struct info.
10117 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
10120 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10121 __ppc_mdoio and __ppc_mdoom.
10122 * manual/platform.texi: Document new functions __ppc_yield,
10123 __ppc_mdoio and __ppc_mdoom.
10125 2013-05-22 Carlos O'Donell <carlos@redhat.com>
10127 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10128 (main): Mention "tls" pseudo-hwcap is legacy.
10129 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10131 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10133 * math/gen-libm-test.pl (parse_args): Output only string of
10134 arguments as text for test name, not full call or descriptions of
10135 tests for extra outputs.
10136 (generate_testfile): Do not pass function name to parse_args.
10137 Generate this_func variable from START.
10138 * math/libm-test.inc (struct test_f_f_data): Rename test_name
10140 (struct test_ff_f_data): Likewise.
10141 (test_ff_f_data_nexttoward): Likewise.
10142 (struct test_fi_f_data): Likewise.
10143 (struct test_fl_f_data): Likewise.
10144 (struct test_if_f_data): Likewise.
10145 (struct test_fff_f_data): Likewise.
10146 (struct test_c_f_data): Likewise.
10147 (struct test_f_f1_data): Likewise. Remove field extra_name.
10148 (struct test_fF_f1_data): Likewise.
10149 (struct test_ffI_f1_data): Likewise.
10150 (struct test_c_c_data): Rename test_name field to arg_str.
10151 (struct test_cc_c_data): Likewise.
10152 (struct test_f_i_data): Likewise.
10153 (struct test_ff_i_data): Likewise.
10154 (struct test_f_l_data): Likewise.
10155 (struct test_f_L_data): Likewise.
10156 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
10158 (COMMON_TEST_SETUP): New macro.
10159 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10160 (COMMON_TEST_CLEANUP): Likewise.
10161 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10162 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
10164 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10165 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
10167 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10168 (RUN_TEST_fff_f): Take argument string. Call new setup and
10170 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10171 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10173 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10174 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10176 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10177 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10179 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10180 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10182 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10183 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10185 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10186 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10188 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10189 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10191 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10192 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10194 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10195 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10197 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10198 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10200 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10201 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10203 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10204 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10206 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10207 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10209 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10210 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10212 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10213 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10215 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10217 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10219 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10220 to _sifields.sigfault.
10221 (si_addr_lsb): Define new macro.
10222 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10223 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10224 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10226 2013-05-03 Carlos O'Donell <carlos at redhat.com>
10229 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10231 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10233 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10234 loading the domain.
10236 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10238 * math/gen-libm-test.pl (parse_args): Do not include expected
10239 result in test name.
10240 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10241 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10242 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10243 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10244 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10247 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10249 * benchtests/Makefile: Sort function entries.
10251 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10252 tanh, asinh, acosh, atanh.
10253 * benchtests/acos-inputs: New file.
10254 * benchtests/acosh-inputs: New file.
10255 * benchtests/asin-inputs: New file.
10256 * benchtests/asinh-inputs: New file.
10257 * benchtests/atanh-inputs: New file.
10258 * benchtests/cosh-inputs: New file.
10259 * benchtests/log-inputs: New file.
10260 * benchtests/sinh-inputs: New file.
10261 * benchtests/tanh-inputs: New file.
10263 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10266 * posix/tst-getaddrinfo4.c: New test.
10267 * posix/Makefile (tests): Add it.
10269 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10272 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10273 when no services were used.
10274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10275 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10277 2013-05-21 Andreas Schwab <schwab@suse.de>
10280 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10281 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10283 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10284 redundant variable declarations and reallocation of buffer when
10285 parsing as IPv6 address. Always set NSS status when called from
10286 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10287 buffer too small. Correct computation of needed size.
10288 * nss/Makefile (tests): Add test-digits-dots.
10289 * nss/test-digits-dots.c: New test.
10291 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10293 * benchtests/Makefile: Remove instructions for adding
10295 * benchtests/README: New file to explain how to execute and
10296 enhance the benchmark tests.
10298 2013-05-21 Andreas Schwab <schwab@suse.de>
10301 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10302 * setjmp/tst-sigsetjmp.c: New test.
10304 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10306 * sysdeps/x86_64/memset.S (memset): New implementation.
10307 (__bzero): Likewise.
10308 (__memset_tail): New function.
10310 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10312 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10313 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10314 __memcpy_sse2_unaligned ifunc selection.
10315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10316 Add memcpy-sse2-unaligned.S.
10317 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10318 Add: __memcpy_sse2_unaligned.
10320 2013-05-19 Joseph Myers <joseph@codesourcery.com>
10323 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10324 math_force_eval before restoring floating-point envrionment.
10325 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10326 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10328 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10330 (__nearbyintl): Use math_force_eval before restoring
10331 floating-point environment.
10332 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10334 * math/gen-libm-test.pl (special_functions): Remove.
10335 (parse_args): Don't handle TEST_extra. Handle functions with no
10337 * math/libm-test.inc (struct test_sincos_data): Replace with
10338 struct test_fFF_11_data.
10339 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10340 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10341 (sincos_test_data): Change element type to struct
10342 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10343 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10344 RUN_TEST_LOOP_sincos.
10345 * math/README.libm-test: Don't mention special handling of
10346 individual functions.
10347 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10348 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10349 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10350 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10351 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10354 * math/gen-libm-test.pl (get_variable): Remove function.
10355 (parse_args): Don't show pointer parameters to call in test
10356 names. Use "extra output N" in test names for extra outputs
10357 rather than naming variables.
10359 2013-05-18 Joseph Myers <joseph@codesourcery.com>
10362 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10363 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10364 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10366 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10368 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10371 * math/gen-libm-test.pl (@tests): Remove variable.
10372 ($count): Likewise.
10373 (new_test): Remove function.
10374 (show_exceptions): New function.
10375 (special_functions): Use show_exceptions instead of new_test.
10376 (parse_args): Likewise.
10377 (generate_testfile): Pass only function name in generated call to
10378 print_max_error or print_complex_max_error.
10379 (get_ulps): Do not handle complex tests specially.
10380 (output_test): Rename to ...
10381 (get_all_ulps_for_test): ... this. Return a string rather than
10382 printing to a file. Require ulps to be present.
10383 (output_ulps): Generate arrays rather than #defines.
10384 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10385 (struct ulp_data): New type.
10386 (BUILD_COMPLEX_ULP): Remove macro.
10387 (compare_ulp_data): New function.
10388 (find_ulps): Likewise.
10389 (find_test_ulps): Likewise.
10390 (find_function_ulps): Likewise.
10391 (find_complex_function_ulps): Likewise.
10392 (print_max_error): Determine allowed ulps using
10393 find_function_ulps.
10394 (print_complex_max_error): Determine allowed ulps using
10395 find_complex_function_ulps.
10396 (check_float_internal): Determine max ulps using find_test_ulps.
10397 (check_float): Do not take max_ulp parameter. Update call to
10398 check_float_internal.
10399 (check_complex): Likewise.
10400 (check_int): Do not take max_ulp parameter.
10401 (check_long): Likewise.
10402 (check_bool): Likewise.
10403 (check_longlong): Likewise.
10404 (struct test_f_f_data): Remove max_ulp field.
10405 (struct test_ff_f_data): Likewise.
10406 (struct test_ff_f_data_nexttoward): Likewise.
10407 (struct test_fi_f_data): Likewise.
10408 (struct test_fl_f_data): Likewise.
10409 (struct test_if_f_data): Likewise.
10410 (struct test_fff_f_data): Likewise.
10411 (struct test_c_f_data): Likewise.
10412 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10413 (struct test_fF_f1_data): Likewise.
10414 (struct test_ffI_f1_data): Likewise.
10415 (struct test_c_c_data): Remove max_ulp field.
10416 (struct test_cc_c_data): Likewise.
10417 (struct test_f_i_data): Likewise.
10418 (struct test_ff_i_data): Likewise.
10419 (struct test_f_l_data): Likewise.
10420 (struct test_f_L_data): Likewise.
10421 (struct test_sincos_data): Likewise.
10422 (RUN_TEST_f_f): Do not handle ulps.
10423 (RUN_TEST_LOOP_f_f): Likewise.
10424 (RUN_TEST_2_f): Likewise.
10425 (RUN_TEST_LOOP_2_f): Likewise.
10426 (RUN_TEST_fff_f): Likewise.
10427 (RUN_TEST_LOOP_fff_f): Likewise.
10428 (RUN_TEST_c_f): Likewise.
10429 (RUN_TEST_LOOP_c_f): Likewise.
10430 (RUN_TEST_f_f1): Likewise.
10431 (RUN_TEST_LOOP_f_f1): Likewise.
10432 (RUN_TEST_fF_f1): Likewise.
10433 (RUN_TEST_LOOP_fF_f1): Likewise.
10434 (RUN_TEST_fI_f1): Likewise.
10435 (RUN_TEST_LOOP_fI_f1): Likewise.
10436 (RUN_TEST_ffI_f1): Likewise.
10437 (RUN_TEST_LOOP_ffI_f1): Likewise.
10438 (RUN_TEST_c_c): Likewise.
10439 (RUN_TEST_LOOP_c_c): Likewise.
10440 (RUN_TEST_cc_c): Likewise.
10441 (RUN_TEST_LOOP_cc_c): Likewise.
10442 (RUN_TEST_f_i): Likewise.
10443 (RUN_TEST_LOOP_f_i): Likewise.
10444 (RUN_TEST_f_i_tg): Likewise.
10445 (RUN_TEST_LOOP_f_i_tg): Likewise.
10446 (RUN_TEST_ff_i_tg): Likewise.
10447 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10448 (RUN_TEST_f_b): Likewise.
10449 (RUN_TEST_LOOP_f_b): Likewise.
10450 (RUN_TEST_f_b_tg): Likewise.
10451 (RUN_TEST_LOOP_f_b_tg): Likewise.
10452 (RUN_TEST_f_l): Likewise.
10453 (RUN_TEST_LOOP_f_l): Likewise.
10454 (RUN_TEST_f_L): Likewise.
10455 (RUN_TEST_LOOP_f_L): Likewise.
10456 (RUN_TEST_sincos): Likewise.
10457 (RUN_TEST_LOOP_sincos): Likewise.
10459 2013-05-17 Joseph Myers <joseph@codesourcery.com>
10463 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10464 main case of finite arguments, set rounding mode to FE_TONEAREST
10465 and discard exceptions.
10466 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10468 (remainder_tonearest_test_data): New variable.
10469 (remainder_test_tonearest): New function.
10470 (remainder_towardzero_test_data): New variable.
10471 (remainder_test_towardzero): New function.
10472 (remainder_downward_test_data): New variable.
10473 (remainder_test_downward): New function.
10474 (remainder_upward_test_data): New variable.
10475 (remainder_test_upward): New function.
10476 (main): Call the new test functions.
10478 * math/libm-test.inc (struct test_f_f1_data): Remove field
10480 (struct test_fF_f1_data): Likewise.
10481 (struct test_ffI_f1_data): Likewise.
10482 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10483 based on value of EXTRA_EXPECTED.
10484 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10485 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10486 EXTRA_VAR based on value of EXTRA_EXPECTED.
10487 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10488 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10489 EXTRA_VAR based on value of EXTRA_EXPECTED.
10490 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10491 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10492 EXTRA_VAR based on value of EXTRA_EXPECTED.
10493 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10494 * math/gen-libm-test.pl (parse_args): Don't output initializers
10495 for extra output values.
10497 * math/libm-test.inc (check_int): Expect result to be exactly
10498 equal to expected value and do not handle ulps.
10499 (check_long): Likewise.
10500 (check_longlong): Likewise.
10502 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10504 (cimag_test_data): Likewise.
10505 (conj_test_data): Likewise.
10506 (copysign_test_data): Likewise.
10507 (cproj_test_data): Likewise.
10508 (creal_test_data): Likewise.
10509 (fabs_test_data): Likewise.
10510 (fdim_test_data): Likewise.
10511 (finite_test_data): Likewise.
10512 (floor_test_data): Likewise.
10513 (fmax_test_data): Likewise.
10514 (fmin_test_data): Likewise.
10515 (fmod_test_data): Likewise.
10516 (fpclassify_test_data): Likewise.
10517 (frexp_test_data): Likewise.
10518 (ilogb_test_data): Likewise.
10519 (isfinite_test_data): Likewise.
10520 (isgreater_test_data): Likewise.
10521 (isgreaterequal_test_data): Likewise.
10522 (isinf_test_data): Likewise.
10523 (isless_test_data): Likewise.
10524 (islessequal_test_data): Likewise.
10525 (islessgreater_test_data): Likewise.
10526 (isnan_test_data): Likewise.
10527 (isnormal_test_data): Likewise.
10528 (issignaling_test_data): Likewise.
10529 (isunordered_test_data): Likewise.
10530 (ldexp_test_data): Likewise.
10531 (lrint_test_data): Likewise.
10532 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10533 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10534 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10535 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10536 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10537 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10539 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10540 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10541 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10542 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10544 (lrint_downward_test_data): Test for "inexact" exceptions.
10545 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10546 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10547 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10549 (lrint_upward_test_data): Test for "inexact" exceptions.
10550 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10552 (llrint_test_data): Test for "inexact" exceptions.
10553 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10554 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10555 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10556 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10557 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10558 (llrint_downward_test_data): Test for "inexact" exceptions.
10559 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10560 (llrint_upward_test_data): Test for "inexact" exceptions.
10561 (logb_test_data): Likewise.
10562 (logb_downward_test_data): Likewise.
10563 (nextafter_test_data): Likewise.
10564 (nexttoward_test_data): Likewise.
10565 (remainder_test_data): Likewise.
10566 (remquo_test_data): Likewise.
10567 (scalbn_test_data): Likewise.
10568 (scalbln_test_data): Likewise.
10569 (signbit_test_data): Likewise.
10570 (sqrt_test_data): Likewise.
10571 (significand_test_data): Likewise.
10573 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10576 * benchtests/bench-modf.c (struct args): Mark arg0 as
10578 * scripts/bench.pl: Mark members of struct args as volatile.
10580 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10583 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10584 negative infinity on POWER6 or lower.
10585 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10587 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10590 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10591 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10592 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10593 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10594 (_FP_SETQNAN): New macro.
10595 (_FP_SETQNAN_SEMIRAW): Likewise.
10596 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10597 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10598 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10599 (FP_EXTEND): Use _FP_FRAC_SNANP.
10600 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10601 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10603 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10605 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10608 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10610 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10611 with DIVIDE_BY_ZERO_EXCEPTION.
10612 (gamma_test_data): Likewise.
10613 (lgamma_test_data): Likewise.
10614 (log_test_data): Likewise.
10615 (log10_test_data): Likewise.
10616 (log2_test_data): Likewise.
10617 (tgamma_test_data): Likewise.
10619 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10620 (acos_test_tonearest): Likewise.
10621 (acos_test_towardzero): Likewise.
10622 (acos_test_downward): Likewise.
10623 (acos_test_upward): Likewise.
10624 (acosh_test): Likewise.
10625 (asin_test): Likewise.
10626 (asin_test_tonearest): Likewise.
10627 (asin_test_towardzero): Likewise.
10628 (asin_test_downward): Likewise.
10629 (asin_test_upward): Likewise.
10630 (asinh_test): Likewise.
10631 (atan_test): Likewise.
10632 (atanh_test): Likewise.
10633 (atan2_test): Likewise.
10634 (cabs_test): Likewise.
10635 (cacos_test): Likewise.
10636 (cacosh_test): Likewise.
10637 (casin_test): Likewise.
10638 (casinh_test): Likewise.
10639 (catan_test): Likewise.
10640 (catanh_test): Likewise.
10641 (cbrt_test): Likewise.
10642 (ccos_test): Likewise.
10643 (ccosh_test): Likewise.
10644 (cexp_test): Likewise.
10645 (clog_test): Likewise.
10646 (clog10_test): Likewise.
10647 (cos_test): Likewise.
10648 (cos_test_tonearest): Likewise.
10649 (cos_test_towardzero): Likewise.
10650 (cos_test_downward): Likewise.
10651 (cos_test_upward): Likewise.
10652 (cosh_test): Likewise.
10653 (cosh_test_tonearest): Likewise.
10654 (cosh_test_towardzero): Likewise.
10655 (cosh_test_downward): Likewise.
10656 (cosh_test_upward): Likewise.
10657 (cpow_test): Likewise.
10658 (csin_test): Likewise.
10659 (csinh_test): Likewise.
10660 (csqrt_test): Likewise.
10661 (ctan_test): Likewise.
10662 (ctan_test_tonearest): Likewise.
10663 (ctan_test_towardzero): Likewise.
10664 (ctan_test_downward): Likewise.
10665 (ctan_test_upward): Likewise.
10666 (ctanh_test): Likewise.
10667 (ctanh_test_tonearest): Likewise.
10668 (ctanh_test_towardzero): Likewise.
10669 (ctanh_test_downward): Likewise.
10670 (ctanh_test_upward): Likewise.
10671 (erf_test): Likewise.
10672 (erfc_test): Likewise.
10673 (exp_test): Likewise.
10674 (exp_test_tonearest): Likewise.
10675 (exp_test_towardzero): Likewise.
10676 (exp_test_downward): Likewise.
10677 (exp_test_upward): Likewise.
10678 (exp10_test): Likewise.
10679 (exp2_test): Likewise.
10680 (expm1_test): Likewise.
10681 (fmod_test): Likewise.
10682 (gamma_test): Likewise.
10683 (hypot_test): Likewise.
10684 (j0_test): Likewise.
10685 (j1_test): Likewise.
10686 (jn_test): Likewise.
10687 (lgamma_test): Likewise.
10688 (log_test): Likewise.
10689 (log10_test): Likewise.
10690 (log1p_test): Likewise.
10691 (log2_test): Likewise.
10692 (logb_test_downward): Likewise.
10693 (pow_test): Likewise.
10694 (pow_test_tonearest): Likewise.
10695 (pow_test_towardzero): Likewise.
10696 (pow_test_downward): Likewise.
10697 (pow_test_upward): Likewise.
10698 (remainder_test): Likewise.
10699 (remquo_test): Likewise.
10700 (sin_test): Likewise.
10701 (sin_test_tonearest): Likewise.
10702 (sin_test_towardzero): Likewise.
10703 (sin_test_downward): Likewise.
10704 (sin_test_upward): Likewise.
10705 (sincos_test): Likewise.
10706 (sinh_test): Likewise.
10707 (sinh_test_tonearest): Likewise.
10708 (sinh_test_towardzero): Likewise.
10709 (sinh_test_downward): Likewise.
10710 (sinh_test_upward): Likewise.
10711 (sqrt_test): Likewise.
10712 (tan_test): Likewise.
10713 (tan_test_tonearest): Likewise.
10714 (tan_test_towardzero): Likewise.
10715 (tan_test_downward): Likewise.
10716 (tan_test_upward): Likewise.
10717 (tanh_test): Likewise.
10718 (tgamma_test): Likewise.
10719 (y0_test): Likewise.
10720 (y1_test): Likewise.
10721 (yn_test): Likewise.
10723 * math/gen-libm-test.pl (adjust_arg): Remove function.
10724 (special_function): Remove argument $in_func. Only handle
10725 generating output for tables of tests, not inside functions.
10726 (parse_args): Likewise.
10727 (generate_testfile): Remove variable $in_func. Update call to
10729 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10730 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10731 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10732 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10733 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10734 (MAX_VALUE_INIT): Rename macro to max_value.
10735 (MIN_VALUE_INIT): Rename macro to min_value.
10736 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10737 (plus_zero): Remove variable.
10738 (minus_zero): Likewise.
10739 (plus_infty): Likewise.
10740 (minus_infty): Likewise.
10741 (qnan_value): Likewise.
10742 (max_value): Likewise.
10743 (min_value): Likewise.
10744 (min_subnorm_value): Likewise.
10746 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10748 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10749 uint64_t or uint32_t usage.
10750 * crypt/sha256-block.c: Likewise.
10751 * crypt/sha256-crypt.c: Likewise.
10752 * crypt/sha256.c: Likewise.
10753 * crypt/sha512-block.c: Likewise.
10754 * crypt/sha512-crypt.c: Likewise.
10755 * crypt/sha512.c: Likewise.
10756 * debug/backtrace-tst.c: Likewise.
10757 * debug/pcprofiledump.c: Likewise.
10758 * elf/cache.c: Likewise.
10759 * elf/dl-cache.c: Likewise.
10760 * elf/dl-misc.c: Likewise.
10761 * elf/dl-profile.c: Likewise.
10762 * elf/dl-support.c: Likewise.
10763 * elf/ldconfig.c: Likewise.
10764 * elf/sprof.c: Likewise.
10765 * iconv/dummy-repertoire.c: Likewise.
10766 * iconv/iconv_charmap.c: Likewise.
10767 * iconv/skeleton.c: Likewise.
10768 * iconvdata/8bit-generic.c: Likewise.
10769 * iconvdata/cp737.h: Likewise.
10770 * iconvdata/cp775.h: Likewise.
10771 * iconvdata/ibm1008.h: Likewise.
10772 * iconvdata/ibm1025.h: Likewise.
10773 * iconvdata/ibm1046.h: Likewise.
10774 * iconvdata/ibm1097.h: Likewise.
10775 * iconvdata/ibm1112.h: Likewise.
10776 * iconvdata/ibm1122.h: Likewise.
10777 * iconvdata/ibm1123.h: Likewise.
10778 * iconvdata/ibm1124.h: Likewise.
10779 * iconvdata/ibm1129.h: Likewise.
10780 * iconvdata/ibm1130.h: Likewise.
10781 * iconvdata/ibm1132.h: Likewise.
10782 * iconvdata/ibm1133.h: Likewise.
10783 * iconvdata/ibm1137.h: Likewise.
10784 * iconvdata/ibm1140.h: Likewise.
10785 * iconvdata/ibm1141.h: Likewise.
10786 * iconvdata/ibm1142.h: Likewise.
10787 * iconvdata/ibm1143.h: Likewise.
10788 * iconvdata/ibm1144.h: Likewise.
10789 * iconvdata/ibm1145.h: Likewise.
10790 * iconvdata/ibm1146.h: Likewise.
10791 * iconvdata/ibm1147.h: Likewise.
10792 * iconvdata/ibm1148.h: Likewise.
10793 * iconvdata/ibm1149.h: Likewise.
10794 * iconvdata/ibm1153.h: Likewise.
10795 * iconvdata/ibm1154.h: Likewise.
10796 * iconvdata/ibm1155.h: Likewise.
10797 * iconvdata/ibm1156.h: Likewise.
10798 * iconvdata/ibm1157.h: Likewise.
10799 * iconvdata/ibm1158.h: Likewise.
10800 * iconvdata/ibm1160.h: Likewise.
10801 * iconvdata/ibm1161.h: Likewise.
10802 * iconvdata/ibm1162.h: Likewise.
10803 * iconvdata/ibm1163.h: Likewise.
10804 * iconvdata/ibm1164.h: Likewise.
10805 * iconvdata/ibm1166.h: Likewise.
10806 * iconvdata/ibm1167.h: Likewise.
10807 * iconvdata/ibm12712.h: Likewise.
10808 * iconvdata/ibm1390.h: Likewise.
10809 * iconvdata/ibm1399.h: Likewise.
10810 * iconvdata/ibm16804.h: Likewise.
10811 * iconvdata/ibm4517.h: Likewise.
10812 * iconvdata/ibm4899.h: Likewise.
10813 * iconvdata/ibm4909.h: Likewise.
10814 * iconvdata/ibm4971.h: Likewise.
10815 * iconvdata/ibm5347.h: Likewise.
10816 * iconvdata/ibm803.h: Likewise.
10817 * iconvdata/ibm856.h: Likewise.
10818 * iconvdata/ibm901.h: Likewise.
10819 * iconvdata/ibm902.h: Likewise.
10820 * iconvdata/ibm9030.h: Likewise.
10821 * iconvdata/ibm9066.h: Likewise.
10822 * iconvdata/ibm921.h: Likewise.
10823 * iconvdata/ibm922.h: Likewise.
10824 * iconvdata/ibm9448.h: Likewise.
10825 * iconvdata/isiri-3342.h: Likewise.
10826 * iconvdata/jis0201.h: Likewise.
10827 * include/link.h: Likewise.
10828 * include/netdb.h: Likewise.
10829 * inet/check_native.c: Likewise.
10830 * inet/check_pf.c: Likewise.
10831 * inet/getipv4sourcefilter.c: Likewise.
10832 * inet/getnameinfo.c: Likewise.
10833 * inet/getsourcefilter.c: Likewise.
10834 * inet/htonl.c: Likewise.
10835 * inet/setipv4sourcefilter.c: Likewise.
10836 * inet/setsourcefilter.c: Likewise.
10837 * inet/test-inet6_opt.c: Likewise.
10838 * inet/tst-network.c: Likewise.
10839 * locale/C-collate.c: Likewise.
10840 * locale/C-ctype.c: Likewise.
10841 * locale/C-time.c: Likewise.
10842 * locale/C-translit.h: Likewise.
10843 * locale/loadarchive.c: Likewise.
10844 * locale/programs/3level.h: Likewise.
10845 * locale/programs/charmap.c: Likewise.
10846 * locale/programs/charmap.h: Likewise.
10847 * locale/programs/ld-address.c: Likewise.
10848 * locale/programs/ld-collate.c: Likewise.
10849 * locale/programs/ld-ctype.c: Likewise.
10850 * locale/programs/ld-identification.c: Likewise.
10851 * locale/programs/ld-measurement.c: Likewise.
10852 * locale/programs/ld-messages.c: Likewise.
10853 * locale/programs/ld-monetary.c: Likewise.
10854 * locale/programs/ld-name.c: Likewise.
10855 * locale/programs/ld-numeric.c: Likewise.
10856 * locale/programs/ld-paper.c: Likewise.
10857 * locale/programs/ld-telephone.c: Likewise.
10858 * locale/programs/ld-time.c: Likewise.
10859 * locale/programs/linereader.c: Likewise.
10860 * locale/programs/locale.c: Likewise.
10861 * locale/programs/locarchive.c: Likewise.
10862 * locale/programs/locfile.h: Likewise.
10863 * locale/programs/repertoire.c: Likewise.
10864 * locale/programs/simple-hash.c: Likewise.
10865 * locale/programs/simple-hash.h: Likewise.
10866 * malloc/memusage.c: Likewise.
10867 * malloc/memusagestat.c: Likewise.
10868 * nis/nis_defaults.c: Likewise.
10869 * nis/nis_hash.c: Likewise.
10870 * nis/nis_print.c: Likewise.
10871 * nis/nis_xdr.c: Likewise.
10872 * nscd/connections.c: Likewise.
10873 * nscd/hstcache.c: Likewise.
10874 * nscd/nscd_gethst_r.c: Likewise.
10875 * nscd/nscd_getserv_r.c: Likewise.
10876 * nscd/nscd_helper.c: Likewise.
10877 * nscd/servicescache.c: Likewise.
10878 * nss/makedb.c: Likewise.
10879 * nss/nss_db/db-XXX.c: Likewise.
10880 * nss/nss_db/db-initgroups.c: Likewise.
10881 * nss/nss_db/db-netgrp.c: Likewise.
10882 * nss/nss_files/files-network.c: Likewise.
10883 * nss/nss_files/files-parse.c: Likewise.
10884 * posix/bug-regex5.c: Likewise.
10885 * posix/fnmatch_loop.c: Likewise.
10886 * posix/regcomp.c: Likewise.
10887 * posix/regexec.c: Likewise.
10888 * posix/tst-rfc3484-2.c: Likewise.
10889 * posix/tst-rfc3484-3.c: Likewise.
10890 * posix/tst-rfc3484.c: Likewise.
10891 * resolv/nss_dns/dns-canon.c: Likewise.
10892 * resolv/nss_dns/dns-network.c: Likewise.
10893 * resolv/res_init.c: Likewise.
10894 * resolv/res_mkquery.c: Likewise.
10895 * resolv/tst-aton.c: Likewise.
10896 * stdlib/cxa_atexit.c: Likewise.
10897 * stdlib/cxa_finalize.c: Likewise.
10898 * stdlib/gen-fpioconst.c: Likewise.
10899 * stdlib/strtol_l.c: Likewise.
10900 * string/tst-endian.c: Likewise.
10901 * sunrpc/auth_des.c: Likewise.
10902 * sunrpc/clnt_udp.c: Likewise.
10903 * sunrpc/rtime.c: Likewise.
10904 * sunrpc/svcauth_des.c: Likewise.
10905 * sunrpc/xdr.c: Likewise.
10906 * sunrpc/xdr_intXX_t.c: Likewise.
10907 * sunrpc/xdr_rec.c: Likewise.
10908 * sysdeps/generic/ldconfig.h: Likewise.
10909 * sysdeps/generic/ldsodefs.h: Likewise.
10910 * sysdeps/generic/memusage.h: Likewise.
10911 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10912 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10913 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10914 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10915 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10918 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10920 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10921 * sysdeps/posix/getaddrinfo.c: Likewise.
10922 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10923 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10924 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10925 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10926 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10927 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10928 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10929 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10930 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10931 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10932 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10933 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10934 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10935 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10936 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10937 * sysdeps/x86_64/dl-tls.h: Likewise.
10938 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10939 * time/alt_digit.c: Likewise.
10940 * time/era.c: Likewise.
10941 * wcsmbs/tst-c16c32-1.c: Likewise.
10943 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10945 * math/libm-test.inc (struct test_sincos_data): New type.
10946 (RUN_TEST_LOOP_sincos): New macro.
10947 (sincos_test_data): New variable.
10948 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10950 2013-05-16 Richard Henderson <rth@redhat.com>
10952 * math/atest-exp2.c (LIMB64): New macro.
10953 (CONSTSZ): New macro.
10954 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10956 (print_mpn_fp): ... to function scope.
10957 (read_mpn_hex): Remove.
10958 (get_log2): Remove.
10959 (exp2_mpn): Use mp_log2.
10960 (main): Use mp_exp1.
10962 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10964 * math/libm-test.inc: Remove comment about not testing "inexact"
10966 (INEXACT_EXCEPTION): New macro.
10967 (NO_INEXACT_EXCEPTION): Likewise.
10968 (INVALID_EXCEPTION_OK): Update value.
10969 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10970 (OVERFLOW_EXCEPTION_OK): Likewise.
10971 (UNDERFLOW_EXCEPTION_OK): Likewise.
10972 (IGNORE_ZERO_INF_SIGN): Likewise.
10973 (ERRNO_UNCHANGED): Likewise.
10974 (ERRNO_EDOM): Likewise.
10975 (ERRNO_ERANGE): Likewise.
10976 (test_exceptions): Handle testing "inexact" exceptions.
10977 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10978 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10979 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10980 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10982 (rint_towardzero_test_data): Likewise.
10983 (rint_downward_test_data): Likewise.
10984 (rint_upward_test_data): Likewise.
10986 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10987 with OVERFLOW_EXCEPTION.
10988 (exp10_test_data): Likewise.
10989 (exp2_test_data): Likewise.
10990 (expm1_test_data): Likewise.
10991 (lgamma_test_data): Likewise.
10992 (pow_test_data): Likewise.
10993 (tgamma_test_data): Likewise.
10994 (yn_test_data): Remove duplicate test of overflow.
10996 * math/libm-test.inc (struct test_cc_c_data): New type.
10997 (RUN_TEST_LOOP_cc_c): New macro.
10998 (cpow_test_data): New variable.
10999 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11001 * math/libm-test.inc (struct test_f_L_data): New type.
11002 (RUN_TEST_LOOP_f_L): New macro.
11003 (llrint_test_data): New variable.
11004 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11005 (llrint_tonearest_test_data): New variable.
11006 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11007 (llrint_towardzero_test_data): New variable.
11008 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11009 (llrint_downward_test_data): New variable.
11010 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11011 (llrint_upward_test_data): New variable.
11012 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11013 (llround_test_data): New variable.
11014 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11016 2013-05-13 Peter Collingbourne <pcc@google.com>
11018 * math/atest-exp2.c (get_log2): Remove const attribute.
11020 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11022 * math/libm-test.inc (struct test_f_l_data): New type.
11023 (RUN_TEST_LOOP_f_l): New macro.
11024 (lrint_test_data): New variable.
11025 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11026 (lrint_tonearest_test_data): New variable.
11027 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11028 (lrint_towardzero_test_data): New variable.
11029 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11030 (lrint_downward_test_data): New variable.
11031 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11032 (lrint_upward_test_data): New variable.
11033 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11034 (lround_test_data): New variable.
11035 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11037 2013-05-15 Peter Collingbourne <pcc@google.com>
11039 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11040 (EXTRACT_WORDS64) Use where appropriate.
11041 (INSERT_WORDS64) Likewise.
11043 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11044 constraints with x constraints.
11045 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11047 * malloc/obstack.c (_obstack_compat): Add initializer.
11049 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
11051 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11052 si_trapno and add si_addr_lsb to _sifields.sigfault.
11053 (si_trapno): Remove macro.
11054 (si_addr_lsb): Define new macro.
11055 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11057 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11059 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11060 instead of TEST_f_l.
11061 (llrint_test_tonearest): Likewise.
11062 (llrint_test_towardzero): Likewise.
11063 (llrint_test_downward): Likewise.
11064 (llrint_test_upward): Likewise.
11065 (llround_test): Likewise.
11067 * math/libm-test.inc (struct test_f_i_data): Add comment.
11068 (RUN_TEST_LOOP_f_b): New macro.
11069 (RUN_TEST_LOOP_f_b_tg): Likewise.
11070 (finite_test_data): New variable.
11071 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11072 (isfinite_test_data): New variable.
11073 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11074 (isinf_test_data): New variable.
11075 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11076 (isnan_test_data): New variable.
11077 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11078 (isnormal_test_data): New variable.
11079 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11080 (issignaling_test_data): New variable.
11081 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11082 (signbit_test_data): New variable.
11083 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11085 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11086 with INVALID_EXCEPTION.
11087 (acosh_test_data): Likewise.
11088 (asin_test_data): Likewise.
11089 (atanh_test_data): Likewise.
11090 (fmod_test_data): Likewise.
11091 (log_test_data): Likewise.
11092 (log10_test_data): Likewise.
11093 (log2_test_data): Likewise.
11094 (pow_test_data): Likewise.
11095 (sqrt_test_data): Likewise.
11096 (y0_test_data): Likewise.
11097 (y1_test_data): Likewise.
11098 (yn_test_data): Likewise.
11100 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11103 * math/libm-test.inc (struct test_ff_i_data): New type.
11104 (RUN_TEST_LOOP_ff_i_tg): New macro.
11105 (isgreater_test_data): New variable.
11106 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11107 (isgreaterequal_test_data): New variable.
11108 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11109 (isless_test_data): New variable.
11110 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11111 (islessequal_test_data): New variable.
11112 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11113 (islessgreater_test_data): New variable.
11114 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11115 (isunordered_test_data): New variable.
11116 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11118 2013-05-14 David S. Miller <davem@davemloft.net>
11120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11122 2013-05-14 Joseph Myers <joseph@codesourcery.com>
11124 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11126 * math/libm-test.inc (struct test_fF_f1_data): Change type of
11128 (struct test_f_i_data): Change type of max_ulp to int.
11130 * math/libm-test.inc (test_ffI_f1_data): New type.
11131 (RUN_TEST_LOOP_ffI_f1): New macro.
11132 (remquo_test_data): New variable.
11133 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11135 * setjmp/tst-setjmp-fp.c: New file.
11136 * setjmp/Makefile (tests): Add tst-setjmp-fp.
11137 (link-libm): New variable.
11138 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11140 * math/libm-test.inc (struct test_f_i_data): New type.
11141 (RUN_TEST_LOOP_f_i): New macro.
11142 (RUN_TEST_LOOP_f_i_tg): Likewise.
11143 (fpclassify_test_data): New variable.
11144 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11145 (ilogb_test_data): New variable.
11146 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11148 * math/libm-test.inc (scalbln_test): Correct function name in END
11151 * math/libm-test.inc (struct test_f_f1_data): Add comment.
11152 (RUN_TEST_LOOP_fI_f1): New macro.
11153 (frexp_test_data): New variable.
11154 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11156 * math/libm-test.inc (struct test_fF_f1_data): New type.
11157 (RUN_TEST_LOOP_fF_f1): New macro.
11158 (modf_test_data): New variable.
11159 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11161 * math/libm-test.inc (struct test_f_f1_data): New type.
11162 (RUN_TEST_LOOP_f_f1): New macro.
11163 (gamma_test_data): New variable.
11164 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11165 (lgamma_test_data): New variable.
11166 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11168 2013-05-13 Carlos O'Donell <carlos@redhat.com>
11170 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11171 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11172 (main): Comment "tls" pseudo-hwcap.
11174 2013-05-13 Joseph Myers <joseph@codesourcery.com>
11176 * math/libm-test.inc (struct test_fl_f_data): New type.
11177 (RUN_TEST_LOOP_fl_f): New variable.
11178 (scalbln_test_data): New variable.
11179 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11181 * math/libm-test.inc (struct test_fi_f_data): New type.
11182 (RUN_TEST_LOOP_fi_f): New macro.
11183 (ldexp_test_data): New variable.
11184 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11185 (scalbn_test_data): New variable.
11186 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11188 * math/libm-test.inc (struct test_c_f_data): New type.
11189 (RUN_TEST_LOOP_c_f): New macro.
11190 (cabs_test_data): New variable.
11191 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11192 (carg_test_data): New variable.
11193 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11194 (cimag_test_data): New variable.
11195 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11196 (creal_test_data): New variable.
11197 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11199 * math/libm-test.inc (struct test_if_f_data): New type.
11200 (RUN_TEST_LOOP_if_f): New macro.
11201 (jn_test_data): New variable.
11202 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11203 (yn_test_data): New variable.
11204 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11206 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11208 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11210 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11211 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11213 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11215 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11216 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11217 (bench-deps): Add bench-timing.h.
11218 * benchtests-bench-skeleton.c: Include bench-timing.h.
11219 (main): Use TIMING_* macros instead of clock_gettime.
11220 * benchtests/bench-timing.h: New file.
11223 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11224 Renamed from _LIB_VERSION.
11225 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11227 2013-05-12 Joseph Myers <joseph@codesourcery.com>
11229 * math/libm-test.inc (struct test_fff_f_data): New type.
11230 (RUN_TEST_LOOP_fff_f): New macro.
11231 (fma_test_data): New variable.
11232 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11233 (fma_towardzero_test_data): New variable.
11234 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11235 (fma_downward_test_data): New variable.
11236 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11237 (fma_upward_test_data): New variable.
11238 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11240 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11241 (struct test_c_c_data): New type.
11242 (RUN_TEST_LOOP_c_c): New macro.
11243 (cacos_test_data): New variable.
11244 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11245 (cacosh_test_data): New variable.
11246 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11247 (casin_test_data): New variable.
11248 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11249 (casinh_test_data): New variable.
11250 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11251 (catan_test_data): New variable.
11252 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11253 (catanh_test_data): New variable.
11254 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11255 (ccos_test_data): New variable.
11256 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11257 (ccosh_test_data): New variable.
11258 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11259 (cexp_test_data): New variable.
11260 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11261 (clog_test_data): New variable.
11262 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11263 (clog10_test_data): New variable.
11264 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11265 (conj_test_data): New variable.
11266 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11267 (cproj_test_data): New variable.
11268 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11269 (csin_test_data): New variable.
11270 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11271 (csinh_test_data): New variable.
11272 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11273 (csqrt_test_data): New variable.
11274 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11275 (ctan_test_data): New variable.
11276 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11277 (ctan_tonearest_test_data): New variable.
11278 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11279 (ctan_towardzero_test_data): New variable.
11280 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11281 (ctan_downward_test_data): New variable.
11282 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11283 (ctan_upward_test_data): New variable.
11284 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11285 (ctanh_test_data): New variable.
11286 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11287 (ctanh_tonearest_test_data): New variable.
11288 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11289 (ctanh_towardzero_test_data): New variable.
11290 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11291 (ctanh_downward_test_data): New variable.
11292 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11293 (ctanh_upward_test_data): New variable.
11294 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11295 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11298 * math/libm-test.inc (struct test_ff_f_data): New type.
11299 (struct test_ff_f_data_nexttoward): Likewise.
11300 (RUN_TEST_LOOP_2_f): New macro.
11301 (RUN_TEST_LOOP_ff_f): Likewise.
11302 (atan2_test_data): New variable.
11303 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11304 (copysign_test_data): New variable.
11305 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11306 (fdim_test_data): New variable.
11307 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11308 (fmax_test_data): New variable.
11309 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11310 (fmin_test_data): New variable.
11311 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11312 (fmod_test_data): New variable.
11313 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11314 (hypot_test_data): New variable.
11315 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11316 (nextafter_test_data): New variable.
11317 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11318 (nexttoward_test_data): New variable.
11319 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11320 (pow_test_data): New variable.
11321 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11322 (pow_tonearest_test_data): New variable.
11323 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11324 (pow_towardzero_test_data): New variable.
11325 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11326 (pow_downward_test_data): New variable.
11327 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11328 (pow_upward_test_data): New variable.
11329 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11330 (remainder_test_data): New variable.
11331 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11332 (scalb_test_data): New variable.
11333 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11334 * sysdeps/i386/fpu/libm-test-ulps: Update.
11336 2013-05-11 Joseph Myers <joseph@codesourcery.com>
11338 * math/libm-test.inc (fma_test): Use max_value instead of local
11340 (nextafter_test): Likewise.
11342 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11343 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11344 (acos_downward_test_data): New variable.
11345 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11346 (acos_upward_test_data): New variable.
11347 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11348 (acosh_test_data): New variable.
11349 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11350 (asin_test_data): New variable.
11351 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11352 (asin_tonearest_test_data): New variable.
11353 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11354 (asin_towardzero_test_data): New variable.
11355 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11356 (asin_downward_test_data): New variable.
11357 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11358 (asin_upward_test_data): New variable.
11359 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11360 (asinh_test_data): New variable.
11361 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11362 (atan_test_data): New variable.
11363 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11364 (atanh_test_data): New variable.
11365 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11366 (cbrt_test_data): New variable.
11367 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11368 (ceil_test_data): New variable.
11369 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11370 (cos_test_data): New variable.
11371 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11372 (cos_tonearest_test_data): New variable.
11373 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11374 (cos_towardzero_test_data): New variable.
11375 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11376 (cos_downward_test_data): New variable.
11377 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11378 (cos_upward_test_data): New variable.
11379 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11380 (cosh_test_data): New variable.
11381 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11382 (cosh_tonearest_test_data): New variable.
11383 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11384 (cosh_towardzero_test_data): New variable.
11385 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11386 (cosh_downward_test_data): New variable.
11387 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11388 (cosh_upward_test_data): New variable.
11389 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11390 (erf_test_data): New variable.
11391 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11392 (erfc_test_data): New variable.
11393 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11394 (exp_test_data): New variable.
11395 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11396 (exp_tonearest_test_data): New variable.
11397 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11398 (exp_towardzero_test_data): New variable.
11399 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11400 (exp_downward_test_data): New variable.
11401 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11402 (exp_upward_test_data): New variable.
11403 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11404 (exp10_test_data): New variable.
11405 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11406 (exp2_test_data): New variable.
11407 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11408 (expm1_test_data): New variable.
11409 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11410 (fabs_test_data): New variable.
11411 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11412 (floor_test_data): New variable.
11413 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11414 (j0_test_data): New variable.
11415 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11416 (j1_test_data): New variable.
11417 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11418 (log_test_data): New variable.
11419 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11420 (log10_test_data): New variable.
11421 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11422 (log1p_test_data): New variable.
11423 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11424 (log2_test_data): New variable.
11425 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11426 (logb_test_data): New variable.
11427 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11428 (logb_downward_test_data): New variable.
11429 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11430 (nearbyint_test_data): New variable.
11431 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11432 (rint_test_data): New variable.
11433 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11434 (rint_tonearest_test_data): New variable.
11435 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11436 (rint_towardzero_test_data): New variable.
11437 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11438 (rint_downward_test_data): New variable.
11439 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11440 (rint_upward_test_data): New variable.
11441 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11442 (round_test_data): New variable.
11443 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11444 (sin_test_data): New variable.
11445 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11446 (sin_tonearest_test_data): New variable.
11447 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11448 (sin_towardzero_test_data): New variable.
11449 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11450 (sin_downward_test_data): New variable.
11451 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11452 (sin_upward_test_data): New variable.
11453 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11454 (sinh_test_data): New variable.
11455 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11456 (sinh_tonearest_test_data): New variable.
11457 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11458 (sinh_towardzero_test_data): New variable.
11459 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11460 (sinh_downward_test_data): New variable.
11461 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11462 (sinh_upward_test_data): New variable.
11463 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11464 (sqrt_test_data): New variable.
11465 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11466 (tan_test_data): New variable.
11467 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11468 (tan_tonearest_test_data): New variable.
11469 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11470 (tan_towardzero_test_data): New variable.
11471 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11472 (tan_downward_test_data): New variable.
11473 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11474 (tan_upward_test_data): New variable.
11475 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11476 (tanh_test_data): New variable.
11477 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11478 (tgamma_test_data): New variable.
11479 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11480 (trunc_test_data): New variable.
11481 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11482 (y0_test_data): New variable.
11483 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11484 (y1_test_data): New variable.
11485 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11486 (significand_test_data): New variable.
11487 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11489 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11492 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11494 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11496 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11498 2013-05-10 Andreas Jaeger <aj@suse.de>
11501 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11502 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11504 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11506 * math/gen-libm-test.pl (adjust_arg): New function.
11507 (special_functions): Handle generating output in both functions
11509 (parse_args): Likewise.
11510 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11511 $in_func argument to parse_args.
11512 * math/libm-test.inc (struct test_f_f_data): New type.
11513 (IF_ROUND_INIT_): New macro.
11514 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11515 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11516 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11517 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11518 (ROUND_RESTORE_): Likewise.
11519 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11520 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11521 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11522 (ROUND_RESTORE_FE_UPWARD): Likewise.
11523 (RUN_TEST_LOOP_f_f): New macro.
11524 (acos_test_data): New variable.
11525 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11526 (acos_tonearest_test_data): New variable.
11527 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11529 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11531 * benchtests/bench-skeleton.c (startup): Fix coding style.
11533 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11536 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11537 negative infinity argument.
11538 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11539 negative infinity argument.
11540 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11541 negative infinity argument.
11542 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11545 2013-05-10 Florian Weimer <fweimer@redhat.com>
11547 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11548 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11549 * iconv/iconv_prog.c (main): Likewise.
11550 * locale/programs/charmap-dir.c (charmap_readdir)
11551 (fopen_uncompressed): Likewise.
11552 * locale/programs/locfile.c (siblings_uncached)
11553 (write_locale_data): Use lstat64 instead of lstat.
11554 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11557 2013-05-10 Andreas Jaeger <aj@suse.de>
11560 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11562 Include <locale.h>.
11564 2013-05-09 Carlos O'Donell <carlos@redhat.com>
11566 * elf/dl-close.c (_dl_close_worker): Add comments.
11568 2013-05-09 Joseph Myers <joseph@codesourcery.com>
11571 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11573 (__ieee754_rem_pio2l): Update comments.
11576 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11578 (__ieee754_rem_pio2l): Update comments.
11580 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11581 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11583 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11586 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11587 (M_PI_34_LOG10El): Likewise.
11588 (M_PI2_LOG10El): Likewise.
11589 (M_PI4_LOG10El): Likewise.
11590 (M_PI_LOG10El): Likewise.
11592 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11596 2013-05-08 Joseph Myers <joseph@codesourcery.com>
11598 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11599 (MINUS_ZERO_INIT): Likewise.
11600 (PLUS_INFTY_INIT): Likewise.
11601 (MINUS_INFTY_INIT): Likewise.
11602 (QNAN_VALUE_INIT): Likewise.
11603 (MAX_VALUE_INIT): Likewise.
11604 (MIN_VALUE_INIT): Likewise.
11605 (MIN_SUBNORM_VALUE_INIT): Likewise.
11606 (plus_zero): Initialize with PLUS_ZERO_INIT.
11607 (minus_zero): Initialize with MINUS_ZERO_INIT.
11608 (plus_infty): Initialize with PLUS_INFTY_INIT.
11609 (minus_infty): Initialize with MINUS_INFTY_INIT.
11610 (qnan_value): Initialize with QNAN_VALUE_INIT.
11611 (max_value): Initialize with MAX_VALUE_INIT.
11612 (min_value): Initialize with MIN_VALUE_INIT.
11613 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11615 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11616 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11617 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11618 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11620 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11621 (RUN_TEST_2_f): Likewise.
11622 (RUN_TEST_ff_f): Likewise.
11623 (RUN_TEST_fi_f): Likewise.
11624 (RUN_TEST_fl_f): Likewise.
11625 (RUN_TEST_fff_f): Likewise.
11626 (RUN_TEST_c_f): Likewise.
11627 (RUN_TEST_f_f1): Likewise.
11628 (RUN_TEST_fF_f1): Likewise.
11629 (RUN_TEST_fI_f1): Likewise.
11630 (RUN_TEST_ffI_f1): Likewise.
11631 (RUN_TEST_c_c): Likewise.
11632 (RUN_TEST_cc_c): Likewise.
11633 (RUN_TEST_f_i): Likewise.
11634 (RUN_TEST_f_i_tg): Likewise.
11635 (RUN_TEST_ff_i_tg): Likewise.
11636 (RUN_TEST_f_b): Likewise.
11637 (RUN_TEST_f_b_tg): Likewise.
11638 (RUN_TEST_f_l): Likewise.
11639 (RUN_TEST_f_L): Likewise.
11640 (RUN_TEST_sincos): Likewise.
11641 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11642 whether to show exceptions. Do not include ");\n" in return
11644 (special_functions): Output call to RUN_TEST_sincos instead of
11645 check_float calls. Update calls to new_test.
11646 (parse_args): Output call to single RUN_TEST_* macro instead of
11647 check_* calls and other assignments. Update calls to new_test.
11653 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11654 input to result for tgamma overflow.
11655 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11656 (gamma_coeff): New variable.
11657 (NCOEFF): New macro.
11658 (gamma_positive): New function.
11659 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11660 underflow here. Use gamma_positive instead of exp (lgamma) for
11662 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11663 (gamma_coeff): New variable.
11664 (NCOEFF): New macro.
11665 (gammaf_positive): New function.
11666 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11667 underflow here. Use gamma_positive instead of exp (lgamma) for
11669 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11670 (gamma_coeff): New variable.
11671 (NCOEFF): New macro.
11672 (gammal_positive): New function.
11673 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11674 underflow here. Use gamma_positive instead of exp (lgamma) for
11676 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11677 (gamma_coeff): New variable.
11678 (NCOEFF): New macro.
11679 (gammal_positive): New function.
11680 (__ieee754_gammal_r): Handle positive infinity, overflow and
11681 underflow here. Handle NaN the same as positive infinity. Remove
11682 check x < 0xffffffff for negative integers. Use gamma_positive
11683 instead of exp (lgamma) for other arguments.
11684 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11685 (gamma_coeff): New variable.
11686 (NCOEFF): New macro.
11687 (gammal_positive): New function.
11688 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11689 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11690 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11691 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11692 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11693 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11694 * sysdeps/generic/math_private.h (__gamma_productf): New
11696 (__gamma_product): Likewise.
11697 (__gamma_productl): Likewise.
11698 * math/Makefile (libm-calls): Add gamma_product.
11699 * math/libm-test.inc (tgamma_test): Add more tests.
11700 * sysdeps/i386/fpu/libm-test-ulps: Update.
11701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11703 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
11705 * benchtests/bench-skeleton.c (main): Preheat CPU.
11707 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11709 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11711 2013-05-07 Roland McGrath <roland@hack.frob.com>
11713 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11714 and _dl_skip_args_internal.
11716 2013-05-07 Carlos O'Donell <carlos@redhat.com>
11718 * manual/message.texi (Message Translation): Talk about users.
11719 Message to key mapping impacts design.
11721 2013-05-06 Roland McGrath <roland@hack.frob.com>
11723 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11725 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11727 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11728 * sysdeps/wordsize-64/glob64.c: ... here.
11730 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11731 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11734 * debug/getlogin_r_chk.c: Moved to ...
11735 * login/getlogin_r_chk.c: ... here.
11736 * debug/Makefile (routines): Move getlogin_r_chk to ...
11737 * login/Makefile (routines): ... here.
11738 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11739 * login/Versions (libc: GLIBC_2.4): ... here.
11741 * io/poll.c (__poll): Renamed from poll.
11742 Add libc_hidden_def.
11743 (poll): Define as weak alias.
11745 * debug/ptsname_r_chk.c: Moved to ...
11746 * login/ptsname_r_chk.c: ... here.
11747 * debug/Makefile (routines): Move ptsname_r_chk to ...
11748 * login/Makefile (routines): ... here.
11749 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11750 * login/Versions (libc: GLIBC_2.4): ... here.
11752 * posix/getlogin.c: Moved to ...
11753 * login/getlogin.c: ... here.
11754 * posix/getlogin_r.c: Moved to ...
11755 * login/getlogin_r.c: ... here.
11756 * posix/getlogin_r.c: Moved to ...
11757 * login/getlogin_r.c: ... here.
11758 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11759 * login/Makefile (routines): ... here.
11760 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11761 * login/Versions (libc: GLIBC_2.0): ... here.
11763 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11764 (setrlimit): Define as weak alias.
11766 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11767 Call __ names for open, ftruncate, and close.
11768 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11769 (truncate): Define as weak alias.
11771 2013-05-06 Joseph Myers <joseph@codesourcery.com>
11773 * math/gen-libm-test.pl (parse_args): Initialize x before each
11774 test of frexp, modf and remquo.
11776 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11777 test signgam value.
11779 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11783 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11785 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11787 2013-05-06 Roland McGrath <roland@hack.frob.com>
11789 * elf/dl-writev.h: New file.
11790 * elf/dl-misc.c: Include it.
11791 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11792 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11794 2013-05-04 Joseph Myers <joseph@codesourcery.com>
11796 * math/libm-test.inc (noXFails): Remove variable.
11797 (noXPasses): Likewise.
11798 (BUILD_COMPLEX_INT): Remove macro.
11799 (print_screen): Remove xfail argument.
11800 (print_screen_max_error): Likewise.
11801 (update_stats): Likewise.
11802 (print_max_error): Likewise. Update calls to other affected
11804 (print_complex_max_error): Likewise.
11805 (test_single_exception): Update calls to print_screen.
11806 (test_single_errno): Likewise.
11807 (check_float_internal): Remove xfail argument. Update calls to
11808 other affected functions.
11809 (check_float): Likewise.
11810 (check_complex): Likewise.
11811 (check_int): Likewise.
11812 (check_long): Likewise.
11813 (check_bool): Likewise.
11814 (check_longlong): Likewise.
11815 (main): Don't print noXFails and noXPasses.
11816 * math/gen-libm-test.pl (top level): Don't mention expected
11817 failure handling in comment.
11818 (new_test): Don't handle expected failures.
11819 (parse_args): Don't mention expected failure handling in comment.
11820 (generate_testfile): Don't handle expected failures.
11821 (parse_ulps): Likewise.
11822 (print_ulps_file): Likewise.
11823 (get_failure): Remove function.
11824 (output_test): Don't handle expected failures.
11825 * make/README.libm-test: Don't mention expected failure handling.
11827 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11828 (minus_zero): Likewise.
11829 (plus_infty): Likewise.
11830 (minus_infty): Likewise.
11831 (qnan_value): Likewise.
11832 (max_value): Likewise.
11833 (min_value): Likewise.
11834 (min_subnorm_value): Likewise.
11835 (initialize): Do not initialize those variables dynamically.
11837 2013-05-03 Roland McGrath <roland@hack.frob.com>
11839 * io/open.c (__open_2): Moved to ...
11840 * io/open_2.c: ... this new file.
11841 * io/open64.c (__open64_2): Moved to ...
11842 * io/open64_2.c: ... this new file.
11843 * io/openat.c (__openat_2): Moved to ...
11844 * io/openat_2.c: ... this new file.
11845 * io/openat64.c (__openat64_2): Moved to ...
11846 * io/openat64_2.c: ... this new file.
11847 * io/Makefile (routines): Add them.
11848 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11849 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11850 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11851 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11852 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11853 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11854 (__openat64): Add hidden_ver.
11855 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11856 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11858 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11859 Separately conditionalize setting of GLRO(dl_sysinfo) so
11860 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11861 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11863 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11865 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11866 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11868 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11869 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11870 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11871 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11872 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11874 2013-05-03 Joseph Myers <joseph@codesourcery.com>
11876 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11877 test signgam value.
11879 * math/libm-test.inc (hypot_test): Do not use
11880 IGNORE_ZERO_INF_SIGN.
11882 2013-05-03 Andreas Jaeger <aj@suse.de>
11884 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11886 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11887 (PF_MAX): Adjust for VSOCK change.
11889 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11893 2013-05-02 Carlos O'Donell <carlos@redhat.com>
11896 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11897 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11898 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11900 2013-05-02 David S. Miller <davem@davemloft.net>
11902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11904 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
11906 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11908 2013-05-01 Roland McGrath <roland@hack.frob.com>
11910 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11912 2013-05-01 Richard Smith <richard@metafoo.co.uk>
11915 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11916 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11917 Use __attribute__ ((__gnu_inline__)).
11918 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11919 Don't use __attribute__ ((__gnu_inline__)).
11921 2013-05-01 Joseph Myers <joseph@codesourcery.com>
11924 * math/s_catan.c (__catan): Handle small real or imaginary part of
11925 input specially to avoid spurious underflow.
11926 * math/s_catanf.c (__catanf): Likewise.
11927 * math/s_catanh.c (__catanh): Likewise.
11928 * math/s_catanhf.c (__catanhf): Likewise.
11929 * math/s_catanhl.c (__catanhl): Likewise.
11930 * math/s_catanl.c (__catanl): Likewise.
11931 * math/libm-test.inc (catan_test): Add more tests.
11932 (catanh_test): Likewise.
11933 * sysdeps/i386/fpu/libm-test-ulps: Update.
11934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11936 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11940 2013-04-30 Joseph Myers <joseph@codesourcery.com>
11943 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11944 accurately for denominator in atan2.
11945 * math/s_catanf.c (__catanf): Likewise.
11946 * math/s_catanh.c (__catanh): Likewise.
11947 * math/s_catanhf.c (__catanhf): Likewise.
11948 * math/s_catanhl.c (__catanhl): Likewise.
11949 * math/s_catanl.c (__catanl): Likewise.
11950 * math/libm-test.inc (catan_test): Add more tests.
11951 (catanh_test): Likewise.
11952 * sysdeps/i386/fpu/libm-test-ulps: Update.
11953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11955 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11957 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11959 * benchtests/Makefile (bench): Remove slow benchmarks.
11960 * benchtests/atan-inputs: Add slow benchmark inputs.
11961 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11962 (BENCH_FUNC): Accept variant offset.
11964 * benchtests/bench-skeleton.c (main): Run benchmark for each
11966 * benchtests/cos-inputs: Add slow benchmark inputs.
11967 * benchtests/exp-inputs: Likewise.
11968 * benchtests/pow-inputs: Likewise.
11969 * benchtests/sin-inputs: Likewise.
11970 * benchtests/slowatan-inputs: Remove.
11971 * benchtests/slowatan.c: Remove.
11972 * benchtests/slowcos-inputs: Remove.
11973 * benchtests/slowcos.c: Remove.
11974 * benchtests/slowexp-inputs: Remove.
11975 * benchtests/slowexp.c: Remove.
11976 * benchtests/slowpow-inputs: Remove.
11977 * benchtests/slowpow.c: Remove.
11978 * benchtests/slowsin-inputs: Remove.
11979 * benchtests/slowsin.c: Remove.
11980 * benchtests/slowtan-inputs: Remove.
11981 * benchtests/slowtan.c: Remove.
11982 * benchtests/tan-inputs: Add slow benchmark inputs.
11983 * scripts/bench.pl: Parse comments and directives.
11985 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11987 ($(objpfx)bench-%.c): Remove *-ITER.
11988 * benchtests/bench-modf.c: Remove definition of ITER.
11989 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11990 (main): Loop for DURATION seconds instead of fixed number of
11992 * scripts/bench.pl: Don't expect iterations in parameters.
11994 2013-04-29 Roland McGrath <roland@hack.frob.com>
11996 * io/fchdir.c (__fchdir): Renamed from fchdir.
11997 (fchdir): Define as weak alias.
11999 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12001 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12002 (ERRNO_EDOM): Likewise.
12003 (ERRNO_ERANGE): Likewise.
12004 (noErrnoTests): New variable.
12005 (init_max_error): Set errno to 0.
12006 (test_single_errno): New function.
12007 (test_errno): Likewise.
12008 (check_float_internal): Call test_errno. Set errno to 0.
12009 (check_complex): Refer to errno tests in comment.
12010 (check_int): Call test_errno. Set errno to 0.
12011 (check_long): Likewise.
12012 (check_bool): Likewise.
12013 (check_longlong): Likewise.
12014 (cos_test): Use ERRNO_* flags for errno tests instead of
12016 (expm1_test): Likewise.
12017 (fmod_test): Likewise.
12018 (ilogb_test): Likewise.
12019 (lgamma_test): Likewise.
12020 (pow_test): Likewise.
12021 (remainder_test): Likewise.
12022 (sin_test): Likewise.
12023 (tan_test): Likewise.
12024 (yn_test): Likewise.
12025 (initialize): Set errno to 0.
12026 (main): Print number of errno tests.
12027 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12029 2013-04-29 Andreas Jaeger <aj@suse.de>
12032 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12036 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12037 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12041 * stdlib/random.c (__initstate): Return NULL if
12045 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12046 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12049 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12053 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12055 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12056 of individual tests.
12057 (casin_test): Likewise.
12058 (casinh_test): Likewise.
12060 2013-04-27 Joseph Myers <joseph@codesourcery.com>
12063 * math/s_catan.c (__catan): Handle arguments with large real or
12064 imaginary part separately without squaring.
12065 * math/s_catanf.c (__catanf): Likewise.
12066 * math/s_catanh.c (__catanh): Likewise.
12067 * math/s_catanhf.c (__catanhf): Likewise.
12068 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12070 (__catanhl): Handle arguments with large real or imaginary part
12071 separately without squaring.
12072 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12074 (__catanl): Handle arguments with large real or imaginary part
12075 separately without squaring.
12076 * math/libm-test.inc (catan_test): Add more tests.
12077 (catanh_test): Likewise.
12078 * sysdeps/i386/fpu/libm-test-ulps: Update.
12079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12081 2013-04-27 Andreas Jaeger <aj@suse.de>
12084 * stdlib/stdlib.h: Update guards for qecvt.
12085 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12088 2013-04-27 Allan McRae <allan@archlinux.org>
12090 * sysdeps/i386/fpu/libm-test-ulps: Update.
12092 2013-04-26 Joseph Myers <joseph@codesourcery.com>
12095 * math/s_catan.c: Include <float.h>.
12096 (__catan): Ensure underflow exception occurs for underflowed
12098 * math/s_catanf.c: Include <float.h>.
12099 (__catanf): Ensure underflow exception occurs for underflowed
12101 * math/s_catanh.c: Include <float.h>.
12102 (__catanh): Ensure underflow exception occurs for underflowed
12104 * math/s_catanhf.c: Include <float.h>.
12105 (__catanhf): Ensure underflow exception occurs for underflowed
12107 * math/s_catanhl.c: Include <float.h>.
12108 (__catanhl): Ensure underflow exception occurs for underflowed
12110 * math/s_catanl.c: Include <float.h>.
12111 (__catanl): Ensure underflow exception occurs for underflowed
12113 * math/libm-test.inc (catan_test): Add more tests.
12114 (catanh_test): Likewise.
12117 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12118 underflowed result.
12119 * math/s_ccoshf.c (__ccoshf): Likewise.
12120 * math/s_ccoshl.c (__ccoshl): Likewise.
12121 * math/s_csin.c (__csin): Likewise.
12122 * math/s_csinf.c (__csinf): Likewise.
12123 * math/s_csinh.c (__csinh): Likewise.
12124 * math/s_csinhf.c (__csinhf): Likewise.
12125 * math/s_csinhl.c (__csinhl): Likewise.
12126 * math/s_csinl.c (__csinl): Likewise.
12127 * math/libm-test.inc (ccos_test): Add more tests.
12128 (ccosh_test): Likewise.
12129 (csin_test): Likewise.
12130 (csinh_test): Likewise.
12132 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12134 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12135 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12136 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12137 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12138 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12139 powerpc/power5+/fpu folders.
12140 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12143 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12145 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12147 2013-04-25 Joseph Myers <joseph@codesourcery.com>
12149 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12150 additions to variable.
12151 [$(config-machine) = x86_64] (modules-names): Likewise.
12152 ($(objpfx)tst-audit3): Remove dependency.
12153 ($(objpfx)tst-audit3.out): Likewise.
12154 ($(objpfx)tst-audit4): Likewise.
12155 ($(objpfx)tst-audit4.out): Likewise.
12156 ($(objpfx)tst-audit5): Likewise.
12157 ($(objpfx)tst-audit5.out): Likewise.
12158 ($(objpfx)tst-audit6): Likewise.
12159 ($(objpfx)tst-audit6.out): Likewise.
12160 ($(objpfx)tst-audit7): Likewise.
12161 ($(objpfx)tst-audit7.out): Likewise.
12162 (tst-audit3-ENV): Remove variable.
12163 (tst-audit4-ENV): Likewise.
12164 (tst-audit5-ENV): Likewise.
12165 (tst-audit6-ENV): Likewise.
12166 (tst-audit7-ENV): Likewise.
12167 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12168 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12169 addition to variable.
12170 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12171 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12172 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12173 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12174 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12175 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12176 tst-audit3, tst-audit4 and tst-audit5.
12177 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12178 tst-audit6 and tst-audit7.
12179 [$(subdir) = elf] (modules-names): Add audit modules for those
12181 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12182 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12183 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12184 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12185 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12186 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12187 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12188 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12189 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12190 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12191 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12192 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12193 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12194 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12195 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12196 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12198 [$(subdir) = elf && $(config-cflags-avx) = yes]
12199 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12200 [$(subdir) = elf && $(config-cflags-avx) = yes]
12201 (CFLAGS-tst-auditmod4a.c): Likewise.
12202 [$(subdir) = elf && $(config-cflags-avx) = yes]
12203 (CFLAGS-tst-auditmod4b.c): Likewise.
12204 [$(subdir) = elf && $(config-cflags-avx) = yes]
12205 (CFLAGS-tst-auditmod6b.c): Likewise.
12206 [$(subdir) = elf && $(config-cflags-avx) = yes]
12207 (CFLAGS-tst-auditmod6c.c): Likewise.
12208 [$(subdir) = elf && $(config-cflags-avx) = yes]
12209 (CFLAGS-tst-auditmod7b.c): Likewise.
12210 * elf/tst-audit3.c: Move to ...
12211 * sysdeps/x86_64/tst-audit3.c: ... here.
12212 * elf/tst-audit4.c: Move to ...
12213 * sysdeps/x86_64/tst-audit4.c: ... here.
12214 * elf/tst-audit5.c: Move to ...
12215 * sysdeps/x86_64/tst-audit5.c: ... here.
12216 * elf/tst-audit6.c: Move to ...
12217 * sysdeps/x86_64/tst-audit6.c: ... here.
12218 * elf/tst-audit7.c: Move to ...
12219 * sysdeps/x86_64/tst-audit7.c: ... here.
12220 * elf/tst-auditmod3a.c: Move to ...
12221 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12222 * elf/tst-auditmod3b.c: Move to ...
12223 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12224 * elf/tst-auditmod4a.c: Move to ...
12225 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12226 * elf/tst-auditmod4b.c: Move to ...
12227 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12228 * elf/tst-auditmod5a.c: Move to ...
12229 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12230 * elf/tst-auditmod5b.c: Move to ...
12231 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12232 * elf/tst-auditmod6a.c: Move to ...
12233 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12234 * elf/tst-auditmod6b.c: Move to ...
12235 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12236 * elf/tst-auditmod6c.c: Move to ...
12237 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12238 * elf/tst-auditmod7a.c: Move to ...
12239 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12240 * elf/tst-auditmod7b.c: Move to ...
12241 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12243 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12246 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12247 define unconditionally.
12248 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12249 define unconditionally.
12250 (INT8_C, INT16_C, etc.): Likewise.
12252 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12254 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12255 __ehdr_start with hidden visibility.
12257 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12259 2013-04-24 Carlos O'Donell <carlos@redhat.com>
12261 * math/libm-test.inc (cos_test): Use accurate hex constants.
12262 (sincost_test): Likewise.
12264 2013-04-24 Joseph Myers <joseph@codesourcery.com>
12266 * math/libm-test.inc (catan_test): Add more tests.
12267 (catanh_test): Likewise.
12269 * math/s_catanf.c (__catanf): Use suffixed floating-point
12271 * math/s_catanhf.c (__catanhf): Likewise.
12272 * math/s_catanhl.c (__catanhl): Likewise.
12273 * math/s_catanl.c (__catanl): Likewise.
12276 * math/s_catan.c (__catan): Calculate imaginary part of result
12277 with log1p not log unless computing log of number close to 0.
12278 * math/s_catanf.c (__catanf): Likewise.
12279 * math/s_catanl.c (__catanl): Likewise.
12280 * math/s_catanh.c (__catanh): Calculate real part of result with
12281 log1p not log unless computing log of number close to 0.
12282 * math/s_catanhf.c (__catanhf): Likewise.
12283 * math/s_catanhl.c (__catanhl): Likewise.
12284 * math/libm-test.inc (catan_test): Add more tests.
12285 (catanh_test): Likewise.
12286 * sysdeps/i386/fpu/libm-test-ulps: Update.
12287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12289 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12291 * benchtests/Makefile: Mention files in which fast and slow
12292 paths of math functions are implemented.
12294 2013-04-23 Roland McGrath <roland@hack.frob.com>
12296 * sysdeps/posix/timespec_get.c: New file.
12298 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12300 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12302 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12304 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12305 powerpc/power5/fpu folders.
12306 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12307 * benchtests/Makefile: Add modf testcase.
12308 * benchtests/bench-modf.c: New file: Benchmark test for mo
12310 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12313 * time/Makefile (tests): Add tst-strptime-whitespace.
12314 * time/strptime_l.c (get_number): Use ISSPACE.
12315 (__strptime_internal): Likewise.
12316 * time/tst-strptime-whitespace.c: New test case.
12318 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12320 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12322 (_nss_files_init): Set it here.
12324 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12326 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12327 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12330 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12332 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12334 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12336 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12339 2013-04-21 David S. Miller <davem@davemloft.net>
12341 * po/ru.po: Update Russion translation from translation project.
12343 2013-04-17 Adam Conrad <adconrad@0c3.net>
12345 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12348 2013-04-17 Carlos O'Donell <carlos@redhat.com>
12350 * configure.in: Remove i386 configure warning. Remove i386 case.
12351 * configure: Regenerate.
12352 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
12353 Add example to error message.
12354 * sysdeps/i386/configure: Regenerate.
12356 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12358 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12360 * benchtests/cos-inputs: New file.
12361 * benchtests/slowcos-inputs: New file.
12362 * benchtests/slowcos.c: New file.
12363 * benchtests/slowtan-inputs: New file.
12364 * benchtests/slowtan.c: New file.
12365 * benchtests/tan-inputs: New file.
12367 2013-04-16 Roland McGrath <roland@hack.frob.com>
12369 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12372 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12374 * benchtests/Makefile: Include cppflags-iterator.mk to add
12375 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12377 * Makefile.in (bench-clean): New target.
12378 * benchtests/Makefile (bench-clean): Likewise.
12380 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12382 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12384 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12386 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12388 2013-04-15 Andreas Schwab <schwab@suse.de>
12390 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12391 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12392 * nscd/pwdcache.c (cache_addpw): Likewise.
12393 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12396 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12398 * benchtests/Makefile (bench): Write all output to
12399 bench-out.tmp together.
12401 2013-04-15 Andreas Schwab <schwab@suse.de>
12403 * nscd/nscd.c (main): Don't fork again after closing files.
12405 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12407 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12409 * benchtests/Rules (bench-deps): Collect dependencies into a
12410 single variable. Add Makefile to dependencies.
12411 ($(objpfx)bench-%.c): Depend on bench-deps.
12413 2013-04-12 Roland McGrath <roland@hack.frob.com>
12414 Xavier Roche <roche+kml2@exalead.com>
12417 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12418 just that it's a file descriptor.
12419 * manual/llio.texi (Synchronizing AIO Operations): Update description
12420 for EBADF error from aio_fsync.
12422 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12424 * Rules (bench): Move target definition...
12425 * benchtests/Makefile: ... here.
12427 2013-04-11 Carlos O'Donell <carlos@redhat.com>
12429 * math/libm-test.inc (cos_test): Fix PI/2 test.
12430 (sincos_test): Likewise.
12431 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12432 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12434 2013-04-11 Andreas Schwab <schwab@suse.de>
12437 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12438 accept exponent character only when digits were seen.
12439 * stdio-common/Makefile (tests): Add bug26.
12440 * stdio-common/bug26.c: New file.
12443 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12446 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12448 * Makeconfig (rtld-prefix): Define built linker prefix.
12449 * Rules (run-bench): Use it.
12450 * math/Makefile (run-regen-ulps): Likewise.
12452 * Rules (bench): Remove eval.
12454 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12455 Roland McGrath <roland@hack.frob.com>
12456 Ondrej Bilka <neleai@seznam.cz>
12459 * time/getdate.c: Include ctype.h and alloca.h.
12460 (__getdate_r): Trim leading and trailing spaces of input.
12461 * time/tst-getdate.c (tests): Add tests with leading and
12464 2013-04-08 Roland McGrath <roland@hack.frob.com>
12467 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12468 when computing value.
12470 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12472 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12473 Use testrun.sh to run libm tests.
12476 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12478 2013-04-06 Marko Myllynen <myllynen@redhat.com>
12481 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12483 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12485 * Makefile.in (regen-ulps): New target.
12486 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12487 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12488 [ifneq (no,$(PERL)] (regen-ulps): New target.
12489 [ifeq (no,$(PERL)] (regen-ulps): New target.
12490 * math/libm-test.inc (ulps_file_name): Define.
12491 (output_dir): New variable.
12492 (options): Add "output-dir" option.
12493 (parse_opt): Handle 'o' case.
12494 (main): If output_dir is non-NULL use it as a prefix
12496 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12498 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12500 [BZ #10060, #10062]
12501 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12502 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12503 fail configure if __sync_val_compare_and_swap is not inlined.
12504 * sysdeps/i386/configure: Regenerate.
12505 * configure.in: Build for i686 when configured for i386.
12506 * configure: Regenerate.
12507 * README: Remove i386 reference.
12509 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12511 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12512 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12514 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12516 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12517 (lmsnanval): New variables.
12518 (F): Add conversion tests.
12519 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12520 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12522 * stdio-common/tstdiomisc.c (F): Properly collect individual
12525 [BZ #14686, #15336]
12526 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12527 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12528 Instead, use input NaN values or generate a qNaN by arithmetic
12529 operation. Also fix bugs to comply with the standard.
12530 * math/libm-test.inc (remainder_test): Add more tests.
12532 [BZ #15335, #15342]
12533 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12534 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12535 input NaN values or generate a qNaN by arithmetic operation.
12537 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12540 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12543 2013-04-03 Joseph Myers <joseph@codesourcery.com>
12546 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12547 underflowed result.
12548 * math/s_cexpf.c (__cexpf): Likewise.
12549 * math/s_cexpl.c (__cexpl): Likewise.
12550 * math/libm-test.inc (cexp_test): Add more tests.
12552 2013-04-03 Andreas Schwab <schwab@suse.de>
12555 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12556 order arrays from heap if bigger than alloca cutoff.
12558 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12560 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12561 (SNAN_TESTS_double): Refer to GCC PR56831.
12562 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12565 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12567 * Rules (bench): Move bench.out after the run is complete.
12569 * Rules (bench): Echo currently running benchmark.
12571 * benchtests/Makefile (bench): Add atan and slowatan.
12572 * benchtests/atan-inputs: New file.
12573 * benchtests/slowatan-inputs: New file.
12574 * benchtests/slowatan.c: New file.
12576 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12577 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12581 * sysdeps/unix/sysv/linux/kernel-features.h
12582 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12583 __ASSUME_XFS_RESTRICTED_CHOWN.
12584 * sysdeps/unix/sysv/linux/pathconf.c
12585 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12586 Save and restore errno.
12588 2013-04-02 Joseph Myers <joseph@codesourcery.com>
12591 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12592 arguments using __kernel_casinh.
12593 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12594 arguments using __kernel_casinhf.
12595 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12596 arguments using __kernel_casinhl.
12597 * math/libm-test.inc (cacosh_test): Add more tests.
12598 * sysdeps/i386/fpu/libm-test-ulps: Update.
12599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12601 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12603 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12604 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12606 * bench/Makefile (bench): Add sin and slowsin.
12607 * benchtests/sin-inputs: New file.
12608 * benchtests/slowsin-inputs: New file.
12609 * benchtests/slowsin.c: New file.
12611 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12612 (bench): Add slowexp and slowpow.
12613 (exp-ITER): Increase iterations.
12614 (pow-ITER): Likewise.
12615 * benchtests/exp-inputs: Change input.
12616 * benchtests/pow-inputs: Likewise.
12617 * benchtests/slowexp-inputs: New file.
12618 * benchtests/slowexp.c: New file.
12619 * benchtests/slowpow-inputs: New file.
12620 * benchtests/slowpow.c: New file.
12622 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12624 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12626 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12627 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12628 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12629 * benchtests/Makefile: Add rint benchtest.
12630 * benchtests/rint-inputs: Input for rint benchtest.
12632 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12634 * Versions.def (libm): Add GLIBC_2.18.
12635 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12636 hidden libm prototypes.
12637 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12638 * math/Makefile (libm-calls): Add s_issignaling.
12639 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12640 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12641 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12643 * math/math.h [__USE_GNU] (issignaling): New macro.
12644 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12645 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12646 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12647 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12648 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12649 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12650 * manual/arith.texi (issignaling): New section.
12651 * manual/libm-err-tab.pl (@all_functions): Update comment.
12652 * math/gen-libm-test.pl (parse_args): Apply special handling for
12654 * math/libm-test.inc (print_float, issignaling_test): New
12656 (check_float_internal): Add issignaling checks.
12657 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12658 default definition.
12659 * sysdeps/powerpc/math-tests.h: New file.
12660 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12662 * math/test-snan.c (TEST_FUNC): Likewise.
12664 2013-03-30 David S. Miller <davem@davemloft.net>
12666 * po/de.po: Update from translation team.
12668 2013-03-30 Joseph Myers <joseph@codesourcery.com>
12671 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12672 imaginary part less than 1.0 and real part less than 0.5
12674 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12675 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12676 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12677 (cacos_test): Add more tests.
12678 (casin_test): Likewise.
12679 (casinh_test): Likewise.
12680 * sysdeps/i386/fpu/libm-test-ulps: Update.
12681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12683 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12685 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12686 ONE with its value.
12688 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12689 (__pow_mp): Replace ONE and MONE with their values.
12690 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12691 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12692 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12693 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12694 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12695 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12697 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12699 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12700 (__pow_mp): Replace ZERO and MZERO with their values.
12701 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12702 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12703 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12704 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12705 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12706 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12709 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12711 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12713 2013-03-28 Roland McGrath <roland@hack.frob.com>
12715 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12716 Declare with __attribute__ ((weak)).
12717 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12718 Call __call_tls_dtors only if it's not NULL.
12720 2013-03-28 Roland McGrath <roland@hack.frob.com>
12722 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12723 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12724 magic __ehdr_start linker symbol if it's defined.
12725 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12726 them up here if it was already done.
12728 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12729 (_dl_aux_init): Use const in cast when setting it.
12730 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12731 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12732 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12734 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12736 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12737 * csu/libc-tls.c: Nor here.
12738 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12740 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12741 (__libc_message): Never call vsyslog.
12743 2013-03-28 Alan Modra <amodra@gmail.com>
12745 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12747 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12750 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12753 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12757 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12760 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12761 Don't add gid passed as argument.
12763 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12765 2013-03-27 Joseph Myers <joseph@codesourcery.com>
12768 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12769 imaginary part between 1.0 and 1.5 and real part less than 0.5
12771 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12772 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12773 * math/libm-test.inc (cacos_test): Add more tests.
12774 (casin_test): Likewise.
12775 (casinh_test): Likewise.
12776 * sysdeps/i386/fpu/libm-test-ulps: Update.
12777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12779 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12781 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12784 (denorm): Likewise.
12785 (__dbl_mp): Likewise.
12786 (add_magnitudes): Likewise.
12787 (sub_magnitudes): Likewise.
12795 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12797 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12798 (__dubcos): Likewise.
12799 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12800 (__ieee754_acos): Likewise.
12801 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12802 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12803 (__exp1): Likewise.
12804 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12805 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12807 (my_log2): Likewise.
12808 (checkint): Likewise.
12809 * sysdeps/ieee754/dbl-64/e_remainder.c
12810 (__ieee754_remainder): Likewise.
12811 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12812 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12813 (bsloww): Likewise.
12814 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12816 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12817 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12818 MANTISSA_STORE_T to store computations on mantissa. Use
12819 macros for rounding and division.
12820 (denorm): Likewise.
12821 (__dbl_mp): Likewise.
12822 (add_magnitudes): Likewise.
12823 (sub_magnitudes): Likewise.
12826 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12827 powers of two in terms of TWOPOW macro.
12828 (mp_no): Make type of mantissa as MANTISSA_T.
12829 [!RADIXI]: Define RADIXI.
12830 [!TWO52]: Define TWO52.
12831 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12833 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12835 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12836 llroundl symbol when building for PPC32.
12838 2013-03-24 Mark H Weaver <mhw@netris.org>
12840 * manual/arith.texi (Normalization Functions): Fix prototypes for
12841 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12843 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12846 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12847 high value to check if expl overflow.
12848 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12849 to check for underflow and overflow.
12850 * math/libm-test.inc: Add exp test.
12852 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12855 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12858 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12860 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12863 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12865 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12866 wrap blocks consisting of several statements.
12868 * sysdeps/generic/math-tests.h: New file.
12869 * sysdeps/i386/fpu/math-tests.h: Likewise.
12870 * math/test-snan.c: Include it.
12871 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12873 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12876 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12877 (__ieee754_j0l): Do not improve calculations using cos of twice
12878 input for inputs above LDBL_MAX / 2.0L.
12879 (__ieee754_y0l): Likewise.
12880 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12881 (__ieee754_j1l): Do not improve calculations using cos of twice
12882 input for inputs above LDBL_MAX / 2.0L.
12883 (__ieee754_y1l): Likewise.
12884 * math/libm-test.inc (j0_test): Add another test.
12885 (j1_test): Likewise.
12886 (y0_test): Likewise.
12887 (y1_test): Likewise.
12888 * sysdeps/i386/fpu/libm-test-ulps: Update.
12890 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12892 * Rules ($(objpfx)bench-%.c): Include code from a C source
12895 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12898 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12899 imaginary part 1.0 and real part less than 0.5 specially.
12900 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12901 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12902 * math/libm-test.inc (cacos_test): Add more tests.
12903 (casin_test): Likewise.
12904 (casinh_test): Likewise.
12905 * sysdeps/i386/fpu/libm-test-ulps: Update.
12906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12908 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12910 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12911 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12913 2013-03-20 Joseph Myers <joseph@codesourcery.com>
12915 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12916 * config.make.in (config-cflags-sse4): Remove variable.
12917 (config-cflags-avx): Likewise.
12918 (config-cflags-sse2avx): Likewise.
12919 (config-cflags-novzeroupper): Likewise.
12920 (config-asflags-i686): Likewise.
12921 (have-mfma4): Likewise.
12922 (have-as-vis3): Likewise.
12924 * configure.in (MIG): Do not AC_SUBST.
12925 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12926 (libc_cv_cc_sse4): Do not AC_SUBST.
12927 (libc_cv_cc_avx): Likewise.
12928 (libc_cv_cc_sse2avx): Likewise.
12929 (libc_cv_cc_novzeroupper): Likewise.
12930 (libc_cv_cc_fma4): Likewise.
12931 (libc_cv_as_i686): Likewise.
12932 (libc_cv_sparc_as_vis3): Likewise.
12933 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12935 (config-asflags-i686): Likewise.
12936 (config-cflags-avx): Likewise.
12937 (config-cflags-sse2avx): Likewise.
12938 (have-mfma4): Likewise.
12939 (config-cflags-novzeroupper): Likewise.
12940 * sysdeps/mach/configure.in (MIG): Likewise.
12941 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12942 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12944 (config-cflags-avx): Likewise.
12945 (config-cflags-sse2avx): Likewise.
12946 (have-mfma4): Likewise.
12947 (config-cflags-novzeroupper): Likewise.
12948 * configure: Regenerated.
12949 * sysdeps/i386/configure: Likewise.
12950 * sysdeps/mach/configure: Likewise.
12951 * sysdeps/sparc/configure: Likewise.
12952 * sysdeps/x86_64/configure: Likewise.
12954 2013-03-20 Roland McGrath <roland@hack.frob.com>
12957 * locale/programs/localedef.c (options): Put N_ translation marker
12958 on argument names, not just descriptions.
12960 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12962 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12964 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
12967 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12969 2013-03-19 Roland McGrath <roland@hack.frob.com>
12971 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12972 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12973 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12974 [!BEFORE_ABORT] (before_abort): New function.
12975 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12976 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12977 (writev_for_fatal): New function.
12978 (WRITEV_FOR_FATAL): New macro; call that.
12979 (backtrace_and_maps): New function.
12980 (BEFORE_ABORT): New macro; call that.
12981 (struct str_list): Type removed.
12982 (__libc_message, __libc_fatal): Functions removed.
12983 Include <sysdeps/posix/libc_fatal.c> instead.
12985 2013-03-19 Joseph Myers <joseph@codesourcery.com>
12987 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12989 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12992 2013-03-19 Andreas Schwab <schwab@suse.de>
12994 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12995 * sysdeps/gnu/configure: Regenerate.
12997 * configure.in: Substitute libc_cv_rtlddir.
12998 * configure: Regenerate.
12999 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13000 * Makeconfig (rtlddir, inst_rtlddir): New variables.
13001 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13002 * elf/Makefile (install-others, CFLAGS-interp.c)
13003 (ldso_install, common-ldd-rewrite): Likewise.
13004 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13005 $(inst_slibdir)/$(rtld-installed-name).
13006 * scripts/rellns-sh: Add -p option.
13007 * Makerules (make-shlib-link): Use rellns-sh to get relative name
13010 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13012 * manual/nptl.texi: Renamed to ...
13013 * manual/threads.texi: ... this.
13014 * manual/Makefile (chapters): Update.
13016 2013-03-18 Roland McGrath <roland@hack.frob.com>
13019 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13020 on argument names, not just descriptions.
13021 * malloc/memusagestat.c (options): Likewise.
13022 * nss/getent.c (options): Likewise.
13024 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
13027 * iconv/iconv_prog.c (options): Put N_ translation marker
13028 on argument names, not just descriptions.
13029 * iconv/iconvconfig.c (options): Likewise.
13031 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
13033 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13034 implementation which is faster on all x86_64 architectures.
13035 Tested on AMD, Intel Nehalem, SNB, IVB.
13036 * sysdeps/x86_64/strnlen.S: Likewise.
13038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13039 Remove all multiarch strlen and strnlen versions.
13040 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13041 Remove strlen and strnlen related parts.
13043 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13044 Inline strlen part.
13045 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13047 * sysdeps/x86_64/multiarch/strlen.S: Remove.
13048 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13049 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13050 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13051 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13052 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13054 2013-03-17 Carlos O'Donell <carlos@redhat.com>
13056 * manual/memory.texi (Malloc Tunable Parameters):
13057 Sort parameters alphabetically. Add comments for missing entries.
13059 2013-03-17 David S. Miller <davem@davemloft.net>
13061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13063 2013-03-16 Joseph Myers <joseph@codesourcery.com>
13066 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13067 for arguments at most half maximum finite value.
13068 * math/libm-test.inc (j0_test): Add more tests.
13069 (j1_test): Likewise.
13070 (y0_test): Likewise.
13071 (y1_test): Likewise.
13072 * sysdeps/i386/fpu/libm-test-ulps: Update.
13073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13076 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13077 1 / x and functions P and Q for arguments above 0x1p256L.
13078 (__ieee754_y0l): Likewise.
13079 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13080 (__ieee754_y1l): Likewise.
13081 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13082 (j1_test): Likewise.
13083 (y0_test): Likewise.
13084 (y1_test): Likewise.
13086 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
13088 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13091 2013-03-15 Roland McGrath <roland@hack.frob.com>
13093 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13094 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13095 zero since it's initialized to EXEC_PAGESIZE.
13097 * sysdeps/unix/sysv/linux/ldsodefs.h
13098 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13099 * sysdeps/generic/ldsodefs.h: ... here.
13101 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
13103 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13105 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13107 * math/test-snan.c: Renamed from
13108 sysdeps/powerpc/fpu/test-powerpc-snan.c.
13109 * math/Makefile (tests): Add test-snan.
13110 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13113 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13114 SUFFIX. Initialize qNaN_var with __builtin_nan family of
13116 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
13117 __builtin_nan family of functions.
13118 * math/libm-test.inc (initialize): Initialize qnan_value with
13119 __builtin_nan family of functions.
13120 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13122 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13124 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
13125 storage class. Initialize qNaN_var and sNaN_var with
13126 __builtin_nan and __builtin_nans families of functions,
13129 * math/libm-test.inc (acosh_test): Also test with qNaN input.
13130 (sqrt_test): Remove duplicate test with qNaN input.
13131 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13132 (round_test, signbit_test, significand_test): Note missing +/-Inf
13133 as well as qNaN tests.
13135 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13136 qNaN_var. Fix a few strings, too.
13137 * math/libm-test.inc (nan_value): Rename to qnan_value.
13138 * math/gen-libm-test.pl (%beautify): Adjust to that.
13139 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13140 * math/test-misc.c (main): Likewise.
13141 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13142 to __qnan_bytes, and __qnan_union, respectively.
13143 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13145 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13146 and lqnanval, respectively.
13147 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13148 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13149 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13150 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13152 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13153 * math/test-misc.c (main) [__x86_64__]: Enable test for long
13156 * math/test-misc.c (main): Fix copy'n'pastos.
13157 * misc/tst-efgcvt.c (special): Likewise.
13159 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13160 Remove declarations.
13162 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13164 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13165 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13166 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13167 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13169 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13171 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13172 macro to return vdso values correctly in IFUNC implementations.
13173 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13174 Optimization by using IFUNC.
13176 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13177 Richard Henderson <rth@redhat.com>
13178 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13180 * Makefile.in (bench): New target.
13181 * NEWS: Mention the benchmark framework.
13182 * Rules (bench): Likewise.
13183 (binaries-bench): Generate binaries for functions to
13185 * benchtests/Makefile: New makefile for benchmark tests.
13186 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13188 * benchtests/exp-inputs: New input file for EXP function.
13189 * benchtests/pow-inputs: New input file for POW function.
13190 * scripts/bench.pl: New script to generate source files for
13191 benchmark programs.
13193 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13195 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13196 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13197 computations on mantissa. Use macros for rounding and
13199 (denorm): Likewise.
13200 (__dbl_mp): Likewise.
13201 (add_magnitudes): Likewise.
13202 (sub_magnitudes): Likewise.
13205 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13206 powers of two in terms of TWOPOW macro.
13207 (mp_no): Make type of mantissa as MANTISSA_T.
13208 [!RADIXI]: Define RADIXI.
13209 [!TWO52]: Define TWO52.
13210 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13212 * manual/nptl.texi (cindex): Modify threads to pthreads.
13214 2013-03-15 Joseph Myers <joseph@codesourcery.com>
13216 * sysdeps/x86_64/preconfigure: Regenerated.
13218 2013-03-14 Joseph Myers <joseph@codesourcery.com>
13221 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13223 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13224 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13226 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13227 * math/libm-test.inc (j0_test): Do not allow one spurious
13228 underflow exception.
13229 (y1_test): Likewise.
13231 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13233 * manual/Makefile (chapters): Add nptl.
13234 * manual/debug.texi (Debugging Support): Add link to Threads
13236 * manual/nptl.texi: New file.
13238 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13240 2013-03-14 Petr Baudis <pasky@ucw.cz>
13242 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13243 for non-NULL pointer before the memory validity test. Pointed
13244 out by Holger Brunck <holger.brunck@keymile.com>.
13246 2013-03-13 Andreas Schwab <schwab@suse.de>
13248 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13251 2013-03-13 Joseph Myers <joseph@codesourcery.com>
13253 * timezone/zic.c: Update from tzcode 2013b.
13255 2013-03-12 Carlos O'Donell <carlos@redhat.com>
13257 * manual/install.texi (Configuring and compiling):
13258 Mention i686 and i586.
13259 * INSTALL: Regenerate.
13261 2013-03-12 Roland McGrath <roland@hack.frob.com>
13263 * sysdeps/init_array/elf-init.c: New file.
13265 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13266 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13268 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13269 __gmon_start__ as global, but as static with a .preinit_array pointer.
13270 * sysdeps/init_array/gmon-start.c: New file. Use that.
13271 * sysdeps/init_array/crti.S: New file, empty except for comments.
13272 * sysdeps/init_array/crtn.S: Likewise.
13274 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
13276 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13279 Remove Prefer_SSE_for_memop.
13280 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13281 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13282 HAS_PREFER_SSE_FOR_MEMOP.
13283 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13285 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13286 Remove bzero, memset ifunc support.
13287 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13288 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13289 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13290 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13292 2013-03-11 Andreas Schwab <schwab@suse.de>
13295 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13298 (GLIBC_2.16): Remove pthread_atfork.
13300 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13302 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13303 (ptestcases.h): Likewise.
13305 2013-03-08 Roland McGrath <roland@hack.frob.com>
13307 * Makeconfig ($(common-objpfx)config.status): Depend on
13308 sysdeps/*/preconfigure{,.in} too.
13310 2013-03-08 Joseph Myers <joseph@codesourcery.com>
13312 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13313 (__free_hook): Use void * instead of __malloc_ptr_t.
13314 (__malloc_hook): Likewise.
13315 (__realloc_hook): Likewise.
13316 (__memalign_hook): Likewise.
13317 (__after_morecore_hook): Likewise.
13318 * malloc/arena.c (save_malloc_hook): Likewise.
13319 (save_free_hook): Likewise.
13320 * malloc/hooks.c (malloc_hook_ini): Likewise.
13321 (realloc_hook_ini): Likewise.
13322 (memalign_hook_ini): Likewise.
13323 * malloc/malloc.c (malloc_hook_ini): Likewise.
13324 (realloc_hook_ini): Likewise.
13325 (memalign_hook_ini): Likewise.
13326 (__free_hook): Likewise.
13327 (__malloc_hook): Likewise.
13328 (__realloc_hook): Likewise.
13329 (__memalign_hook): Likewise.
13330 (__libc_malloc): Likewise.
13331 (__libc_free): Likewise.
13332 (__libc_realloc): Likewise.
13333 (__libc_memalign): Likewise.
13334 (__libc_valloc): Likewise.
13335 (__libc_pvalloc): Likewise.
13336 (__libc_calloc): Likewise.
13337 (__posix_memalign): Likewise.
13338 * malloc/morecore.c (__sbrk): Likewise.
13339 (__default_morecore): Likewise.
13341 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13343 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13344 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13345 __malloc_ptrdiff_t.
13347 * malloc/malloc.h (__malloc_size_t): Remove macro.
13348 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13350 (old_memalign_hook): Likewise.
13351 (old_realloc_hook): Likewise.
13352 (struct hdr): Likewise.
13354 (mallochook): Likewise.
13355 (memalignhook): Likewise.
13356 (reallochook): Likewise.
13357 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13358 (tr_old_realloc_hook): Likewise.
13359 (tr_old_memalign_hook): Likewise.
13360 (tr_mallochook): Likewise.
13361 (tr_reallochook): Likewise.
13362 (tr_memalignhook): Likewise.
13364 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13366 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13367 default_ldbl_pack and using as default implementation.
13368 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13370 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13371 redundant definition.
13372 (ldbl_insert_mantissa): Likewise.
13373 (ldbl_canonicalize): Likewise.
13374 (ldbl_nearbyint): Likewise.
13375 (ldbl_pack): Rename to ldbl_pack_ppc.
13376 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13377 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13378 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13380 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13383 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13384 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13385 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13387 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13388 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13389 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13391 2013-03-07 Andreas Jaeger <aj@suse.de>
13393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13396 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13398 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13399 Include mpa.h and declare __MPEXP.
13400 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13401 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13402 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13403 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13404 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13405 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13406 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13408 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13409 (__slowpow): Use long double EXPL and LOGL functions to
13411 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13412 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13413 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13414 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13415 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13416 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13419 intermediate variable to calculate exponent.
13421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13425 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13426 [!NO__SQR]: Define __sqr.
13427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13428 and NO__SQR. Remove all code except __mul and __sqr. Include
13429 sysdeps/ieee754/dbl-64/mpa.c.
13430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13433 * posix/Makefile (tests): Add tst-pathconf.
13434 * posix/tst-pathconf.c: New test case.
13435 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13437 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13439 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
13441 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13443 2013-03-06 Andreas Jaeger <aj@suse.de>
13445 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13446 definition via __MAP_ANONYMOUS.
13448 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13449 it's not part of Linux headers.
13451 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13452 (MAP_HUGE_MASK): Define.
13454 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13456 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13457 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13459 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13460 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13462 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13463 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13465 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13467 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13468 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13469 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13470 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13471 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13472 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13474 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13477 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13478 Handle f2fs and efivarfs.
13480 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13483 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13484 (EFIVARFS_MAGIC): Add.
13485 (F2FS_LINK_MAX): Add.
13487 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13489 * stdio-common/vfprintf.c: Replace __builtin_expect with
13492 2013-03-06 Joseph Myers <joseph@codesourcery.com>
13495 * sysdeps/generic/bp-sym.h: Remove file.
13496 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13497 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13498 <bp-sym.h> and <bp-asm.h>.
13499 (__longjmp): Don't use BP_SYM.
13500 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13502 (memcpy): Don't use BP_SYM.
13503 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13504 <bp-sym.h> and <bp-asm.h>.
13505 (memcpy): Don't use BP_SYM.
13506 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13508 (memcpy): Don't use BP_SYM.
13509 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13511 (memset): Don't use BP_SYM.
13512 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13513 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13514 (__bzero): Don't use BP_SYM.
13515 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13516 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13517 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13518 <bp-sym.h> and <bp-asm.h>.
13519 (memcmp): Don't use BP_SYM. Remove comment about bounded
13521 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13522 <bp-sym.h> and <bp-asm.h>.
13523 (memcpy): Don't use BP_SYM.
13524 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13525 <bp-sym.h> and <bp-asm.h>.
13526 (memset): Don't use BP_SYM.
13527 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13528 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13529 (__bzero): Don't use BP_SYM.
13530 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13531 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13532 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13533 <bp-sym.h> and <bp-asm.h>.
13534 (strncmp): Don't use BP_SYM. Remove comment about bounded
13536 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13537 <bp-sym.h> and <bp-asm.h>.
13538 (memcpy): Don't use BP_SYM.
13539 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13540 <bp-sym.h> and <bp-asm.h>.
13541 (memset): Don't use BP_SYM.
13542 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13543 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13544 (__bzero): Don't use BP_SYM.
13545 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13546 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13547 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13548 <bp-sym.h> and <bp-asm.h>.
13549 (__memchr): Don't use BP_SYM.
13550 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13551 <bp-sym.h> and <bp-asm.h>.
13552 (memcmp): Don't use BP_SYM. Remove comment about bounded
13554 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13555 <bp-sym.h> and <bp-asm.h>.
13556 (memcpy): Don't use BP_SYM.
13557 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13558 <bp-sym.h> and <bp-asm.h>.
13559 (__mempcpy): Don't use BP_SYM.
13560 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13561 <bp-sym.h> and <bp-asm.h>.
13562 (__memrchr): Don't use BP_SYM.
13563 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13564 <bp-sym.h> and <bp-asm.h>.
13565 (memset): Don't use BP_SYM.
13566 (__bzero): Likewise.
13567 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13568 <bp-sym.h> and <bp-asm.h>.
13569 (__rawmemchr): Don't use BP_SYM.
13570 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13571 <bp-sym.h> and <bp-asm.h>.
13572 (__STRCMP): Don't use BP_SYM.
13573 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13574 <bp-sym.h> and <bp-asm.h>.
13575 (strchr): Don't use BP_SYM.
13576 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13577 <bp-sym.h> and <bp-asm.h>.
13578 (__strchrnul): Don't use BP_SYM.
13579 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13580 <bp-sym.h> and <bp-asm.h>.
13581 (strlen): Don't use BP_SYM.
13582 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13583 <bp-sym.h> and <bp-asm.h>.
13584 (strncmp): Don't use BP_SYM. Remove comment about bounded
13586 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13587 <bp-sym.h> and <bp-asm.h>.
13588 (__strnlen): Don't use BP_SYM.
13589 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13590 <bp-sym.h> and <bp-asm.h>.
13591 (__GI__setjmp): Don't use BP_SYM.
13592 (_setjmp): Likewise.
13593 (__sigsetjmp): Likewise.
13594 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13595 (L(start_addresses)): Don't use BP_SYM.
13596 (_start): Likewise.
13597 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13599 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13600 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13601 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13602 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13603 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13605 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13606 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13607 about bounded pointers.
13608 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13609 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13610 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13612 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13613 about bounded pointers. Remove GKM FIXME comments.
13614 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13615 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13617 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13618 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13619 Remove GKM FIXME comments.
13620 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13621 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13622 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13624 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13625 about bounded pointers. Remove GKM FIXME comment.
13626 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13628 (strncmp): Don't use BP_SYM. Remove comment about bounded
13630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13631 <bp-sym.h> and <bp-asm.h>.
13632 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13634 <bp-sym.h> and <bp-asm.h>.
13635 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13638 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13640 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13643 2013-03-05 David S. Miller <davem@davemloft.net>
13645 * po/es.po: Update from translation team.
13647 2013-03-05 Andreas Jaeger <aj@suse.de>
13649 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13650 <bits/mman-linux.h>.
13651 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13653 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13654 <bits/mman-linux.h> to end of file.
13655 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13657 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13658 <bits/mman-linux.h> to end of file.
13659 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13661 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13662 <bits/mman-linux.h> to end of file.
13664 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13665 (MCL_CURRENT, MCL_FUTURE): Define here.
13667 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13670 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13672 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13674 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13676 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13677 fourth parameter needed for rt_sigprocmask syscall.
13678 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13679 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13680 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13681 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13682 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13683 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13685 2013-03-04 Joseph Myers <joseph@codesourcery.com>
13688 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13689 comment about bounded pointers.
13690 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13691 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13693 2013-03-04 Andreas Jaeger <aj@suse.de>
13695 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13696 common definitions.
13698 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13699 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13700 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13701 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13702 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13703 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13705 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13708 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13709 __ieee754_sqrl instead of __sqrl.
13711 2013-03-01 Joseph Myers <joseph@codesourcery.com>
13713 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13714 * sysdeps/powerpc/fpu_control.h: ... here.
13715 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13716 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13717 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13718 * sysdeps/powerpc/bits/mathinline.h: ... here.
13720 2013-03-01 Roland McGrath <roland@hack.frob.com>
13722 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13723 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13724 to just [NEED_DL_SYSINFO_DSO].
13725 * elf/dl-support.c: Likewise.
13726 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13727 * elf/rtld.c (dl_main): Likewise.
13728 * elf/setup-vdso.h (setup_vdso): Likewise.
13729 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13730 * sysdeps/unix/sysv/linux/dl-sysdep.c
13731 (_dl_discover_osversion): Likewise.
13733 2013-03-01 Carlos O'Donell <carlos@redhat.com>
13735 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13736 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13738 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13740 * NEWS: Mention libm performance improvements and non-x86 PI
13743 * csu/libc-start.c (__pthread_initialize_minimal): Change
13744 function arguments.
13745 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13747 2013-02-28 Joseph Myers <joseph@codesourcery.com>
13750 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13751 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13752 <bp-sym.h> and <bp-asm.h>.
13753 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13754 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13756 (memcpy): Don't use BP_SYM.
13757 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13759 (__mpn_add_n): Don't use BP_SYM.
13760 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13761 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13763 (__mpn_addmul_1): Don't use BP_SYM.
13764 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13765 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13767 (_setjmp): Don't use BP_SYM.
13768 (__novmx_setjmp): Likewise.
13769 (__GI__setjmp): Likewise.
13770 (__vmx_setjmp): Likewise.
13771 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13773 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13774 (__bzero): Don't use BP_SYM.
13775 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13776 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13777 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13778 <bp-sym.h> and <bp-asm.h>.
13779 (memcpy): Don't use BP_SYM.
13780 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13781 <bp-sym.h> and <bp-asm.h>.
13782 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13783 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13784 <bp-sym.h> and <bp-asm.h>.
13785 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13786 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13788 (__mpn_lshift): Don't use BP_SYM.
13789 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13790 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13792 (memset): Don't use BP_SYM.
13793 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13794 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13795 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13797 (__mpn_mul_1): Don't use BP_SYM.
13798 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13799 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13800 <bp-sym.h> and <bp-asm.h>.
13801 (memcmp): Don't use BP_SYM.
13802 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13803 <bp-sym.h> and <bp-asm.h>.
13804 (memcpy): Don't use BP_SYM.
13805 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13806 <bp-sym.h> and <bp-asm.h>.
13807 (memset): Don't use BP_SYM.
13808 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13809 <bp-sym.h> and <bp-asm.h>.
13810 (strncmp): Don't use BP_SYM.
13811 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13812 <bp-sym.h> and <bp-asm.h>.
13813 (memcpy): Don't use BP_SYM.
13814 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13815 <bp-sym.h> and <bp-asm.h>.
13816 (memset): Don't use BP_SYM.
13817 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13818 <bp-sym.h> and <bp-asm.h>.
13819 (__memchr): Don't use BP_SYM.
13820 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13821 <bp-sym.h> and <bp-asm.h>.
13822 (memcmp): Don't use BP_SYM.
13823 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13824 <bp-sym.h> and <bp-asm.h>.
13825 (memcpy): Don't use BP_SYM.
13826 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13827 <bp-sym.h> and <bp-asm.h>.
13828 (__mempcpy): Don't use BP_SYM.
13829 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13830 <bp-sym.h> and <bp-asm.h>.
13831 (__memrchr): Don't use BP_SYM.
13832 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13833 <bp-sym.h> and <bp-asm.h>.
13834 (memset): Don't use BP_SYM.
13835 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13836 <bp-sym.h> and <bp-asm.h>.
13837 (__rawmemchr): Don't use BP_SYM.
13838 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13839 <bp-sym.h> and <bp-asm.h>.
13840 (__STRCMP): Don't use BP_SYM.
13841 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13842 <bp-sym.h> and <bp-asm.h>.
13843 (strchr): Don't use BP_SYM.
13844 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13845 <bp-sym.h> and <bp-asm.h>.
13846 (__strchrnul): Don't use BP_SYM.
13847 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13848 <bp-sym.h> and <bp-asm.h>.
13849 (strlen): Don't use BP_SYM.
13850 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13851 <bp-sym.h> and <bp-asm.h>.
13852 (strncmp): Don't use BP_SYM.
13853 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13854 <bp-sym.h> and <bp-asm.h>.
13855 (__strnlen): Don't use BP_SYM.
13856 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13858 (__mpn_rshift): Don't use BP_SYM.
13859 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13860 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13861 <bp-sym.h> and <bp-asm.h>.
13862 (__sigsetjmp): Don't use BP_SYM.
13863 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13864 (L(start_addresses)): Don't use BP_SYM.
13865 (_start): Likewise.
13866 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13868 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13869 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13870 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13871 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13873 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13874 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13875 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13876 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13878 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13880 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13881 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13883 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13885 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13886 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13887 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13889 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13891 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13893 (strncmp): Don't use BP_SYM,
13894 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13896 (__mpn_sub_n): Don't use BP_SYM.
13897 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13898 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13900 (__mpn_submul_1): Don't use BP_SYM.
13901 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13903 <bp-sym.h> and <bp-asm.h>.
13904 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13906 <bp-sym.h> and <bp-asm.h>.
13907 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13910 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13913 Use ZK to minimize writes to Z.
13914 (sub_magnitudes): Simplify code a bit.
13915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13916 Use ZK to minimize writes to Z.
13917 (sub_magnitudes): Simplify code a bit.
13919 2013-02-27 Roland McGrath <roland@hack.frob.com>
13921 * csu/gmon-start.c: Add special exception to license text.
13923 2013-02-27 Richard Henderson <rth@redhat.com>
13925 * scripts/config.guess: Update from config.git.
13926 * scripts/config.sub: Likewise.
13928 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13930 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13932 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13934 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13936 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13938 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13940 2013-02-26 Roland McGrath <roland@hack.frob.com>
13942 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13943 [$(build-shared = yes].
13945 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13947 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13948 (__mul): Reduce iterations for calculating mantissa.
13950 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13952 (__mpranred): Likewise.
13955 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13956 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13958 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13960 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13961 Define __attribute__.
13963 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13965 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13967 * posix/regex_internal.h (__attribute): Remove.
13968 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13969 (re_string_context_at): Likewise.
13970 (bitset_not): Use __attribute__ and mark function as possibly
13972 (bitset_merge): Likewise.
13973 (bitset_mask): Likewise.
13974 (re_string_char_size_at): Likewise.
13975 (re_string_wchar_at): Likewise.
13976 (re_string_elem_size_at): Likewise.
13978 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13980 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13984 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13988 (denorm): Likewise.
13989 (__dbl_mp): Likewise.
13990 (add_magnitudes): Likewise.
13991 (sub_magnitudes): Likewise.
13995 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13998 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
14001 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14005 up changes with default code.
14006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14009 2013-02-24 Allan McRae <allan@archlinux.org>
14011 * manual/socket.texi (The Internet Namespace): Order menu items
14012 to match that in the file.
14014 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14015 node listing of the info page menu.
14017 2013-02-21 Joseph Myers <joseph@codesourcery.com>
14020 * sysdeps/i386/bp-asm.h: Remove file.
14021 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14022 (PARMS): Do not use macros from bp-asm.h.
14026 (__mpn_add_n): Do not use BP_SYM
14027 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14029 (PARMS): Do not use macros from bp-asm.h.
14032 (__mpn_addmul_1): Do not use BP_SYM
14033 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14035 (PARMS): Do not use macros from bp-asm.h.
14036 (SIGMSK): Likewise.
14037 (_setjmp): Likewise. Do not use BP_SYM.
14038 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14040 (PARMS): Do not use macros from bp-asm.h.
14041 (SIGMSK): Likewise.
14042 (setjmp): Likewise. Do not use BP_SYM.
14043 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14045 (PARMS): Do not use macros from bp-asm.h.
14046 (__frexp): Do not use BP_SYM.
14048 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14050 (PARMS): Do not use macros from bp-asm.h.
14051 (__frexpf): Do not use BP_SYM.
14052 (frexpf): Likewise.
14053 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14055 (PARMS): Do not use macros from bp-asm.h.
14056 (__frexpl): Do not use BP_SYM.
14057 (frexpl): Likewise.
14058 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14060 (PARMS): Do not use macros from bp-asm.h.
14061 (__remquo): Do not use BP_SYM.
14062 (remquo): Likewise.
14063 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14065 (PARMS): Do not use macros from bp-asm.h.
14066 (__remquof): Do not use BP_SYM.
14067 (remquof): Likewise.
14068 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14070 (PARMS): Do not use macros from bp-asm.h.
14071 (__remquol): Do not use BP_SYM.
14072 (remquol): Likewise.
14073 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14075 (PARMS): Do not use macros from bp-asm.h.
14078 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
14079 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14081 (PARMS): Do not use macros from bp-asm.h.
14082 (strlen): Do not use BP_SYM.
14083 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14085 (PARMS): Do not use macros from bp-asm.h.
14089 (__mpn_add_n): Do not use BP_SYM.
14090 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14092 (PARMS): Do not use macros from bp-asm.h.
14095 (__mpn_addmul_1): Do not use BP_SYM.
14096 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14099 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14101 (PARMS): Do not use macros from bp-asm.h.
14104 (__mpn_lshift): Do not use BP_SYM.
14105 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
14107 (PARMS): Do not use macros from bp-asm.h.
14111 (memcpy): Likewise. Do not use BP_SYM.
14112 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14113 libc_hidden_def and weak_alias.
14114 (mempcpy): Do not use BP_SYM in weak_alias.
14115 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14117 (PARMS): Do not use macros from bp-asm.h.
14120 [!BZERO_P] (CHR): Likewise.
14121 (memset): Likewise. Do not use BP_SYM.
14122 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14124 (PARMS): Do not use macros from bp-asm.h.
14127 (__mpn_mul_1): Do not use BP_SYM.
14128 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14130 (PARMS): Do not use macros from bp-asm.h.
14133 (__mpn_rshift): Do not use BP_SYM.
14134 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14136 (PARMS): Do not use macros from bp-asm.h.
14139 (strchr): Likewise. Do not use BP_SYM.
14140 (index): Do not use BP_SYM in weak_alias.
14141 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14143 (PARMS): Do not use macros from bp-asm.h.
14146 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
14147 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14149 (PARMS): Do not use macros from bp-asm.h.
14150 (strlen): Do not use BP_SYM.
14151 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14153 (PARMS): Do not use macros from bp-asm.h.
14157 (__mpn_sub_n): Do not use BP_SYM.
14158 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14160 (PARMS): Do not use macros from bp-asm.h.
14163 (__mpn_submul_1): Do not use BP_SYM.
14164 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14166 (PARMS): Do not use macros from bp-asm.h.
14170 (__mpn_add_n): Do not use BP_SYM.
14171 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14174 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14176 (PARMS): Do not use macros from bp-asm.h.
14179 (memcmp): Do not use BP_SYM.
14180 (bcmp): Do not use BP_SYM in weak_alias.
14181 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14183 (PARMS): Do not use macros from bp-asm.h.
14187 (memcpy): Likewise. Do not use BP_SYM.
14188 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14190 (PARMS): Do not use macros from bp-asm.h.
14194 (memmove): Likewise. Do not use BP_SYM.
14195 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14197 (PARMS): Do not use macros from bp-asm.h.
14201 (__mempcpy): Likewise. Do not use BP_SYM.
14202 (mempcpy): Do not use BP_SYM in weak_alias.
14203 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14205 (PARMS): Do not use macros from bp-asm.h.
14208 [!BZERO_P] (CHR): Likewise.
14209 (memset): Likewise. Do not use BP_SYM.
14210 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14212 (PARMS): Do not use macros from bp-asm.h.
14214 (strcmp): Do not use BP_SYM.
14215 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14217 (PARMS): Do not use macros from bp-asm.h.
14220 [USE_AS_STRTOK_R] (SAVE): Likewise.
14221 (FUNCTION): Likewise. Do not use BP_SYM.
14222 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14224 (strtok_r): Likewise.
14225 (__GI___strtok_r): Likewise.
14226 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14227 (PARMS): Do not use macros from bp-asm.h.
14230 (__mpn_lshift): Do not use BP_SYM.
14231 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14232 (PARMS): Do not use macros from bp-asm.h.
14235 (__memchr): Do not use BP_SYM.
14236 (memchr): Do not use BP_SYM in weak_alias.
14237 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14238 (PARMS): Do not use macros from bp-asm.h.
14241 (memcmp): Do not use BP_SYM.
14242 (bcmp): Do not use BP_SYM in weak_alias.
14243 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14244 (PARMS): Do not use macros from bp-asm.h.
14247 (__mpn_mul_1): Do not use BP_SYM.
14248 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14250 (PARMS): Do not use macros from bp-asm.h.
14253 (__rawmemchr): Do not use BP_SYM.
14254 (rawmemchr): Do not use BP_SYM in weak_alias.
14255 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14256 (PARMS): Do not use macros from bp-asm.h.
14259 (__mpn_rshift): Do not use BP_SYM.
14260 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14261 (PARMS): Do not use macros from bp-asm.h.
14262 (SIGMSK): Likewise.
14263 (__sigsetjmp): Likewise. Do not use BP_SYM.
14264 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14265 (_start): Do not use BP_SYM.
14266 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14267 (PARMS): Do not use macros from bp-asm.h.
14270 (__stpcpy): Likewise. Do not use BP_SYM.
14271 (stpcpy): Do not use BP_SYM in weak_alias.
14272 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14274 (PARMS): Do not use macros from bp-asm.h.
14278 (__stpncpy): Likewise. Do not use BP_SYM.
14279 (stpncpy): Do not use BP_SYM in weak_alias.
14280 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14281 (PARMS): Do not use macros from bp-asm.h.
14284 (strchr): Likewise. Do not use BP_SYM.
14285 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14287 (PARMS): Do not use macros from bp-asm.h.
14290 (__strchrnul): Likewise. Do not use BP_SYM.
14291 (strchrnul): Do not use BP_SYM in weak_alias.
14292 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14294 (PARMS): Do not use macros from bp-asm.h.
14296 (strcspn): Do not use BP_SYM.
14297 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14299 (PARMS): Do not use macros from bp-asm.h.
14302 (strpbrk): Likewise. Do not use BP_SYM.
14303 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14305 (PARMS): Do not use macros from bp-asm.h.
14308 (strrchr): Likewise. Do not use BP_SYM.
14309 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14310 (PARMS): Do not use macros from bp-asm.h.
14312 (strspn): Do not use BP_SYM.
14313 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14314 (PARMS): Do not use macros from bp-asm.h.
14318 (FUNCTION): Likewise. Do not use BP_SYM.
14319 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14321 (strtok_r): Likewise.
14322 (__GI___strtok_r): Likewise.
14323 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14324 (PARMS): Do not use macros from bp-asm.h.
14328 (__mpn_sub_n): Do not use BP_SYM.
14329 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14331 (PARMS): Do not use macros from bp-asm.h.
14334 (__mpn_submul_1): Do not use BP_SYM.
14335 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14337 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14339 (PARMS): Do not use macros from bp-asm.h.
14344 (__clone): Do not use BP_SYM.
14345 (clone): Do not use BP_SYM in weak_alias.
14346 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14348 (PARMS): Do not use macros from bp-asm.h.
14350 (__mmap64): Do not use BP_SYM.
14351 (mmap64): Do not use BP_SYM in weak_alias.
14352 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14353 <bp-sym.h> and <bp-asm.h>.
14354 (PARMS): Do not use macros from bp-asm.h.
14355 (__posix_fadvise64_l64): Do not use BP_SYM.
14356 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14357 (PARMS): Do not use macros from bp-asm.h.
14359 (semtimedop): Do not use BP_SYM.
14360 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14363 2013-02-21 Allan McRae <allan@archlinux.org>
14365 * manual/message.texi (Charset conversion in gettext):
14366 Move @end statement to beginning of line.
14368 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14375 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14376 (denorm): Likewise.
14377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14378 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14380 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14382 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14383 tail-call to the resolved function if pltexit isn't needed.
14385 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14388 or Y being zero as being unlikely.
14389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14392 2013-02-20 Carlos O'Donell <carlos@redhat.com>
14394 * manual/nss.texi (System Databases and Name Service Switch):
14395 Remove frobnicate @pxref.
14397 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14399 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14400 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14402 2013-02-20 Petr Machata <pmachata@redhat.com>
14404 * elf/elf.h (R_ARM_TARGET1): New macro.
14405 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14406 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14407 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14408 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14409 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14410 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14411 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14412 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14413 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14414 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14415 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14416 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14417 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14418 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14419 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14420 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14421 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14422 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14423 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14424 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14425 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14426 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14427 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14428 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14429 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14430 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14431 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14432 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14433 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14434 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14435 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14436 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14437 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14438 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14439 (R_ARM_THM_GOT_BREL12): Likewise.
14440 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14441 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14442 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14443 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14444 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14445 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14446 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14447 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14448 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14450 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14452 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14453 __attribute_used__ to __attribute__ ((unused)).
14455 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14457 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14460 comment formatting.
14461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14463 2013-02-19 Joseph Myers <joseph@codesourcery.com>
14466 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14468 (ENTER): Remove both macro definitions.
14470 (CHECK_BOUNDS_LOW): Likewise.
14471 (CHECK_BOUNDS_HIGH): Likewise.
14472 (CHECK_BOUNDS_BOTH): Likewise.
14473 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14474 (RETURN_BOUNDED_POINTER): Likewise.
14475 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14476 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14477 (POP_ERRNO_LOCATION_RETURN): Likewise.
14478 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14479 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14480 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14482 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14483 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14484 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14485 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14486 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14487 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14488 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14489 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14490 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14491 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14492 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14493 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14494 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14495 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14497 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14498 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14500 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14501 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14502 * sysdeps/i386/i586/memset.S (memset): Likewise.
14503 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14504 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14505 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14507 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14508 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14509 Change uses of L(2) to L(out).
14510 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14511 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14512 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14513 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14514 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14516 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14517 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14519 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14520 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14521 (RETURN): Do not use macro LEAVE.
14522 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14523 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14524 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14525 * sysdeps/i386/i686/memset.S (memset): Likewise.
14526 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14527 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14528 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14529 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14531 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14532 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14533 L(1_2) and L(1_3) into L(1).
14534 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14535 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14536 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14537 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14538 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14539 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14540 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14541 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14542 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14544 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14545 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14546 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14547 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14548 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14549 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14550 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14551 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14552 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14553 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14554 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14555 * sysdeps/i386/strspn.S (strspn): Likewise.
14556 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14558 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14559 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14560 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14561 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14562 L(1_3) into L(1_1).
14563 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14564 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14565 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14567 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14569 2013-02-19 Jakub Jelinek <jakub@redhat.com>
14571 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14574 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14576 * math/atest-exp.c (exp_mpn): Remove ROUND.
14577 * math/atest-exp2.c (exp_mpn): Likewise.
14578 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14580 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14581 * stdlib/tst-tls-atexit-lib.c: Likewise.
14582 * stdlib/tst-tls-atexit.c: Likewise.
14584 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14586 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14587 and __attribute_alloc_size__.
14589 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14591 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14592 __attribute_alloc_size__.
14593 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14594 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14596 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14598 * include/programs/xmalloc.h: New file.
14599 * catgets/gencat.c: Include it.
14600 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14601 * elf/pldd.c: Likewise.
14602 * iconv/iconv_charmap.c: Likewise.
14603 * iconv/iconvconfig.c: Likewise.
14604 * iconv/strtab.c: Likewise.
14605 * locale/programs/locale.c: Likewise.
14606 * locale/programs/localedef.h: Likewise.
14607 * locale/programs/simple-hash.c: Likewise.
14608 * nscd/nscd.h: Likewise.
14609 * nss/makedb.c: Likewise.
14610 * sysdeps/generic/ldconfig.h: Likewise.
14612 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14614 * Versions.def: Add GLIBC_2.18.
14615 * include/link.h (struct link_map): New member l_tls_dtor_count.
14616 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14617 (__call_tls_dtors): Likewise.
14618 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14619 __cxa_thread_atexit_impl.
14620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14628 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14636 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14637 (tests): Add test case tst-tls-atexit.
14638 (modules-names): Add shared library for tst-tls-atexit.
14639 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
14640 (GLIBC_PRIVATE): Add __call_tls_dtors.
14641 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14643 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14644 * stdlib/tst-tls-atexit.c: New test case.
14645 * stdlib/tst-tls-atexit-lib.c: New test case.
14647 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
14649 * elf/Versions (ld): Add _dl_find_dso_for_object.
14650 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14651 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14652 (dl_open_worker): Use _dl_find_dso_for_object.
14653 * elf/dl-sym.c (do_sym): Likewise.
14654 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14656 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14658 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14659 Syntactic changes only.
14660 (_dl_runtime_profile): Do a tail-call to the resolved function.
14662 2013-02-17 Joseph Myers <joseph@codesourcery.com>
14665 * sysdeps/x86_64/bp-asm.h: Remove file.
14666 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14667 <bp-sym.h> and <bp-asm.h>.
14668 (__clone): Do not use BP_SYM.
14669 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14670 <bp-sym.h> and <bp-asm.h>.
14671 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14672 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14674 (_setjmp): Do not use BP_SYM.
14675 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14677 (setjmp): Do not use BP_SYM.
14678 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14680 (mempcpy): Do not use BP_SYM in weak_alias.
14681 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14683 (strchr): Do not use BP_SYM.
14684 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14686 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14687 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14688 (_start): Do not use BP_SYM.
14689 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14691 (strcat): Do not use BP_SYM.
14692 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14694 (STRCMP): Do not use BP_SYM.
14695 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14697 (STRCPY): Do not use BP_SYM.
14698 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14700 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14702 (FUNCTION): Do not use BP_SYM.
14703 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14705 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14707 2013-02-17 Andreas Jaeger <aj@suse.de>
14709 * time/Versions: Sort entries.
14710 * string/Versions: Likewise.
14711 * resolv/Versions: Likewise.
14712 * posix/Versions: Likewise.
14713 * iconv/Versions: Likewise.
14714 * elf/Versions: Likewise.
14715 * wcsmbs/Versions: Likewise.
14717 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14719 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14720 loop termination condition.
14722 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14723 variable to calculate EZ.
14726 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14727 the lower precision input.
14729 2013-02-15 Joseph Myers <joseph@codesourcery.com>
14732 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14733 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14734 (run-via-rtld-prefix): Do not handle %-bp tests.
14735 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14736 (all-object-suffixes): Remove .ob.
14737 (bppfx): Remove variable.
14738 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14739 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14740 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14741 [$(build-bounded) = yes] (libtype.ob): Likewise.
14742 * Makerules (elide-routines.ob): Remove variable.
14743 (do-tests-clean): Do not handle *-bp.out.
14744 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14745 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14746 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14747 (tests): Do not include $(tests-bp.out).
14748 (xtests): Do not include $(xtests-bp.out).
14749 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14750 [$(build-bounded) = yes] ($(addprefix
14751 $(objpfx),$(binaries-bounded))): Remove rule.
14752 ($(objpfx)%-bp.out): Remove rule.
14753 * config.make.in (build-bounded): Remove variable.
14754 * crypt/Makefile [$(build-bounded) = yes]
14755 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14756 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14757 append to variable.
14758 [$(build-bounded) = yes] (install-lib): Likewise.
14759 [$(build-bounded) = yes] (generated): Likewise.
14760 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14762 * intl/Makefile [$(build-bounded) = yes]
14763 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14764 * math/Makefile [$(build-bounded) = yes]
14765 ($(tests:%=$(objpfx)%-bp): Likewise.
14766 * misc/Makefile [$(build-bounded) = yes]
14767 ($(objpfx)tst-tsearch-bp): Likewise.
14768 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14769 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14771 * string/Makefile (o-objects.ob): Remove variable.
14772 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14773 (CFLAGS-.ob): Remove variable.
14774 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14775 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14776 both definitions of variable.
14777 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14778 (ASFLAGS-.ob): Remove variable.
14780 2013-02-14 Joseph Myers <joseph@codesourcery.com>
14783 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14784 Remove __BOUNDED_POINTERS__ from condition.
14785 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14786 * string/bits/string2.h [!__NO_STRING_INLINES &&
14787 !__BOUNDED_POINTERS__]: Likewise.
14788 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14790 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14791 Remove conditional code.
14792 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14793 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14794 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14798 * csu/libc-start.c: Do not include <bp-sym.h>.
14799 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14800 * elf/dl-open.c: Do not include <bp-sym.h>.
14801 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14802 * math/fegetenv.c: Do not include <bp-sym.h>.
14803 (fegetenv): Do not use BP_SYM in versioned symbols.
14804 * nptl/sysdeps/pthread/bits/libc-lockP.h
14805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14808 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14810 (__pthread_mutex_destroy): Likewise.
14811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14812 (__pthread_mutex_lock): Likewise.
14813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14814 (__pthread_mutex_trylock): Likewise.
14815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14816 (__pthread_mutex_unlock): Likewise.
14817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14818 (__pthread_mutexattr_init): Likewise.
14819 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14820 (__pthread_mutexattr_destroy): Likewise.
14821 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14822 (__pthread_mutexattr_settype): Likewise.
14823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14824 (__pthread_rwlock_init): Likewise.
14825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14826 (__pthread_rwlock_destroy): Likewise.
14827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14828 (__pthread_rwlock_rdlock): Likewise.
14829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14830 (__pthread_rwlock_tryrdlock): Likewise.
14831 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14832 (__pthread_rwlock_wrlock): Likewise.
14833 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14834 (__pthread_rwlock_trywrlock): Likewise.
14835 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14836 (__pthread_rwlock_unlock): Likewise.
14837 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14838 (__pthread_key_create): Likewise.
14839 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14840 (__pthread_setspecific): Likewise.
14841 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14842 (__pthread_getspecific): Likewise.
14843 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14845 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14846 (_pthread_cleanup_push_defer): Likewise.
14847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14848 (_pthread_cleanup_pop_restore): Likewise.
14849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14850 (pthread_setcancelstate): Likewise.
14851 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14853 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14854 (memchr): Do not use BP_SYM in weak_alias.
14855 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14856 (fegetenv): Do not use BP_SYM in versioned symbols.
14857 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14858 (fesetenv): Do not use BP_SYM in versioned symbols.
14859 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14860 (feupdateenv): Do not use BP_SYM in versioned symbols.
14861 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14862 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14863 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14864 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14865 (open64): Do not use BP_SYM in weak_alias.
14866 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14867 (fegetenv): Do not use BP_SYM in versioned symbols.
14868 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14869 (fesetenv): Do not use BP_SYM in versioned symbols.
14870 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14871 (feupdateenv): Do not use BP_SYM in versioned symbols.
14872 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14873 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14874 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14875 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14876 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14877 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14878 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14880 (__libc_start_main): Do not use BP_SYM.
14882 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14885 redundant return line.
14887 (denorm): Likewise.
14888 (dbl_mp): Likewise.
14889 (sub_magnitudes): Likewise.
14895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14897 (denorm): Likewise.
14898 (dbl_mp): Likewise.
14899 (sub_magnitudes): Likewise.
14906 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14908 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14909 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14912 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14913 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14915 of __mul for squares.
14916 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14920 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14921 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14923 2013-02-13 Joseph Myers <joseph@codesourcery.com>
14926 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14928 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14929 prototype or function definition. Rename ubp_* variables and
14930 parameters. Remove argv definitions conditional on
14931 [__BOUNDED_POINTERS__].
14932 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14933 * elf/dl-runtime.c (_dl_fixup): Likewise.
14934 * include/set-hooks.h (RUN_HOOK): Likewise.
14935 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14937 * string/strcpy.c (strcpy): Do not use __unbounded.
14938 * sysdeps/generic/frame.h (struct layout): Likewise.
14939 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14940 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14941 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14942 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14943 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14944 (__backtrace): Likewise.
14945 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14947 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14948 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14949 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14951 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14952 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14953 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14954 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14955 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14956 Do not use __unbounded.
14957 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14958 Rename __unboundedrlimits parameter to rlimits in prototype.
14959 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14960 Do not use __unbounded.
14961 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14962 not use __ptrvalue.
14963 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14964 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14965 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14966 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14967 __ptrvalue or __unbounded.
14968 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14969 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14971 (__new_msgctl): Do not use __ptrvalue.
14972 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14974 (__libc_msgrcv): Do not use __ptrvalue.
14975 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14976 startup_info): Do not use __unbounded.
14977 (__libc_start_main): Likewise. Rename ubp_* variables and
14978 parameters. Remove argv definitions conditional on
14979 [__BOUNDED_POINTERS__].
14980 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14982 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14984 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14986 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14988 (__new_shmctl): Do not use __ptrvalue.
14989 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14990 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14992 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14993 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14994 (__libc_sigaction): Likewise.
14995 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14996 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14998 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15000 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
15002 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
15004 * string/mempcpy.c: Implement by calling memcpy.
15006 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15008 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15010 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15013 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15014 values in the mantissa.
15016 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15017 minimize writes to Z.
15018 (sub_magnitudes): Simplify code a bit.
15020 2013-02-12 Roland McGrath <roland@hack.frob.com>
15022 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15023 from the message. The linker prefixes all warnings with that already.
15025 2013-02-12 Andreas Schwab <schwab@suse.de>
15028 * posix/regexec.c (extend_buffers): Add parameter min_len.
15029 (check_matching): Pass minimum needed length.
15030 (clean_state_log_if_needed): Likewise.
15031 (get_subexp): Likewise.
15032 * posix/Makefile (tests): Add bug-regex34.
15033 (bug-regex34-ENV): Define.
15034 * posix/bug-regex34.c: New file.
15037 * posix/regcomp.c (parse_bracket_exp): When looking up collating
15038 elements compare against the byte sequence of it, not its name.
15039 * posix/Makefile (tests): Add bug-regex35.
15040 (bug-regex35-ENV): Define.
15041 * posix/bug-regex35.c: New file.
15043 2013-02-11 Tom de Vries <tom@codesourcery.com>
15045 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
15047 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15048 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15049 (CHECK_EOL): Add undef.
15051 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
15053 * bits/stdlib-bsearch.h: New file.
15054 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
15055 * stdlib/stdlib.h: Likewise.
15057 2013-02-11 Roland McGrath <roland@hack.frob.com>
15059 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15060 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15062 * manual/search.texi (Array Search Function): Add missing const in
15064 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15065 declaration to use rlim_t.
15066 (Basic Scheduling Functions): Remove erroneous const from
15067 sched_getparam prototype. Remove erroneous * from
15068 sched_get_priority_max and sched_get_priority_min prototypes.
15069 (Resource Usage): Fix summary @comment on vtimes to refer to
15070 sys/vtimes.h rather than vtimes.h.
15071 Add missing *s in vtimes prototype.
15072 (Limits on Resources): Fix ulimit prototype to return long int.
15073 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15074 prototypes to use long int rather than double.
15075 (BSD Random): Fix initstate and setstate to use char *, not void *.
15076 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15077 prototype to make second argument 'struct aiocb64 *const[]'.
15078 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15079 (Status of AIO Operations): Remove erroneous const in aio_return and
15080 aio_return64 prototypes.
15081 (Synchronizing I/O): Fix sync prototype to return void.
15082 * manual/startup.texi (Suboptions): Remove an erroneous const in
15083 getsubopt prototype.
15084 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15085 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15086 use size_t rather than int.
15087 (Scanning All Users): Likewise for getpwent_r.
15088 (Setting Groups): Add missing const to setgroups prototype.
15089 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15090 * manual/socket.texi (Host Names): Fix gethostbyaddr and
15091 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15092 'const void *' rather than 'const char *'.
15093 (Host Address Functions): Likewise for inet_ntop.
15094 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15095 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15096 ssize_t for return value.
15097 (Sending Data): Likewise for send, sendto, sendmsg.
15098 (Socket Option Functions): Add a missing const in setsockopt prototype.
15099 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15100 use wchar_t for the argument.
15101 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15102 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15104 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15105 double/float/long double for second argument.
15106 Fix return types of significand, significandf, significandl.
15107 * manual/filesys.texi (Setting Permissions): Use mode_t for second
15108 argument in fchmod prototype.
15109 (File Owner): Use uid_t and gid_t in fchown prototype.
15110 (File Times): Add const to utimes, futimes, and lutimes prototypes.
15111 (Making Special Files): Use mode_t and dev_t in mknod prototype.
15112 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15113 use 'const struct dirent **' as argument types to CMP function pointer
15115 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15116 (File Times): Fix summary magic @comment for struct utimbuf and utime
15117 to refer to utime.h, not time.h.
15118 * manual/string.texi (Argz Functions): Add missing const in
15119 argz_extract and argz_next prototypes.
15120 (Finding Tokens in a String): Likewise for basename.
15121 (String/Array Comparison): Fix typo in wcscasecmp prototype.
15122 (Copying and Concatenation): Fix typo in wmemmove prototype.
15123 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15124 (Signal Stack): Remove erroneous const in sigstack prototype.
15125 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15127 (Simple Calendar Time): Likewise for stime.
15128 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15130 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15131 say sys/sysctl.h instead.
15132 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15133 and vsyslog prototypes.
15135 2013-02-11 Tom de Vries <tom@codesourcery.com>
15137 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15140 2013-02-11 Roland McGrath <roland@hack.frob.com>
15142 * misc/sys/mman.h: Fix typo in mremap comment.
15144 2013-02-08 Roland McGrath <roland@hack.frob.com>
15146 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15147 the '\0' terminator.
15149 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15152 * debug/segfault.c: Don't include <bp-checks.h>.
15153 * sysdeps/generic/bp-checks.h: Remove file.
15154 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15155 (__GETDENTS): Don't use CHECK_N.
15156 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15157 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15158 (__getgroups): Don't use CHECK_N.
15159 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15160 (setgroups): Don't use CHECK_N.
15161 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15162 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15163 (__libc_msgrcv): Don't use CHECK_N.
15164 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15165 (__libc_msgsnd): Don't use CHECK_N.
15166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15168 (__libc_pread): Don't use CHECK_N.
15169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15170 include <bp-checks.h>.
15171 (__libc_pread64): Don't use CHECK_N.
15172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15173 include <bp-checks.h>.
15174 (__libc_pwrite): Don't use CHECK_N.
15175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15176 include <bp-checks.h>.
15177 (__libc_pwrite64): Don't use CHECK_N.
15178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15180 (__libc_pread): Don't use CHECK_N.
15181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15182 include <bp-checks.h>.
15183 (__libc_pread64): Don't use CHECK_N.
15184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15185 include <bp-checks.h>.
15186 (__libc_pwrite): Don't use CHECK_N.
15187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15188 include <bp-checks.h>.
15189 (__libc_pwrite64): Don't use CHECK_N.
15190 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15191 (do_pread): Don't use CHECK_N.
15192 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15193 (do_pread64): Don't use CHECK_N.
15194 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15195 (do_pwrite): Don't use CHECK_N.
15196 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15197 (do_pwrite64): Don't use CHECK_N.
15198 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15199 (__libc_readv): Don't use CHECK_N.
15200 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15201 (semop): Don't use CHECK_N.
15202 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15204 (semtimedop): Don't use CHECK_N.
15205 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15206 (__libc_pread): Don't use CHECK_N.
15207 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15209 (__libc_pread64): Don't use CHECK_N.
15210 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15212 (__libc_pwrite): Don't use CHECK_N.
15213 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15215 (__libc_pwrite64): Don't use CHECK_N.
15216 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15218 (__libc_msgrcv): Don't use CHECK_N.
15219 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15220 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15221 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15222 (__libc_writev): Don't use CHECK_N.
15224 2013-02-08 Roland McGrath <roland@hack.frob.com>
15226 * string/strcpy.c: Removed unused variable.
15228 * Makeconfig (+sysdep-includes): Define with := rather than =.
15229 Use an existing include/ subdir of each sysdeps dir before it.
15231 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15233 * nscd/connection.c (register_traced_file): Comment function.
15234 [HAVE_INOTIFY] (union __inev): Define.
15235 [HAVE_INOTIFY] (inotify_check_files): New function.
15236 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15237 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15239 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15241 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15243 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15244 loaded if not already and that a failure is permanent.
15246 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15249 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15250 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15252 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15255 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15256 (CHECK_1_NULL_OK): Likewise.
15257 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15258 (__fxstat): Do not use CHECK_1.
15259 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15261 (___fxstat64): Do not use CHECK_1.
15262 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15264 (__fxstatat): Do not use CHECK_1.
15265 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15267 (__fxstatat64): Do not use CHECK_1.
15268 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15270 (__fxstat): Do not use CHECK_1.
15271 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15273 (__fxstatat): Do not use CHECK_1.
15274 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15276 (__getresgid): Do not use CHECK_1.
15277 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15279 (__getresuid): Do not use CHECK_1.
15280 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15282 (__lxstat): Do not use CHECK_1.
15283 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15285 (__old_msgctl): Do not use CHECK_1.
15286 (__new_msgctl): Likewise.
15287 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15289 (__new_setrlimit): Do not use CHECK_1.
15290 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15292 (__old_shmctl): Do not use CHECK_1.
15293 (__new_shmctl): Likewise.
15294 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15296 (__xstat): Do not use CHECK_1.
15297 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15298 (__lxstat): Do not use CHECK_1.
15299 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15301 (___lxstat64): Do not use CHECK_1.
15302 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15303 (__old_msgctl): Do not use CHECK_1.
15304 (__new_msgctl): Likewise.
15305 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15307 (__gettimeofday): Do not use CHECK_1.
15308 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15309 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15310 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15312 (__gettimeofday): Do not use CHECK_1.
15313 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15314 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15315 (__new_shmctl): Do not use CHECK_1.
15316 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15318 (do_sigtimedwait): Do not use CHECK_1.
15319 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15321 (do_sigwaitinfo): Do not use CHECK_1.
15322 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15324 (msgctl): Do not use CHECK_1.
15325 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15327 (shmctl): Do not use CHECK_1.
15328 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15329 (ustat): Do not use CHECK_1.
15330 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15332 (__fxstat): Do not use CHECK_1.
15333 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15335 (__fxstatat): Do not use CHECK_1.
15336 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15338 (__lxstat): Do not use CHECK_1.
15339 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15341 (__xstat): Do not use CHECK_1.
15342 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15343 (__xstat): Do not use CHECK_1.
15344 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15345 (___xstat64): Do not use CHECK_1.
15348 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15350 (CHECK_BOUNDS_HIGH): Likewise.
15351 * string/strcpy.c: Do not include <bp-checks.h>.
15352 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15354 2013-02-07 Roland McGrath <roland@hack.frob.com>
15356 * nscd/nscd-client.h (__nscd_drop_map_ref):
15357 Add __attribute__ ((unused)).
15358 * nis/nss-nisplus.h (niserr2nss): Likewise.
15360 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15361 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15363 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15364 Remove inline keyword.
15365 * include/rounding-mode.h (round_away): Likewise.
15366 * libio/wfileops.c (adjust_wide_data): Likewise.
15367 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15368 (__m128i_strloadu_tolower): Likewise.
15369 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15370 (__m128i_strloadu_tolower): Likewise.
15371 * time/mktime.c (ydhms_diff): Likewise.
15372 * locale/elem-hash.h (elem_hash): Likewise.
15373 * locale/setlocale.c (setdata): Likewise.
15374 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15375 (re_string_wchar_at): Likewise.
15376 (bitset_not, bitset_merge, bitset_mask): Likewise.
15377 [!(__GNUC__ > 3)] (inline): Remove macro.
15378 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15379 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15380 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15381 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15382 * string/memcmp.c (memcmp_bytes): Likewise.
15383 * locale/programs/locarchive.c (compute_hashval): Likewise.
15384 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15385 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15386 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15387 * nss/getent.c (print_rpc, print_protocols): Likewise.
15388 (print_passwd, print_group, print_aliases): Likewise.
15389 * nis/nss-nisplus.h (niserr2nss): Likewise.
15390 * nscd/connections.c (restart_p): Likewise.
15391 Change return type to bool.
15393 2013-02-05 Roland McGrath <roland@hack.frob.com>
15395 * Makeconfig (all-Depend-files): Add existing
15396 $(sorted-subdirs:=/Depend) files.
15397 (all-subdirs): Remove nss.
15398 * sysdeps/unix/inet/Subdirs: Add it here instead.
15399 * hesiod/Depend: New file.
15401 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15402 instead of calling alloca.
15404 * io/lseek.c (__lseek): Rename to __libc_lseek.
15405 Define __lseek as an alias.
15407 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15409 2013-02-04 Carlos O'Donell <carlos@redhat.com>
15411 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15412 else clause and remove check for non-standard endianness.
15414 2013-02-04 David S. Miller <davem@davemloft.net>
15416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15418 2013-02-04 Joseph Myers <joseph@codesourcery.com>
15421 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15422 (__ubp_memchr): Remove prototype.
15423 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15424 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15425 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15426 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15427 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15429 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15430 (__ubp_memchr): Likewise.
15431 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15432 (__ubp_memchr): Likewise.
15433 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15434 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15435 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15436 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15438 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15439 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15440 (__getcwd): Do not use CHECK_STRING.
15441 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15443 (__real_chown): Do not use CHECK_STRING.
15444 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15446 (fchownat): Do not use CHECK_STRING.
15447 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15449 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15451 (__lchown): Do not use CHECK_STRING.
15452 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15453 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15454 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15455 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15457 include <bp-checks.h>.
15458 (truncate64): Do not use CHECK_STRING.
15459 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15461 (__real_chown): Do not use CHECK_STRING.
15462 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15464 (__lchown): Do not use CHECK_STRING.
15465 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15467 (__chown): Do not use CHECK_STRING.
15468 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15470 (truncate64): Do not use CHECK_STRING.
15471 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15473 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15474 (__xmknod): Do not use CHECK_STRING.
15475 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15477 (__xmknodat): Do not use CHECK_STRING.
15478 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15479 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15481 2013-02-04 Andreas Schwab <schwab@suse.de>
15484 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15485 * include/netdb.h: Likewise for h_errno.
15486 * elf/tst-stackguard1.c: Include <tls.h>.
15488 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15490 * elf/link.h (struct link_map): Extend the l_addr comment.
15491 * include/link.h (struct link_map): Likewise.
15493 2013-02-01 Joseph Myers <joseph@codesourcery.com>
15496 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15497 (BOUNDED_1): Remove macro.
15498 * debug/backtrace.c: Don't include <bp-checks.h>.
15499 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15500 (__backtrace): Likewise.
15501 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15503 (__backtrace): Don't use BOUNDED_1.
15504 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15506 (__backtrace): Don't use BOUNDED_1.
15507 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15508 (__backtrace): Don't use BOUNDED_1.
15509 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15510 (shmat): Don't use BOUNDED_N.
15512 2013-01-31 Joseph Myers <joseph@codesourcery.com>
15515 * sysdeps/generic/bp-start.h: Remove file.
15516 * csu/libc-start.c: Don't include <bp-start.h>.
15517 (LIBC_START_MAIN): Set up __environ directly instead of using
15518 INIT_ARGV_and_ENVIRON.
15519 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15523 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15525 (CHECK_FCNTL): Likewise.
15526 (CHECK_N_PAGES): Likewise.
15529 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15531 (CHECK_SIGSET_NULL_OK): Likewise.
15532 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15534 (sigpending): Don't use CHECK_SIGSET.
15535 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15537 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15538 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15540 (do_sigsuspend): Don't use CHECK_SIGSET.
15541 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15543 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15544 (do_sigwait): Don't use CHECK_SIGSET.
15545 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15547 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15548 include <bp-checks.h>.
15549 (sigpending): Don't use CHECK_SIGSET.
15550 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15551 include <bp-checks.h>.
15552 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15553 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15555 (sigpending): Don't use CHECK_SIGSET.
15556 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15558 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15561 * sysdeps/generic/bp-semctl.h: Remove file.
15562 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15563 <bp-checks.h> and <bp-semctl.h>.
15564 (__old_semctl): Don't use CHECK_SEMCTL.
15565 (__new_semctl): Likewise.
15566 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15568 (__old_semctl): Don't use CHECK_SEMCTL.
15569 (__new_semctl): Likewise.
15570 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15571 <bp-checks.h> and <bp-semctl.h>.
15572 (__old_semctl): Don't use CHECK_SEMCTL.
15573 (__new_semctl): Likewise.
15574 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15575 <bp-checks.h> and <bp-semctl.h>.
15576 (semctl): Don't use CHECK_SEMCTL.
15579 * Makerules (elide-bp-thunks): Remove variable.
15580 (elide-routines.oS): Don't use $(elide-bp-thunks).
15581 (elide-routines.os): Likewise.
15582 (elide-routines.o): Likewise.
15583 (elide-routines.op): Likewise.
15584 (elide-routines.og): Likewise.
15585 (objects): Don't use $(bp-thunks).
15586 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15588 (common-generated): Do not add s-proto-bp.d.
15589 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15592 Do not generate makefile rules for bounded-pointer thunks.
15593 * sysdeps/generic/bp-thunks.h: Remove file.
15594 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15595 * sysdeps/unix/s-proto-bp.S: Likewise.
15598 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15599 parts of result separately when argument is not close to line from
15600 -i to i and one part of argument is small.
15601 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15602 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15603 * math/libm-test.inc (cacos_test): Add more tests.
15604 (casin_test): Likewise.
15605 (casinh_test): Likewise.
15606 * sysdeps/i386/fpu/libm-test-ulps: Update.
15607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15609 2013-01-31 David S. Miller <davem@davemloft.net>
15611 * po/de.po: Update from translation team.
15613 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15615 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15617 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15619 * configure.in (_AC_PROG_CC_C89): New definition.
15620 * configure: Regenerate.
15622 * configure.in (AC_PROG_CPP): New definition.
15623 * configure: Regenerate.
15625 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15627 * debug/tst-backtrace.h: New file.
15628 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15629 (ret): Remove variable.
15631 (FAIL): Remove macro.
15632 (NO_INLINE): Likewise.
15633 (fn1): Use match function instead of strstr.
15634 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15635 (ret): Remove variable.
15637 (FAIL): Remove macro.
15638 (NO_INLINE): Likewise.
15639 (fn): Use match function instead of strstr.
15640 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15641 (ret): Remove variable.
15643 (FAIL): Remove macro.
15644 (NO_INLINE): Likewise.
15645 (handle_signal): Use match function instead of strstr.
15646 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15647 (ret): Remove variable.
15649 (FAIL): Remove macro.
15650 (NO_INLINE): Likewise.
15651 (handle_signal): Use match function instead of strstr.
15653 2013-01-23 Roland McGrath <roland@hack.frob.com>
15655 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15657 2013-01-23 David S. Miller <davem@davemloft.net>
15659 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15660 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15661 argument of CAS if possible.
15662 * sysdeps/sparc/sparc64/bits/atomic.h
15663 (__arch_compare_and_exchange_val_32_acq): Likewise.
15664 (__arch_compare_and_exchange_val_64_acq): Likewise.
15666 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15668 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15669 * sysdeps/posix/ulimit.c: ... this.
15670 Include <limits.h>.
15671 * sysdeps/unix/bsd/ulimit.c: Remove file.
15673 2013-01-23 Adam Conrad <adconrad@0c3.net>
15675 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15676 (LDFLAGS-tst-array5): Likewise.
15678 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15681 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15682 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15683 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15684 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15686 2013-01-21 David S. Miller <davem@davemloft.net>
15688 * sysdeps/sparc/backtrace.c: New file.
15689 * sysdeps/sparc/sparc32/backtrace.h: New file.
15690 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15691 * sysdeps/sparc/sparc64/backtrace.h: New file.
15692 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15693 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15696 2013-01-21 Andreas Schwab <schwab@suse.de>
15699 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15702 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15708 2013-01-18 Joseph Myers <joseph@codesourcery.com>
15709 Mark Mitchell <mark@codesourcery.com>
15710 Tom de Vries <tom@codesourcery.com>
15711 Paul Pluzhnikov <ppluzhnikov@google.com>
15713 * debug/tst-backtrace2.c: New file.
15714 * debug/tst-backtrace3.c: Likewise.
15715 * debug/tst-backtrace4.c: Likewise.
15716 * debug/tst-backtrace5.c: Likewise.
15717 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15718 (CFLAGS-tst-backtrace3.c): Likewise.
15719 (CFLAGS-tst-backtrace4.c): Likewise.
15720 (CFLAGS-tst-backtrace5.c): Likewise.
15721 (LDFLAGS-tst-backtrace2): Likewise.
15722 (LDFLAGS-tst-backtrace3): Likewise.
15723 (LDFLAGS-tst-backtrace4): Likewise.
15724 (LDFLAGS-tst-backtrace5): Likewise.
15725 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15726 tst-backtrace4 and tst-backtrace5.
15728 2013-01-18 Anton Blanchard <anton@samba.org>
15729 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15731 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15732 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15733 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15734 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15736 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15737 "+r" and remove output regs list as redundant. Add explicit inline
15738 asm to specify register of return val to work around compiler codegen
15739 bug. Remove (int) cast on return value. Add return type parameter to
15740 use in macro so that this macro does not truncate return value for
15742 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15743 pass to INTERNAL_VSYSCALL_NCS.
15744 (INLINE_VSYSCALL): Add 'long int' as return type to
15745 INTERNAL_VSYSCALL_NCS macro invocation.
15746 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15747 INTERNAL_VSYSCALL_NCS macro invocation.
15748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15750 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15753 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15754 Fix application of SIMD FP exception mask.
15756 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15757 mp_no from a power of two.
15758 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15759 __mpexp_twomm1. Use __pow_mp.
15761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15764 2013-01-17 David S. Miller <davem@davemloft.net>
15766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15768 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15771 * include/complex.h: Condition contents on [!_COMPLEX_H].
15772 (__kernel_casinhf): New prototype.
15773 (__kernel_casinh): Likewise.
15774 (__kernel_casinhl): Likewise.
15775 * math/Makefile (libm_calls): Add k_casinh.
15776 * math/k_casinh.c: New file.
15777 * math/k_casinhf.c: Likewise.
15778 * math/k_casinhl.c: Likewise.
15779 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15780 finite nonzero arguments.
15781 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15782 finite nonzero arguments.
15783 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15784 finite nonzero arguments.
15785 * math/s_casinh.c: Do not include <float.h>.
15786 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15787 * math/s_casinhf.c: Do not include <float.h>.
15788 (__casinhf): Move code for finite nonzero arguments to
15790 * math/s_casinhl.c: Do not include <float.h>.
15791 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15793 (__casinhl): Move code for finite nonzero arguments to
15795 * math/libm-test.inc (cacos_test): Add more tests.
15796 * sysdeps/i386/fpu/libm-test-ulps: Update.
15797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15799 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15801 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15802 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15803 [!HAVE_MREMAP]: Remove [defined linux] case.
15804 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15806 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15808 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15810 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
15812 * elf/elf.h (R_386_SIZE32): New relocation.
15813 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15815 (elf_machine_rela): Likewise.
15816 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15817 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15819 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15821 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15822 (FP_FAST_FMA): Do not define.
15823 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15824 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15825 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15826 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15827 !_SOFT_FLOAT]: Likewise.
15828 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15829 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15831 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15832 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15833 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15834 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15835 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15836 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15839 2013-01-16 Andreas Schwab <schwab@suse.de>
15842 * include/stdlib.h (__mktemp): Add declaration.
15843 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15844 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15846 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15848 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15850 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15851 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15852 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15854 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15855 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15857 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15859 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15860 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15861 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15863 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15864 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15866 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15868 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15870 2013-01-15 David S. Miller <davem@davemloft.net>
15872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15873 trunc{,f} to libm-sysdep_routes.
15874 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15884 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15885 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15886 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15887 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15888 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15889 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15892 nearbyint{,f} to libm-sysdep_routes.
15893 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15904 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15906 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15907 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15909 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15910 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15911 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15913 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15914 libc_feholdexcept and libc_fesetenv.
15916 2013-01-15 Mike Frysinger <vapier@gentoo.org>
15918 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15920 2013-01-14 David S. Miller <davem@davemloft.net>
15922 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15923 (SPARC_ASM_VIS2_IFUNC): Likewise.
15924 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15926 use of 'siam' instruction.
15927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15936 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15946 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15958 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15960 routines to libm-sysdep_routines.
15961 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15964 fdim/fdimf to libm-sysdep_routines.
15965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15973 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15974 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15975 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15976 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15978 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15980 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15981 to optimize copies.
15983 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15988 local variable MPTWO.
15989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15992 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15994 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15997 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15999 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16001 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16003 * manual/pattern.texi (glob_t): Document gl_flags.
16004 (glob64_t): Likewise.
16006 2013-01-11 David S. Miller <davem@davemloft.net>
16008 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16009 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16010 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
16011 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16012 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16013 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16014 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16015 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16016 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16017 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16018 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16019 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16020 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16022 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16023 sparc V9 rather than using V8 code.
16024 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16025 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16027 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16029 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16032 2013-01-11 Roland McGrath <roland@hack.frob.com>
16034 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16035 not in the main loop.
16036 * configure: Regenerated.
16038 2013-01-11 Joseph Myers <joseph@codesourcery.com>
16040 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16041 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16043 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
16044 [!__GLIBC_HAVE_LONG_LONG] case.
16045 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16046 condition to just #else.
16047 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16048 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16049 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16050 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16052 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16053 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16054 #elif condition to just #else.
16055 * sysdeps/unix/sysv/linux/sys/sysmacros.h
16056 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16057 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16058 #elif condition to just #else.
16060 2013-01-11 Steve Ellcey <sellcey@mips.com>
16062 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16063 (EF_MIPS_ARCH_64): Fix value.
16064 (EF_MIPS_ARCH_32R2): New.
16065 (EF_MIPS_ARCH_64R2): New.
16067 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
16069 * Makeconfig (+link-pie-before-libc): New.
16070 (+link-pie-after-libc): Likewise.
16071 (+link-pie-tests): Likewise.
16072 (+link-pie): Rewritten.
16073 (link-before-libc): Remove $(config-LDFLAGS).
16074 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16075 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16076 (config-LDFLAGS): Renamed to ...
16077 (rtld-LDFLAGS): This.
16078 (rtld-tests-LDFLAGS): New macro.
16079 (link-libc-rpath-link): Likewise.
16080 (link-libc-tests-rpath-link): Likewise.
16081 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16082 (link-libc): Prepand $(link-libc-rpath-link).
16083 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16084 (test-program-prefix): New macro.
16085 (test-via-rtld-prefix): Likewise.
16086 (test-program-cmd): Likewise.
16087 (host-test-program-cmd): Likewise.
16088 * Makefile ($(common-objpfx)testrun.sh): Replace
16089 $(run-program-prefix) with $(test-program-prefix).
16090 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16092 ($(common-objpfx)shlib.lds): Likewise.
16093 (build-module-helper): Likewise.
16094 ($(common-objpfx)format.lds): Likewise.
16095 * Rules (binaries-pie-tests): New.
16096 (binaries-pie-notests): Likewise.
16097 (binaries-pie): Rewritten.
16098 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16099 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16100 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16101 (make-test-out): Replace $(host-built-program-cmd) with
16102 $(host-test-program-cmd).
16103 * config.make.in (build-hardcoded-path-in-tests): New variable.
16104 * configure.in (--enable-hardcoded-path-in-tests): New configure
16106 (hardcoded_path_in_tests): New AC_SUBST.
16107 * configure: Regenerated.
16108 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16109 $(built-program-cmd) with $(test-program-cmd).
16110 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16111 (test_program_cmd): This.
16112 * elf/Makefile ($(objpfx)order.out): Run test with
16113 $(test-program-prefix).
16114 ($(objpfx)order2.out): Likewise.
16115 ($(objpfx)tst-initorder.out): Likewise.
16116 ($(objpfx)tst-initorder2.out): Likewise.
16117 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16118 $(test-program-cmd).
16119 ($(objpfx)tst-array1-static.out): Likewise.
16120 ($(objpfx)tst-array2.out): Likewise.
16121 ($(objpfx)tst-array3.out): Likewise.
16122 ($(objpfx)tst-array4.out): Likewise.
16123 ($(objpfx)tst-array5.out): Likewise.
16124 ($(objpfx)tst-array5-static.out): Likewise.
16125 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16126 $(test-program-cmd).
16127 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16128 $(run-program-prefix) with $(test-program-prefix).
16129 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16130 (test_program_prefix): This.
16131 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16132 $(run-program-prefix) with $(test-program-prefix).
16133 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16134 (test_program_prefix): This.
16135 * iconvdata/tst-tables.sh: Likewise.
16136 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16137 $(run-program-prefix) with $(test-program-prefix).
16138 ($(objpfx)tst-translit.out): Likewise.
16139 ($(objpfx)tst-gettext2.out): Likewise.
16140 ($(objpfx)tst-gettext4.out): Likewise.
16141 ($(objpfx)tst-gettext6.out): Likewise.
16142 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16143 (test_program_prefix): This.
16144 * intl/tst-gettext2.sh: Likewise.
16145 * intl/tst-gettext4.sh Likewise.
16146 * intl/tst-gettext6.sh: Likewise.
16147 * intl/tst-translit.sh: Likewise.
16148 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16149 with $(test-program-cmd).
16150 * libio/Makefile ($(objpfx)test-freopen.out): Replace
16151 $(run-program-prefix) with $(test-program-prefix).
16152 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16153 (test_program_prefix): This.
16154 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16155 $(run-program-prefix) with $(test-program-prefix).
16156 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16157 (test_program_prefix): This.
16158 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16159 * posix/Makefile ($(objpfx)globtest.out): Replace
16160 $(run-via-rtld-prefix) and $(test-wrapper) with
16161 $(test-program-prefix) and $(test-via-rtld-prefix).
16162 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16163 $(test-program-prefix).
16164 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16165 $(host-test-program-cmd).
16166 (tst-spawn-ARGS): Likewise.
16167 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16168 $(test-program-prefix).
16169 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16170 (test_via_rtld_prefix): This.
16171 (test_wrapper): Renamed to ...
16172 (test_program_prefix): This.
16173 (run_program_prefix): Replaced by test_program_prefix.
16174 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16175 (test_program_prefix): This.
16176 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16177 with $(host-test-program-cmd).
16178 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16179 $(run-program-prefix) with $(test-program-prefix).
16180 ($(objpfx)tst-printf.out): Likewise.
16181 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16182 $(test-program-cmd).
16183 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16184 (test_program_prefix): This.
16185 * stdio-common/tst-unbputc.sh: Likewise.
16186 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16187 $(run-program-prefix) with $(test-program-prefix).
16188 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16189 (test_program_prefix): This.
16190 * string/Makefile ($(objpfx)tst-svc.out): Replace
16191 $(built-program-cmd) with $(test-program-cmd).
16193 2013-01-11 Andreas Jaeger <aj@suse.de>
16196 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16197 value. Sync with Linux 3.7.
16199 2013-01-10 David S. Miller <davem@davemloft.net>
16201 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16202 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16203 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16205 2013-01-10 Roland McGrath <roland@hack.frob.com>
16207 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16209 * configure: Regenerated.
16211 2013-01-10 David S. Miller <davem@davemloft.net>
16213 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16214 sparc V9 rather than using V8 code.
16215 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16216 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16218 2013-01-10 Roland McGrath <roland@hack.frob.com>
16220 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16221 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16222 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16223 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16224 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16225 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16226 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16227 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16228 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16229 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16230 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16231 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16232 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16233 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16234 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16235 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16236 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16237 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16238 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16239 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16240 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16241 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16242 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16243 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16244 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16245 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16246 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16248 2013-01-10 David S. Miller <davem@davemloft.net>
16250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16252 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16254 * posix/Makefile (tests-static): New variable.
16255 (tests): Add $(tests-static).
16256 (tst-exec-static-ARGS): New variable.
16257 (tst-spawn-static-ARGS): Likewise.
16258 * posix/tst-exec-static.c: New file.
16259 * posix/tst-spawn-static.c: Likewise.
16260 * posix/tst-exec.c: Support run directly.
16261 * posix/tst-spawn.c: Likewise.
16263 2013-01-10 Joseph Myers <joseph@codesourcery.com>
16265 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16267 * math/bits/mathcalls.h (llrint): Likewise.
16268 (llround): Likewise.
16269 * stdlib/stdlib.h (struct drand48_data): Likewise.
16270 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16271 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16272 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16274 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16276 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16277 (elf_greg_t): Likewise.
16278 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16279 (__jmp_buf): Likewise.
16280 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16282 (llrint): Likewise, for all definitions.
16283 (llrintl): Likewise.
16285 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16286 Remove [__GNUC__] condition.
16287 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16288 condition to just [__USE_ISOC99].
16289 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16291 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16294 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16295 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16297 (_POSIX_V6_ILP32_OFF32): Likewise.
16298 (_XBS5_ILP32_OFF32): Likewise.
16299 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16300 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16302 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16304 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16306 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16307 doubles __mpexp_twomm1. Adjust usage.
16308 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16311 2013-01-10 Andreas Schwab <schwab@suse.de>
16314 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16315 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16317 2013-01-09 David S. Miller <davem@davemloft.net>
16320 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16321 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16322 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16323 TCP_FASTOPEN): Define.
16324 (tcp_repair_opt): New structure.
16325 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16327 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16328 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16329 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16330 (tcp_cookie_transactions): New structure.
16332 2013-01-09 Anton Blanchard <anton@samba.org>
16334 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16335 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16336 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16337 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16339 2013-01-09 Joseph Myers <joseph@codesourcery.com>
16341 * include/features.h (__USE_ANSI): Remove.
16343 2013-01-09 Roland McGrath <roland@hack.frob.com>
16345 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16347 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16349 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16351 * sysdeps/s390/fpu/libm-test-ulps: Update.
16353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16355 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16359 (denorm): Likewise.
16360 (__mp_dbl): Likewise.
16361 (__dbl_mp): Likewise.
16362 (add_magnitudes): Likewise.
16363 (sub_magnitudes): Likewise.
16369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16373 (denorm): Likewise.
16374 (__mp_dbl): Likewise.
16375 (__dbl_mp): Likewise.
16376 (add_magnitudes): Likewise.
16377 (sub_magnitudes): Likewise.
16383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16387 (denorm): Likewise.
16388 (__mp_dbl): Likewise.
16389 (__dbl_mp): Likewise.
16390 (add_magnitudes): Likewise.
16391 (sub_magnitudes): Likewise.
16398 2013-01-08 Joseph Myers <joseph@codesourcery.com>
16400 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16401 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16402 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16403 2 && __USE_EXTERN_INLINES]: Likewise.
16405 2013-01-08 Andreas Jaeger <aj@suse.de>
16408 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16410 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16411 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16413 2013-01-07 Anton Blanchard <anton@samba.org>
16415 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16416 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16417 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16418 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16419 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16420 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16421 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16422 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16424 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16425 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16426 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16427 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16428 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16429 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16430 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16431 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16432 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16433 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16434 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16435 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16436 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16437 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16438 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16439 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16440 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16441 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16442 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16443 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16444 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16445 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16447 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16448 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16449 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16450 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16451 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16452 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16453 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16454 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16455 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16456 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16457 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16459 2013-01-07 Joseph Myers <joseph@codesourcery.com>
16461 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16462 (__MALLOC_PMT): Likewise.
16463 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16464 [__GNUC__], only on [_LIBC].
16465 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16466 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16467 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16468 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16469 forward declaration.
16470 (realloc_hook_ini): Likewise.
16471 (memalign_hook_ini): Likewise.
16472 (__libc_memalign): Do not use __MALLOC_PMT in variable
16474 (__libc_valloc): Likewise.
16475 (__libc_pvalloc): Likewise.
16476 (__libc_calloc): Likewise.
16477 (__posix_memalign): Likewise.
16480 * math/s_casinh.c: Include <float.h>.
16481 (__casinh): Do not do computation with squaring and square root
16482 for large arguments.
16483 * math/s_casinhf.c: Include <float.h>.
16484 (__casinhf): Do not do computation with squaring and square root
16485 for large arguments.
16486 * math/s_casinhl.c: Include <float.h>.
16487 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16488 (__casinhl): Do not do computation with squaring and square root
16489 for large arguments.
16490 * math/libm-test.inc (casin_test): Add more tests.
16491 (casinh_test): Likewise.
16492 * sysdeps/i386/fpu/libm-test-ulps: Update.
16493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16495 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16497 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16498 (__x86_64_raw_data_cache_size): Likewise.
16499 (__x86_64_data_cache_size_half): Likewise.
16500 (__x86_64_raw_data_cache_size_half): Likewise.
16501 (__x86_64_shared_cache_size): Likewise.
16502 (__x86_64_raw_shared_cache_size): Likewise.
16503 (__x86_64_shared_cache_size_half): Likewise.
16504 (__x86_64_raw_shared_cache_size_half): Likewise.
16505 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16507 (__x86_data_cache_size): This.
16508 (__x86_64_raw_data_cache_size): Renamed to ...
16509 (__x86_raw_data_cache_size): This.
16510 (__x86_64_data_cache_size_half): Renamed to ...
16511 (__x86_data_cache_size_half): This.
16512 (__x86_64_raw_data_cache_size_half): Renamed to ...
16513 (__x86_raw_data_cache_size_half): This.
16514 (__x86_64_shared_cache_size): Renamed to ...
16515 (__x86_shared_cache_size): This.
16516 (__x86_64_raw_shared_cache_size): Renamed to ...
16517 (__x86_raw_shared_cache_size): This.
16518 (__x86_64_shared_cache_size_half): Renamed to ...
16519 (__x86_shared_cache_size_half): This.
16520 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16521 (__x86_raw_shared_cache_size_half): This.
16522 * sysdeps/x86_64/memcpy.S: Updated.
16523 * sysdeps/x86_64/memset.S: Likewise.
16524 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16525 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16526 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16528 2013-01-04 David S. Miller <davem@davemloft.net>
16530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16532 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16534 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16535 1 to avoid redefinition warning.
16536 (__USE_GNU): Don't define.
16537 (init_signaling_nan): Protoize.
16539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16541 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16543 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16545 (__cpymn): Likewise.
16546 (norm): Remove commented code.
16547 (denorm): Likewise.
16548 (__mp_dbl): Likewise.
16550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16551 (__cpymn): Likewise.
16552 (norm): Remove commented code.
16553 (denorm): Likewise.
16554 (__mp_dbl): Likewise.
16557 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16558 mp_no value for 1.0 and 2.0.
16559 (norm): Use RADIXI instead of radixi.d.
16560 (denorm): Likewise.
16561 (__mul): Use 0.0 instead of zero.d.
16562 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16563 mp_no value for 1.0 and 2.0.
16564 (norm): Use RADIXI instead of radixi.d.
16565 (denorm): Likewise.
16566 (__mul): Use 0.0 instead of zero.d.
16568 2013-01-04 Joseph Myers <joseph@codesourcery.com>
16571 * math/s_casinh.c (__casinh): Reduce finite argument to first
16572 quadrant then set signs of results at the end.
16573 * math/s_casinhf.c (__casinhf): Likewise.
16574 * math/s_casinhl.c (__casinhl): Likewise.
16575 * math/libm-test.inc (casin_test): Add more tests.
16576 (casinh_test): Likewise.
16577 * sysdeps/i386/fpu/libm-test-ulps: Update.
16578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16580 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16582 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16584 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16586 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16588 (denorm): Likewise.
16589 (__mp_dbl): Likewise.
16592 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16593 and adjust the header comment.
16595 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16596 variable name from declaration.
16598 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16601 Initialize COMMON_CPUID_INDEX_7 element.
16602 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16603 (CPUID_RTM): Likewise.
16604 (HAS_RTM): Likewise.
16605 (COMMON_CPUID_INDEX_7): New enum.
16607 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16610 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16611 size is zero, record memory as freed.
16613 2013-01-03 Andreas Jaeger <aj@suse.de>
16615 * po/ia.po: Add new Interlingua translation.
16617 2012-01-03 Allan McRae <allan@archlinux.org>
16619 * locale/programs/localedef.c: Fix description of '--posix' flag.
16621 2013-01-02 Joseph Myers <joseph@codesourcery.com>
16623 * NEWS: Update dates in second copyright notice.
16624 * README: Update copyright dates in example.
16625 * manual/libc.texinfo: Update copyright dates.
16626 * scripts/test-installation.pl: Update copyright date in --version
16629 * hurd/ctty-input.c: Fix copyright notice formatting.
16630 * hurd/ctty-output.c: Likewise.
16631 * hurd/dtable.c: Likewise.
16632 * hurd/hurd-raise.c: Likewise.
16633 * hurd/hurdprio.c: Likewise.
16634 * hurd/msgportdemux.c: Likewise.
16635 * misc/sys/file.h: Likewise.
16636 * misc/sys/ioctl.h: Likewise.
16637 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16638 * sysdeps/mach/hurd/chdir.c: Likewise.
16639 * sysdeps/mach/hurd/fchdir.c: Likewise.
16640 * sysdeps/mach/hurd/rename.c: Likewise.
16641 * sysdeps/mach/hurd/rmdir.c: Likewise.
16642 * sysdeps/mach/hurd/seekdir.c: Likewise.
16643 * sysdeps/mach/hurd/setsid.c: Likewise.
16644 * sysdeps/posix/wait3.c: Likewise.
16646 * All files with FSF copyright notices: Update copyright dates
16647 using scripts/update-copyrights.
16648 * intl/plural.c: Regenerated.
16649 * locale/programs/charmap-kw.h: Likewise.
16650 * locale/programs/locfile-kw.h: Likewise.
16652 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16654 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16657 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16658 calculation loop and add branch prediction.
16660 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16661 check access beyond bounds of m1np.
16663 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16665 (__inv): Remove local variable MPTWO to use the global
16667 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16668 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16670 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16671 MP3HALFS static const.
16673 2013-01-01 David S. Miller <davem@davemloft.net>
16675 * po/ca.po: Update from translation team.
16677 2013-01-01 Joseph Myers <joseph@codesourcery.com>
16679 * scripts/update-copyrights: New file.
16680 * Makeconfig: Reformat copyright notice.
16681 * ctype/ctype.h: Likewise.
16682 * debug/swprintf_chk.c: Likewise.
16683 * elf/dl-cache.c: Likewise.
16684 * elf/dl-debug.c: Likewise.
16685 * elf/dl-object.c: Likewise.
16686 * grp/initgroups.c: Likewise.
16687 * hurd/Makefile: Likewise.
16688 * hurd/hurd/signal.h: Likewise.
16689 * hurd/hurdfault.c: Likewise.
16690 * hurd/hurdioctl.c: Likewise.
16691 * hurd/hurdlookup.c: Likewise.
16692 * hurd/intr-msg.c: Likewise.
16693 * iconv/gconv_open.c: Likewise.
16694 * libio/swprintf.c: Likewise.
16695 * locale/lc-ctype.c: Likewise.
16696 * locale/nl_langinfo.c: Likewise.
16697 * mach/Machrules: Likewise.
16698 * mach/Makefile: Likewise.
16699 * malloc/obstack.h: Likewise.
16700 * manual/Makefile: Likewise.
16701 * manual/tsort.awk: Likewise.
16702 * misc/bits/stab.def: Likewise.
16703 * nis/nis_print_group_entry.c: Likewise.
16704 * nis/nis_table.c: Likewise.
16705 * nis/nss_compat/compat-pwd.c: Likewise.
16706 * nis/nss_compat/compat-spwd.c: Likewise.
16707 * po/Makefile: Likewise.
16708 * posix/fnmatch.c: Likewise.
16709 * posix/regex.h: Likewise.
16710 * resolv/Makefile: Likewise.
16711 * resolv/nss_dns/dns-network.c: Likewise.
16712 * resolv/res_hconf.c: Likewise.
16713 * scripts/gen-sorted.awk: Likewise.
16714 * soft-fp/soft-fp.h: Likewise.
16715 * stdio-common/printf.h: Likewise.
16716 * stdlib/monetary.h: Likewise.
16717 * stdlib/random.c: Likewise.
16718 * stdlib/random_r.c: Likewise.
16719 * sysdeps/generic/Makefile: Likewise.
16720 * sysdeps/gnu/Makefile: Likewise.
16721 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16722 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16723 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16725 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16726 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16728 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16729 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16730 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16731 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16732 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16733 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16734 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16735 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16736 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16737 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16738 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16739 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16740 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16741 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16742 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16743 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16749 * sysdeps/mach/hurd/errnos.awk: Likewise.
16750 * sysdeps/mach/hurd/fork.c: Likewise.
16751 * sysdeps/mach/hurd/getcwd.c: Likewise.
16752 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16753 * sysdeps/mach/hurd/mmap.c: Likewise.
16754 * sysdeps/mach/hurd/utimes.c: Likewise.
16755 * sysdeps/mach/hurd/xmknod.c: Likewise.
16756 * sysdeps/posix/profil.c: Likewise.
16757 * sysdeps/posix/readdir_r.c: Likewise.
16758 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16759 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16760 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16761 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16763 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16764 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16765 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16767 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16768 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16769 * sysdeps/pthread/lio_listio.c: Likewise.
16770 * sysdeps/sparc/dl-procinfo.h: Likewise.
16771 * sysdeps/unix/i386/sysdep.S: Likewise.
16772 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16773 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16774 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16775 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16777 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16778 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16779 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16780 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16781 * sysdeps/wordsize-32/divdi3.c: Likewise.
16782 * time/sys/time.h: Likewise.
16783 * wcsmbs/Makefile: Likewise.
16785 2013-01-01 David S. Miller <davem@davemloft.net>
16787 * po/fr.po: Update from translation team.
16789 * catgets/gencat.c: Update copyright year.
16790 * csu/version.c: Likewise.
16791 * debug/catchsegv.sh: Likewise.
16792 * debug/pcprofiledump.c: Likewise.
16793 * debug/xtrace.sh: Likewise.
16794 * elf/ldconfig.c: Likewise.
16795 * elf/ldd.bash.in: Likewise.
16796 * elf/pldd.c: Likewise.
16797 * elf/sotruss.ksh: Likewise.
16798 * elf/sprof.c: Likewise.
16799 * iconv/iconv_prog.c: Likewise.
16800 * iconv/iconvconfig.c: Likewise.
16801 * locale/programs/locale.c: Likewise.
16802 * locale/programs/localedef.c: Likewise.
16803 * login/programs/pt_chown.c: Likewise.
16804 * malloc/memusage.sh: Likewise.
16805 * malloc/memusagestat.c: Likewise.
16806 * malloc/mtrace.pl: Likewise.
16807 * nscd/nscd.c: Likewise.
16808 * nss/getent.c: Likewise.
16809 * nss/makedb.c: Likewise.
16810 * posix/getconf.c: Likewise.
16812 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16814 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16817 2012-12-30 Mike Frysinger <vapier@gentoo.org>
16819 * math/bits/mathcalls.h (modf): Use __nonnull.
16821 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16823 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16824 (split): Use macro CN instead of the bare value.
16825 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16827 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16828 instead of the bare value.
16829 (power1): Likewise.
16831 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16833 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16835 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16837 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16839 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16840 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16841 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16842 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16844 2012-12-28 Andreas Jaeger <aj@suse.de>
16846 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16847 values are from Linux 3.7.
16849 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16850 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16852 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16854 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16857 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16859 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16860 variables with preprocessor constants.
16861 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16862 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16863 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16865 2012-12-27 Bruno Haible <bruno@clisp.org>
16868 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16871 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16873 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16874 and use variable directly.
16875 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16877 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16879 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16880 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16882 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16883 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16884 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16885 include directive. Remove local variable MPONE.
16886 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16887 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16888 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16890 2012-12-25 David S. Miller <davem@davemloft.net>
16892 * version.h (RELEASE): Set to "development".
16893 (VERSION): Set to "2.17.90".
16894 * NEWS: Add 2.18 section.
16896 2012-12-21 David S. Miller <davem@davemloft.net>
16898 * po/hr.po: Update from translation team.
16900 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16902 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16904 2012-12-19 Steve Ellcey <sellcey@mips.com>
16906 * NEWS: Mention new memcpy for MIPS.
16908 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16910 * manual/contrib.texi (Contributors): Spelling correction.
16912 2012-12-15 David S. Miller <davem@davemloft.net>
16914 * po/ru.po: Update from translation team.
16916 2012-12-13 David S. Miller <davem@davemloft.net>
16918 * NEWS: Mention IFUNC testsuite enhancements.
16920 * po/pl.po: Update from translation team.
16921 * po/bg.po: Likewise.
16923 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16924 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16926 2012-12-11 David S. Miller <davem@davemloft.net>
16928 * po/sv.po: Update from translation team.
16930 * po/vi.po: Update from translation team.
16932 * po/cs.po: Update from translation team.
16934 * po/de.po: Update from translation team.
16935 * po/eo.po: Likewise.
16936 * po/nl.po: Likewise.
16938 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16941 * manual/argp.texi (Argp Helper Functions): Move node to follow
16942 Argp Parsing State.
16945 * manual/conf.texi (Limits on File System Capacity): Mention if
16946 terminating null is included in the max size.
16948 2012-12-10 Andreas Jaeger <aj@suse.de>
16950 * po/cs.po: Update from translation team.
16952 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16954 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16955 void pointer and cast to uintptr_t.
16956 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16958 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16959 * sysdeps/s390/s390-64/memset.S: Likewise.
16961 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
16964 * menual/message.texi (Message Translation): Fix typos.
16965 (Helper programs for gettext): Likewise.
16967 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16970 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16973 2012-12-07 David S. Miller <davem@davemloft.net>
16975 * po/libc.pot: Update.
16977 2012-12-07 Richard Henderson <rth@redhat.com>
16980 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16981 normal/normal case to before the switch.
16982 (_FP_DIV): Likewise.
16984 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16985 Mike Frysinger <vapier@gentoo.org>
16987 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16988 check for __NR_fadvise64_64.
16990 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16992 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16993 0, not just to plain "0" as a statement.
16994 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16997 2012-12-06 Joseph Myers <joseph@codesourcery.com>
16999 * NEWS: Use sourceware.org in Bugzilla URL.
17001 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17004 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17006 * stdio-common/tst-put-error.c (do_test): Add newline to the
17007 padded test to ensure flush.
17009 2012-12-05 Jeff Law <law@redhat.com>
17011 * sunrpc/etc.rpc (fedfs_admin): Add entry.
17013 2012-12-05 Joseph Myers <joseph@codesourcery.com>
17015 * README: Don't refer to ports add-on as distributed separately.
17016 Mention AArch64 in list of systems supported in the ports add-on.
17018 * LICENSES: Add more non-FSF copyright and license notices.
17020 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17023 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17025 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17026 10000 as width of padded output.
17028 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17030 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17032 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17033 variable LX with __attribute__ ((unused)).
17034 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17036 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17037 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17038 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17039 with __attribute__ ((unused)).
17041 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
17043 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17045 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17047 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17048 (CFLAGS-nldbl-acos.c): New variable.
17049 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17050 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17051 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17052 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17053 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17054 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17055 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17056 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17057 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17058 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17059 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17060 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17061 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17062 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17063 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17064 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17065 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17066 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17067 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17068 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17069 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17070 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17071 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17072 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17073 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17074 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17075 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17076 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17077 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17078 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17079 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17080 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17081 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17082 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17083 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17084 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17085 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17086 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17087 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17088 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17089 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17090 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17091 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17092 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17093 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17094 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17095 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17096 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17097 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17098 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17099 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17100 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17101 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17102 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17103 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17104 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17105 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17106 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17107 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17108 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17109 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17110 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17111 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17112 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17113 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17114 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17115 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17116 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17117 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17118 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17119 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17120 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17121 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17122 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17123 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17124 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17125 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17126 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17127 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17128 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17129 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17130 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17131 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17132 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17133 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17134 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17135 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17136 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17137 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17138 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17139 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17140 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17141 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17142 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17143 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17144 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17145 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17148 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17151 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17152 whole low double instead of just low 47 bits when splitting values
17155 2012-12-03 Allan McRae <allan@archlinux.org>
17157 * manual/stdio.texi (Predefined Printf Handlers): Remove
17158 @hsep and @vsep usage.
17160 2012-12-03 Mike Frysinger <vapier@gentoo.org>
17162 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17163 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17165 2012-12-03 Jeff Law <law@redhat.com>
17167 * time/sys/time.h (settimeofday): Do not mark TV argument
17170 2012-12-01 Mike Frysinger <vapier@gentoo.org>
17172 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17173 when currently writing and seek to current position when not.
17174 * libio/Makefile (tests): Remove bug-fclose1.
17175 * libio/bug-fclose1.c: Delete.
17177 2012-12-01 Joseph Myers <joseph@codesourcery.com>
17179 * manual/arith.texi (feenableexcept): Fix typo.
17180 (fedisableexcept): Likewise.
17182 2012-11-30 Roland McGrath <roland@hack.frob.com>
17184 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17185 second, differently-typed declaration, rather than a cast.
17187 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17189 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17190 * include/rpc/svc.h: ... here.
17192 2012-11-30 Aurelien Jarno <aurel32@debian.org>
17195 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17196 depending n and resplen2 to catch cases where answer
17199 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17201 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17202 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17204 2012-11-29 Mike Frysinger <vapier@gentoo.org>
17206 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17208 2012-11-29 Roland McGrath <roland@hack.frob.com>
17210 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17212 2012-11-28 Jeff Law <law@redhat.com>
17215 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17216 dataset_temporary. Track alloca usage into alloca_used.
17217 If dataset is large allocate and release it via malloc/free.
17219 2012-06-04 Florian Weimer <fweimer@redhat.com>
17222 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17224 2012-11-28 David S. Miller <davem@davemloft.net>
17226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17228 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17231 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17232 of pi/2 rounded to nearest to 64 bits.
17233 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17234 nearest to 64 bits.
17235 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17238 2012-11-28 Jeff Law <law@redhat.com>
17239 Martin Osvald <mosvald@redhat.com>
17242 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17243 * sunrpc/svc.c: Include time.h.
17244 (__svc_accept_failed): New function.
17245 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17246 any reason other than EINTR, call __svc_accept_failed.
17247 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17248 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17250 2012-11-28 Andreas Schwab <schwab@suse.de>
17252 * scripts/abilist.awk: Also handle indirect functions in .opd
17255 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17258 * sysdeps/x86/fpu/powl_helper.c: New file.
17259 * sysdeps/x86/fpu/Makefile: Likewise.
17260 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17262 (__ieee754_powl): Use __powl_helper for finite arguments except
17263 integer exponents below 8.
17264 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17266 (__ieee754_powl): Use __powl_helper for finite arguments except
17267 integer exponents below 8.
17268 * math/libm-test.inc (pow_test): Add more tests and enable some
17269 previously disabled tests.
17270 * sysdeps/i386/fpu/libm-test-ulps: Update.
17271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17273 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17274 Carlos O'Donell <carlos_odonell@mentor.com>
17276 * nss/makedb.c (is_prime): Assert that input is odd and greater
17277 than 4. Note that fact in a comment too.
17278 (next_prime): Add 4 to input.
17280 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17283 * libio/Makefile (tests): Add test case tst-fwrite-error.
17284 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17285 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17286 * libio/tst-fwrite-error.c: New test case.
17288 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17290 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17291 before casting to void *.
17292 * include/libc-internal.h (__pointer_type): New macro.
17293 (__integer_if_pointer_type_sub): Likewise.
17294 (__integer_if_pointer_type): Likewise.
17295 (cast_to_integer): Likewise.
17296 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17297 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17298 before casting to atomic64_t.
17299 (atomic_exchange_acq): Likewise.
17300 (__arch_exchange_and_add_body): Likewise.
17301 (__arch_add_body): Likewise.
17302 (atomic_add_negative): Likewise.
17303 (atomic_add_zero): Likewise.
17305 2012-11-26 Joseph Myers <joseph@codesourcery.com>
17307 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17308 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17309 (add_fdes): Likewise.
17310 (linear_search_fdes): Likewise.
17311 (binary_search_unencoded_fdes): Likewise.
17313 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17315 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17317 2012-11-24 Adam Conrad <adconrad@0c3.net>
17319 * configure.in: Autodetect C++ header directories.
17320 * configure: Regenerated.
17322 2012-11-23 Mike Frysinger <vapier@gentoo.org>
17324 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17326 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17330 2012-11-22 Joseph Myers <joseph@codesourcery.com>
17332 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17333 LDBL_MANT_DIG == 106]: Disable some tests.
17334 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17336 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17340 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17341 input for small inputs. Return +/- pi/2 for large inputs.
17342 * math/libm-test.inc (atan_test): Add more tests.
17344 * sysdeps/generic/unwind-dw2-fde-glibc.c
17345 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17346 __attribute__ ((unused)).
17349 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17350 x * y if x and y are nonzero and z is zero.
17353 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17354 nonzero exponents with absolute value below 0x1p-117 to +/-
17358 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17359 up arguments below 2**-450, not just those below 2**-500.
17360 * math/libm-test.inc (hypot_test): Add another test.
17363 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17364 Return a+b for ratio over 2**120, not 2**60.
17365 * math/libm-test.inc (hypot_test): Add another test.
17367 * math/libm-test.inc (clog_test): Use
17368 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17369 (clog10_test): Likewise.
17372 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17374 2012-11-22 Andreas Schwab <schwab@suse.de>
17376 * sysdeps/i386/fpu/libm-test-ulps: Update.
17378 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17380 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17381 printf output with newline.
17383 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17386 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17387 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17388 -z nodlopen, -z initfirst and -z execstack support.
17389 * configure: Regenerated.
17391 * elf/elf.h (DF_1_NODIRECT): New macro.
17392 (DF_1_IGNMULDEF): Likewise.
17393 (DF_1_NOKSYMS): Likewise.
17394 (DF_1_NOHDR): Likewise.
17395 (DF_1_EDITED): Likewise.
17396 (DF_1_NORELOC): Likewise.
17397 (DF_1_SYMINTPOSE): Likewise.
17398 (DF_1_GLOBAUDIT): Likewise.
17399 (DF_1_SINGLETON): Likewise.
17400 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17401 DT_1_SUPPORTED_MASK bits.
17402 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17404 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17406 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17408 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17410 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17413 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17414 (sendmmsg): Move declarations...
17415 * socket/sys/socket.h: ... here.
17416 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17417 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17419 * socket/recvmmsg.c: ... this new file.
17420 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17421 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17422 definition of __sendmmsg hidden.
17423 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17424 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17425 Move ENOSYS stub into and include it from...
17426 * socket/sendmmsg.c: ... this new file.
17427 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17428 (sysdep_routines): Move recvmmsg and sendmmsg...
17429 * socket/Makefile (routines): ... here.
17430 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17431 (GLIBC_PRIVATE): Add __sendmmsg.
17432 * include/sys/socket.h (__sendmmsg): Add declarations.
17433 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17436 2012-11-20 Joseph Myers <joseph@codesourcery.com>
17438 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17439 variable I1 with __attribute__ ((unused)).
17440 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17442 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17444 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17445 DUMMY variables with __attribute__ ((unused)).
17447 * bits/byteswap.h: Include <bits/types.h>.
17448 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17450 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17452 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17453 string_t. Do not manually set errno.
17454 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17455 length with __strnlen. Make sure to both set errno and return it on
17458 2012-11-19 David S. Miller <davem@davemloft.net>
17460 With help from Joseph Myers.
17461 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17462 very large arguments properly.
17463 * math/libm-test.inc (atan_test): New tests.
17464 (atan2_test): New tests.
17465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17468 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17471 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17474 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17475 [POSIX] (EADDRNOTAVAIL): Likewise.
17476 [POSIX] (EAFNOSUPPORT): Likewise.
17477 [POSIX] (EALREADY): Likewise.
17478 [POSIX] (ECONNABORTED): Likewise.
17479 [POSIX] (ECONNREFUSED): Likewise.
17480 [POSIX] (ECONNRESET): Likewise.
17481 [POSIX] (EDESTADDRREQ): Likewise.
17482 [POSIX] (EDQUOT): Likewise.
17483 [POSIX] (EHOSTUNREACH): Likewise.
17484 [POSIX] (EIDRM): Likewise.
17485 [POSIX] (EISCONN): Likewise.
17486 [POSIX] (ELOOP): Likewise.
17487 [POSIX] (EMULTIHOP): Likewise.
17488 [POSIX] (ENETDOWN): Likewise.
17489 [POSIX] (ENETUNREACH): Likewise.
17490 [POSIX] (ENOBUFS): Likewise.
17491 [POSIX] (ENODATA): Likewise.
17492 [POSIX] (ENOLINK): Likewise.
17493 [POSIX] (ENOMSG): Likewise.
17494 [POSIX] (ENOPROTOOPT): Likewise.
17495 [POSIX] (ENOSR): Likewise.
17496 [POSIX] (ENOSTR): Likewise.
17497 [POSIX] (ENOTCONN): Likewise.
17498 [POSIX] (ENOTSOCK): Likewise.
17499 [POSIX] (EOPNOTSUPP): Likewise.
17500 [POSIX] (EOVERFLOW): Likewise.
17501 [POSIX] (EPROTO): Likewise.
17502 [POSIX] (EPROTONOSUPPORT): Likewise.
17503 [POSIX] (EPROTOTYPE): Likewise.
17504 [POSIX] (ESTALE): Likewise.
17505 [POSIX] (ETIME): Likewise.
17506 [POSIX] (ETXTBSY): Likewise.
17507 [POSIX] (EWOULDBLOCK): Likewise.
17508 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17509 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17510 [POSIX] (SEEK_CUR): Likewise.
17511 [POSIX] (SEEK_END): Likewise.
17512 [POSIX || UNIX98] (mode_t): Do not require.
17513 [POSIX] (off_t): Likewise.
17514 [POSIX] (pid_t): Likewise.
17515 [POSIX] (sys/stat.h): Do not allow header.
17516 [POSIX] (unistd.h): Likewise.
17517 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17518 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17519 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17520 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17522 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17523 sigevent): Specify elements.
17524 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17526 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17527 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17529 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17530 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17531 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17532 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17533 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17534 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17535 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17536 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17537 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17538 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17539 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17540 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17541 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17542 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17544 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17546 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17548 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17550 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17551 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17552 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17553 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17554 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17555 Specify lower bound on value.
17556 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17557 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17558 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17559 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17560 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17561 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17562 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17563 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17565 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17567 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17568 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17569 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17570 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17571 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17572 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17573 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17574 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17575 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17576 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17577 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17578 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17579 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17580 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17581 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17582 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17584 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17586 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17587 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17588 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17589 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17590 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17591 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17593 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17594 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17595 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17596 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17597 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17598 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17599 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17601 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17602 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17603 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17604 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17605 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17606 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17607 specify as optional.
17608 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17609 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17610 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17611 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17612 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17613 [XPG3] (NL_LANGMAX): Likewise.
17614 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17615 [POSIX || XPG3] (NL_NMAX): Likewise.
17616 [POSIX || XPG3] (NL_SETMAX): Likewise.
17617 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17618 [XPG3] (NZERO): Likewise.
17619 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17620 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17621 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17622 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17623 (REG_ERANGE): Expect.
17624 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17626 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17627 Use (void) in prototype.
17628 [POSIX] (*_t): Allow.
17629 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17630 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17631 (WRDE_BADVAL): Expect.
17633 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17635 [XPG3 || XPG4] (O_RSYNC): Likewise.
17636 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17638 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17639 [XPG3 || XPG4] (sigqueue): Likewise.
17640 [XPG3 || XPG4] (sigtimedwait): Likewise.
17641 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17642 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17643 [XPG3 || XPG4] (vsnprintf): Likewise.
17644 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17646 [XPG3 || XPG4] (blksize_t): Likewise.
17647 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17649 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17650 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17651 [XPG3 || XPG4] (struct itimerspec): Likewise.
17652 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17653 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17654 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17655 [XPG3 || XPG4] (clockid_t): Likewise.
17656 [XPG3 || XPG4] (timer_t): Likewise.
17657 [XPG3 || XPG4] (clock_getres): Likewise.
17658 [XPG3 || XPG4] (clock_gettime): Likewise.
17659 [XPG3 || XPG4] (clock_settime): Likewise.
17660 [XPG3 || XPG4] (nanosleep): Likewise.
17661 [XPG3 || XPG4] (timer_create): Likewise.
17662 [XPG3 || XPG4] (timer_delete): Likewise.
17663 [XPG3 || XPG4] (timer_gettime): Likewise.
17664 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17665 [XPG3 || XPG4] (timer_settime): Likewise.
17666 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17667 [XPG3 || XPG4] (getlogin_r): Likewise.
17668 [XPG3 || XPG4] (pread): Likewise.
17669 [XPG3 || XPG4] (pthread_atfork): Likewise.
17670 [XPG3 || XPG4] (pwrite): Likewise.
17673 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17676 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17678 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17679 finalizing MALLSTREAM.
17681 * sysdeps/mach/hurd/syncfs.c: New file.
17683 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17686 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17687 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17688 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17689 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17690 (_nss_dns_gethostbyname4_r): Likewise.
17691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17692 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17694 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17697 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17699 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17701 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17702 * elf/cache.c (print_entry): Print ",AArch64" for
17705 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17706 * elf/cache.c (print_entry): Print ",hard-float" for
17709 2012-11-18 David S. Miller <davem@davemloft.net>
17711 With help from Joseph Myers.
17712 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17714 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17716 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17717 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17719 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17720 * math/libm-test.inc (y0_test): New tests.
17721 (y1_test): New tests.
17722 * sysdeps/i386/fpu/libm-test-ulps: Update.
17723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17726 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17728 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17730 * configure: Regenerated.
17732 2012-11-17 David S. Miller <davem@davemloft.net>
17735 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17736 nonzero exponents with absolute value below 0x1p-128 to +/-
17739 2012-11-17 Joseph Myers <joseph@codesourcery.com>
17741 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17743 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17745 * posix/getconf-speclist.c: New file.
17746 * posix/posix-envs.def: Likewise.
17747 * posix/confstr.c (START_ENV_GROUP): New macro.
17748 (END_ENV_GROUP): Likewise.
17749 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17750 (KNOWN_PRESENT_ENV_STRING): Likewise.
17751 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17752 (UNKNOWN_ENVIRONMENT): Likewise.
17753 (confstr): Include posix-envs.def instead of handling
17754 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17755 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17756 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17757 (END_ENV_GROUP): Likewise.
17758 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17759 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17760 (UNKNOWN_ENVIRONMENT): Likewise.
17761 (__sysconf): Include posix-envs.def instead of handling associated
17762 cases directly here.
17763 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17764 preprocessing getconf-speclist.c rather than running getconf or
17765 generating empty file.
17767 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17769 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17771 2012-11-16 Andrej Lajovic <natrij@gmail.com>
17774 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17776 2012-11-16 David S. Miller <davem@davemloft.net>
17778 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17779 smaller than LDBL_EPSILON/2.0L, just return xm1.
17781 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17783 * elf/tst-array1.c (init): Set constructor priority to 1000.
17784 (fini): Set destructor priority to 1000.
17785 * elf/tst-array2dep.c: Likewise.
17787 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17790 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17791 (_IO_new_file_xsputn): Also return EOF if none of the input
17792 data was written when overflow failed.
17793 * libio/iopadn.c (_IO_padn): Likewise.
17794 * libio/iowpadn.c (_IO_wpadn): Likewise.
17795 * stdio-common/tst-put-error.c: Add copyright notice.
17796 (do_test): Add case for printing padded string.
17797 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17798 _IO_padn returned error.
17799 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17800 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17803 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17805 * libio/libioP.h: Add comment note that the references to C++
17806 bits are now obsolete.
17808 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17810 * math/libm-test.inc (check_complex): Use asprintf.
17812 2012-11-14 Joseph Myers <joseph@codesourcery.com>
17814 * debug/pcprofiledump.c (print_version): Update copyright year.
17815 * malloc/memusagestat.c (print_version): Likewise.
17817 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17820 * elf/Makefile (tests): Add tst-audit8.
17821 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17822 ($(objpfx)tst-audit8.out): New target.
17823 (tst-audit8-ENV): New variable.
17824 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17825 audit if l_reloc_result is NULL.
17826 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17827 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17828 * elf/tst-audit8.c: New file.
17830 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17832 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17833 * misc/Makefile (CFLAGS-select.c): Define.
17834 * posix/Makefile (CFLAGS-pause.c): Define.
17836 2012-11-13 David S. Miller <davem@davemloft.net>
17838 * crypt/Makefile: Move test targets after toplevel Rules
17839 inclusion. Grab any necessary sysdep routines when linking.
17840 * crypt/md5.c (md5_process_block): Remove define, we will always
17841 name it __md5_process_block.
17842 (md5_finish_ctx): Update md5_process_block call.
17843 (md5_stream): Likewise.
17844 (md5_process_bytes): Likewise.
17845 (md5_process_block): Rename to __md5_process_block and move to ...
17846 * crypt/md5-block.c: ... here.
17847 * crypt/sha256.c (sha256_process_block): Move to ...
17848 * crypt/sha256-block.c: ... here.
17849 * crypt/sha512.c (sha512_process_block): Move to ...
17850 * crypt/sha512-block.c: ... here.
17851 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17853 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17854 * sysdeps/sparc/sparc64/multiarch/Makefile
17855 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17857 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17858 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17860 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17861 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17862 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17863 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17864 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17865 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17866 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17867 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17868 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17870 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17871 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17873 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17875 2012-11-13 Joseph Myers <joseph@codesourcery.com>
17877 * timezone/tzselect.ksh: Update from tzcode git revision
17878 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17879 * timezone/zdump.c: Likewise.
17880 * timezone/zic.c: Likewise.
17881 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17882 in TZVERSION setting, not $(PKGVERSION).
17883 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17884 REPORT_BUGS_TO settings.
17887 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17890 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17892 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17893 detection to immediately after _FP_ROUND().
17894 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17897 2012-11-11 David S. Miller <davem@davemloft.net>
17899 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17901 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17902 __close rather than their public counterparts.
17904 2012-11-10 Joseph Myers <joseph@codesourcery.com>
17906 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17908 [UNIX98] (sem_timedwait): Do not expect.
17909 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17910 [XPG4 || UNIX98] (sockatmark): Do not expect.
17911 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17912 (clock_getcpuclockid): Do not expect.
17913 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17914 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17916 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17917 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17918 [UNIX98] (vwscanf): Likewise.
17919 [UNIX98] (vswscanf): Likewise.
17921 2012-11-09 Joseph Myers <joseph@codesourcery.com>
17923 * timezone/version.h: Remove file.
17924 * timezone/README: Do not refer to version.h.
17925 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17926 $(objpfx)version.h.
17927 ($(objpfx)zdump.o): Likewise.
17928 ($(objpfx)version.h): New target.
17930 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17932 * timezone/README: Don't mention modification to tzselect.ksh.
17933 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17934 work on unmodified tzselect.ksh. Substitute version numbers in
17937 * Makefile (format-me): Remove.
17938 (INSTALL): Adjust indentation. Use commands directly instead of
17939 using $(format-me).
17941 * aclocal.m4 (ACX_PKGVERSION): New macro.
17942 (ACX_BUGURL): Likewise.
17943 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17944 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17945 (REPORT_BUGS_TO): Likewise.
17946 * configure: Regenerated.
17947 * config.h.in (PKGVERSION): New macro.
17948 (REPORT_BUGS_TO): Likewise.
17949 * config.make.in (PKGVERSION): New variable.
17950 (PKGVERSION_TEXI): Likewise.
17951 (REPORT_BUGS_TO): Likewise.
17952 (REPORT_BUGS_TEXI): Likewise.
17953 * Makefile (format-me): Use -I$(common-objpfx)manual.
17954 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17955 ($(common-objpfx)manual/%): New target.
17956 (manual/%): Remove target.
17957 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17958 (print_version): Use PKGVERSION.
17959 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17960 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17961 and REPORT_BUGS_TO.
17962 ($(objpfx)xtrace): Likewise.
17963 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17964 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17965 (print_version): Use PKGVERSION.
17966 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17967 (do_version): Use PKGVERSION.
17968 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17970 (common-ldd-rewrite): Likewise.
17971 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17972 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17973 (print_version): Use PKGVERSION.
17974 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17975 * elf/pldd.c (argp_program_bug_address): Remove variable.
17976 (more_help): New function.
17977 (argp): Use more_help.
17978 (print_version): Use PKGVERSION.
17979 * elf/sln.c (main): Use PKGVERSION.
17980 (usage): Use REPORT_BUGS_TO.
17981 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17982 (top level): Use PKGVERSION.
17983 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17984 (print_version): Use PKGVERSION.
17985 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17986 (print_version): Use PKGVERSION.
17987 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17988 (print_version): Use PKGVERSION.
17989 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17990 (print_version): Use PKGVERSION.
17991 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17992 (print_version): Use PKGVERSION.
17993 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17994 (print_version): Use PKGVERSION.
17995 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17997 ($(objpfx)memusage): Likewise.
17998 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17999 (do_version): Use PKGVERSION.
18000 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18001 (print_version): Use PKGVERSION.
18002 * malloc/mtrace.pl ($PACKAGE): Remove variable.
18003 ($PKGVERSION): New variable.
18004 ($REPORT_BUGS_TO): Likewise.
18005 (usage): Use $REPORT_BUGS_TO.
18006 (top level): Use $PKGVERSION.
18007 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18008 ($(objpfx)pkgvers.texi): New rule.
18009 ($(objpfx)stamp-pkgvers): Likewise.
18010 * manual/install.texi: Include pkgvers.texi.
18011 (--with-pkgversion): Document new configure option.
18012 (--with-bugurl): Likewise.
18013 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18014 than necessarily for this particular distribution. Use
18015 REPORT_BUGS_TO for where to report bugs.
18016 * INSTALL: Regenerated.
18017 * manual/libc.texinfo: Include pkgvers.texi.
18018 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18019 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18020 (print_version): Use PKGVERSION.
18021 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18022 (print_version): Use PKGVERSION.
18023 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18024 (print_version): Use PKGVERSION.
18025 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18026 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18028 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18029 (print_version): Use PKGVERSION.
18030 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18031 (print_version): Use PKGVERSION.
18032 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18035 * timezone/checktab.awk: Update from tzcode 2012i.
18036 * timezone/ialloc.c: Likewise.
18037 * timezone/private.h: Likewise.
18038 * timezone/scheck.c: Likewise.
18039 * timezone/tzfile.h: Likewise.
18040 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18041 (TZVERSION): Hardcode tzcode version number.
18042 * timezone/zdump.c: Update from tzcode 2012i.
18043 * timezone/zic.c: Likewise.
18044 * timezone/version.h: New file.
18045 * timezone/README: Describe version.h. Update upstream location.
18048 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18049 (mktemp): Enable declaration.
18050 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18051 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18053 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18055 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18057 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18059 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18061 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18063 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18067 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18068 offset in buffer as u_int32_t not u_long. Consistently use memcpy
18069 for copies of such integer values.
18070 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18071 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18073 2012-11-09 Andreas Jaeger <aj@suse.de>
18075 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18076 definitions and declarations that are provided by
18077 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18079 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18081 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
18082 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18083 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18086 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18088 * elf/elf.h: Update comment before AArch64 relocations.
18090 2012-11-07 David S. Miller <davem@davemloft.net>
18092 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18093 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18094 (__start_context): Declare.
18095 (__makecontext_ret): Delete.
18096 (__makecontext): Hook up __start_context instead of
18098 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18099 (sysdep_routines): Add __start_context when in stdlib.
18101 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18103 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18104 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18105 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
18107 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
18108 (READELF): New variable. Use it instead of hardcoded "readelf".
18110 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
18112 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18113 * sysdeps/x86/Makefile: Here.
18114 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18115 * sysdeps/x86/tst-xmmymm.sh: This.
18117 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18119 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18121 [UNIX98] (pthread_barrier_t): Do not expect.
18122 [UNIX98] (pthread_barrierattr_t): Likewise.
18123 [UNIX98] (pthread_spinlock_t): Likewise.
18124 [UNIX98] (pthread_barrier_destroy): Likewise.
18125 [UNIX98] (pthread_barrier_init): Likewise.
18126 [UNIX98] (pthread_barrier_wait): Likewise.
18127 [UNIX98] (pthread_barrierattr_destroy): Likewise.
18128 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18129 [UNIX98] (pthread_barrierattr_init): Likewise.
18130 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18131 [UNIX98] (pthread_getcpuclockid): Likewise.
18132 [UNIX98] (pthread_mutex_timedlock): Likewise.
18133 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18134 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18135 [UNIX98] (pthread_sigmask): Likewise.
18136 [UNIX98] (pthread_spin_destroy): Likewise.
18137 [UNIX98] (pthread_spin_init): Likewise.
18138 [UNIX98] (pthread_spin_lock): Likewise.
18139 [UNIX98] (pthread_spin_trylock): Likewise.
18140 [UNIX98] (pthread_spin_unlock): Likewise.
18141 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18143 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18144 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18145 [XPG3 || XPG4] (pthread_cond_t): Likewise.
18146 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18147 [XPG3 || XPG4] (pthread_key_t): Likewise.
18148 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18149 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18150 [XPG3 || XPG4] (pthread_once_t): Likewise.
18151 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18152 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18153 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18154 [XPG3 || XPG4] (pthread_t): Likewise.
18156 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18158 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18160 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18161 Change function return type to int.
18163 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18164 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18165 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18166 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18167 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18168 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18169 [!POSIX] (posix_madvise): Likewise.
18170 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18172 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18173 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18174 (mode_t): Likewise.
18175 (posix_mem_offset): Likewise.
18176 (posix_typed_mem_get_info): Likewise.
18177 (posix_typed_mem_open): Likewise.
18179 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18180 Change condition to [XOPEN2K8].
18182 * conform/conformtest.pl: Preprocess allow-header data with -x c
18183 instead of from stdin.
18184 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18185 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18186 [C99-based standards] (cerfc): Likewise.
18187 [C99-based standards] (cexp2): Likewise.
18188 [C99-based standards] (cexpm1): Likewise.
18189 [C99-based standards] (clog10): Likewise.
18190 [C99-based standards] (clog1p): Likewise.
18191 [C99-based standards] (clog2): Likewise.
18192 [C99-based standards] (clgamma): Likewise.
18193 [C99-based standards] (ctgamma): Likewise.
18194 [C99-based standards] (cerff): Likewise.
18195 [C99-based standards] (cerfcf): Likewise.
18196 [C99-based standards] (cexp2f): Likewise.
18197 [C99-based standards] (cexpm1f): Likewise.
18198 [C99-based standards] (clog10f): Likewise.
18199 [C99-based standards] (clog1pf): Likewise.
18200 [C99-based standards] (clog2f): Likewise.
18201 [C99-based standards] (clgammaf): Likewise.
18202 [C99-based standards] (ctgammaf): Likewise.
18203 [C99-based standards] (cerfl): Likewise.
18204 [C99-based standards] (cerfcl): Likewise.
18205 [C99-based standards] (cexp2l): Likewise.
18206 [C99-based standards] (cexpm1l): Likewise.
18207 [C99-based standards] (clog10l): Likewise.
18208 [C99-based standards] (clog1pl): Likewise.
18209 [C99-based standards] (clog2l): Likewise.
18210 [C99-based standards] (clgammal): Likewise.
18211 [C99-based standards] (ctgammal): Likewise.
18212 * conform/data/inttypes.h-data [C99-based standards]: Include
18213 stdint.h-data. Remove all expectations for stdint.h contents.
18214 [C99-based standards] (PRI*): Do not allow.
18215 [C99-based standards] (SCN*): Likewise.
18216 [C99-based standards] (*_t): Likewise.
18217 [C99-based-standards] (PRId8): Expect macro.
18218 [C99-based-standards] (PRIi8): Likewise.
18219 [C99-based-standards] (PRIo8): Likewise.
18220 [C99-based-standards] (PRIu8): Likewise.
18221 [C99-based-standards] (PRIx8): Likewise.
18222 [C99-based-standards] (PRIX8): Likewise.
18223 [C99-based-standards] (SCNd8): Likewise.
18224 [C99-based-standards] (SCNi8): Likewise.
18225 [C99-based-standards] (SCNo8): Likewise.
18226 [C99-based-standards] (SCNu8): Likewise.
18227 [C99-based-standards] (SCNx8): Likewise.
18228 [C99-based-standards] (PRIdLEAST8): Likewise.
18229 [C99-based-standards] (PRIiLEAST8): Likewise.
18230 [C99-based-standards] (PRIoLEAST8): Likewise.
18231 [C99-based-standards] (PRIuLEAST8): Likewise.
18232 [C99-based-standards] (PRIxLEAST8): Likewise.
18233 [C99-based-standards] (PRIXLEAST8): Likewise.
18234 [C99-based-standards] (SCNdLEAST8): Likewise.
18235 [C99-based-standards] (SCNiLEAST8): Likewise.
18236 [C99-based-standards] (SCNoLEAST8): Likewise.
18237 [C99-based-standards] (SCNuLEAST8): Likewise.
18238 [C99-based-standards] (SCNxLEAST8): Likewise.
18239 [C99-based-standards] (PRIdFAST8): Likewise.
18240 [C99-based-standards] (PRIiFAST8): Likewise.
18241 [C99-based-standards] (PRIoFAST8): Likewise.
18242 [C99-based-standards] (PRIuFAST8): Likewise.
18243 [C99-based-standards] (PRIxFAST8): Likewise.
18244 [C99-based-standards] (PRIXFAST8): Likewise.
18245 [C99-based-standards] (SCNdFAST8): Likewise.
18246 [C99-based-standards] (SCNiFAST8): Likewise.
18247 [C99-based-standards] (SCNoFAST8): Likewise.
18248 [C99-based-standards] (SCNuFAST8): Likewise.
18249 [C99-based-standards] (SCNxFAST8): Likewise.
18250 [C99-based-standards] (PRId16): Likewise.
18251 [C99-based-standards] (PRIi16): Likewise.
18252 [C99-based-standards] (PRIo16): Likewise.
18253 [C99-based-standards] (PRIu16): Likewise.
18254 [C99-based-standards] (PRIx16): Likewise.
18255 [C99-based-standards] (PRIX16): Likewise.
18256 [C99-based-standards] (SCNd16): Likewise.
18257 [C99-based-standards] (SCNi16): Likewise.
18258 [C99-based-standards] (SCNo16): Likewise.
18259 [C99-based-standards] (SCNu16): Likewise.
18260 [C99-based-standards] (SCNx16): Likewise.
18261 [C99-based-standards] (PRIdLEAST16): Likewise.
18262 [C99-based-standards] (PRIiLEAST16): Likewise.
18263 [C99-based-standards] (PRIoLEAST16): Likewise.
18264 [C99-based-standards] (PRIuLEAST16): Likewise.
18265 [C99-based-standards] (PRIxLEAST16): Likewise.
18266 [C99-based-standards] (PRIXLEAST16): Likewise.
18267 [C99-based-standards] (SCNdLEAST16): Likewise.
18268 [C99-based-standards] (SCNiLEAST16): Likewise.
18269 [C99-based-standards] (SCNoLEAST16): Likewise.
18270 [C99-based-standards] (SCNuLEAST16): Likewise.
18271 [C99-based-standards] (SCNxLEAST16): Likewise.
18272 [C99-based-standards] (PRIdFAST16): Likewise.
18273 [C99-based-standards] (PRIiFAST16): Likewise.
18274 [C99-based-standards] (PRIoFAST16): Likewise.
18275 [C99-based-standards] (PRIuFAST16): Likewise.
18276 [C99-based-standards] (PRIxFAST16): Likewise.
18277 [C99-based-standards] (PRIXFAST16): Likewise.
18278 [C99-based-standards] (SCNdFAST16): Likewise.
18279 [C99-based-standards] (SCNiFAST16): Likewise.
18280 [C99-based-standards] (SCNoFAST16): Likewise.
18281 [C99-based-standards] (SCNuFAST16): Likewise.
18282 [C99-based-standards] (SCNxFAST16): Likewise.
18283 [C99-based-standards] (PRId32): Likewise.
18284 [C99-based-standards] (PRIi32): Likewise.
18285 [C99-based-standards] (PRIo32): Likewise.
18286 [C99-based-standards] (PRIu32): Likewise.
18287 [C99-based-standards] (PRIx32): Likewise.
18288 [C99-based-standards] (PRIX32): Likewise.
18289 [C99-based-standards] (SCNd32): Likewise.
18290 [C99-based-standards] (SCNi32): Likewise.
18291 [C99-based-standards] (SCNo32): Likewise.
18292 [C99-based-standards] (SCNu32): Likewise.
18293 [C99-based-standards] (SCNx32): Likewise.
18294 [C99-based-standards] (PRIdLEAST32): Likewise.
18295 [C99-based-standards] (PRIiLEAST32): Likewise.
18296 [C99-based-standards] (PRIoLEAST32): Likewise.
18297 [C99-based-standards] (PRIuLEAST32): Likewise.
18298 [C99-based-standards] (PRIxLEAST32): Likewise.
18299 [C99-based-standards] (PRIXLEAST32): Likewise.
18300 [C99-based-standards] (SCNdLEAST32): Likewise.
18301 [C99-based-standards] (SCNiLEAST32): Likewise.
18302 [C99-based-standards] (SCNoLEAST32): Likewise.
18303 [C99-based-standards] (SCNuLEAST32): Likewise.
18304 [C99-based-standards] (SCNxLEAST32): Likewise.
18305 [C99-based-standards] (PRIdFAST32): Likewise.
18306 [C99-based-standards] (PRIiFAST32): Likewise.
18307 [C99-based-standards] (PRIoFAST32): Likewise.
18308 [C99-based-standards] (PRIuFAST32): Likewise.
18309 [C99-based-standards] (PRIxFAST32): Likewise.
18310 [C99-based-standards] (PRIXFAST32): Likewise.
18311 [C99-based-standards] (SCNdFAST32): Likewise.
18312 [C99-based-standards] (SCNiFAST32): Likewise.
18313 [C99-based-standards] (SCNoFAST32): Likewise.
18314 [C99-based-standards] (SCNuFAST32): Likewise.
18315 [C99-based-standards] (SCNxFAST32): Likewise.
18316 [C99-based-standards] (PRId64): Likewise.
18317 [C99-based-standards] (PRIi64): Likewise.
18318 [C99-based-standards] (PRIo64): Likewise.
18319 [C99-based-standards] (PRIu64): Likewise.
18320 [C99-based-standards] (PRIx64): Likewise.
18321 [C99-based-standards] (PRIX64): Likewise.
18322 [C99-based-standards] (SCNd64): Likewise.
18323 [C99-based-standards] (SCNi64): Likewise.
18324 [C99-based-standards] (SCNo64): Likewise.
18325 [C99-based-standards] (SCNu64): Likewise.
18326 [C99-based-standards] (SCNx64): Likewise.
18327 [C99-based-standards] (PRIdLEAST64): Likewise.
18328 [C99-based-standards] (PRIiLEAST64): Likewise.
18329 [C99-based-standards] (PRIoLEAST64): Likewise.
18330 [C99-based-standards] (PRIuLEAST64): Likewise.
18331 [C99-based-standards] (PRIxLEAST64): Likewise.
18332 [C99-based-standards] (PRIXLEAST64): Likewise.
18333 [C99-based-standards] (SCNdLEAST64): Likewise.
18334 [C99-based-standards] (SCNiLEAST64): Likewise.
18335 [C99-based-standards] (SCNoLEAST64): Likewise.
18336 [C99-based-standards] (SCNuLEAST64): Likewise.
18337 [C99-based-standards] (SCNxLEAST64): Likewise.
18338 [C99-based-standards] (PRIdFAST64): Likewise.
18339 [C99-based-standards] (PRIiFAST64): Likewise.
18340 [C99-based-standards] (PRIoFAST64): Likewise.
18341 [C99-based-standards] (PRIuFAST64): Likewise.
18342 [C99-based-standards] (PRIxFAST64): Likewise.
18343 [C99-based-standards] (PRIXFAST64): Likewise.
18344 [C99-based-standards] (SCNdFAST64): Likewise.
18345 [C99-based-standards] (SCNiFAST64): Likewise.
18346 [C99-based-standards] (SCNoFAST64): Likewise.
18347 [C99-based-standards] (SCNuFAST64): Likewise.
18348 [C99-based-standards] (SCNxFAST64): Likewise.
18349 [C99-based-standards] (PRIdMAX): Likewise.
18350 [C99-based-standards] (PRIiMAX): Likewise.
18351 [C99-based-standards] (PRIoMAX): Likewise.
18352 [C99-based-standards] (PRIuMAX): Likewise.
18353 [C99-based-standards] (PRIxMAX): Likewise.
18354 [C99-based-standards] (PRIXMAX): Likewise.
18355 [C99-based-standards] (SCNdMAX): Likewise.
18356 [C99-based-standards] (SCNiMAX): Likewise.
18357 [C99-based-standards] (SCNoMAX): Likewise.
18358 [C99-based-standards] (SCNuMAX): Likewise.
18359 [C99-based-standards] (SCNxMAX): Likewise.
18360 [C99-based-standards] (PRIdPTR): Likewise.
18361 [C99-based-standards] (PRIiPTR): Likewise.
18362 [C99-based-standards] (PRIoPTR): Likewise.
18363 [C99-based-standards] (PRIuPTR): Likewise.
18364 [C99-based-standards] (PRIxPTR): Likewise.
18365 [C99-based-standards] (PRIXPTR): Likewise.
18366 [C99-based-standards] (SCNdPTR): Likewise.
18367 [C99-based-standards] (SCNiPTR): Likewise.
18368 [C99-based-standards] (SCNoPTR): Likewise.
18369 [C99-based-standards] (SCNuPTR): Likewise.
18370 [C99-based-standards] (SCNxPTR): Likewise.
18371 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18373 * conform/data/stdint.h-data: Update comments to clarify
18375 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18377 [C99-based standards] (INT8_MAX): Likewise.
18378 [C99-based standards] (INT16_MIN): Likewise.
18379 [C99-based standards] (INT16_MAX): Likewise.
18380 [C99-based standards] (INT32_MIN): Likewise.
18381 [C99-based standards] (INT32_MAX): Likewise.
18382 [C99-based standards] (INT64_MIN): Likewise.
18383 [C99-based standards] (INT64_MAX): Likewise.
18384 [C99-based standards] (UINT8_MAX): Likewise.
18385 [C99-based standards] (UINT16_MAX): Likewise.
18386 [C99-based standards] (UINT32_MAX): Likewise.
18387 [C99-based standards] (UINT64_MAX): Likewise.
18388 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18389 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18390 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18391 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18392 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18393 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18394 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18395 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18396 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18397 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18398 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18399 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18400 [C99-based standards] (INT_FAST8_MIN): Likewise.
18401 [C99-based standards] (INT_FAST8_MAX): Likewise.
18402 [C99-based standards] (INT_FAST16_MIN): Likewise.
18403 [C99-based standards] (INT_FAST16_MAX): Likewise.
18404 [C99-based standards] (INT_FAST32_MIN): Likewise.
18405 [C99-based standards] (INT_FAST32_MAX): Likewise.
18406 [C99-based standards] (INT_FAST64_MIN): Likewise.
18407 [C99-based standards] (INT_FAST64_MAX): Likewise.
18408 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18409 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18410 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18411 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18412 [C99-based standards] (INTPTR_MIN): Likewise.
18413 [C99-based standards] (INTPTR_MAX): Likewise.
18414 [C99-based standards] (UINTPTR_MAX): Likewise.
18415 [C99-based standards] (INTMAX_MIN): Likewise.
18416 [C99-based standards] (INTMAX_MAX): Likewise.
18417 [C99-based standards] (UINTMAX_MAX): Likewise.
18418 [C99-based standards] (PTRDIFF_MIN): Likewise.
18419 [C99-based standards] (PTRDIFF_MAX): Likewise.
18420 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18421 [C99-based standards] (SIZE_MAX): Likewise.
18422 [C99-based standards] (WCHAR_MAX): Likewise.
18423 [C99-based standards] (WINT_MAX): Likewise.
18424 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18425 constraint on value.
18426 [C99-based standards] (WCHAR_MIN): Likewise.
18427 [C99-based standards] (WINT_MIN): Likewise.
18428 [C99-based standards] (*_t): Allow.
18429 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18430 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18431 Include math.h-data and complex.h-data. Remove all expectations
18432 of math.h and complex.h contents.
18433 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18435 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18436 (struct tm): Expect tag.
18437 [C99-based-standards] (wcstof): Expect function.
18438 [C99-based-standards] (wcstold): Likewise.
18439 [C99-based-standards] (wcstoll): Likewise.
18440 [C99-based-standards] (wcstoull): Likewise.
18441 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18442 macro-int-constant. Specify type.
18443 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18444 constraint on value.
18445 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18447 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18449 [ISO C standards]: Do not allow headers.
18450 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18451 wcs[abcdefghijklmnopqrstuvwxyz]*.
18452 [ISO C standards] (*_t): Do not allow.
18453 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18455 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18456 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18458 [ISO C standards]: Do not allow headers.
18459 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18460 is[abcdefghijklmnopqrstuvwxyz]*.
18461 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18462 to[abcdefghijklmnopqrstuvwxyz]*.
18463 [ISO C standards] (*_t): Do not allow.
18464 * conform/data/stdalign.h-data: New file.
18465 * conform/data/stdbool.h-data: Likewise.
18466 * conform/data/stdnoreturn.h-data: Likewise.
18468 2012-11-07 Roland McGrath <roland@hack.frob.com>
18471 * manual/filesys.texi (Directory Entries): Typo fix.
18472 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18474 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18476 * elf/elf.h (EM_AARCH64): New macro.
18477 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18478 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18479 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18480 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18481 (R_AARCH64_TLSDESC): Likewise.
18482 (NT_ARM_TLS): Likewise.
18483 (NT_ARM_HW_BREAK): Likewise.
18484 (NT_ARM_HW_WATCH): Likewise.
18486 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18489 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18490 (__ieee754_powl): Saturate nonzero exponents with absolute value
18491 below 0x1p-79 to +/- 0x1p-79.
18492 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18493 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18494 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18495 nonzero exponents with absolute value below 0x1p-32 to +/-
18497 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18498 (__ieee754_powl): Saturate nonzero exponents with absolute value
18499 below 0x1p-79 to +/- 0x1p-79.
18500 * math/libm-test.inc (pow_test): Add more tests.
18502 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18504 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18505 _dl_s390_cap_flags with kernel. Increase string length.
18506 (_dl_s390_platforms): Add z196 and zEC12.
18508 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18510 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18511 Change XOPEN21K to XOPEN2K.
18513 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18515 * string/memmove.c: Use memcpy when possible.
18517 2012-11-06 Andreas Jaeger <aj@suse.de>
18519 * po/eo.po: Update from translation team.
18521 2012-11-06 Joseph Myers <joseph@codesourcery.com>
18524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18525 exponent and small x and y exponents, scale x or y up. Increase
18526 by 2 the exponent used in scaling up.
18527 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18529 * math/libm-test.inc (fma_test): Add more tests.
18530 (fma_test_towardzero): Likewise.
18531 (fma_test_downward): Likewise.
18532 (fma_test_upward): Likewise.
18534 2012-11-05 Joseph Myers <joseph@codesourcery.com>
18537 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18541 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18542 namespace for names of struct fields.
18543 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18545 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18546 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18548 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18551 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18553 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18555 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18559 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18562 2012-11-04 Joseph Myers <joseph@codesourcery.com>
18565 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18566 definitely overflow as x * y not x * y + z.
18567 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18568 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18569 * math/libm-test.inc (fma_test): Add more tests.
18570 (fma_test_towardzero): Likewise.
18571 (fma_test_downward): Likewise.
18572 (fma_test_upward): Likewise.
18574 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18578 * include/stub-tag.h: Remove file.
18579 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18581 * manual/maint.texi (Porting): Don't reference it.
18582 * Makerules ($(objpfx)stubs): Likewise.
18583 * dirent/closedir.c: Don't include <stub-tag.h>.
18584 * dirent/dirfd.c: Likewise.
18585 * dirent/fdopendir.c: Likewise.
18586 * dirent/getdents.c: Likewise.
18587 * dirent/getdents64.c: Likewise.
18588 * dirent/opendir.c: Likewise.
18589 * dirent/readdir.c: Likewise.
18590 * dirent/readdir64.c: Likewise.
18591 * dirent/readdir64_r.c: Likewise.
18592 * dirent/readdir_r.c: Likewise.
18593 * dirent/rewinddir.c: Likewise.
18594 * dirent/seekdir.c: Likewise.
18595 * dirent/telldir.c: Likewise.
18596 * gmon/profil.c: Likewise.
18597 * grp/setgroups.c: Likewise.
18598 * inet/if_index.c: Likewise.
18599 * io/access.c: Likewise.
18600 * io/chdir.c: Likewise.
18601 * io/chmod.c: Likewise.
18602 * io/chown.c: Likewise.
18603 * io/close.c: Likewise.
18604 * io/dup.c: Likewise.
18605 * io/dup2.c: Likewise.
18606 * io/dup3.c: Likewise.
18607 * io/euidaccess.c: Likewise.
18608 * io/faccessat.c: Likewise.
18609 * io/fchdir.c: Likewise.
18610 * io/fchmod.c: Likewise.
18611 * io/fchmodat.c: Likewise.
18612 * io/fchown.c: Likewise.
18613 * io/fchownat.c: Likewise.
18614 * io/fcntl.c: Likewise.
18615 * io/flock.c: Likewise.
18616 * io/fstatfs.c: Likewise.
18617 * io/fstatfs64.c: Likewise.
18618 * io/fstatvfs.c: Likewise.
18619 * io/fstatvfs64.c: Likewise.
18620 * io/futimens.c: Likewise.
18621 * io/fxstat.c: Likewise.
18622 * io/fxstat64.c: Likewise.
18623 * io/fxstatat.c: Likewise.
18624 * io/fxstatat64.c: Likewise.
18625 * io/getcwd.c: Likewise.
18626 * io/isatty.c: Likewise.
18627 * io/lchmod.c: Likewise.
18628 * io/lchown.c: Likewise.
18629 * io/link.c: Likewise.
18630 * io/linkat.c: Likewise.
18631 * io/lseek.c: Likewise.
18632 * io/lseek64.c: Likewise.
18633 * io/lxstat64.c: Likewise.
18634 * io/mkdir.c: Likewise.
18635 * io/mkdirat.c: Likewise.
18636 * io/mkfifo.c: Likewise.
18637 * io/mkfifoat.c: Likewise.
18638 * io/open.c: Likewise.
18639 * io/open64.c: Likewise.
18640 * io/openat.c: Likewise.
18641 * io/openat64.c: Likewise.
18642 * io/pipe.c: Likewise.
18643 * io/pipe2.c: Likewise.
18644 * io/poll.c: Likewise.
18645 * io/posix_fadvise.c: Likewise.
18646 * io/posix_fadvise64.c: Likewise.
18647 * io/posix_fallocate.c: Likewise.
18648 * io/posix_fallocate64.c: Likewise.
18649 * io/read.c: Likewise.
18650 * io/readlink.c: Likewise.
18651 * io/readlinkat.c: Likewise.
18652 * io/rmdir.c: Likewise.
18653 * io/sendfile.c: Likewise.
18654 * io/sendfile64.c: Likewise.
18655 * io/statfs.c: Likewise.
18656 * io/statfs64.c: Likewise.
18657 * io/statvfs.c: Likewise.
18658 * io/statvfs64.c: Likewise.
18659 * io/symlink.c: Likewise.
18660 * io/symlinkat.c: Likewise.
18661 * io/ttyname.c: Likewise.
18662 * io/ttyname_r.c: Likewise.
18663 * io/umask.c: Likewise.
18664 * io/unlink.c: Likewise.
18665 * io/unlinkat.c: Likewise.
18666 * io/utime.c: Likewise.
18667 * io/utimensat.c: Likewise.
18668 * io/write.c: Likewise.
18669 * io/xmknod.c: Likewise.
18670 * io/xmknodat.c: Likewise.
18671 * io/xstat.c: Likewise.
18672 * io/xstat64.c: Likewise.
18673 * login/getpt.c: Likewise.
18674 * login/grantpt.c: Likewise.
18675 * login/unlockpt.c: Likewise.
18676 * math/e_acoshl.c: Likewise.
18677 * math/e_acosl.c: Likewise.
18678 * math/e_asinl.c: Likewise.
18679 * math/e_atan2l.c: Likewise.
18680 * math/e_atanhl.c: Likewise.
18681 * math/e_coshl.c: Likewise.
18682 * math/e_expl.c: Likewise.
18683 * math/e_fmodl.c: Likewise.
18684 * math/e_gammal_r.c: Likewise.
18685 * math/e_hypotl.c: Likewise.
18686 * math/e_j0l.c: Likewise.
18687 * math/e_j1l.c: Likewise.
18688 * math/e_jnl.c: Likewise.
18689 * math/e_lgammal_r.c: Likewise.
18690 * math/e_log10l.c: Likewise.
18691 * math/e_log2l.c: Likewise.
18692 * math/e_logl.c: Likewise.
18693 * math/e_powl.c: Likewise.
18694 * math/e_rem_pio2l.c: Likewise.
18695 * math/e_sinhl.c: Likewise.
18696 * math/e_sqrtl.c: Likewise.
18697 * math/fclrexcpt.c: Likewise.
18698 * math/fedisblxcpt.c: Likewise.
18699 * math/feenablxcpt.c: Likewise.
18700 * math/fegetenv.c: Likewise.
18701 * math/fegetexcept.c: Likewise.
18702 * math/fegetround.c: Likewise.
18703 * math/feholdexcpt.c: Likewise.
18704 * math/fesetenv.c: Likewise.
18705 * math/fesetround.c: Likewise.
18706 * math/feupdateenv.c: Likewise.
18707 * math/fgetexcptflg.c: Likewise.
18708 * math/fraiseexcpt.c: Likewise.
18709 * math/fsetexcptflg.c: Likewise.
18710 * math/ftestexcept.c: Likewise.
18711 * math/k_cosl.c: Likewise.
18712 * math/k_rem_pio2l.c: Likewise.
18713 * math/k_sinl.c: Likewise.
18714 * math/k_tanl.c: Likewise.
18715 * math/s_asinhl.c: Likewise.
18716 * math/s_atanl.c: Likewise.
18717 * math/s_cbrtl.c: Likewise.
18718 * math/s_erfl.c: Likewise.
18719 * math/s_expm1l.c: Likewise.
18720 * math/s_log1pl.c: Likewise.
18721 * math/s_tanhl.c: Likewise.
18722 * misc/acct.c: Likewise.
18723 * misc/brk.c: Likewise.
18724 * misc/chflags.c: Likewise.
18725 * misc/chroot.c: Likewise.
18726 * misc/fchflags.c: Likewise.
18727 * misc/fgetxattr.c: Likewise.
18728 * misc/flistxattr.c: Likewise.
18729 * misc/fremovexattr.c: Likewise.
18730 * misc/fsetxattr.c: Likewise.
18731 * misc/fsync.c: Likewise.
18732 * misc/ftruncate.c: Likewise.
18733 * misc/futimes.c: Likewise.
18734 * misc/futimesat.c: Likewise.
18735 * misc/getdomain.c: Likewise.
18736 * misc/getdtsz.c: Likewise.
18737 * misc/gethostid.c: Likewise.
18738 * misc/gethostname.c: Likewise.
18739 * misc/getloadavg.c: Likewise.
18740 * misc/getpagesize.c: Likewise.
18741 * misc/getsysstats.c: Likewise.
18742 * misc/getxattr.c: Likewise.
18743 * misc/gtty.c: Likewise.
18744 * misc/ioctl.c: Likewise.
18745 * misc/lgetxattr.c: Likewise.
18746 * misc/listxattr.c: Likewise.
18747 * misc/llistxattr.c: Likewise.
18748 * misc/lremovexattr.c: Likewise.
18749 * misc/lsetxattr.c: Likewise.
18750 * misc/lutimes.c: Likewise.
18751 * misc/madvise.c: Likewise.
18752 * misc/mincore.c: Likewise.
18753 * misc/mlock.c: Likewise.
18754 * misc/mlockall.c: Likewise.
18755 * misc/mmap.c: Likewise.
18756 * misc/mprotect.c: Likewise.
18757 * misc/msync.c: Likewise.
18758 * misc/munlock.c: Likewise.
18759 * misc/munlockall.c: Likewise.
18760 * misc/munmap.c: Likewise.
18761 * misc/preadv.c: Likewise.
18762 * misc/preadv64.c: Likewise.
18763 * misc/ptrace.c: Likewise.
18764 * misc/pwritev.c: Likewise.
18765 * misc/pwritev64.c: Likewise.
18766 * misc/readv.c: Likewise.
18767 * misc/reboot.c: Likewise.
18768 * misc/remap_file_pages.c: Likewise.
18769 * misc/removexattr.c: Likewise.
18770 * misc/revoke.c: Likewise.
18771 * misc/select.c: Likewise.
18772 * misc/setdomain.c: Likewise.
18773 * misc/setegid.c: Likewise.
18774 * misc/seteuid.c: Likewise.
18775 * misc/sethostid.c: Likewise.
18776 * misc/sethostname.c: Likewise.
18777 * misc/setregid.c: Likewise.
18778 * misc/setreuid.c: Likewise.
18779 * misc/setxattr.c: Likewise.
18780 * misc/sstk.c: Likewise.
18781 * misc/stty.c: Likewise.
18782 * misc/swapoff.c: Likewise.
18783 * misc/swapon.c: Likewise.
18784 * misc/sync.c: Likewise.
18785 * misc/syncfs.c: Likewise.
18786 * misc/syscall.c: Likewise.
18787 * misc/truncate.c: Likewise.
18788 * misc/ualarm.c: Likewise.
18789 * misc/usleep.c: Likewise.
18790 * misc/ustat.c: Likewise.
18791 * misc/utimes.c: Likewise.
18792 * misc/vhangup.c: Likewise.
18793 * misc/writev.c: Likewise.
18794 * posix/_exit.c: Likewise.
18795 * posix/alarm.c: Likewise.
18796 * posix/execve.c: Likewise.
18797 * posix/fexecve.c: Likewise.
18798 * posix/fork.c: Likewise.
18799 * posix/fpathconf.c: Likewise.
18800 * posix/getaddrinfo.c: Likewise.
18801 * posix/getegid.c: Likewise.
18802 * posix/geteuid.c: Likewise.
18803 * posix/getgid.c: Likewise.
18804 * posix/getgroups.c: Likewise.
18805 * posix/getlogin.c: Likewise.
18806 * posix/getlogin_r.c: Likewise.
18807 * posix/getpgid.c: Likewise.
18808 * posix/getpid.c: Likewise.
18809 * posix/getppid.c: Likewise.
18810 * posix/getresgid.c: Likewise.
18811 * posix/getresuid.c: Likewise.
18812 * posix/getsid.c: Likewise.
18813 * posix/getuid.c: Likewise.
18814 * posix/glob64.c: Likewise.
18815 * posix/nanosleep.c: Likewise.
18816 * posix/pathconf.c: Likewise.
18817 * posix/pause.c: Likewise.
18818 * posix/posix_madvise.c: Likewise.
18819 * posix/pread.c: Likewise.
18820 * posix/pread64.c: Likewise.
18821 * posix/pwrite.c: Likewise.
18822 * posix/pwrite64.c: Likewise.
18823 * posix/sched_getaffinity.c: Likewise.
18824 * posix/sched_getp.c: Likewise.
18825 * posix/sched_gets.c: Likewise.
18826 * posix/sched_primax.c: Likewise.
18827 * posix/sched_primin.c: Likewise.
18828 * posix/sched_rr_gi.c: Likewise.
18829 * posix/sched_setaffinity.c: Likewise.
18830 * posix/sched_setp.c: Likewise.
18831 * posix/sched_sets.c: Likewise.
18832 * posix/sched_yield.c: Likewise.
18833 * posix/setgid.c: Likewise.
18834 * posix/setlogin.c: Likewise.
18835 * posix/setpgid.c: Likewise.
18836 * posix/setresgid.c: Likewise.
18837 * posix/setresuid.c: Likewise.
18838 * posix/setsid.c: Likewise.
18839 * posix/setuid.c: Likewise.
18840 * posix/sleep.c: Likewise.
18841 * posix/spawni.c: Likewise.
18842 * posix/sysconf.c: Likewise.
18843 * posix/times.c: Likewise.
18844 * posix/wait.c: Likewise.
18845 * posix/wait3.c: Likewise.
18846 * posix/wait4.c: Likewise.
18847 * posix/waitpid.c: Likewise.
18848 * resolv/gai_sigqueue.c: Likewise.
18849 * resource/getpriority.c: Likewise.
18850 * resource/getrlimit.c: Likewise.
18851 * resource/getrusage.c: Likewise.
18852 * resource/nice.c: Likewise.
18853 * resource/setpriority.c: Likewise.
18854 * resource/setrlimit.c: Likewise.
18855 * resource/ulimit.c: Likewise.
18856 * rt/aio_cancel.c: Likewise.
18857 * rt/aio_fsync.c: Likewise.
18858 * rt/aio_read.c: Likewise.
18859 * rt/aio_sigqueue.c: Likewise.
18860 * rt/aio_suspend.c: Likewise.
18861 * rt/aio_write.c: Likewise.
18862 * rt/clock_getres.c: Likewise.
18863 * rt/clock_gettime.c: Likewise.
18864 * rt/clock_nanosleep.c: Likewise.
18865 * rt/clock_settime.c: Likewise.
18866 * rt/lio_listio.c: Likewise.
18867 * rt/mq_close.c: Likewise.
18868 * rt/mq_getattr.c: Likewise.
18869 * rt/mq_notify.c: Likewise.
18870 * rt/mq_open.c: Likewise.
18871 * rt/mq_receive.c: Likewise.
18872 * rt/mq_send.c: Likewise.
18873 * rt/mq_setattr.c: Likewise.
18874 * rt/mq_timedreceive.c: Likewise.
18875 * rt/mq_timedsend.c: Likewise.
18876 * rt/mq_unlink.c: Likewise.
18877 * rt/shm_open.c: Likewise.
18878 * rt/shm_unlink.c: Likewise.
18879 * rt/timer_create.c: Likewise.
18880 * rt/timer_delete.c: Likewise.
18881 * rt/timer_getoverr.c: Likewise.
18882 * rt/timer_gettime.c: Likewise.
18883 * rt/timer_settime.c: Likewise.
18884 * setjmp/__longjmp.c: Likewise.
18885 * setjmp/setjmp.c: Likewise.
18886 * signal/kill.c: Likewise.
18887 * signal/killpg.c: Likewise.
18888 * signal/raise.c: Likewise.
18889 * signal/sigaction.c: Likewise.
18890 * signal/sigaltstack.c: Likewise.
18891 * signal/sigblock.c: Likewise.
18892 * signal/sigignore.c: Likewise.
18893 * signal/sigintr.c: Likewise.
18894 * signal/signal.c: Likewise.
18895 * signal/sigpause.c: Likewise.
18896 * signal/sigpending.c: Likewise.
18897 * signal/sigqueue.c: Likewise.
18898 * signal/sigreturn.c: Likewise.
18899 * signal/sigset.c: Likewise.
18900 * signal/sigsetmask.c: Likewise.
18901 * signal/sigstack.c: Likewise.
18902 * signal/sigsuspend.c: Likewise.
18903 * signal/sigtimedwait.c: Likewise.
18904 * signal/sigvec.c: Likewise.
18905 * signal/sigwait.c: Likewise.
18906 * signal/sigwaitinfo.c: Likewise.
18907 * signal/sysv_signal.c: Likewise.
18908 * socket/accept.c: Likewise.
18909 * socket/accept4.c: Likewise.
18910 * socket/bind.c: Likewise.
18911 * socket/connect.c: Likewise.
18912 * socket/getpeername.c: Likewise.
18913 * socket/getsockname.c: Likewise.
18914 * socket/getsockopt.c: Likewise.
18915 * socket/isfdtype.c: Likewise.
18916 * socket/listen.c: Likewise.
18917 * socket/recv.c: Likewise.
18918 * socket/recvfrom.c: Likewise.
18919 * socket/recvmsg.c: Likewise.
18920 * socket/send.c: Likewise.
18921 * socket/sendmsg.c: Likewise.
18922 * socket/sendto.c: Likewise.
18923 * socket/setsockopt.c: Likewise.
18924 * socket/shutdown.c: Likewise.
18925 * socket/sockatmark.c: Likewise.
18926 * socket/socket.c: Likewise.
18927 * socket/socketpair.c: Likewise.
18928 * stdio-common/ctermid.c: Likewise.
18929 * stdio-common/cuserid.c: Likewise.
18930 * stdio-common/remove.c: Likewise.
18931 * stdio-common/rename.c: Likewise.
18932 * stdio-common/renameat.c: Likewise.
18933 * stdio-common/tempname.c: Likewise.
18934 * stdlib/getcontext.c: Likewise.
18935 * stdlib/makecontext.c: Likewise.
18936 * stdlib/setcontext.c: Likewise.
18937 * stdlib/swapcontext.c: Likewise.
18938 * stdlib/system.c: Likewise.
18939 * streams/fattach.c: Likewise.
18940 * streams/fdetach.c: Likewise.
18941 * streams/getmsg.c: Likewise.
18942 * streams/getpmsg.c: Likewise.
18943 * streams/putmsg.c: Likewise.
18944 * streams/putpmsg.c: Likewise.
18945 * sysdeps/unix/bsd/getpt.c: Likewise.
18946 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18947 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18948 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18951 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18952 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18953 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18954 * sysvipc/msgctl.c: Likewise.
18955 * sysvipc/msgget.c: Likewise.
18956 * sysvipc/msgrcv.c: Likewise.
18957 * sysvipc/msgsnd.c: Likewise.
18958 * sysvipc/semctl.c: Likewise.
18959 * sysvipc/semget.c: Likewise.
18960 * sysvipc/semop.c: Likewise.
18961 * sysvipc/semtimedop.c: Likewise.
18962 * sysvipc/shmat.c: Likewise.
18963 * sysvipc/shmctl.c: Likewise.
18964 * sysvipc/shmdt.c: Likewise.
18965 * sysvipc/shmget.c: Likewise.
18966 * termios/tcdrain.c: Likewise.
18967 * termios/tcflow.c: Likewise.
18968 * termios/tcflush.c: Likewise.
18969 * termios/tcgetattr.c: Likewise.
18970 * termios/tcgetpgrp.c: Likewise.
18971 * termios/tcsendbrk.c: Likewise.
18972 * termios/tcsetattr.c: Likewise.
18973 * termios/tcsetpgrp.c: Likewise.
18974 * time/adjtime.c: Likewise.
18975 * time/clock.c: Likewise.
18976 * time/getitimer.c: Likewise.
18977 * time/gettimeofday.c: Likewise.
18978 * time/setitimer.c: Likewise.
18979 * time/settimeofday.c: Likewise.
18980 * time/stime.c: Likewise.
18981 * time/time.c: Likewise.
18983 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
18985 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18988 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18990 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18992 2012-11-03 Joseph Myers <joseph@codesourcery.com>
18995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18996 FE_TONEAREST before applying Dekker multiplication and Knuth
18997 addition. Clear inexact exceptions and check for exact zero
18998 results afterwards.
18999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19000 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19001 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19002 * math/libm-test.inc (fma_test): Add more tests.
19003 (fma_test_towardzero): Likewise.
19004 (fma_test_downward): Likewise.
19005 (fma_test_upward): Likewise.
19006 * sysdeps/generic/math_private.h (default_libc_fesetround): New
19008 (libc_fesetround): New macro.
19009 (libc_fesetroundf): Likewise.
19010 (libc_fesetroundl): Likewise.
19011 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19013 (libc_fesetround_387): Likewise.
19014 (libc_fesetroundf): New macro.
19015 (libc_fesetround): Likewise.
19016 (libc_fesetroundl): Likewise.
19017 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19019 (libc_fesetroundf): New macro.
19020 (libc_fesetround): Likewise.
19021 (libc_fesetroundl): Likewise.
19022 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19023 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19024 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19026 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19027 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19029 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19030 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19032 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19036 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19037 integer constant usable in #if and use that to give value to enum
19039 (FE_DIVBYZERO): Likewise.
19040 (FE_UNDERFLOW): Likewise.
19041 (FE_OVERFLOW): Likewise.
19042 (FE_INVALID): Likewise.
19043 (FE_INVALID_SNAN): Likewise.
19044 (FE_INVALID_ISI): Likewise.
19045 (FE_INVALID_IDI): Likewise.
19046 (FE_INVALID_ZDZ): Likewise.
19047 (FE_INVALID_IMZ): Likewise.
19048 (FE_INVALID_COMPARE): Likewise.
19049 (FE_INVALID_SOFTWARE): Likewise.
19050 (FE_INVALID_SQRT): Likewise.
19051 (FE_INVALID_INTEGER_CONVERSION): Likewise.
19052 (FE_TONEAREST): Likewise.
19053 (FE_TOWARDZERO): Likewise.
19054 (FE_UPWARD): Likewise.
19055 (FE_DOWNWARD): Likewise.
19056 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19057 (FE_DIVBYZERO): Likewise.
19058 (FE_OVERFLOW): Likewise.
19059 (FE_UNDERFLOW): Likewise.
19060 (FE_INEXACT): Likewise.
19061 (FE_TONEAREST): Likewise.
19062 (FE_DOWNWARD): Likewise.
19063 (FE_UPWARD): Likewise.
19064 (FE_TOWARDZERO): Likewise.
19065 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19066 (FE_UNDERFLOW): Likewise.
19067 (FE_OVERFLOW): Likewise.
19068 (FE_DIVBYZERO): Likewise.
19069 (FE_INVALID): Likewise.
19070 (FE_TONEAREST): Likewise.
19071 (FE_TOWARDZERO): Likewise.
19072 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19073 (FE_OVERFLOW): Likewise.
19074 (FE_UNDERFLOW): Likewise.
19075 (FE_DIVBYZERO): Likewise.
19076 (FE_INEXACT): Likewise.
19077 (FE_TONEAREST): Likewise.
19078 (FE_TOWARDZERO): Likewise.
19079 (FE_UPWARD): Likewise.
19080 (FE_DOWNWARD): Likewise.
19081 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19082 (FE_DIVBYZERO): Likewise.
19083 (FE_OVERFLOW): Likewise.
19084 (FE_UNDERFLOW): Likewise.
19085 (FE_INEXACT): Likewise.
19086 (FE_TONEAREST): Likewise.
19087 (FE_DOWNWARD): Likewise.
19088 (FE_UPWARD): Likewise.
19089 (FE_TOWARDZERO): Likewise.
19091 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
19093 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19095 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
19097 * scripts/cross-test-ssh.sh (command): Use newlines to separate
19098 commands. Quote $PWD.
19099 (blacklist_exports): Don't use remove_newlines. Replace "declare
19101 (remove_newlines): Remove.
19103 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
19105 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19106 * stdlib/stdlib.h (atof): Moved to ...
19107 * include/bits/stdlib-float.h: Here. New file.
19108 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19109 * stdlib/bits/stdlib-float.h: New file.
19110 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19112 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19115 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19117 * conform/conformtest.pl (@headers): Add fenv.h.
19118 * conform/data/fenv.h-data: New file.
19119 * include/fenv.h [_ISOMAC]: Disable all contents of file except
19120 include of <math/fenv.h>.
19122 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19123 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19124 && !UNIX98]. Enables tests for XOPEN2K8.
19125 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19126 POSIX2008]: Likewise.
19128 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19129 (struct rusage): Do not expect type or its members.
19132 * math/math.h (FP_NAN): Define macro to integer constant usable in
19133 #if and use that to give value to enum constant.
19134 (FP_INFINITE): Likewise.
19135 (FP_ZERO): Likewise.
19136 (FP_SUBNORMAL): Likewise.
19137 (FP_NORMAL): Likewise.
19139 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
19141 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19142 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19145 2012-11-02 Roland McGrath <roland@hack.frob.com>
19147 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19148 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19149 autoconf-time if not.
19150 * configure.in: Remove AC_PREREQ.
19152 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19154 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19155 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19156 of the internal implementation.
19158 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19160 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19161 except include of <misc/sys/syslog.h>.
19163 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19166 function returns with a NULL context exit with zero.
19168 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19170 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19172 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19174 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19175 (run_program_cmd): This.
19176 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19177 (tst_langinfo): New variable. Use it.
19179 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19181 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19182 floating point opcodes.
19184 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19186 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19189 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19191 * sysdeps/mach/hurd/powerpc: Remove directory.
19192 * sysdeps/mach/powerpc: Likewise.
19194 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19196 * scripts/check-local-headers.sh: Ignore c++ headers.
19198 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19200 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19201 __libc_cleanup_region_start argument.
19203 2012-11-01 Joseph Myers <joseph@codesourcery.com>
19207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19208 x * y using scaling, not as x * y + z.
19209 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19210 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19211 * math/libm-test.inc (fma_test): Add more tests.
19212 (fma_test_towardzero): Likewise.
19213 (fma_test_downward): Likewise.
19214 (fma_test_upward): Likewise.
19216 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19218 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19220 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19222 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19225 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19227 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19229 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19236 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19239 Fix the order of the list for glibc 2.17.
19240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19243 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19247 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19250 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19251 for low part of x being zero before using __atanl (y).
19252 * math/libm-test.inc (atan2_test): Add another test.
19254 * manual/install.texi (Configuring and compiling): Document
19255 general use of test-wrapper and test-wrapper-env.
19256 * INSTALL: Regenerated.
19258 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19259 (__fma): Do not extract and scale down low bits on after-rounding
19260 systems when result rounded to normal precision would have normal
19262 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19263 (__fmal): Do not extract and scale down low bits on after-rounding
19264 systems when result rounded to normal precision would have normal
19266 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19267 (__fmal): Do not extract and scale down low bits on after-rounding
19268 systems when result rounded to normal precision would have normal
19270 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19272 (fma_test): Add more tests.
19273 (fma_test_towardzero): Likewise.
19274 (fma_test_downward): Likewise.
19275 (fma_test_upward): Likewise.
19277 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19279 * sysdeps/i386/tininess.h: Renamed to ...
19280 * sysdeps/x86/tininess.h: This.
19281 * sysdeps/x86_64/tininess.h: Removed.
19283 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19285 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19286 input. Use $(build-program-cmd).
19287 ($(objpfx)tst-array1-static.out): Likewise.
19288 ($(objpfx)tst-array2.out): Likewise.
19289 ($(objpfx)tst-array3.out): Likewise.
19290 ($(objpfx)tst-array4.out): Likewise.
19291 ($(objpfx)tst-array5.out): Likewise.
19292 ($(objpfx)tst-array5-static.out): Likewise.
19294 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19296 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19299 * nss/nsswitch.h (nss_interface_function): Provide new
19300 macro for use with NSS functions.
19301 * grp/initgroups.c: Use new macro.
19302 * nss/getXXbyYY.c: Likewise.
19303 * nss/getXXbyYY_r.c: Likewise.
19304 * nss/getXXent.c: Likewise.
19305 * nss/getXXent_r.c: Likewise.
19306 * sysdeps/posix/getaddrinfo.c: Likewise.
19308 2012-10-30 Andreas Jaeger <aj@suse.de>
19310 * po/ru.po: Update Russion translation from translation project.
19312 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19317 result and shift together with sticky bit instead of replicating
19318 round-to-nearest rounding.
19319 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19320 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19321 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19322 missing underflow exceptions.
19323 (fma_test_towardzero): Add more tests.
19324 (fma_test_downward): Likewise.
19325 (fma_test_upward): Likewise.
19328 * sysdeps/generic/tininess.h: New file.
19329 * sysdeps/i386/tininess.h: Likewise.
19330 * sysdeps/sh/tininess.h: Likewise.
19331 * sysdeps/x86_64/tininess.h: Likewise.
19332 * stdlib/tst-strtod-underflow.c: Likewise.
19333 * stdlib/tst-tininess.c: Likewise.
19334 * stdlib/strtod_l.c: Include <tininess.h>.
19335 (round_and_return): Do not set errno for exact underflow cases.
19336 Force an underflow exception when setting errno for underflow.
19337 Determine underflow based on rounding to normal precision if
19338 TININESS_AFTER_ROUNDING.
19339 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19340 ERANGE for exact underflow cases.
19341 * stdlib/Makefile (tests): Add tst-tininess and
19342 tst-strtod-underflow.
19343 ($(objpfx)tst-tininess): Use $(link-libm).
19344 ($(objpfx)tst-strtod-underflow): Likewise.
19346 2012-10-30 Andreas Jaeger <aj@suse.de>
19349 * elf/Makefile (tests): Remove conditional for have-initfini-array
19350 since this is now always required and the variable does not exist
19352 (tests-static): Likewise.
19353 (modules-names): Likewise.
19355 * po/eo.po: Add Esperanto translation from translation project.
19357 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19358 merged with constructor/destructor.
19359 (init_array): Likewise.
19360 * elf/tst-array2dep.c (fini_array): Likewise.
19361 (init_array): Likewise.
19363 2012-10-29 Mike Frysinger <vapier@gentoo.org>
19365 * manual/message.texi: Delete @cartouche tags.
19367 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19369 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19371 * sysdeps/mach/hurd/fsync.c: Likewise.
19373 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19374 [_POSIX_REALTIME_SIGNALS]: Change condition to
19375 [_POSIX_REALTIME_SIGNALS > 0].
19377 2012-10-27 Andreas Jaeger <aj@suse.de>
19379 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19380 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19381 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19382 [__WORDSIZE != 64]: Likewise.
19384 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19386 * iconvdata/tst-table.sh: Remove ${SHELL}.
19387 * iconvdata/tst-tables.sh: Likewise.
19389 2012-10-25 David S. Miller <davem@davemloft.net>
19391 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19392 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19395 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19397 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19398 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19399 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19402 2012-10-25 Roland McGrath <roland@hack.frob.com>
19404 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19405 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19408 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19409 Jim Blandy <jimb@codesourcery.com>
19411 * scripts/cross-test-ssh.sh: New file.
19412 * manual/install.texi (Configuring and compiling): Document use of
19414 * INSTALL: Regenerated.
19416 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19418 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19421 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19423 * Makeconfig (run-program-prefix): Fix comment.
19425 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19426 Jim Blandy <jimb@codesourcery.com>
19428 * Makeconfig (test-wrapper): New variable,
19429 (test-wrapper-env): Likewise.
19430 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19431 (run-built-tests): Define to yes.
19432 (run-program-prefix): Use $(test-wrapper).
19433 (built-program-cmd): Likewise.
19434 * Rules (make-test-out): Use $(test-wrapper-env) and
19435 $(host-built-program-cmd).
19436 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19437 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19439 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19440 $(test-wrapper-env) to tst-rtld-load-self.sh.
19441 ($(objpfx)order2.out): Use $(test-wrapper).
19442 ($(objpfx)tst-initorder.out): Likewise.
19443 ($(objpfx)tst-initorder2.out): Likewise.
19444 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19445 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19446 (test_wrapper_env): New variable. Use it to run ld.so.
19447 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19448 Use it to run ld.so.
19449 (test_wrapper_env): Likewise.
19450 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19451 $(test-wrapper) to run-iconv-test.sh.
19452 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19453 (ICONV): Use $test_wrapper.
19454 * posix/Makefile ($(objpfx)globtest.out): Pass
19455 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19456 globtest.sh, not $(run-program-prefix).
19457 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19458 (test_wrapper): Likewise.
19459 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19460 set together with run_via_rtld_prefix.
19461 (run_program_prefix): Define in terms of test_wrapper and
19462 run_via_rtld_prefix.
19464 2012-10-24 Roland McGrath <roland@hack.frob.com>
19466 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19467 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19471 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19472 Declare __clock_getres, __clock_gettime, __clock_settime,
19473 __clock_nanosleep, and __clock_getcpuclockid.
19474 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19475 Remove librt_hidden_def (clock_gettime).
19476 * sysdeps/unix/clock_gettime.c: Likewise.
19477 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19478 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19479 * rt/clock_getres.c: Define __clock_getres as an alias.
19480 * sysdeps/posix/clock_getres.c: Likewise.
19481 * rt/clock_settime.c: Define __clock_settime as an alias.
19482 * sysdeps/unix/clock_settime.c: Likewise.
19483 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19484 * sysdeps/unix/clock_nanosleep.c: Likewise.
19485 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19486 * rt/clock-compat.c: New file.
19487 * rt/Makefile (librt-routines): Add clock-compat and move
19488 $(clock-routines) to ...
19489 (routines): ... here, new variable.
19490 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19491 Don't add get_clockfreq here.
19492 * rt/Versions (libc: GLIBC_2.17): New version set.
19493 Add clock_* symbols here.
19494 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19495 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19496 (GLIBC_2.17): Add clock_* symbols.
19497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19499 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19508 * NEWS: Mention the move.
19510 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19511 Use __open, __read, __close rather than their public counterparts.
19512 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19513 (__get_clockfreq_via_cpuinfo): Likewise.
19514 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19515 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19517 * config.h.in (HAVE_IFUNC): New #undef.
19518 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19520 * configure: Regenerated.
19522 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19524 * configure.in: Move READELF check to start of file.
19525 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19526 libc_cv_asm_gnu_indirect_function in the process.
19527 * configure: Regenerated.
19529 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19531 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19532 send the output to /dev/null.
19533 (libc_cv_cc_with_libunwind): Likewise.
19534 (libc_cv_as_noexecstack): Likewise.
19535 * configure: Regenerate.
19537 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19539 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19541 * posix/globtest.sh (TMPDIR): Do not set.
19542 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19543 (testout): Likewise.
19545 2012-10-24 Andreas Jaeger <aj@suse.de>
19547 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19548 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19549 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19550 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19551 posix_fadvise64, posix_fallocate64.
19553 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19554 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19555 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19557 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19559 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19562 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19563 <bits/fcntl-linux.h>.
19564 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19566 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19567 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19568 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19569 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19570 [__WORDSIZE != 64]: Likewise.
19572 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19574 * Makeconfig (run-built-tests): New variable.
19575 * Rules [$(cross-compiling) = yes]: Change condition to
19576 [$(run-built-tests) = no].
19577 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19578 to [$(run-built-tests) = yes].
19579 * elf/Makefile [$(cross-compiling) = no]: Likewise
19580 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19581 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19582 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19583 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19584 * io/Makefile [$(cross-compiling) = no]: Likewise.
19585 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19586 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19587 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19588 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19589 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19590 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19591 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19592 * string/Makefile [$(cross-compiling) = no]: Likewise.
19594 * posix/Makefile ($(objpfx)globtest.out): Pass
19595 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19596 $(rtld-installed-name).
19597 * posix/globtest.sh (elf_objpfx): Remove variable.
19598 (rtld_installed_name): Likewise.
19599 (library_path): Likewise.
19600 (run_program_prefix): New variable. Use for running globtest
19603 2012-10-23 Jim Blandy <jimb@codesourcery.com>
19604 Joseph Myers <joseph@codesourcery.com>
19606 * Makeconfig (host-built-program-cmd): New variable.
19607 * elf/Makefile (tst-stackguard1-ARGS): Use
19608 $(host-built-program-cmd).
19609 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19610 (tst-spawn-ARGS): Likewise.
19611 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19613 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19614 Jim Blandy <jimb@codesourcery.com>
19616 * Makeconfig (run-via-rtld-prefix): New variable.
19617 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19618 (built-program-cmd): Likewise.
19620 2012-10-22 Andreas Jaeger <aj@suse.de>
19622 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19623 __O_RSYNC if it exists, otherwise to O_SYNC.
19625 2012-10-22 Jim Blandy <jimb@codesourcery.com>
19626 Joseph Myers <joseph@codesourcery.com>
19628 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19630 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19632 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19635 2012-10-22 Andreas Jaeger <aj@suse.de>
19637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19642 bits/fcntl-linux.h.
19644 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19645 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19647 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19649 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19652 2012-10-21 Jim Blandy <jimb@codesourcery.com>
19653 Joseph Myers <joseph@codesourcery.com>
19655 * config.make.in (NM): New variable.
19657 2012-10-21 Andreas Jaeger <aj@suse.de>
19659 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19660 definitions and declarations that are provided by
19661 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19663 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19666 * elf/Makefile (tests-static): Add tst-leaks1-static.
19667 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19668 ($(objpfx)tst-leaks1-static): New rule.
19669 ($(objpfx)tst-leaks1-static-mem): Likewise.
19670 (tst-leaks1-static-ENV): New macro.
19671 * elf/dl-open.c (dl_open_worker): Check the main application
19672 only if SHARED is defined.
19673 * elf/tst-leaks1-static.c: New file.
19675 2012-10-20 Andreas Jaeger <aj@suse.de>
19677 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19678 generic values for Linux.
19679 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19680 and declarations that are provided by <bits/fcntl-linux.h> and
19681 include <bits/fcntl-linux.h>.
19682 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19685 2012-10-20 Roland McGrath <roland@hack.frob.com>
19687 * io/fcntl.h: Move include of <bits/types.h> to the top and
19688 include it unconditionally.
19690 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19692 * wcsmbs/Makefile (tests-ifunc): New variable.
19693 (tests): Add $(tests-ifunc).
19694 * wcsmbs/test-wcschr-ifunc.c: New file.
19695 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19696 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19697 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19698 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19699 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19701 * string/Makefile (tests-ifunc): New variable.
19702 (tests): Add $(tests-ifunc).
19703 * string/test-memccpy.c (TEST_NAME): New macro.
19704 * string/test-memchr.c (TEST_NAME): Likewise.
19705 * string/test-memcmp.c (TEST_NAME): Likewise.
19706 * string/test-memcpy.c (TEST_NAME): Likewise.
19707 * string/test-memmem.c (TEST_NAME): Likewise.
19708 * string/test-memmove.c (TEST_NAME): Likewise.
19709 * string/test-memset.c (TEST_NAME): Likewise.
19710 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19711 * string/test-stpcpy.c (TEST_NAME): Likewise.
19712 * string/test-stpncpy.c (TEST_NAME): Likewise.
19713 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19714 * string/test-strcasestr.c (TEST_NAME): Likewise.
19715 * string/test-strcat.c (TEST_NAME): Likewise.
19716 * string/test-strchr.c (TEST_NAME): Likewise.
19717 * string/test-strcmp.c(TEST_NAME): Likewise.
19718 * string/test-strcpy.c (TEST_NAME): Likewise.
19719 * string/test-strcspn.c (TEST_NAME): Likewise.
19720 * string/test-strlen.c (TEST_NAME): Likewise.
19721 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19722 * string/test-strncmp.c (TEST_NAME): Likewise.
19723 * string/test-strncpy.c (TEST_NAME): Likewise.
19724 * string/test-strnlen.c (TEST_NAME): Likewise.
19725 * string/test-strpbrk.c (TEST_NAME): Likewise.
19726 * string/test-strrchr.c (TEST_NAME): Likewise.
19727 * string/test-strspn.c (TEST_NAME): Likewise.
19728 * string/test-strstr.c (TEST_NAME): Likewise.
19729 * string/test-bcopy-ifunc.c: New file.
19730 * string/test-bzero-ifunc.c: Likewise.
19731 * string/test-memccpy-ifunc.c: Likewise.
19732 * string/test-memchr-ifunc.c: Likewise.
19733 * string/test-memcmp-ifunc.c: Likewise.
19734 * string/test-memcpy-ifunc.c: Likewise.
19735 * string/test-memmem-ifunc.c: Likewise.
19736 * string/test-memmove-ifunc.c: Likewise.
19737 * string/test-mempcpy-ifunc.c: Likewise.
19738 * string/test-memset-ifunc.c: Likewise.
19739 * string/test-rawmemchr-ifunc.c: Likewise.
19740 * string/test-stpcpy-ifunc.c: Likewise.
19741 * string/test-stpncpy-ifunc.c: Likewise.
19742 * string/test-strcasecmp-ifunc.c: Likewise.
19743 * string/test-strcasestr-ifunc.c: Likewise.
19744 * string/test-strcat-ifunc.c: Likewise.
19745 * string/test-strchr-ifunc.c: Likewise.
19746 * string/test-strchrnul-ifunc.c: Likewise.
19747 * string/test-strcmp-ifunc.c: Likewise.
19748 * string/test-strcpy-ifunc.c: Likewise.
19749 * string/test-strcspn-ifunc.c: Likewise.
19750 * string/test-strlen-ifunc.c: Likewise.
19751 * string/test-strncasecmp-ifunc.c: Likewise.
19752 * string/test-strncat-ifunc.c: Likewise.
19753 * string/test-strncmp-ifunc.c: Likewise.
19754 * string/test-strncpy-ifunc.c: Likewise.
19755 * string/test-strnlen-ifunc.c: Likewise.
19756 * string/test-strpbrk-ifunc.c: Likewise.
19757 * string/test-strrchr-ifunc.c: Likewise.
19758 * string/test-strspn-ifunc.c: Likewise.
19759 * string/test-strstr-ifunc.c: Likewise.
19761 * debug/Makefile (tests-ifunc): New variable.
19762 (tests): Add $(tests-ifunc).
19763 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19764 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19765 * debug/test-stpcpy_chk-ifunc.c: New file.
19766 * debug/test-strcpy_chk-ifunc.c: Likewise.
19768 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19771 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19772 header is not read in.
19774 2012-10-19 Joseph Myers <joseph@codesourcery.com>
19776 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19777 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19778 directly. Pass built executable to script as
19779 $(built-program-cmd).
19780 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19781 $testprogram without using LD_LIBRARY_PATH and $ldso.
19783 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19784 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19785 $(rtld-installed-name).
19786 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19787 (rtld_installed_name): Likewise.
19788 (library_path): Likewise.
19789 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19790 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19791 $(run-program-prefix) to tst-tables.sh.
19792 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19793 it to run tst-table-from and tst-table-to.
19794 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19795 Pass it to tst-table.sh.
19796 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19797 $(run-program-prefix) to tst-gettext.sh.
19798 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19800 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19802 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19803 to run tst-gettext.
19804 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19805 to run tst-gettext2.
19806 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19807 to run tst-translit.
19808 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19809 $(run-program-prefix) to tst-mtrace.sh.
19810 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19812 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19813 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19814 $(rtld-installed-name).
19815 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19816 (rtld_installed_name): Likewise.
19817 (run_program_prefix): New variable. Use it to run wordexp-test.
19819 * Makeconfig (ARCH): Remove all definitions.
19820 (machine): Likewise.
19821 [ARCH]: Remove conditional code.
19822 [!objdir]: Give error.
19823 [!objdir] (objpfx): Remove.
19824 [!objdir] (common-objpfx): Likewise.
19825 [!objdir] (common-objdir): Likewise.
19826 * configure.in (config_makefile): Remove. Hardcode Makefile in
19827 AC_CONFIG_FILES call.
19828 * configure: Regenerated.
19831 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19833 (testout): Likewise.
19835 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19836 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19837 $(rtld-installed-name).
19838 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19839 (rtld_installed_name): Likwise.
19840 (runit): Remove function.
19841 (run_getconf): New variable, Use it for running getconf binary.
19843 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19846 * string/test-memmem.c (check_result): New function.
19847 (do_one_test): Use it.
19848 (check1): New function.
19849 (test_main): Use it.
19851 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19853 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19855 2012-10-18 Joseph Myers <joseph@codesourcery.com>
19857 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19858 (_G_LSEEK64): Likewise.
19859 (_G_MMAP64): Likewise.
19860 (_G_FSTAT64): Likewise.
19861 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19862 (_G_LSEEK64): Likewise.
19863 (_G_MMAP64): Likewise.
19864 (_G_FSTAT64): Likewise.
19865 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19866 unconditional. Call __mmap64 directly.
19867 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19868 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19869 __lseek64 directly.
19870 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19871 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19873 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19874 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19875 __lseek64 directly.
19876 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19877 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19878 __lseek64 directly.
19879 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19880 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19881 __lseek64 directly.
19882 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19883 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19884 __fxstat64 directly.
19885 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19886 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19888 (freopen64) [!_G_OPEN64]: Remove conditional code.
19889 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19891 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19892 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19894 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19895 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19897 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19898 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19900 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19901 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19903 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19904 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19906 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19907 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19909 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19911 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19914 * manual/memory.texi (Malloc Tunable Parameters): Add note
19915 about free list pointers overwriting some perturb bytes.
19916 Wording suggested by Roland McGrath.
19918 2012-10-17 Joseph Myers <joseph@codesourcery.com>
19920 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19921 (lgamma_test): Likewise.
19922 (tgamma_test): Likewise.
19924 2012-10-16 Florian Weimer <fweimer@redhat.com>
19927 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19928 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19930 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19932 * NEWS: Mention BZ #14716.
19933 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19934 when removing AVAILABLE1_USES_J macro.
19936 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19938 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19939 (__bswap_64): __uint64_t for unsigned 64-bit int.
19941 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19943 * include/string.h (memmem): Declare libc hidden alias.
19944 * string/memmem.c (memmem): Define libc hidden alias.
19945 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19946 __read, __close instead of open, read, close.
19948 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19950 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19951 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19953 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19954 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19955 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19957 (__rawmemchr_sse2): Likewise.
19958 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19959 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19960 (__strchr_sse2): Likewise.
19961 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19962 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19963 (__strcasecmp_sse2): Likewise.
19964 (__strncasecmp_sse2): Likewise.
19965 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19966 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19967 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19968 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19969 (__strrchr_sse2): Likewise.
19970 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19972 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19973 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19974 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19975 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19976 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19977 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19978 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19979 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19980 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19981 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19982 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19983 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19984 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19985 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19986 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19987 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19988 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19989 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19990 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19991 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19992 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19993 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19994 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19995 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19996 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19997 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19998 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19999 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20000 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20001 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20003 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20005 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20006 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20007 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20008 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20010 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20012 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20013 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20014 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20015 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20017 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20018 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20019 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20020 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20021 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20022 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20023 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20024 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20025 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20026 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20027 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20028 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20029 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20030 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20031 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20032 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20033 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20034 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20035 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20036 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20037 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20038 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20039 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20040 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20041 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20042 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20043 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20044 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20045 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20046 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20047 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20048 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20049 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20050 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20051 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20052 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20053 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20054 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20055 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20056 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20057 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20059 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20060 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20061 * include/ifunc-impl-list.h: New file.
20062 * misc/ifunc-impl-list.c: Likewise.
20063 * misc/Makefile (routines): Add ifunc-impl-list.
20064 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20065 * string/test-string.h: Include <ifunc-impl-list.h>.
20066 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20067 impl_array): New variables.
20068 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20070 (test_init): Call __libc_ifunc_impl_list to initialize
20071 func_list if TEST_IFUNC and TEST_NAME are defined.
20073 * string/Makefile (strop-tests): Add bcopy and bzero.
20074 * string/test-bcopy.c: New file.
20075 * string/test-bzero.c: Likewise.
20076 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20078 * string/test-memset.c: Support bzero test if TEST_BZERO is
20080 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20082 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20084 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20087 2012-10-10 Joseph Myers <joseph@codesourcery.com>
20089 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20090 * configure: Regenerated.
20092 * Makeconfig (+link-static-before-libc): Don't include
20093 $(link-static-libc).
20095 * libio/libio.h (_IO_pos_t): Remove.
20097 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20099 * NEWS: Add note about FIPS mode. Wording suggested by Roland
20102 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20104 * crypt/crypt-entry.c: Include fips-private.h.
20105 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20106 * crypt/md5c-test.c (main): Tolerate disabled MD5.
20107 * sysdeps/unix/sysv/linux/fips-private.h: New file.
20108 * sysdeps/generic/fips-private.h: New file, dummy fallback.
20110 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20112 * crypt/crypt-private.h: Include stdbool.h.
20113 (_ufc_setup_salt_r): Return bool.
20114 * crypt/crypt-entry.c: Include errno.h.
20115 (__crypt_r): Return NULL with EINVAL for bad salt.
20116 * crypt/crypt_util.c (bad_for_salt): New.
20117 (_ufc_setup_salt_r): Check that salt is long enough and within
20118 the specified alphabet.
20119 * crypt/badsalttest.c: New file.
20120 * crypt/Makefile (tests): Add it.
20121 ($(objpfx)badsalttest): New.
20123 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
20125 * NEWS: Add entry for BZ #14602.
20127 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20129 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20131 * math/libm-test.inc: Update comment listing what functions and
20133 (isgreater_test): New function.
20134 (isgreaterequal_test): Likewise.
20135 (isless_test): Likewise.
20136 (islessequal_test): Likewise.
20137 (islessgreater_test): Likewise.
20138 (isunordered_test): Likewise.
20139 (main): Call the new functions.
20141 2012-10-09 Roland McGrath <roland@hack.frob.com>
20143 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20144 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20145 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20146 * sysdeps/i386/configure: Regenerated.
20147 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20148 * sysdeps/mach/configure: Regenerated.
20149 * sysdeps/mach/hurd/configure: Regenerated.
20150 * sysdeps/powerpc/configure: Regenerated.
20151 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20152 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20153 * sysdeps/s390/s390-32/configure: Regenerated.
20154 * sysdeps/s390/s390-64/configure: Regenerated.
20155 * sysdeps/sh/configure: Regenerated.
20156 * sysdeps/sparc/configure: Regenerated.
20157 * sysdeps/unix/sysv/linux/configure: Regenerated.
20158 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20159 * sysdeps/x86_64/configure: Regenerated.
20161 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20162 defined. Don't check if MAP is NULL.
20164 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20166 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20167 (_G_stat64): Likewise.
20168 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20169 (_G_stat64): Likewise.
20170 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20171 instead of struct _G_stat64.
20172 * libio/fileops.c (mmap_remap_check): Likewise.
20173 (decide_maybe_mmap): Likewise.
20174 (_IO_new_file_seekoff): Likewise.
20175 (_IO_file_stat): Likewise.
20176 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20178 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20179 instead of struct _G_stat64.
20180 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20182 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20185 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20187 (CHECK_EOL): New macro.
20188 (two_way_short_needle): Check beginning of haystack for EOL. Use
20190 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20191 Replace with CHECK_EOL.
20192 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20193 Replace with CHECK_EOL.
20195 2012-10-08 Joseph Myers <joseph@codesourcery.com>
20197 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20199 * math/libm-test.inc: Update comment listing what functions and
20201 (finite_test): New function.
20202 (isinf_test): Likewise.
20203 (isnan_test): Likewise.
20204 (fpclassify_test): Test subnormal input.
20205 (isfinite_test): Likewise.
20206 (isnormal_test): Likewise.
20207 (main): Call the new functions.
20209 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20212 * Makerules (%.dynsym): Force C locale when running
20213 $(OBJDUMP) --dynamic-syms.
20215 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20217 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20220 2012-10-06 David S. Miller <davem@davemloft.net>
20222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20223 upper 32-bits of the length value in %o2 since we use branch-on-register
20224 tests which consider the entire 64-bit register.
20226 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20228 * string/test-strstr.c (check2): Add a test for page boundary.
20230 2012-10-05 David S. Miller <davem@davemloft.net>
20232 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20233 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20235 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20237 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20238 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20239 and bzero when HWCAP_SPARC_CRYPTO is present.
20241 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20244 * string/test-strstr.c (check2): New function.
20245 (test_main): Call check2.
20247 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20249 * string/bug-strcasestr1.c (do_test): Moved to ...
20250 * string/test-strcasestr.c (check1): Here. New function.
20251 (do_one_test): Break out result checking code into ...
20252 (check_result): This. New function.
20253 (do_one_test): Call check_result.
20254 (test_main): Call check1.
20255 * string/bug-strchr1.c (do_test): Moved to ...
20256 * string/test-strchr.c (check1): Here. New function.
20257 (do_one_test): Break out result checking code into ...
20258 (check_result): This. New function.
20259 (do_one_test): Call check_result.
20260 (test_main): Call check1.
20261 * string/bug-strstr1.c (main): Moved to ...
20262 * string/test-strstr.c (check1): Here. New function.
20263 (do_one_test): Break out result checking code into ...
20264 (check_result): This. New function.
20265 (do_one_test): Call check_result.
20266 (test_main): Call check1.
20267 * string/bug-strcasestr1.c: Removed.
20268 * string/bug-strchr1.c: Likewise.
20269 * string/bug-strstr1.c: Likewise.
20271 * elf/Makefile (dl-routines): Add hwcaps.
20272 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20273 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20274 (_dl_important_hwcaps): Moved to ...
20275 * elf/dl-hwcaps.c: Here. New file.
20276 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20279 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20280 if IS_IN_rtld isn't defined.
20282 * elf/dl-support.c (_dl_sysinfo_map): New.
20283 Include "get-dynamic-info.h" and "setup-vdso.h".
20284 (_dl_non_dynamic_init): Call setup_vdso.
20285 * elf/dynamic-link.h: Don't include <assert.h>.
20286 (elf_get_dynamic_info): Moved to ...
20287 * elf/get-dynamic-info.h: Here. New file.
20288 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20289 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20290 * elf/setup-vdso.h: Here. New file.
20291 * elf/rtld.c: Include "setup-vdso.h".
20292 (dl_main): Call setup_vdso.
20294 2012-10-05 Joseph Myers <joseph@codesourcery.com>
20296 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20297 creal in comment listing functions tested. List finite, isinf,
20298 isnan, isless, islessequal, isgreater, isgreaterequal,
20299 islessgreater, isunordered, lgamma_r and pow10 as functions and
20300 macros not tested. Mention which functions not tested are aliases
20301 for other functions. Fix typo. Note that signs of NaNs are not
20304 * scripts/config.guess: Update from config.git.
20305 * scripts/config.sub: Likewise.
20307 2012-10-04 Roland McGrath <roland@hack.frob.com>
20309 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20310 * misc/madvise.c (madvise): Renamed to __madvise.
20311 Make madvise a weak alias.
20312 * include/sys/mman.h: Declare __madvise.
20313 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20314 * sysdeps/unix/syscalls.list
20315 (madvise): Make __madvise the strong name, and madvise a weak alias.
20316 * sysdeps/unix/sysv/linux/syscalls.list
20317 (madvise, mmap): Remove redundant entries.
20318 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20319 * malloc/malloc.c (mtrim): Likewise.
20320 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20322 2012-10-03 Roland McGrath <roland@hack.frob.com>
20324 * sysdeps/mach/hurd/dl-cache.c: File removed.
20325 * config.h.in (USE_LDCONFIG): New #undef.
20326 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20327 * configure: Regenerated.
20328 * elf/Makefile (dl-routines): Add dl-cache only under
20329 [$(use-ldconfig) = yes].
20330 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20331 cache on [USE_LDCONFIG].
20332 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20334 * elf/rtld.c (dl_main): Likewise.
20336 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20338 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20339 _SC_LEVEL4_CACHE_LINESIZE.
20341 2012-10-03 Roland McGrath <roland@hack.frob.com>
20343 * sysdeps/unix/bsd/confstr.h: File removed.
20345 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
20347 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20350 2012-10-02 Roland McGrath <roland@hack.frob.com>
20352 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20353 Make 'mapoff' field ElfW(Off) rather than off_t.
20355 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20357 * nscd/Makefile: Remove nscd-cflags and all its users.
20358 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20359 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20362 * malloc.c (malloc_printerr): Clarify error message.
20364 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20368 Set bit_FMA_Usable if FMA is supported.
20369 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20371 (bit_FMA4_Usable): Updated.
20372 (index_FMA_Usable): New macro.
20373 (CPUID_FMA): Likewise
20374 (HAS_FMA): Defined with bit_FMA_Usable.
20376 2012-10-01 Roland McGrath <roland@hack.frob.com>
20378 * bits/types.h (__swblk_t): Type removed.
20379 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20380 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20381 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20382 (__SWBLK_T_TYPE): Likewise.
20383 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20384 (__SWBLK_T_TYPE): Likewise.
20385 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20386 (__SWBLK_T_TYPE): Likewise.
20387 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20388 (__SWBLK_T_TYPE): Likewise.
20390 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
20391 Honza Horak <hhorak@redhat.com>
20393 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20394 (xdr_mapname): Use YPMAXMAP as maxsize.
20395 (xdr_peername): Use YPMAXPEER as maxsize.
20396 (xdr_keydat): Use YPAXRECORD as maxsize.
20397 (xdr_valdat): Use YPMAXRECORD as maxsize.
20399 2012-10-01 Roland McGrath <roland@hack.frob.com>
20401 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20403 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20404 * csu/init-first.c: ... here.
20405 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20406 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20407 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20408 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20409 * sysdeps/i386/init-first.c: File removed.
20410 * sysdeps/sh/init-first.c: File removed.
20412 2012-10-01 Joseph Myers <joseph@codesourcery.com>
20415 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20416 if x * y might underflow to zero and z is zero.
20417 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20418 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20419 * math/libm-test.inc (min_subnorm_value): New variable.
20420 (fma_test): Add more tests.
20421 (fma_test_towardzero): Likewise.
20422 (fma_test_downward): Likewise
20423 (fma_test_upward): Likewise.
20424 (initialize): Set min_subnorm_value.
20426 2012-09-29 Joseph Myers <joseph@codesourcery.com>
20429 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20431 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20432 mode for addition resulting in exact zero.
20433 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20434 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20436 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20437 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20438 * math/libm-test.inc (fma_test): Add more tests.
20439 (fma_test_towardzero): New function.
20440 (fma_test_downward): Likewise.
20441 (fma_test_upward): Likewise.
20442 (main): Call the new functions.
20444 2012-09-28 David S. Miller <davem@davemloft.net>
20446 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20448 2012-09-28 Roland McGrath <roland@hack.frob.com>
20450 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20451 instead of SIGALRM.
20453 * sysdeps/gnu/_G_config.h: Moved to ...
20454 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20455 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20456 * sysdeps/generic/_G_config.h: ... here.
20458 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20460 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20462 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20463 Conditionalize target on [libnss_test1.so-version].
20465 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20467 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20468 (elfobjdir): Move out of conditionals.
20470 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20471 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20472 (__nss_lookup_function): Conditionalize label remove_from_tree on
20473 [!DO_STATIC_NSS || SHARED], matching its only use.
20475 2012-09-28 David S. Miller <davem@davemloft.net>
20477 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20478 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20480 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20482 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20483 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20484 when HWCAP_SPARC_CRYPTO is present.
20486 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20488 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20490 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20493 * stdio-common/vfprintf.c (process_string_arg): Revert
20496 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20498 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20500 * stdio-common/tst-sprintf.c: Include <locale.h>
20501 (main): Test sprintf's handling of incomplete multibyte
20504 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20506 * elf/dl-runtime.c (VERSYMIDX): Removed.
20507 * elf/dl-version.c (VERSYMIDX): Likewise.
20508 * elf/do-rel.h (VERSYMIDX): Likewise.
20509 (VALIDX): Likewise.
20510 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20511 * elf/rtld.c (VALIDX): Likewise.
20512 (ADDRIDX): Likewise.
20513 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20514 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20515 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
20516 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20517 (VALIDX): Likewise.
20518 (ADDRIDX): Likewise.
20520 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20522 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20524 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20527 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20529 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20530 addresses are in the same scope as 192.0.2/24.
20531 * posix/gai.conf: Document new scope table defaults.
20533 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20536 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20537 for ftell. Compute offsets from write pointers instead.
20538 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20540 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20543 * libio/Makefile (tests): New test case tst-fseek.
20544 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20545 combination works in wide mode.
20546 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20547 state when the external buffer state changes.
20549 2012-09-27 David S. Miller <davem@davemloft.net>
20552 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20553 pass reloc->r_addend in as the 'high' argument to
20554 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20558 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20560 * rt/tst-aio2.c: Include <pthread.h>.
20561 * rt/tst-aio3.c: Likewise.
20563 2012-09-27 Steve Ellcey <sellcey@mips.com>
20565 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20567 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20569 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20570 contents on [SHARED].
20572 2012-09-26 Marek Polacek <polacek@redhat.com>
20576 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20577 for C++ and GCC <4.3 as well as for non GCC compilers.
20579 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20583 2012-09-25 Roland McGrath <roland@hack.frob.com>
20585 * Makefile.in (all, install): Declare with .PHONY.
20586 Reported by Michael Hope <michael.hope@linaro.org>.
20588 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20590 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20591 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20593 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20595 (sydep_routines): Add the new and the internal functions.
20596 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20597 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20599 (GLIBC_2.17): Add the new function.
20600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20601 (GLIBC_2.17): Likewise.
20602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20603 (GLIBC_2.17): Likewise.
20604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20605 (GLIBC_2.17): Likewise.
20606 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20608 2012-09-25 Alan Modra <amodra@gmail.com>
20610 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20611 Add release barrier before setting once_control to say
20612 initialisation is done. Add hints on lwarx. Use macro in
20614 (clear_once_control): Add release barrier.
20616 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20619 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20621 * math/s_clog10.c (__clog10): Likewise.
20622 * math/s_clog10f.c (__clog10f): Likewise.
20623 * math/s_clog10l.c (__clog10l): Likewise.
20624 * math/s_clogf.c (__clogf): Likewise.
20625 * math/s_clogl.c (__clogl): Likewise.
20626 * math/Makefile (libm-calls): Add x2y2m1.
20627 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20628 (__x2y2m1): Likewise.
20629 (__x2y2m1l): Likewise.
20630 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20631 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20632 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20633 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20634 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20635 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20636 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20637 * sysdeps/i386/fpu/libm-test-ulps: Update.
20638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20641 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20642 int as type of variable DEPTH.
20643 (glob): Use size_t instead of int as type of variables NEWCOUNT
20646 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20648 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20649 Add s_sincosf-sse2.
20650 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20651 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20652 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20653 macros for using routine as __sincosf_ia32.
20654 Use macro for function declaration and weak_alias.
20655 * sysdeps/i386/fpu/libm-test-ulps: Update.
20657 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20660 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
20661 subnormal argument.
20662 * math/s_cexpf.c (__cexpf): Likewise.
20663 * math/s_csinf.c (__csinf): Likewise.
20664 * math/s_csinhf.c (__csinhf): Likewise.
20665 * math/s_ctanf.c (__ctanf): Likewise.
20666 * math/s_ctanhf.c (__ctanhf): Likewise.
20667 * math/s_ccosh.c (__ccoshf): Likewise.
20668 * math/s_cexp.c (__cexpl): Likewise.
20669 * math/s_csin.c (__csin): Likewise.
20670 * math/s_csinh.c (__csinh): Likewise.
20671 * math/s_ctan.c (__ctan): Likewise.
20672 * math/s_ctanh.c (ctanh): Likewise.
20673 * math/s_ccoshl.c (__ccoshl): Likewise.
20674 * math/s_cexpl.c (__cexpl): Likewise.
20675 * math/s_csinl.c (__csinl): Likewise.
20676 * math/s_csinhl.c (__csinhl): Likewise.
20677 * math/s_ctanl.c (__ctanl): Likewise.
20678 * math/s_ctanhl.c (__ctanhl): Likewise.
20680 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20682 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20683 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20684 (_IO_off_t): Define to __off_t, not _G_off_t.
20685 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20686 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20687 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20688 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20689 type of __dummy and __dummy2 fields.
20690 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20691 (_G_ssize_t): Likewise.
20692 (_G_off_t): Likewise.
20693 (_G_pid_t): Likewise.
20694 (_G_uid_t): Likewise.
20695 (_G_wchar_t): Likewise.
20696 (_G_wint_t): Likewise.
20697 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20698 (_G_ssize_t): Likewise.
20699 (_G_off_t): Likewise.
20700 (_G_pid_t): Likewise.
20701 (_G_uid_t): Likewise.
20702 (_G_wchar_t): Likewise.
20703 (_G_wint_t): Likewise.
20704 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20705 (_G_ssize_t): Likewise.
20706 (_G_off_t): Likewise.
20707 (_G_pid_t): Likewise.
20708 (_G_uid_t): Likewise.
20709 (_G_wchar_t): Likewise.
20710 (_G_wint_t): Likewise.
20712 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20714 * malloc/arena.c: Include malloc-sysdep.h.
20715 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20716 is sufficient to shrink the heap or an unmap is needed.
20717 * sysdeps/generic/malloc-sysdep.h: New file. Define
20718 new function check_may_shrink_heap.
20719 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20720 new function check_may_shrink_heap.
20722 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20724 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20727 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20729 * catgets/test-gencat.sh: Add "set -e".
20730 * elf/tst-pathopt.sh: Likewise.
20731 * grp/tst_fgetgrent.sh: Likewise.
20732 * iconvdata/run-iconv-test.sh: Likewise.
20733 * intl/tst-gettext.sh: Likewise.
20734 * intl/tst-gettext2.sh: Likewise.
20735 * intl/tst-gettext4.sh: Likewise.
20736 * intl/tst-gettext6.sh: Likewise.
20737 * intl/tst-translit.sh: Likewise.
20738 * io/ftwtest-sh: Likewise.
20739 * libio/test-freopen.sh: Likewise.
20740 * malloc/tst-mtrace.sh: Likewise.
20741 * posix/globtest.sh: Likewise.
20742 * posix/tst-getconf.sh: Likewise.
20743 * posix/wordexp-tst.sh: Likewise.
20744 * stdio-common/tst-printf.sh: Likewise.
20745 * stdio-common/tst-unbputc.sh: Likewise.
20746 * stdlib/tst-fmtmsg.sh: Likewise.
20747 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20748 * catgets/Makefile: Do not specify -e option when running
20749 testsuite shell scripts.
20750 * elf/Makefile: Likewise.
20751 * grp/Makefile: Likewise.
20752 * iconvdata/Makefile: Likewise.
20753 * intl/Makefile: Likewise.
20754 * io/Makefile: Likewise.
20755 * libio/Makefile: Likewise.
20756 * malloc/Makefile: Likewise.
20757 * posix/Makefile: Likewise.
20758 * stdio-common/Makefile: Likewise.
20759 * stdlib/Makefile: Likewise.
20760 * sysdeps/x86_64/Makefile: Likewise.
20762 * io/ftwtest-sh: Add copyright header.
20763 * posix/globtest.sh: Likewise.
20764 * posix/tst-getconf.sh: Likewise.
20765 * posix/wordexp-tst.sh: Likewise.
20766 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20768 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20771 * Makeconfig (+link): Defined as $(+link-static) if
20772 $(build-shared) isn't yes.
20773 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20775 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20777 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20780 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20781 new chunk size with MALLOC_ALIGN_MASK.
20783 2012-09-24 Joseph Myers <joseph@codesourcery.com>
20786 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20788 (__printf_fphex): Determine rounding using get_rounding_mode and
20790 * stdio-common/tst-printf-round.c (struct hex_test): New
20792 (hex_tests): New variable.
20793 (test_hex_in_one_mode): New function.
20794 (do_test): Also run tests for hex float output.
20796 2012-09-21 Joseph Myers <joseph@codesourcery.com>
20798 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20799 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20800 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20801 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20802 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20803 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20804 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20805 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20807 2012-09-20 Joseph Myers <joseph@codesourcery.com>
20809 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20810 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20811 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20812 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20814 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20817 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20819 * elf/tst-rtld-load-self.sh: New test.
20820 * elf/Makefile: Run it.
20822 2012-09-18 Joseph Myers <joseph@codesourcery.com>
20824 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20825 (tst-writev-ENV): Remove.
20826 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20828 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20830 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20832 2012-09-17 Joseph Myers <joseph@codesourcery.com>
20834 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20836 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20838 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20839 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20840 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20843 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20846 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20847 * config.make.in (have-cpp-asm-debuginfo): Removed.
20848 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20849 * configure: Regenerated.
20851 2012-09-14 Joseph Myers <joseph@codesourcery.com>
20854 * stdio-common/printf_fp.c: Include <stdbool.h> and
20856 (___printf_fp): Determine rounding using get_rounding_mode and
20858 * stdio-common/tst-printf-round.c: New file.
20859 * stdio-common/Makefile (tests): Add tst-printf-round.
20860 (link-libm): New variable.
20861 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20863 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20866 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20867 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20869 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20872 2012-09-13 Joseph Myers <joseph@codesourcery.com>
20874 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20875 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20876 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20877 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20879 2012-09-12 Joseph Myers <joseph@codesourcery.com>
20882 * include/rounding-mode.h: New file.
20883 * sysdeps/generic/get-rounding-mode.h: Likewise.
20884 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20885 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20886 (MAX_VALUE): New macro.
20887 (MIN_VALUE): Likewise.
20888 (overflow_value): New function.
20889 (underflow_value): Likewise.
20890 (round_and_return): Use overflow_value and underflow_value to
20891 determine return values in overflow and underflow cases. Use
20892 round_away to determine rounding depending on rounding mode.
20893 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20894 determine return values in overflow and underflow cases.
20895 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20896 (struct test_results): New structure.
20897 (struct test): Use struct test_results to store expected results
20898 for all rounding modes.
20899 (TEST): Include expected results for all rounding modes.
20900 (test_in_one_mode): New function.
20901 (do_test): Use test_in_one_mode to compute and check results.
20902 Check results for all rounding modes.
20903 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20906 2012-12-09 Allan McRae <allan@archlinux.org>
20908 * sysdeps/i386/fpu/libm-test-ulps: Update
20910 2012-09-11 Joseph Myers <joseph@codesourcery.com>
20912 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20913 (_G_int32_t): Likewise.
20914 (_G_uint16_t): Likewise.
20915 (_G_uint32_t): Likewise.
20916 (_G_HAVE_BOOL): Likewise.
20917 (_G_HAVE_ATEXIT): Likewise.
20918 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20919 (_G_HAVE_IO_FILE_OPEN): Likewise.
20920 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20921 (_G_int32_t): Likewise.
20922 (_G_uint16_t): Likewise.
20923 (_G_uint32_t): Likewise.
20924 (_G_HAVE_BOOL): Likewise.
20925 (_G_HAVE_ATEXIT): Likewise.
20926 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20927 (_G_HAVE_IO_FILE_OPEN): Likewise.
20928 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20929 (_G_int32_t): Likewise.
20930 (_G_uint16_t): Likewise.
20931 (_G_uint32_t): Likewise.
20932 (_G_HAVE_BOOL): Likewise.
20933 (_G_HAVE_ATEXIT): Likewise.
20934 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20935 (_G_HAVE_IO_FILE_OPEN): Likewise.
20937 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20939 * csu/libc-tls.c: Update copyright years.
20941 2012-09-10 Joseph Myers <joseph@codesourcery.com>
20943 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20944 [!_G_USING_THUNKS]: Remove conditional code.
20945 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20946 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20948 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20949 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20950 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20951 (_G_VTABLE_LABEL_PREFIX): Likewise.
20952 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20953 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20954 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20955 (_G_VTABLE_LABEL_PREFIX): Likewise.
20956 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20957 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20958 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20959 (_G_VTABLE_LABEL_PREFIX): Likewise.
20960 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20962 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20964 * libio/Makefile: Include ../Makeconfig before tests.
20965 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20966 only if $(build-shared) is yes.
20968 * iconv/gconv_db.c: Update copyright years.
20970 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20972 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20973 unwind info if defined PIC. Fix special cases description.
20974 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20976 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20978 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20980 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20982 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20984 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20987 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20988 (LDLIBS-tst-chk4): This.
20989 (LDFLAGS-tst-chk5): Renamed to ...
20990 (LDLIBS-tst-chk5): This.
20991 (LDFLAGS-tst-chk6): Renamed to ...
20992 (LDLIBS-tst-chk6): This.
20993 (LDFLAGS-tst-lfschk4): Renamed to ...
20994 (LDLIBS-tst-lfschk4): This.
20995 (LDFLAGS-tst-lfschk5): Renamed to ...
20996 (LDLIBS-tst-lfschk5): This.
20997 (LDFLAGS-tst-lfschk6): Renamed to ...
20998 (LDLIBS-tst-lfschk6): This.
21000 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21001 on $(common-objpfx)soversions.mk.
21003 2012-09-07 Joseph Myers <joseph@codesourcery.com>
21006 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21009 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21011 * malloc/arena.c (arena_get_retry): New function that gets
21012 another arena for the caller to try its request on.
21013 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21014 current arena cannot fulfill the request.
21015 (__libc_memalign): Likewise.
21016 (__libc_memalign): Likewise.
21017 (__libc_pvalloc): Likewise.
21018 (__libc_calloc): Likewise.
21020 2012-09-05 John Tobey <john.tobey@gmail.com>
21023 * manual/arith.texi (Operations on Complex): Fix description
21024 of carg branch cut.
21026 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21029 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21033 * manual/memory.texi (Memory): Make order of menu items match
21036 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21038 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21039 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
21040 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21042 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21044 * csu/libc-tls.c (static_dtv): Renamed to ...
21045 (_dl_static_dtv): This. Make it global.
21046 (_dl_initial_dtv): Removed.
21047 (__libc_setup_tls): Updated.
21048 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21049 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21052 2012-09-06 Petr Machata <pmachata@redhat.com>
21054 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21055 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21056 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21057 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21059 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21062 * csu/libc-tls.c (_dl_initial_dtv): New variable.
21063 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21066 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21069 * Makeconfig (link-static-before-libc): Replace $(+prector)
21071 (link-static-after-libc): Replace $(+postctor) with
21073 (link-bounded): Replace $(+prector)/$(+postctor) with
21074 $(+prectorT)/$(+postctorT).
21075 (+prectorT): New macro.
21076 (+postctorT): Likewise.
21078 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21080 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21081 (round_str): Handle values above the maximum for IBM long double
21083 * stdlib/tst-strtod-round.c (tests): Regenerated.
21085 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21087 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21089 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21090 zarch_nohighgprs around the zarch optimized routines.
21091 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21092 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21093 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21096 2012-09-05 David S. Miller <davem@davemloft.net>
21098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21100 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21101 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21102 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21103 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21106 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21108 * malloc/arena.c: Fold copyright years.
21109 * malloc/mcheck.c, malloc/memusage.c: Likewise.
21111 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21113 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21115 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21117 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
21119 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21121 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21122 change internal state upon failure.
21124 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21126 * malloc/mcheck.c (mcheck_check_all): Fix typo.
21127 * malloc/memusage.c (mmap): Likewise.
21128 (mmap64, mremap): Likewise. Adjust name in comment.
21130 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21132 * libio/fileops.c: Fix typos in comments.
21133 * libio/oldfileops.c: Likewise.
21134 * libio/wfileops.c: Likewise.
21136 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21139 * malloc/Makefile (tests): Add tst-malloc-usable test case.
21140 (tst-malloc-usable-ENV): Set environment for test case.
21141 * malloc/hooks.c (malloc_check_get_size): New function to get
21143 * malloc/malloc.c (musable): Use malloc_check_get_size.
21144 * malloc/tst-malloc-usable.c: New test case.
21146 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21148 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21150 2012-09-05 Allan McRae <allan@archlinux.org>
21153 * configure.in (CXX_SYSINCLUDES): Use compiler output to
21154 determine header location.
21155 * configure: Regenerated.
21157 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21159 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21161 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
21162 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21164 (test): Regenerate.
21166 2012-09-04 David S. Miller <davem@davemloft.net>
21168 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21169 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21170 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21172 2012-09-04 Florian Weimer <fweimer@redhat.com>
21174 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21177 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21179 2012-09-04 Joseph Myers <joseph@codesourcery.com>
21182 * libio/iogetdelim.c: Include <limits.h>.
21183 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21184 + len + 1 would overflow.
21186 2012-09-03 Andreas Jaeger <aj@suse.de>
21188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21189 * sysdeps/i386/fpu/libm-test-ulps: Update.
21191 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21193 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21194 Add s_sinf-sse2, s_conf-sse2.
21196 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21197 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21198 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21199 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21201 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21202 for using routine as __sinf_ia32.
21203 Use macro for function declaration and weak_alias.
21204 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21205 for using routine as __cosf_ia32.
21206 Use macro for function declaration and weak_alias.
21208 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21209 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21211 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21212 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21215 * math/libm-test.inc (cos_test): Add more test cases.
21216 (sin_test): Likewise.
21217 (sincos_test): Likewise.
21219 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21221 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21222 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21224 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21226 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21229 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21230 first element of the GOT.
21231 (elf_machine_load_address): Return the difference between
21232 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21234 2012-09-01 Allan McRae <allan@archlinux.org>
21237 * configure.in (AWK): Require gawk version 3.0 or later.
21238 * configure: Regenerated.
21240 2012-09-01 Joseph Myers <joseph@codesourcery.com>
21242 * sysdeps/unix/sysv/linux/kernel-features.h
21243 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21244 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21245 [__NR_clock_getres]: Make code unconditional.
21246 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21247 (clock_getcpuclockid): Remove code left unreachable by removal of
21249 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21250 code unconditional.
21251 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21252 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21253 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21254 Make code unconditional.
21255 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21256 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21257 * sysdeps/unix/sysv/linux/clock_settime.c
21258 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21260 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21261 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21263 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21266 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21267 scripts/test-installation.pl.
21269 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21270 and $ld_so_version if it is set.
21272 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21275 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21276 failure if reading from procfs failed.
21277 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21279 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21281 * sysdeps/unix/sysv/linux/kernel-features.h
21282 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21283 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21284 Remove conditional code.
21285 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21286 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21287 Remove conditional code.
21288 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21289 * sysdeps/unix/sysv/linux/i386/fxstat.c
21290 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21291 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21292 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21293 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21295 * sysdeps/unix/sysv/linux/i386/lxstat.c
21296 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21297 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21298 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21299 Remove conditional code.
21300 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21301 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21302 Remove conditional code.
21303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21304 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21305 <kernel-features.h>.
21306 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21308 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21309 Remove conditional code.
21310 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21311 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21312 Remove conditional.
21314 2012-08-27 Mike Frysinger <vapier@gentoo.org>
21317 * NEWS: Add fixed bug number.
21319 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21322 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21323 underflowing exponent in case of negative sign.
21324 * stdlib/tst-strtod-round-data: Add more tests.
21325 * stdlib/tst-strtod-round.c (tests): Regenerated.
21328 * stdlib/strtod_l.c (NDIG): Remove.
21329 (HEXNDIG): Likewise.
21330 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21331 smallest representable value.
21332 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21333 lie within an exact representation of 1/2 ulp of the result.
21334 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21336 (TENS_P9_IDX): Define unconditionally.
21337 (TENS_P9_SIZE): Likewise.
21338 (TENS_P10_IDX): Likewise.
21339 (TENS_P10_SIZE): Likewise.
21340 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21341 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21342 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21343 entries for 10^2^13 and 10^2^14.
21344 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21345 (TENS_P13_IDX): Define.
21346 (TENS_P13_SIZE): Likewise.
21347 (TENS_P14_IDX): Likewise.
21348 (TENS_P14_SIZE): Likewise.
21349 (_fpioconst_pow10): Change array size to
21350 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21352 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21353 1024]: Add entries for 10^2^13 and 10^2^14.
21354 [LAST_POW10 > _LAST_POW10]: Remove #error.
21355 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21356 (_fpioconst_pow10): Change array size to
21357 FPIOCONST_POW10_ARRAY_SIZE.
21358 * stdlib/gen-fpioconst.c: New file.
21359 * stdlib/gen-tst-strtod-round.c: Likewise.
21360 * stdlib/tst-strtod-round-data: Likewise.
21361 * stdlib/tst-strtod-round.c: Likewise.
21362 * stdlib/Makefile (tests): Add tst-strtod-round.
21365 * stdlib/strtod_l.c: Include <stdint.h>.
21366 (NDEBUG): Do not define.
21367 (round_and_return): Change EXPONENT parameter to type intmax_t.
21368 Rearrange calculations to avoid internal overflow possibilities.
21369 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21370 Rearrange calculations to avoid internal overflow possibilities.
21371 Assert that number fits inside MPNSIZE limbs.
21372 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21373 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21374 calculations and add assertions to avoid internal overflow
21375 possibilities. Add casts to avoid signed/unsigned operations.
21376 * stdlib/tst-strtod-overflow.c: New file.
21377 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21379 2012-08-25 Marek Polacek <polacek@redhat.com>
21381 * time/time.h: Fix some typos in comments.
21383 2012-08-23 Roland McGrath <roland@hack.frob.com>
21385 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21386 * posix/tst-rfc3484-2.c: Likewise.
21387 * posix/tst-rfc3484-3.c: Likewise.
21389 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21391 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21392 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21394 2012-08-23 Joseph Myers <joseph@codesourcery.com>
21396 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21397 #include of fxstatat64.c.
21399 2012-08-22 Roland McGrath <roland@hack.frob.com>
21401 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21402 * shadow/getspent_r.c: Likewise.
21403 * shadow/getspnam.c: Likewise.
21404 * shadow/getspnam_r.c: Likewise.
21405 * gshadow/getsgent.c: Likewise.
21406 * gshadow/getsgent_r.c: Likewise.
21407 * gshadow/getsgnam.c: Likewise.
21408 * gshadow/getsgnam_r.c: Likewise.
21409 * inet/getnetbyad.c: Likewise.
21410 * inet/getnetbyad_r.c: Likewise.
21411 * inet/getnetbynm.c: Likewise.
21412 * inet/getnetbynm_r.c: Likewise.
21413 * inet/getnetent.c: Likewise.
21414 * inet/getnetent_r.c: Likewise.
21415 * inet/getproto.c: Likewise.
21416 * inet/getproto_r.c: Likewise.
21417 * inet/getprtent.c: Likewise.
21418 * inet/getprtent_r.c: Likewise.
21419 * inet/getprtname.c: Likewise.
21420 * inet/getprtname_r.c: Likewise.
21421 * inet/getrpcbyname.c: Likewise.
21422 * inet/getrpcbyname_r.c: Likewise.
21423 * inet/getrpcbynumber.c: Likewise.
21424 * inet/getrpcbynumber_r.c: Likewise.
21425 * inet/getrpcent.c: Likewise.
21426 * inet/getrpcent_r.c: Likewise.
21427 * inet/getaliasent.c: Likewise.
21428 * inet/getaliasent_r.c: Likewise.
21429 * inet/getaliasname.c: Likewise.
21430 * inet/getaliasname_r.c: Likewise.
21431 * nscd/getgrgid_r.c: Likewise.
21432 * nscd/getgrnam_r.c: Likewise.
21433 * nscd/gethstbyad_r.c: Likewise.
21434 * nscd/gethstbynm3_r.c: Likewise.
21435 * nscd/getpwnam_r.c: Likewise.
21436 * nscd/getpwuid_r.c: Likewise.
21437 * nscd/getsrvbynm_r.c: Likewise.
21438 * nscd/getsrvbypt_r.c: Likewise.
21439 * nscd/gai.c: Likewise.
21441 * configure.in (build_nscd): New substituted variable, set
21442 by --disable-build-nscd and defaults to $use_nscd.
21443 * configure: Regenerated.
21444 * config.make.in (build-nscd): New substituted variable.
21445 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21446 Change conditional to require [$(build-nscd) = yes] as well.
21447 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21450 * configure.in (use_nscd): New substituted variable, set by
21451 --disable-nscd. If enabled, define USE_NSCD.
21452 * configure: Regenerated.
21453 * config.h.in: Add USE_NSCD.
21454 * config.make.in (use-nscd): New substituted variable.
21455 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21456 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21457 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21458 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21459 (CFLAGS-getgrnam_r.c): Likewise.
21460 (CFLAGS-initgroups.c): Likewise.
21461 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21462 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21464 * inet/getnetgrent_r.c
21465 (nscd_setnetgrent): New function, broken out of ...
21466 (setnetgrent): ... here. Call it.
21467 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21468 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21469 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21470 * nscd/Makefile (routines, aux): Move definitions after include of
21471 Makeconfig. Conditionalize on [$(use-nscd) != no].
21472 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21473 Conditionalize on [USE_NSCD].
21474 (is_nscd, nscd_init_cb): Likewise.
21475 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21476 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21477 * nss/nss_db/db-init.c: Likewise.
21478 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21480 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21481 (make_request): Use it.
21482 (cache_valid_p): New function.
21483 (__check_pf): Use it.
21484 * NEWS: Add item for --disable-nscd.
21486 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21488 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21489 to support sed >= 4.2.1-20-ga9bf076.
21490 * configure: Regenerated.
21492 2012-08-22 Roland McGrath <roland@hack.frob.com>
21494 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21495 Conditionalize whole body on [IREL].
21497 2012-08-22 Jeff Law <law@redhat.com>
21500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21501 if the family is PF_UNSPEC.
21503 2012-08-22 Mike Frysinger <vapier@gentoo.org>
21505 * Makerules (lib-version): Rename from V.
21506 (install-lib-nosubdir): Change V to lib-version.
21508 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21511 * powerpc32/power6/wcschr.c: New file.
21512 * powerpc32/power6/wcscpy.c: New file.
21513 * powerpc32/power6/wcsrchr.c: New file.
21514 * powerpc64/power6/wcschr.c: New file.
21515 * powerpc64/power6/wcscpy.c: New file.
21516 * powerpc64/power6/wcsrchr.c: New file.
21518 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21520 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21521 (two_way_short_needle): Use it.
21522 * string/strstr.c (AVAILABLE1_USES_J): Define.
21523 * string/strcasestr.c: Likewise.
21525 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21527 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21530 * NEWS: Add an entry.
21531 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21532 define their defaults.
21533 (two_way_short_needle): Detect end-of-string on-the-fly.
21534 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21535 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21536 * string/bug-strcasestr1.c: New test.
21537 * string/Makefile: Run it.
21539 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21542 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21543 the first character.
21545 2012-08-21 Roland McGrath <roland@hack.frob.com>
21547 * csu/elf-init.c (__libc_csu_irel): Function removed.
21548 * csu/libc-start.c (apply_irel): New function.
21549 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21551 2012-08-21 Joseph Myers <joseph@codesourcery.com>
21553 * sysdeps/unix/sysv/linux/kernel-features.h
21554 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21555 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21556 <kernel-features.h>.
21557 [__NR_fadvise64_64]: Make code unconditional.
21558 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21559 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21560 !__NR_fadvise64_64)]: Likewise.
21561 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21562 !__NR_fadvise64_64))]: Likewise.
21563 [__NR_fadvise64]: Make code unconditional.
21564 [!__NR_fadvise64]: Remove conditional code.
21565 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21566 <kernel-features.h>.
21567 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21569 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21572 not include <kernel-features.h>.
21573 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21575 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21577 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21578 include <kernel-features.h>.
21579 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21581 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21584 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21586 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21587 slight instruction rearrangements per scrollpipe analysis.
21588 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21590 2012-08-20 Roland McGrath <roland@hack.frob.com>
21592 * manual/syslog.texi (syslog; vsyslog, closelog):
21593 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21594 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21596 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21597 DSOCAPS to match condition on defining it.
21599 2012-08-20 Joseph Myers <joseph@codesourcery.com>
21601 * sysdeps/unix/sysv/linux/kernel-features.h
21602 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21604 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21605 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21607 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21608 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21610 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21611 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21613 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21614 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21616 * sysdeps/unix/sysv/linux/kernel-features.h
21617 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21618 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21620 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21621 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21622 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21623 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21624 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21625 Make code unconditional.
21626 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21627 (__mmap64) [!__NR_mmap2]: Likewise.
21628 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21629 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21630 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21631 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21632 [__NR_mmap2]: Make code unconditional.
21633 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21634 (__mmap64) [!__NR_mmap2]: Likewise.
21636 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21638 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21640 2012-08-18 Andreas Jaeger <aj@suse.de>
21642 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21644 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21646 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21647 * include/unistd.h (__have_sock_cloexec): Likewise.
21648 (__have_pipe2): Likewise.
21649 (__have_dup3): Likewise.
21651 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21654 * include/unistd.h (__have_pipe2): Change define into an extern int.
21655 (__have_dup3): Likewise.
21656 * socket/have_sock_cloexec.c: Include fcntl.h.
21657 (__have_pipe2): New variable.
21658 (__have_dup3): Likewise.
21660 2012-08-17 Mike Frysinger <vapier@gentoo.org>
21662 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21664 2012-08-17 Marek Polacek <polacek@redhat.com>
21666 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21667 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21669 2012-08-17 Roland McGrath <roland@hack.frob.com>
21671 * configure.in: Add AC_SUBST for sysheaders.
21672 * configure: Regenerated.
21673 * config.make.in (sysheaders): New substituted variable.
21675 * sysdeps/unix/mkfifo.c: Moved ...
21676 * sysdeps/posix/mkfifo.c: ... here.
21677 * sysdeps/unix/mkfifoat.c: Moved ...
21678 * sysdeps/posix/mkfifoat.c: ... here.
21680 * sysdeps/unix/utime.c: Moved ...
21681 * sysdeps/posix/utime.c: ... here.
21683 * sysdeps/unix/time.c: Moved ...
21684 * sysdeps/posix/time.c: ... here.
21685 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21686 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
21688 * sysdeps/unix/nice.c: Moved ...
21689 * sysdeps/posix/nice.c: ... here.
21691 * sysdeps/unix/alarm.c: Moved ...
21692 * sysdeps/posix/alarm.c: ... here.
21694 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21696 2012-08-17 Jeff Law <law@redhat.com>
21698 * intl/Makefile (codeset_mo): New variable.
21699 ($(codeset_mo)): New target.
21700 (tst-codeset.out): Depend on that. Remove explicit rule.
21701 (tst-gettext3.out, tst-gettext5.out): Likewise.
21702 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21703 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21704 * intl/tst-codeset.sh: Remove.
21705 * intl/tst-gettext3.sh: Likewise.
21706 * intl/tst-gettext5.sh: Likewise.
21708 2012-08-17 Roland McGrath <roland@hack.frob.com>
21710 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21711 * sysdeps/unix/syscalls.list: ... here.
21713 * sysdeps/posix/getaddrinfo.c
21714 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21715 (gaiconf_init, gaiconf_reload): Use them.
21716 [!_STATBUF_ST_NSEC]
21717 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21718 Define using time_t rather than struct timespec.
21720 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21721 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21723 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21725 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21726 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21729 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21730 __libc_cleanup_push argument.
21732 * bits/param.h: New file.
21733 * misc/sys/param.h: New file.
21734 * include/sys/param.h: New file.
21735 * misc/Makefile (headers): Add bits/param.h.
21736 * sysdeps/generic/sys/param.h: File removed.
21737 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21738 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21739 * sysdeps/mach/hurd/bits/param.h: New file.
21740 * sysdeps/mach/hurd/sys/param.h: File removed.
21742 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21745 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21747 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21748 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21751 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21752 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21753 rather than -D_IO_MTSAFE_IO conditionally.
21754 * stdio-common/Makefile (CPPFLAGS): Likewise.
21755 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21756 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21757 Use $(libio-mtsafe).
21758 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21759 of -D_IO_MTSAFE_IO.
21760 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21761 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21762 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21763 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21764 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21765 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21766 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21767 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21768 (CFLAGS-fread_u_chk.c): Likewise.
21769 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21770 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21771 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21772 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21773 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21774 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21775 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21776 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21777 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21779 * libio/Makefile: Test [$(libc-reentrant) = yes]
21780 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21783 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21784 * sysdeps/pthread/configure: File removed.
21785 * sysdeps/pthread/Makeconfig: New file.
21786 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21787 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21789 2012-08-16 Gary Benson <gbenson@redhat.com>
21791 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21792 unmapping the first object in a namespace.
21794 2012-08-16 Roland McGrath <roland@hack.frob.com>
21796 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21797 (__internal_setnetgrent): ... this. Add internal_function to
21798 definition. Add libc_hidden_def.
21799 (setnetgrent): Update caller.
21800 (internal_endnetgrent): Renamed to ...
21801 (__internal_endnetgrent): ... this. Add internal_function to
21802 definition. Add libc_hidden_def.
21803 (endnetgrent): Update caller.
21804 (internal_getnetgrent_r): Renamed to ...
21805 (__internal_getnetgrent_r): ... this. Add internal_function to
21806 definition. Add libc_hidden_def.
21807 (__getnetgrent_r): Update caller.
21808 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21810 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21812 * stdlib/longlong.h: Update from GCC.
21814 2012-08-16 Roland McGrath <roland@hack.frob.com>
21816 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21817 on _QL, which is set by umul_ppmm but never used.
21818 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21819 variables, which are set by GMP macros but never used.
21820 * stdio-common/_itowa.c (_itowa): Likewise.
21821 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21822 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21824 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21826 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21827 struct La_sh_regs is not constant.
21828 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21829 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21830 and struct La_sparc64_regs are not constant.
21832 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21834 * sysdeps/unix/sysv/linux/kernel-features.h
21835 (__ASSUME_POSIX_TIMERS): Remove.
21836 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21837 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21838 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21839 Make code unconditional.
21840 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21841 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21842 Make code unconditional.
21843 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21844 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21845 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21846 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21847 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21848 Make code unconditional.
21849 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21850 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21851 (__libc_missing_posix_timers): Remove.
21853 2012-08-15 Roland McGrath <roland@hack.frob.com>
21855 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21856 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21858 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21860 * elf/dl-sym.c: Include <stdlib.h>.
21862 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21863 constants, which avoids warnings in 32-bit builds.
21865 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21866 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21868 * misc/lseek.c: File moved to ...
21869 * io/lseek.c: ... here.
21871 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21873 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21874 shifting LEN more than 31 bits at once.
21876 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21879 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21880 segmentation fault for a case of two empty input strings.
21881 * string/test-strncasecmp.c (check1): Renamed to...
21882 (bz12205): ...this.
21883 (bz14195): Add new testcase for two empty input strings and N > 0.
21884 (test_main): Call new testcase, adapt for renamed function.
21886 2012-08-15 Andreas Jaeger <aj@suse.de>
21889 * crypt/md5test2.c: New test, based on test supplied by Serge
21890 Belyshev <belyshev@depni.sinp.msu.ru>.
21891 * crypt/Makefile (xtests): Add md5test-giant..
21892 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21894 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21897 * crypt/md5.c (md5_process_block): Don't assume the buffer
21898 length is less than 2**32.
21899 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21900 length is less than 2**64.
21902 2012-08-15 Roland McGrath <roland@hack.frob.com>
21904 * string/str-two-way.h: Include <sys/param.h>.
21905 (MAX): Macro removed.
21907 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21908 Move #define and #undef of memmove to just before and after
21909 including <string.h>.
21911 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21912 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21913 and after including <string.h>. Move declarations of
21914 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21915 to before #include "string/memmove.c".
21917 * include/dirent.h: Declare __getdirentries.
21919 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21920 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21922 2012-08-14 Mike Frysinger <vapier@gentoo.org>
21924 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21925 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21926 * sysdeps/i386/configure: Regenerated.
21927 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21928 STABS_CURRENT_FILE, and STABS_FUN.
21929 (END): Remove call to STABS_FUN_END.
21930 (STABS_CURRENT_FILE1): Delete.
21931 (STABS_CURRENT_FILE): Likewise.
21932 (STABS_FUN): Likewise.
21933 (STABS_FUN_END): Likewise.
21934 (STABS_FUN2): Likewise.
21935 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21936 * sysdeps/x86_64/configure: Regenerated.
21938 2012-08-14 Roland McGrath <roland@hack.frob.com>
21940 * elf/dl-open.c: Include <atomic.h>.
21941 * elf/dl-lookup.c: Likewise.
21943 2012-08-14 Joseph Myers <joseph@codesourcery.com>
21945 * sysdeps/unix/sysv/linux/kernel-features.h
21946 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21947 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21949 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21951 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21952 condition on __ASSUME_CLONE_THREAD_FLAGS.
21954 2012-08-14 Andreas Jaeger <aj@suse.de>
21956 * sysdeps/i386/fpu/libm-test-ulps: Update.
21958 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21960 * include/atomic.h (atomic_exchange_and_add): Split into ...
21961 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21964 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21968 2012-08-13 Jeff Law <law@redhat.com>
21970 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21971 null byte in the output string.
21973 2012-08-10 Joseph Myers <joseph@codesourcery.com>
21975 * sysdeps/unix/sysv/linux/kernel-features.h
21976 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21977 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21978 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21979 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21980 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21981 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21982 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21984 2012-08-09 Jeff Law <law@redhat.com>
21987 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21988 When avoid_arena is set, don't retry in the that arena. Pick the
21989 next one, whatever it might be.
21990 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21991 (arena_lock): Pass in new parameter to arena_get2.
21992 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21994 (__libc_malloc): Unify retrying after main arena failure with
21995 __libc_memalign version.
21996 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21998 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
22001 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22002 to __redirect_strstr.
22003 (__strstr_sse42): Use typeof __redirect_strstr.
22004 (__strstr_ia32): Likewise.
22005 (__libc_strstr): New prototype.
22006 (strstr): Renamed to ...
22007 (__libc_strstr): This.
22008 (strstr): New strong alias of __libc_strstr.
22009 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22010 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22013 (__libc_time): New prototype.
22014 (time_ifunc): Replace time with __libc_time.
22015 (time): New strong alias and hidden definition of __libc_time.
22016 (__GI_time): Remove strong alias.
22017 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22018 Include <stddef.h>.
22019 (memmove): Redefined to __redirect_memmove.
22020 (__memmove_sse2): Use typeof __redirect_memmove.
22021 (__memmove_ssse3): Likewise.
22022 (__memmove_ssse3_back): Likewise.
22023 (__libc_memmove): New prototype.
22024 (memmove): Renamed to ...
22025 (__libc_memmove): This.
22026 (memmove): New strong alias of __libc_memmove.
22028 2012-08-08 Mark Salter <msalter@redhat.com>
22031 (R_MN10300_TLS_GD): Define.
22032 (R_MN10300_TLS_LD): Likewise.
22033 (R_MN10300_TLS_LDO): Likewise.
22034 (R_MN10300_TLS_GOTIE): Likewise.
22035 (R_MN10300_TLS_IE): Likewise.
22036 (R_MN10300_TLS_LE): Likewise.
22037 (R_MN10300_TLS_DTPMOD): Likewise.
22038 (R_MN10300_TLS_DTPOFF): Likewise.
22039 (R_MN10300_TLS_TPOFF): Likewise.
22040 (R_MN10300_SYM_DIFF): Likewise.
22041 (R_MN10300_ALIGN): Likewise.
22042 (R_MN10300_NUM): Update.
22044 2012-08-08 Joseph Myers <joseph@codesourcery.com>
22046 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22049 2012-08-08 Roland McGrath <roland@hack.frob.com>
22051 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22053 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22054 sysdeps/unix -> sysdeps/posix move.
22055 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22057 2012-08-07 Allan McRae <allan@archlinux.org>
22060 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22061 (SUNOS_CPP): Likewise.
22062 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22064 (open_input): Call CPP using execvp.
22066 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22068 * sysdeps/unix/sysv/linux/kernel-features.h
22069 (__ASSUME_PROT_GROWSUPDOWN): Remove.
22070 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22071 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22072 (__ASSUME_WAITID_SYSCALL): Likewise.
22073 * sysdeps/unix/sysv/linux/dl-execstack.c
22074 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22075 code unconditional.
22076 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22078 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22079 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22080 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22082 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22084 [__ASSUME_WAITID_SYSCALL]: Likewise.
22085 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22087 2012-08-07 Roland McGrath <roland@hack.frob.com>
22089 * sysdeps/unix/closedir.c: Renamed to ...
22090 * sysdeps/posix/closedir.c: ... here.
22091 * sysdeps/unix/dirfd.c: Renamed to ...
22092 * sysdeps/posix/dirfd.c: ... here.
22093 * sysdeps/unix/dirstream.h: Renamed to ...
22094 * sysdeps/posix/dirstream.h: ... here.
22095 * sysdeps/unix/fdopendir.c: Renamed to ...
22096 * sysdeps/posix/fdopendir.c: ... here.
22097 * sysdeps/unix/opendir.c: Renamed to ...
22098 * sysdeps/posix/opendir.c: ... here.
22099 * sysdeps/unix/readdir.c: Renamed to ...
22100 * sysdeps/posix/readdir.c: ... here.
22101 * sysdeps/unix/readdir_r.c: Renamed to ...
22102 * sysdeps/posix/readdir_r.c: ... here.
22103 * sysdeps/unix/rewinddir.c: Renamed to ...
22104 * sysdeps/posix/rewinddir.c: ... here.
22105 * sysdeps/unix/seekdir.c: Renamed to ...
22106 * sysdeps/posix/seekdir.c: ... here.
22107 * sysdeps/unix/telldir.c: Renamed to ...
22108 * sysdeps/posix/telldir.c: ... here.
22109 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22110 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22111 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22112 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22114 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22115 * bits/fcntl.h: ... here.
22117 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22119 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22120 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22121 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22122 (struct flock): Move l_start, l_len to the beginning.
22123 Use __pid_t for l_pid.
22124 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22125 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22126 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22127 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22128 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22129 [__USE_LARGEFILE64] (struct flock64): New type.
22130 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22132 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22133 * bits/dirent.h: ... here.
22135 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22136 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22138 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22140 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22141 Change from 2.6.0 to 2.6.16.
22142 * sysdeps/unix/sysv/linux/configure: Regenerated.
22143 * sysdeps/unix/sysv/linux/kernel-features.h
22144 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22145 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22147 (__ASSUME_UTIMES): Likewise.
22148 (__ASSUME_CLONE_STOPPED): Remove.
22149 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22150 architectures, not kernel version.
22151 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22152 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22153 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22154 (__ASSUME_WAITID_SYSCALL): Likewise.
22155 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22156 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22157 * README: State 2.6.16 as minimum Linux kernel version. Do not
22158 refer to older versions.
22160 2012-08-06 Roland McGrath <roland@hack.frob.com>
22162 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22163 Define alphasort64 as an alias.
22164 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22165 Define versionsort64 as an alias.
22166 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22167 Define scandir64 as an alias.
22168 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22169 Define scandirat64 as an alias.
22170 * dirent/alphasort64.c (alphasort64):
22171 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22172 * dirent/versionsort64.c: Likewise.
22173 * dirent/scandir64.c: Likewise.
22174 * dirent/scandirat64.c: Likewise.
22175 * sysdeps/wordsize-64/alphasort.c: File removed.
22176 * sysdeps/wordsize-64/alphasort64.c: File removed.
22177 * sysdeps/wordsize-64/scandir.c: File removed.
22178 * sysdeps/wordsize-64/scandir64.c: File removed.
22179 * sysdeps/wordsize-64/scandirat.c: File removed.
22180 * sysdeps/wordsize-64/scandirat64.c: File removed.
22181 * sysdeps/wordsize-64/versionsort.c: File removed.
22182 * sysdeps/wordsize-64/versionsort64.c: File removed.
22183 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22184 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22185 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22186 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22187 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22188 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22189 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22190 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22192 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22193 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22194 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22195 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22196 [defined __arch64__ || defined __sparcv9]
22197 (__INO_T_MATCHES_INO64_T): New macro.
22198 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22199 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22200 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22201 * sysdeps/unix/sysv/linux/bits/dirent.h
22202 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22203 (_DIRENT_MATCHES_DIRENT64): New macro.
22205 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22206 Define lockf64 as an alias.
22207 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22208 Define fseeko64 as an alias.
22209 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22210 Define ftello64 as an alias.
22211 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22212 Define _IO_fgetpos64 and fgetpos64 as aliases.
22213 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22214 Define _IO_fsetpos64 and fsetpos64 as aliases.
22215 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22216 Conditionalize body on this.
22217 * libio/fseeko64.c: Likewise.
22218 * libio/ftello64.c: Likewise.
22219 * libio/iofgetpos64.c: Likewise.
22220 * libio/iofsetpos64.c: Likewise.
22221 * sysdeps/wordsize-64/lockf.c: File removed.
22222 * sysdeps/wordsize-64/lockf64.c: File removed.
22223 * sysdeps/wordsize-64/fseeko.c: File removed.
22224 * sysdeps/wordsize-64/fseeko64.c: File removed.
22225 * sysdeps/wordsize-64/ftello.c: File removed.
22226 * sysdeps/wordsize-64/ftello64.c: File removed.
22227 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22228 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22229 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22230 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22231 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22232 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22234 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22236 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22237 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22238 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22239 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22240 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22242 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22243 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22244 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22245 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22246 [defined __arch64__ || defined __sparcv9]
22247 (__OFF_T_MATCHES_OFF64_T): New macro.
22248 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22249 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22250 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22251 (__OFF_T_MATCHES_OFF64_T): New macro.
22253 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22255 * stdlib/secure-getenv.c (__secure_getenv): Replace
22256 GLIBC_2_16 with GLIBC_2_17.
22258 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22260 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22261 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22263 2012-08-03 David S. Miller <davem@davemloft.net>
22265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22267 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22269 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22271 (__ASSUME_CORRECT_SI_PID): Likewise.
22272 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22273 (__ASSUME_TMPFS_NAME): Likewise.
22274 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22275 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22276 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22277 (HAVE_AUX_SECURE): Make definition unconditional.
22278 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22279 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22281 2012-08-03 Roland McGrath <roland@hack.frob.com>
22283 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22284 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22285 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22286 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22287 __eloop_threshold instead of SYMLOOP_MAX.
22289 * sysdeps/generic/eloop-threshold.h: New file.
22290 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22292 * elf/chroot_canon.c (chroot_canon): Likewise.
22294 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22297 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22298 Change to 2.6.0 everywhere.
22299 * sysdeps/unix/sysv/linux/configure: Regenerated.
22300 * sysdeps/unix/sysv/linux/kernel-features.h
22301 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22302 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22304 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22305 (__ASSUME_FUTEX_REQUEUE): Remove.
22306 (__ASSUME_STATFS64): Define unconditionally.
22307 (__ASSUME_AT_SECURE): Likewise.
22308 (__ASSUME_CORRECT_SI_PID): Likewise.
22309 (__ASSUME_TGKILL): Define without depending on kernel version for
22311 (__ASSUME_UTIMES): Likewise.
22312 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22314 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22315 (__ASSUME_TMPFS_NAME): Likewise.
22316 * README: Update reference to Linux kernel versions.
22318 2012-08-02 Marek Polacek <polacek@redhat.com>
22321 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22322 libc_cv_asm_type_prefix with %.
22323 * configure: Regenerated.
22324 * include/libc-symbols.h: Remove comment about
22325 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22326 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22327 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22328 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22329 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22330 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22331 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22332 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22333 * elf/tst-unique2mod1.c: Likewise.
22334 * elf/tst-unique1mod2.c: Likewise.
22335 * elf/tst-unique1mod1.c: Likewise.
22336 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22337 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22338 Replace ASM_TYPE_DIRECTIVE with .type.
22339 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22340 * sysdeps/i386/sysdep.h: Likewise.
22341 * sysdeps/x86_64/sysdep.h: Likewise.
22342 * sysdeps/sh/sysdep.h: Likewise.
22343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22344 Do not define ASM_TYPE_DIRECTIVE.
22345 * sysdeps/powerpc/sysdep.h: Likewise.
22346 * sysdeps/powerpc/powerpc32/sysdep.h:
22347 Replace ASM_TYPE_DIRECTIVE with .type.
22348 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22349 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22350 * sysdeps/i386/fpu/e_powf.S: Likewise.
22351 * sysdeps/i386/fpu/e_expl.S: Likewise.
22352 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22353 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22354 * sysdeps/i386/fpu/e_pow.S: Likewise.
22355 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22356 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22357 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22358 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22359 * sysdeps/i386/fpu/e_log2.S: Likewise.
22360 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22361 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22362 * sysdeps/i386/fpu/e_powl.S: Likewise.
22363 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22364 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22365 * sysdeps/i386/fpu/e_logl.S: Likewise.
22366 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22367 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22368 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22369 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22370 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22371 * sysdeps/i386/fpu/e_log.S: Likewise.
22372 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22373 * sysdeps/i386/fpu/e_logf.S: Likewise.
22374 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22375 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22376 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22377 * sysdeps/i386/fpu/e_log10.S: Likewise.
22378 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22379 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22380 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22381 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22382 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22383 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22384 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22385 * sysdeps/i386/i686/strtok.S: Likewise.
22386 * sysdeps/i386/i386-mcount.S: Likewise.
22387 * sysdeps/i386/strtok.S: Likewise.
22388 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22389 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22390 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22391 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22392 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22393 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22394 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22395 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22396 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22397 * sysdeps/x86_64/_mcount.S: Likewise.
22398 * sysdeps/x86_64/strtok.S: Likewise.
22399 * sysdeps/sh/_mcount.S: Likewise.
22401 2012-08-01 Roland McGrath <roland@hack.frob.com>
22403 * libio/iofopen.c: Include <fcntl.h>.
22404 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22405 (_IO_fopen64, fopen64): Define as aliases.
22406 * libio/iofopen64.c: Include <fcntl.h>.
22407 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22408 Conditionalize body on this.
22409 * sysdeps/wordsize-64/iofopen.c: File removed.
22410 * sysdeps/wordsize-64/iofopen64.c: File removed.
22412 2012-08-01 Marek Polacek <polacek@redhat.com>
22414 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22415 Use dlfcn directly instead of a variable.
22416 (binfmt-subdir): Do not define.
22419 2012-08-01 Joseph Myers <joseph@codesourcery.com>
22421 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22422 Remove all definitions.
22423 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22424 <kernel-features.h>.
22425 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22426 (miss_F_GETOWN_EX): Remove all definitions.
22427 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22429 [!__ASSUME_FCNTL64]: Remove conditional code.
22430 [__ASSUME_FCNTL64]: Make code unconditional.
22431 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22432 <kernel-features.h>.
22433 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22434 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22435 (lockf64) [__NR_fcntl64]: Make code unconditional.
22436 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22438 * sysdeps/unix/sysv/linux/kernel-features.h
22439 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22440 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22441 Make code unconditional.
22442 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22443 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22445 [__NR_vfork]: Make code unconditional.
22446 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22447 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22449 [__NR_vfork]: Make code unconditional.
22450 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22451 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22453 2012-08-01 Roland McGrath <roland@hack.frob.com>
22455 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22456 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22458 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22459 Define mkstemp64 as an alias.
22460 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22461 Define mkstemps64 as an alias.
22462 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22463 Define mkostemp64 as an alias.
22464 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22465 Define mkostemps64 as an alias.
22466 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22467 Conditionalize body on this.
22468 * misc/mkostemp64.c: Likewise.
22469 * misc/mkostemps64.c: Likewise.
22470 * misc/mkstemps64.c: Likewise.
22471 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22472 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22473 * sysdeps/wordsize-64/mkostemp.c: File removed.
22474 * sysdeps/wordsize-64/mkstemp.c: File removed.
22475 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22476 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22477 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22478 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22481 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22482 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22483 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22484 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22486 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22487 compat_symbol macros from <shlib-compat.h> rather than the underlying
22488 default_symbol_version and symbol_version macros, so that DEFAULT
22489 lines in shlib-versions are respected.
22490 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22492 2012-08-01 Florian Weimer <fweimer@redhat.com>
22494 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22495 Declare with warn_unused_result.
22496 (setgid, setregid, setegid, setresgid): Likewise.
22497 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22499 * WUR-REPORT: Remove set*id functions.
22501 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22503 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22505 2012-07-31 Roland McGrath <roland@hack.frob.com>
22508 * include/sys/socket.h (__libc_accept, __libc_accept4):
22509 Add attribute_hidden.
22510 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22512 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22514 * inet/getnetgrent_r.c (setup): Likewise.
22516 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22518 2012-07-31 David S. Miller <davem@davemloft.net>
22520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22522 2012-07-31 Joseph Myers <joseph@codesourcery.com>
22525 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22526 value between 1.0 and 2.0 and smaller part has absolute value less
22528 * math/s_clog10.c (__clog10): Likewise.
22529 * math/s_clog10f.c (__clog10f): Likewise.
22530 * math/s_clog10l.c (__clog10l): Likewise.
22531 * math/s_clogf.c (__clogf): Likewise.
22532 * math/s_clogl.c (__clogl): Likewise.
22533 * math/libm-test.inc (clog_test): Add more tests.
22534 (clog10_test): Likewise.
22535 * sysdeps/i386/fpu/libm-test-ulps: Update.
22536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22538 2012-07-31 Florian Weimer <fweimer@redhat.com>
22540 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22541 Exit with zero in case no suitable GID is found, and write a
22542 message to standard error.
22544 2012-07-30 Roland McGrath <roland@hack.frob.com>
22546 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22548 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22549 (MAXPATHLEN): Removed.
22550 (NOGROUP, NODEV): New macros.
22551 (setbit, clrbit, isset, isclr): New macros.
22552 (howmany, roundup, powerof2): New macros.
22553 (DEV_BSIZE): New macro.
22555 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22556 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22558 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22559 definition on [!__NO_LONG_DOUBLE_MATH].
22561 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22562 PTR_MANGLE and PTR_DEMANGLE.
22564 * socket/accept4.c (accept4): Rename to __libc_accept4.
22565 Define accept4 as a weak alias.
22567 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22568 on [_DIRENT_HAVE_D_TYPE].
22569 * io/ftw.c (ftw_dir): Likewise.
22571 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22573 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22575 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22576 Use the BSD numbers rather than the arbitrary ones we had.
22577 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22578 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22579 (SIGXCPU, SIGXFSZ): New macros.
22582 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22583 initializer on [_LIBC_REENTRANT].
22585 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22586 definitions inside [_POSIX_MAPPED_FILES].
22588 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22590 * dirent/opendir.c: Include <fcntl.h>.
22592 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22593 (__libc_getspecific): Likewise.
22594 (__libc_key_create): Likewise.
22596 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22597 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22598 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22599 (tmpfile64): Define as alias.
22600 * sysdeps/wordsize-64/tmpfile.c: File removed.
22601 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22602 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22603 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22605 * stdio-common/vfscanf.c: Include <stdbool.h>.
22606 * nss/makedb.c: Likewise.
22607 * stdio-common/_i18n_number.h: Likewise.
22608 * argp/argp-help.c: Likewise.
22609 * posix/wordexp.c: Likewise.
22610 * sysdeps/posix/spawni.c: Likewise.
22611 * nss/nss_files/files-initgroups.c: Likewise.
22612 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22613 * nss/nss_files/files-initgroups.c: Likewise.
22614 * nss/nss_db/db-netgrp.c: Likewise.
22615 * nss/nss_db/db-initgroups.c: Likewise.
22616 * io/fchmodat.c: Include <sys/stat.h>.
22618 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22619 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22621 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22624 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22625 Add multiple inclusion protection.
22627 2012-07-27 David S. Miller <davem@davemloft.net>
22629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22631 2012-07-27 Gary Benson <gbenson@redhat.com>
22634 * elf/rtld.c: Include <stap-probe.h>.
22635 (dl_main): Added static probes "init_start" and "init_complete".
22636 * elf/dl-load.c: Include <stap-probe.h>.
22637 (lose): Take new parameter "nsid".
22638 Added static probe "map_failed".
22639 (_dl_map_object_from_fd): Pass namespace id to lose.
22640 Added static probe "map_start".
22641 (open_verify): Pass namespace id to lose.
22642 * elf/dl-open.c: Include <stap-probe.h>.
22643 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22644 and "reloc_complete".
22645 * elf/dl-close.c: Include <stap-probe.h>.
22646 (_dl_close_worker): Added static probes "unmap_start" and
22648 * elf/rtld-debugger-interface.txt: New file documenting the above.
22650 2012-07-26 Roland McGrath <roland@hack.frob.com>
22652 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22653 rather than a string variable.
22654 * sunrpc/rpc_main.c (h_output): Likewise.
22655 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22657 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22659 * inet/check_native.c: New file.
22661 2012-07-26 Joseph Myers <joseph@codesourcery.com>
22664 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22665 if larger part has absolute value 1.0.
22666 * math/s_clog10.c (__clog10): Likewise.
22667 * math/s_clog10f.c (__clog10f): Likewise.
22668 * math/s_clog10l.c (__clog10l): Likewise.
22669 * math/s_clogf.c (__clogf): Likewise.
22670 * math/s_clogl.c (__clogl): Likewise.
22671 * math/libm-test.inc (clog_test): Add more tests.
22672 (clog10_test): Likewise.
22673 * sysdeps/i386/fpu/libm-test-ulps: Update.
22674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22676 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22677 (pltexit): Likewise.
22678 (La_regs): Likewise.
22679 (La_retval): Likewise.
22680 (int_retval): Likewise.
22681 Update #error for removed macros to refer only to definitions in
22683 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22685 (pltexit): Likewise.
22686 (La_regs): Likewise.
22687 (La_retval): Likewise.
22688 (int_retval): Likewise.
22689 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22691 (pltexit): Likewise.
22692 (La_regs): Likewise.
22693 (La_retval): Likewise.
22694 (int_retval): Likewise.
22695 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22697 (pltexit): Likewise.
22698 (La_regs): Likewise.
22699 (La_retval): Likewise.
22700 (int_retval): Likewise.
22701 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22703 (pltexit): Likewise.
22704 (La_regs): Likewise.
22705 (La_retval): Likewise.
22706 (int_retval): Likewise.
22707 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22709 (pltexit): Likewise.
22710 (La_regs): Likewise.
22711 (La_retval): Likewise.
22712 (int_retval): Likewise.
22713 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22715 (pltexit): Likewise.
22716 (La_regs): Likewise.
22717 (La_retval): Likewise.
22718 (int_retval): Likewise.
22719 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22720 macro definitions in tst-audit.h.
22721 * sysdeps/i386/tst-audit.h: New file.
22722 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22723 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22724 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22725 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22726 * sysdeps/sh/tst-audit.h: Likewise.
22727 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22728 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22729 * sysdeps/x86_64/tst-audit.h: Likewise.
22731 2012-07-26 Andreas Jaeger <aj@suse.de>
22733 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22736 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22737 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22738 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22740 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22741 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22742 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22744 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22747 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22749 (si_call_addr, si_syscall, si_arch): Define new macro.
22750 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22752 (si_call_addr, si_syscall, si_arch): Define new marcro.
22753 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22755 (si_call_addr, si_syscall, si_arch): Define new macro.
22756 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22758 (si_call_addr, si_syscall, si_arch): Define new macro.
22760 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22763 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22764 Change to 2.4.21 where previously 2.4.1.
22765 * sysdeps/unix/sysv/linux/configure: Regenerated.
22766 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22767 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22768 Linux kernel version.
22769 (__ASSUME_STD_AUXV): Remove.
22770 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22772 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22773 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22774 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22775 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22776 (__ASSUME_NETLINK_SUPPORT): Likewise.
22777 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22778 (__no_netlink_support): Remove conditional definition.
22779 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22781 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22782 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22783 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22784 (if_nameindex_ioctl): Remove.
22785 (if_nameindex_netlink): Do not handle __no_netlink_support.
22786 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22788 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22789 Remove conditional code.
22790 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22792 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22794 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22795 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22796 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22798 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22799 [!__ASSUME_STD_AUXV]: Remove conditional code.
22800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22801 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22802 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22804 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22805 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22807 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22809 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22810 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22812 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22814 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22817 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22820 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22821 code unconditional.
22822 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22824 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22826 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22829 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22831 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22834 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22835 code unconditional.
22836 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22838 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22840 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22843 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22844 code unconditional.
22845 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22847 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22849 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22852 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22854 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22855 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22856 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22857 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22858 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22859 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22860 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22861 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22862 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22863 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22864 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22865 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22866 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22867 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22868 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22869 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22870 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22871 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22872 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22873 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22874 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22875 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22876 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22878 2012-07-25 Florian Weimer <fweimer@redhat.com>
22880 * Versions.def: Add GLIBC_2.17.
22881 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22882 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22883 Introduce __libc_secure_getenv.
22884 * stdlib/Versions (2.17): Add secure_getenv
22885 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22886 * stdlib/secure-getenv.c: Rename __secure_getenv to
22887 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22888 symbol __secure_getenv for GLIBC_2.0.
22889 * stdlib/tst-secure-getenv.c: New.
22890 * stdlib/Makefile (tests): Add testcase.
22891 * manual/startup.texi (Environment Access): Document
22893 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22894 __libc_secure_getenv.
22895 * inet/ruserpass.c (ruserpass): Likewise.
22896 * malloc/mtrace.c (mtrace): Likewise.
22897 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22898 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22899 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22900 * sysdeps/posix/tempname.c: Likewise. Evaluate
22901 HAVE_SECURE_GETENV.
22902 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22903 __secure_getenv to __libc_secure_getenv.
22904 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22911 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22917 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22919 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22920 (struct La_i86_retval): Likewise.
22921 (struct La_x86_64_regs): Likewise.
22922 (struct La_x86_64_retval): Likewise.
22923 (struct La_x32_regs): Likewise.
22924 (struct La_x32_retval): Likewise.
22925 (struct La_ppc32_regs): Likewise.
22926 (struct La_ppc32_retval): Likewise.
22927 (struct La_ppc64_regs): Likewise.
22928 (struct La_ppc64_retval): Likewise.
22929 (struct La_sh_regs): Likewise.
22930 (struct La_sh_retval): Likewise.
22931 (struct La_s390_32_regs): Likewise.
22932 (struct La_s390_32_retval): Likewise.
22933 (struct La_s390_64_regs): Likewise.
22934 (struct La_s390_64_retval): Likewise.
22935 (struct La_sparc32_regs): Likewise.
22936 (struct La_sparc32_retval): Likewise.
22937 (struct La_sparc64_regs): Likewise.
22938 (struct La_sparc64_retval): Likewise.
22939 (struct audit_ifaces): Remove architecture-specific pltenter and
22941 * sysdeps/i386/ldsodefs.h: New file.
22942 * sysdeps/powerpc/ldsodefs.h: Likewise.
22943 * sysdeps/s390/ldsodefs.h: Likewise.
22944 * sysdeps/sh/ldsodefs.h: Likewise.
22945 * sysdeps/sparc/ldsodefs.h: Likewise.
22946 * sysdeps/x86_64/ldsodefs.h: Likewise.
22948 2012-07-25 Marek Polacek <polacek@redhat.com>
22951 * math/libm-test.inc (yn_test): Add another test.
22952 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22953 to ERANGE when the result is +-Inf.
22954 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22955 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22956 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22957 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22959 2012-07-24 Joseph Myers <joseph@codesourcery.com>
22961 * conform/data/time.h-data (NULL): Use macro-constant. Require
22963 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22965 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22967 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22969 * configure.in <sysdeps resolving>: Correct printing
22971 * configure: Regenerate.
22973 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22975 * math/w_ilogb.c: Include <limits.h>.
22976 * math/w_ilogbl.c: Likewise.
22978 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22980 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22981 va_copy. Document allowing for unavailable va_copy only as
22982 pre-C99 compatibility.
22983 * manual/string.texi (Copying and Concatenation): Use va_copy
22984 instead of __va_copy in concat example.
22986 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22988 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22989 (__sendto): Use create_address_port. Initialize APORT and deallocate
22992 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22993 with O_NOLINK passed to __file_name_lookup.
22995 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22996 with O_NOLINK passed to __file_name_lookup.
22998 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22999 negative N or less than NGIDS.
23001 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23002 type to string_t. Set ERANGE as errno and return it if NAME is not big
23003 enough. Use memcpy instead of strncpy.
23005 2012-07-20 Joseph Myers <joseph@codesourcery.com>
23007 * elf/Makefile (check-data): Remove.
23008 (localplt.data): New vpath directive.
23009 ($(objpfx)check-localplt.out): Use localplt.data from vpath
23010 instead of $(check-data).
23011 * scripts/data/localplt-generic.data: Move to ...
23012 * sysdeps/generic/localplt.data: ... here.
23013 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23014 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23015 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23018 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23021 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23024 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23027 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23030 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23034 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23036 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23037 PPC32 and PPC64 files.
23038 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23039 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23041 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23043 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23044 __makecontext_ret to ...
23045 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23046 ... here and call exit if uc_link is NULL. New file.
23047 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23048 __makecontext_ret.S.
23049 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23050 __makecontext_ret to ...
23051 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23052 ... here and call exit if uc_link is NULL. New file.
23053 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23054 __makecontext_ret.S.
23056 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23058 * elf/elf.h (R_390_IRELATIVE): New definition.
23059 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23060 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
23061 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23062 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23063 (elf_machine_lazy_rel): Likewise.
23064 * sysdeps/s390/dl-irel.h: New file.
23065 * sysdeps/s390/s390-64/memcpy.S: New asm code.
23066 * sysdeps/s390/s390-64/memset.S: New asm code.
23067 * sysdeps/s390/s390-64/memcmp.S: New asm code.
23068 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23069 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23070 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23071 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23072 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23073 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23074 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23075 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23076 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23077 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23078 * sysdeps/s390/s390-32/memcpy.S: New asm code.
23079 * sysdeps/s390/s390-32/memset.S: New asm code.
23080 * sysdeps/s390/s390-32/memcmp.S: New asm code.
23082 2012-07-17 Marek Polacek <polacek@redhat.com>
23085 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23086 * sysdeps/s390/s390-64/configure.in: Likewise.
23087 * sysdeps/sparc/configure.in: Likewise.
23088 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23089 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23090 * sysdeps/i386/configure.in: Likewise.
23091 * sysdeps/x86_64/configure.in: Likewise.
23092 * sysdeps/sh/configure.in: Likewise.
23093 * sysdeps/s390/s390-32/configure: Regenerated.
23094 * sysdeps/s390/s390-64/configure: Likewise.
23095 * sysdeps/x86_64/configure: Likewise.
23096 * sysdeps/sh/configure: Likewise.
23097 * sysdeps/powerpc/powerpc64/configure: Likewise.
23098 * sysdeps/powerpc/powerpc32/configure: Likewise.
23099 * sysdeps/sparc/configure: Likwise.
23100 * sysdeps/i386/configure: Likewise.
23102 * elf/dl-open.c: Comment fixes.
23104 2012-07-17 Joseph Myers <joseph@codesourcery.com>
23106 * Makefile [CXX] (check-data): Remove.
23107 [CXX] (c++-types.data): New vpath directive.
23108 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23109 vpath. Do not allow for C++ type data being missing.
23110 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23111 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23112 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23113 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23114 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23115 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23116 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23119 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23122 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23125 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23128 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23131 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23134 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23137 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23140 * elf/tls-macros.h (TLS_LE): Move architecture-specific
23141 definitions to architecture-specific files.
23142 (TLS_IE): Likewise.
23143 (TLS_LD): Likewise.
23144 (TLS_GD): Likewise.
23145 * sysdeps/i386/tls-macros.h: New file.
23146 * sysdeps/powerpc/tls-macros.h: Likewise.
23147 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23148 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23149 * sysdeps/sh/tls-macros.h: Likewise.
23150 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23151 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23152 * sysdeps/x86_64/tls-macros.h: Likewise.
23154 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23156 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23157 zero value for regular exit case.
23159 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23160 (__start_context): Preserve zero value for regular exit case.
23162 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23163 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23165 * manual/setjmp.texi (setcontext): Clarify normal process
23166 termination when uc_link is the null pointer.
23167 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23170 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23172 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23173 preprocessor. Test for each exception mask separately.
23175 2012-07-16 Andreas Jaeger <aj@suse.de>
23177 * po/ru.po: Update from translation team.
23179 2012-07-15 Joseph Myers <joseph@codesourcery.com>
23181 * conform/data/string.h-data (NULL): Use macro-constant. Require
23183 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23184 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23185 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23186 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23187 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23189 2012-07-13 Andreas Jaeger <aj@suse.de>
23191 * po/fr.po: Update from translation team.
23193 2012-07-12 Marek Polacek <polacek@redhat.com>
23196 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23197 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23200 2012-07-12 Joseph Myers <joseph@codesourcery.com>
23203 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23204 Change to 2.4.1 where previously 2.4.0.
23205 * sysdeps/unix/sysv/linux/configure: Regenerated.
23206 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23207 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23209 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23210 (__ASSUME_AT_CLKTCK): Remove.
23211 (__ASSUME_AT_PAGESIZE): Likewise.
23212 (__ASSUME_AT_XID): Likewise.
23213 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23214 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23215 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23217 (HAVE_AUX_PAGESIZE): Likewise.
23218 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23219 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23220 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23222 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23226 the temporary buffer used to invoke __gethostbyname2_r,
23227 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23228 host_data / struct gaih_addrtuple.
23229 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23230 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23231 header file nss/nsswitch.h.
23232 * nss/nsswitch.h (global scope): Add definition of implementation
23233 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23234 resolv/nss_dns/dns-host.c).
23236 2012-07-11 Andreas Jaeger <aj@suse.de>
23238 * po/fr.po: Update from translation team.
23240 * po/sv.po: Update from translation team
23241 * po/fr.po: Another update from translation team.
23243 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23245 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23246 for subnormals or multiply small sinh result by itself.
23247 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23250 2012-07-11 David S. Miller <davem@davemloft.net>
23252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23254 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23257 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23258 (INTERNAL_MARK): Shift it here.
23260 2012-07-10 Marek Polacek <polacek@redhat.com>
23263 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23264 libc_cv_asm_global_directive with .globl.
23265 * configure: Regenerated.
23266 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23268 * sysdeps/i386/configure: Regenerated.
23269 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23271 * sysdeps/x86_64/configure: Regenerated.
23272 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23273 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23274 * elf/tst-unique2mod2.c: Likewise.
23275 * elf/tst-unique2mod1.c: Likewise.
23276 * elf/tst-unique1mod2.c: Likewise.
23277 * elf/tst-unique1mod1.c: Likewise.
23278 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23279 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23280 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23281 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23282 * sysdeps/mach/sysdep.h: Likewise.
23283 * sysdeps/i386/sysdep.h: Likewise.
23284 * sysdeps/i386/i386-mcount.S: Likewise.
23285 * sysdeps/x86_64/_mcount.S: Likewise.
23286 * sysdeps/x86_64/sysdep.h: Likewise.
23287 * sysdeps/sh/_mcount.S: Likewise.
23288 * sysdeps/sh/sysdep.h: Likewise.
23289 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23290 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23291 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23292 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23293 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23294 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23295 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23296 * locale/localeinfo.h: Likewise.
23297 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23298 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23300 2012-07-09 Roland McGrath <roland@hack.frob.com>
23303 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23305 * manual/message.texi (The Uniforum approach): Likewise.
23306 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23307 (glibc iconv Implementation): Likewise.
23309 2012-07-09 Joseph Myers <joseph@codesourcery.com>
23312 * math/s_clog.c (__clog): Avoid scaling a value down where that
23313 could result in underflow.
23314 * math/s_clog10.c (__clog10): Likewise.
23315 * math/s_clog10f.c (__clog10f): Likewise.
23316 * math/s_clog10l.c (__clog10l): Likewise.
23317 * math/s_clogf.c (__clogf): Likewise.
23318 * math/s_clogl.c (__clogl): Likewise.
23319 * math/libm-test.inc (clog_test): Add more tests.
23320 (clog10_test): Likewise.
23321 * sysdeps/i386/fpu/libm-test-ulps: Update.
23322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23324 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23327 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23328 by 7 not 8 to examine high bit of fractional part.
23331 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23332 for call to __mcount_internal.
23333 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23334 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23335 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23337 2012-07-06 Joseph Myers <joseph@codesourcery.com>
23340 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23341 approximation for values within 0x1p-13f of an odd multiple of
23343 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23344 exception. Add more tests.
23345 * sysdeps/i386/fpu/libm-test-ulps: Update.
23348 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23349 inputs and return -1 for them. Do not check for +Inf in case not
23350 reachable for +Inf.
23351 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23352 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23353 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23354 and return -1 for them. Do not check for +Inf in case not
23355 reachable for +Inf.
23356 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23358 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23359 and return -1 for them. Do not check for +Inf in case not
23360 reachable for +Inf.
23361 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23362 spurious underflow.
23363 * sysdeps/i386/fpu/libm-test-ulps: Update.
23364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23366 2012-07-06 Mike Frysinger <vapier@gentoo.org>
23368 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23370 2012-07-05 Joseph Myers <joseph@codesourcery.com>
23374 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23375 could result in spurious underflow. Scale down values above
23376 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23377 * math/s_csqrtf.c (__csqrtf): Likewise.
23378 * math/s_csqrtl.c (__csqrtl): Likewise.
23379 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23380 spurious underflow.
23381 * sysdeps/i386/fpu/libm-test-ulps: Update.
23382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23384 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23386 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23388 * catgets/xopen-msg.awk: New file.
23389 * catgets/xopen-msg.sed: Removed.
23391 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23393 * intl/po2test.awk: New file.
23394 * intl/po2test.sed: Removed.
23396 2012-07-04 Joseph Myers <joseph@codesourcery.com>
23399 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23400 or multiply small sinh result by itself.
23401 * math/s_ctanf.c (__ctanf): Likewise.
23402 * math/s_ctanh.c (__ctanh): Likewise.
23403 * math/s_ctanhf.c (__ctanhf): Likewise.
23404 * math/s_ctanhl.c (__ctanhl): Likewise.
23405 * math/s_ctanl.c (__ctanl): Likewise.
23406 * math/libm-test.inc (ctan_test_tonearest): New function.
23407 (ctan_test_towardzero): Likewise.
23408 (ctan_test_downward): Likewise.
23409 (ctan_test_upward): Likewise.
23410 (ctanh_test_tonearest): Likewise.
23411 (ctanh_test_towardzero): Likewise.
23412 (ctanh_test_downward): Likewise.
23413 (ctanh_test_upward): Likewise.
23414 (main): Call these new functions.
23415 * sysdeps/i386/fpu/libm-test-ulps: Update.
23416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23418 2012-07-03 Mike Frysinger <vapier@gentoo.org>
23420 * .gitignore: Delete /ports entry.
23422 2012-07-03 Andreas Jaeger <aj@suse.de>
23424 * po/bg.po: Update from translation team.
23425 * po/cs.po: Likewise.
23426 * po/de.po: Likewise.
23427 * po/hr.po: Likewise.
23428 * po/nl.pl: Likewise.
23429 * po/pl.po: Likewise.
23430 * po/vi.po: Likewise.
23432 2012-07-03 Joseph Myers <joseph@codesourcery.com>
23434 * Makeconfig [!+link] (+link-before-libc): New variable.
23435 [!+link] (+link-after-libc): Likewise.
23436 [!+link] (+link-tests): Likewise.
23437 [!+link] (+link): Define in terms of $(+link-before-libc) and
23438 $(+link-after-libc).
23439 [!+link-static] (+link-static-before-libc): New variable.
23440 [!+link-static] (+link-static-after-libc): Likewise.
23441 [!+link-static] (+link-static-tests): Likewise.
23442 [!+link-static] (+link-static): Define in terms of
23443 $(+link-static-before-libc) and $(+link-static-after-libc).
23444 [build-shared] (link-libc-before-gnulib): New variable.
23445 [build-shared] (link-libc-tests): Likewise.
23446 [build-shared] (link-libc): Define in terms of
23447 $(link-libc-before-gnulib).
23448 [!build-shared] (link-libc-tests): New variable.
23449 (link-libc-static-tests): New variable.
23450 [!gnulib] (gnulib-arch): New variable.
23451 [!gnulib] (gnulib-tests): Likewise.
23452 [!gnulib] (static-gnulib-arch): Likewise.
23453 [!gnulib] (static-gnulib-tests): Likewise.
23454 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23455 Define with "=" instead of ":=".
23456 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23457 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23458 * Rules (binaries-all-notests): New variable.
23459 (binaries-all-tests): Likewise.
23460 (binaries-static-notests): Likewise.
23461 (binaries-static-tests): Likewise.
23462 (binaries-all): Define using $(binaries-all-notests) and
23463 $(binaries-all-tests).
23464 (binaries-static): Define using $(binaries-static-notests) and
23465 $(binaries-static-tests).
23466 (binaries-shared-tests): New variable.
23467 (binaries-shared-notests): Likewise.
23468 (binaries-shared): Remove variable.
23469 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23470 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23471 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23472 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23473 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23474 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23475 * elf/Makefile (sln-modules): New variable.
23476 (extra-objs): Add $(sln-modules:=.o).
23477 (ldconfig-modules): Add static-stubs.
23478 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23479 * elf/static-stubs.c: New file.
23482 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23483 by 7 not 8 to examine high bit of fractional part. Use volatile
23484 variables when splitting into final array of floats if
23485 __FLT_EVAL_METHOD__ != 0.
23486 * math/libm-test.inc (cos_test): Add another test.
23487 (sin_test): Likewise.
23488 * sysdeps/i386/fpu/libm-test-ulps: Update.
23491 * math/libm-test.inc (cosh_test): Add more tests.
23493 * version.h (RELEASE): Set to "development".
23494 (VERSION): Set to "2.16.90".
23496 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23498 * NEWS: Update copyright. Remove last-updated date.
23499 Mention math library bug fixes and timezone data changes.
23500 * README: Mention GNU/Hurd, x32, and HPPA support status.
23502 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23504 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23506 2012-06-27 Andreas Jaeger <aj@suse.de>
23508 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23510 2012-06-25 Andreas Jaeger <aj@suse.de>
23512 * sysdeps/s390/fpu/libm-test-ulps: Update.
23514 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23515 Thomas Schwinge <thomas@codesourcery.com>
23517 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23518 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23522 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23524 * sysdeps/mach/start.c: Remove file.
23525 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23526 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23527 * sysdeps/sh/init-first.c: Likewise.
23529 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23530 registers for frame unwinding purposes, add CFI directives.
23531 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23532 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23533 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23536 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23537 __fortify_fail returning.
23538 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23540 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23541 sysdeps/sh/____longjmp_chk.S.
23542 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23543 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23544 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23545 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23547 * sysdeps/sh/abort-instr.h: New file.
23548 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23549 process in case exit returns.
23551 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23552 initialize the GOT register before use.
23554 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23555 calculation of ARGC > 4.
23557 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23558 meaningful names to some local labels.
23560 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23561 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23563 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23564 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23565 (__arch_compare_and_exchange_val_16_acq): Likewise.
23566 (__arch_compare_and_exchange_val_32_acq): Likewise.
23567 (atomic_exchange_and_add): Fix gUSA sequence.
23568 (atomic_add): Likewise.
23569 (atomic_add_negative): Likewise.
23570 (atomic_add_zero): Likewise.
23571 (atomic_bit_test_set): Likewise.
23573 2012-06-22 Andreas Schwab <schwab@redhat.com>
23576 * include/link.h (struct link_map): Add l_free_initfini.
23577 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23579 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23580 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23581 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23584 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23586 * configure.in: Use AC_LANG_SOURCE.
23587 * configure: Regenerate.
23589 2012-06-22 Roland McGrath <roland@hack.frob.com>
23591 * configure.in (libc_cv_localstatedir): New substituted variable.
23592 * configure: Regenerated.
23593 * config.make.in (localstatedir): New variable, substituted from
23594 libc_cv_localstatedir.
23595 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23596 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23597 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23598 * sysdeps/gnu/configure: Regenerated.
23600 2012-06-21 Jeff Law <law@redhat.com>
23603 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23604 free. Simplify list management for _LIBC case.
23606 2012-06-21 Joseph Myers <joseph@codesourcery.com>
23609 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23610 Clear sign bit of 64-bit integer value before comparing against
23613 * sysdeps/mach/configure: Regenerated.
23615 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23618 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23620 2012-06-21 Jeff Law <law@redhat.com>
23623 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23624 uint16_t for elements in the "seen" array to avoid char overflows.
23625 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23626 * elf/dl-open.c (dl_open_worker): Likewise.
23628 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23630 * scripts/list-sources.sh: Scan PORTS for translations.
23631 * po/libc.pot: Regenerated.
23633 2012-06-21 Andreas Jaeger <aj@suse.de>
23636 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23638 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23639 * bits/byteswap-16.h (__bswap_16): Likewise.
23640 * bits/byteswap.h (__bswap_constant_16): Likewise.
23642 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23645 * sysdeps/i386/fpu_control.h: Removed.
23646 * sysdeps/x86_64/fpu_control.h: Moved to ...
23647 * sysdeps/x86/fpu_control.h: Here.
23649 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23650 (_FPU_SETCW): Likewise.
23652 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23655 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23656 * sysdeps/x86/fpu/bits/mathinline.h: This.
23657 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23661 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23662 functions if __x86_64__ is defined.
23664 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23666 * string/endian.h: Add !__ASSEMBLER__ condition for including
23667 conversion interfaces.
23669 2012-06-15 Joseph Myers <joseph@codesourcery.com>
23672 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23673 of ABS(x) in calculating zero to negative powers other than odd
23675 * math/libm-test.inc (pow_test): Add more tests.
23677 2012-06-15 Andreas Jaeger <aj@suse.de>
23679 * manual/contrib.texi (Contributors): Update entry of Liubov
23680 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23683 2012-06-15 Cyril Hrubis <metan@ucw.cz>
23685 * string/string.h: Add __wur to GNU version of strerror_r.
23687 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23690 * string/Makefile (tests): Add tst-strtok_r.
23691 * string/tst-strtok_r.c: New file.
23692 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23693 RAX_LP/RDX_LP on SAVE_PTR.
23695 2012-06-14 Roland McGrath <roland@hack.frob.com>
23697 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23699 2012-06-14 Joseph Myers <joseph@codesourcery.com>
23701 * libm_test.inc (csqrt_test): Allow more spurious underflow
23703 (j0_test): Likewise.
23704 (j1_test): Likewise.
23705 (y0_test): Likewise.
23706 (y1_test): Likewise.
23708 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23710 * po/Makefile (libc.pot): Use UTF-8 charset.
23712 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23715 Suppress sign-conversion warning from FD_SET.
23716 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23717 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23718 not unsigned long int.
23719 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23721 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23725 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23726 __extern_always_inline instead of __extern_inline.
23727 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23728 (__signbit): Likewise.
23729 (__signbitl): Support C++ namespace.
23730 (lrintf): New inline function.
23732 (llrintf): Likewise.
23733 (llrint): Likewise.
23743 (floorf): Likewise.
23744 (nearbyint): Likewise.
23745 (nearbyintf): Likewise.
23747 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23749 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23750 non-default versions.
23752 2012-06-11 Roland McGrath <roland@hack.frob.com>
23755 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23757 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23759 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23760 (FE_UPWARD, FE_DOWNWARD): Don't define.
23761 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23762 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23764 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23766 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23767 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23769 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23771 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23772 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23773 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23774 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23776 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23779 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23780 * sysdeps/i386/fpu/Implies: New file.
23781 * sysdeps/x86_64/fpu/Implies: Likewise.
23782 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23783 * sysdeps/x86/fpu/bits/fenv.h: This.
23785 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23788 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23791 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23792 character 0xffff that matches the last element of the
23795 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23797 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23800 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23802 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23803 values higher than 25.6283.
23805 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23807 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23808 subnormal exponent extraction and add some __builtin_expect.
23809 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23810 Fix for subnormal mantissa calculation.
23812 2012-06-04 Mike Frysinger <vapier@gentoo.org>
23814 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23815 cpu2 is -1 and errno is not ENOSYS.
23817 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23820 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23821 * sysdeps/x86/bits/string.h: This.
23822 * sysdeps/x86_64/bits/string.h: Removed.
23824 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23825 if not compiling for x86-64, but compiling for >= i486.
23827 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23828 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23830 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23831 New macro from Linux kernel 3.4.0.
23832 (FP_XSTATE_MAGIC2): Likewise.
23833 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23834 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23835 (struct _fpx_sw_bytes): New struct.
23836 (struct _xsave_hdr): Likewise.
23837 (struct _ymmh_state): Likewise.
23838 (struct _xstate): Likewise.
23840 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23841 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23842 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23843 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23844 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23845 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23847 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23848 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23849 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23850 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23851 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23852 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23854 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23857 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23858 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23859 (sysdep_headers): Include sys/platform/ppc.h.
23860 * sysdeps/powerpc/test-gettimebase.c: Test for
23861 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23862 * manual/Makefile (appendices): Include platform.texi.
23863 * manual/contrib.texi (Contributors): Update @node pointers.
23864 * manual/maint.texi (Maintenance): Likewise.
23865 (Platform): New node.
23866 * manual/platform.texi: New file. Document the new features.
23868 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23869 Jakub Jelinek <jakub@redhat.com>
23872 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23873 where __builtin_expect is unavailable.
23875 2012-06-03 David S. Miller <davem@davemloft.net>
23877 * stdlib/longlong.h: Updated from GCC.
23879 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23882 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23883 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23886 (GLIBC_2.16): Likewise.
23888 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23890 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23892 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23895 (default-abi): New variable.
23896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23897 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23899 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23901 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23903 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23906 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23907 definition. Document in comment.
23909 2012-06-01 David S. Miller <davem@davemloft.net>
23911 * stdlib/longlong.h: Updated from GCC.
23913 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23916 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23917 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23918 sys/debugreg.h sys/io.h here.
23919 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23920 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23922 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23923 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23924 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23925 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23926 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23927 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23929 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23930 Define only if __x86_64__ is defined.
23932 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23935 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23936 Use int64_t for variable i.
23937 * math/libm-test.inc (fmod_test): Add more tests.
23939 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23940 z computation is not scheduled after fetestexcept.
23941 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23942 Use math_force_eval instead of asm to ensure calculation scheduled
23943 before exception test.
23944 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23945 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23947 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23949 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23950 computation is not scheduled after fetestexcept.
23952 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23955 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23956 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23958 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23960 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23961 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23963 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23966 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23968 (__WCHAR_MIN): Support __WORDSIZE == 64.
23969 (__WCHAR_MAX): Likewise.
23971 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23972 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23975 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23976 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23979 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23980 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23982 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23983 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23985 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23986 Defined to 1 if __x86_64__ isn't defined.
23987 (_STAT_VER_LINUX_OLD): New.
23988 (st_atime): Remove duplicate.
23989 (st_mtime): Likewise.
23990 (st_ctime): Likewise.
23992 2012-05-31 David S. Miller <davem@davemloft.net>
23994 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23997 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23999 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24003 * elf/dl-reloc.c: Include <_itoa.h>.
24004 (_dl_reloc_bad_type): Remove use of INTUSE.
24005 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24006 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24007 * stdio-common/psiginfo.c (psiginfo): Likewise.
24008 * stdio-common/psignal.c (psignal): Likewise.
24009 * string/strsignal.c (strsignal): Likewise.
24010 * include/signal.h (_sys_siglist): Declare hidden proto.
24011 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
24012 INTVARDEF with libc_hidden_data_def.
24013 * stdio-common/itoa-udigits.c: Likewise.
24014 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24015 (_itoa_lower_digits_internal): Remove declaration.
24016 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24017 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24018 (_sys_sigabbrev_internal): Remove aliases.
24019 (_sys_siglist): Define hidden alias.
24021 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
24023 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24026 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24029 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24030 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24032 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24033 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24034 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24035 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24036 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24037 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24039 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24040 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24041 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24043 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24051 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24052 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24053 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24055 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24056 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24057 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24058 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24059 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24060 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24062 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24063 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24065 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24066 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24068 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24069 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24070 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24072 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24073 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24075 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24077 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24078 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24079 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24081 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24083 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24085 2012-05-31 Joseph Myers <joseph@codesourcery.com>
24087 * math/math.h (M_El): Use two more decimal places.
24088 (M_LOG2El): Likewise.
24089 (M_LOG10El): Likewise.
24090 (M_LN2l): Likewise.
24091 (M_LN10l): Likewise.
24093 (M_PI_2l): Likewise.
24094 (M_PI_4l): Likewise.
24095 (M_1_PIl): Likewise.
24096 (M_2_PIl): Likewise.
24097 (M_2_SQRTPIl): Likewise.
24098 (M_SQRT2l): Likewise.
24099 (M_SQRT1_2l): Likewise.
24101 2012-05-31 David S. Miller <davem@davemloft.net>
24103 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24104 values between float registers.
24105 * sysdeps/sparc/sparc64/memset.S: Likewise.
24106 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24108 2012-05-31 Mike Frysinger <vapier@gentoo.org>
24110 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24111 -D_FORTIFY_SOURCE=1.
24112 (CPPFLAGS-tst-longjmp_chk.c): Define.
24113 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24114 (CPPFLAGS-tst-longjmp_chk2.c): Define.
24115 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24116 CFLAGS-tst-wchar-h.c.
24118 2012-05-31 Marek Polacek <polacek@redhat.com>
24121 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24122 __endmntent_internal): Remove declaration.
24123 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24124 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24125 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24127 2012-05-30 David S. Miller <davem@davemloft.net>
24129 * sysdeps/sparc/sparc32/soft-fp/q_util.c
24130 (___Q_simulate_exceptions): Use real FP ops rather than writing
24132 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24135 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24138 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24139 * sysdeps/x86/bits/xtitypes.h: This.
24141 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24142 * sysdeps/x86/bits/wordsize.h: This.
24144 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24145 * sysdeps/x86/bits/huge_vall.h: This.
24147 * sysdeps/i386/bits/select.h: Removed.
24148 * sysdeps/x86_64/bits/select.h: Renamed to ...
24149 * sysdeps/x86/bits/select.h: This.
24151 * sysdeps/i386/bits/setjmp.h: Removed.
24152 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24153 * sysdeps/x86/bits/setjmp.h: This.
24155 * sysdeps/i386/bits/mathdef.h: Removed.
24156 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24157 * sysdeps/x86/bits/mathdef.h: This.
24159 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
24162 * include/sys/socket.h (__connect_internal)
24163 (__libc_sa_len_internal): Remove declaration.
24164 (__connect, __libc_sa_len): Declare hidden_proto.
24165 (SA_LEN): Remove use of INTUSE.
24166 * socket/connect.c: Add libc_hidden_def.
24167 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24168 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24169 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24171 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24172 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24173 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24174 of adding _internal alias.
24176 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24179 * sysdeps/i386/bits/link.h: Removed.
24180 * sysdeps/i386/bits/linkmap.h: Likewise.
24181 * sysdeps/x86_64/bits/link.h: Renamed to ...
24182 * sysdeps/x86/bits/link.h: This.
24183 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24184 * sysdeps/x86/bits/linkmap.h: This.
24186 * sysdeps/i386/bits/endian.h: Removed.
24187 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24188 * sysdeps/x86/bits/endian.h: This.
24190 * sysdeps/i386/bits/byteswap.h: Removed.
24191 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24192 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24193 * sysdeps/x86/bits/byteswap.h: This.
24194 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24195 * sysdeps/x86/bits/byteswap-16.h: This.
24196 * sysdeps/i386/Implies: Add x86.
24197 * sysdeps/x86_64/Implies: Likewise.
24199 2012-05-30 David S. Miller <davem@davemloft.net>
24201 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24202 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24203 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24204 (FP_TRAPPING_EXCEPTIONS): Define.
24205 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24206 (FP_TRAPPING_EXCEPTIONS): Define.
24207 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24208 subnormals only when inexact has been signalled or underflow
24209 exceptions are enabled.
24210 (_FP_PACK_CANONICAL): Likewise.
24212 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24215 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24216 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24218 2012-05-30 Richard Henderson <rth@twiddle.net>
24220 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24221 with #ifndef NOT_IN_libc.
24223 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24224 marked to avoid plt entry.
24226 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24229 * Makeconfig (default-abi): New macro.
24230 (abi-includes): Likewise.
24231 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24232 $(abi-$(default-abi)-lib-soname) for soname if defined.
24233 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24235 * Makefile (installed-stubs): Likewise.
24236 * include/stubs-biarch.h: Removed.
24237 * scripts/lib-names.awk: Only handle one library at a time.
24238 * scripts/soversions.awk: Remove WORDSIZE support.
24239 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24241 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24243 (syscall-list-default-condition): Likewise.
24244 (syscall-list-default-condition): Likewise.
24245 (syscall-list-includes): Likewise.
24246 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24247 syscall-list-* with abi-*. Handle undefined abi-variants.
24248 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24249 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24250 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24251 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24252 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24253 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24255 (syscall-list-32-options): Likewise.
24256 (syscall-list-32-condition): Likewise.
24257 (syscall-list-64-options): Likewise.
24258 (syscall-list-64-condition): Likewise.
24259 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24261 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24264 (abi-64-ld-soname): New macro.
24265 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24266 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24269 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24270 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24272 2012-05-30 Joseph Myers <joseph@codesourcery.com>
24274 * sysdeps/unix/sysv/linux/kernel-features.h
24275 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24276 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24277 include <kernel-features.h>.
24278 [!__NR_ftruncate64]: Remove conditional code.
24279 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24280 [__NR_ftruncate64]: Make code unconditional.
24281 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24282 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24283 include <kernel-features.h>.
24284 [!__NR_ftruncate64]: Remove conditional code.
24285 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24286 [__NR_ftruncate64]: Make code unconditional.
24287 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24289 include <kernel-features.h>.
24290 [!__NR_ftruncate64]: Remove conditional code.
24291 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24292 [__NR_ftruncate64]: Make code unconditional.
24293 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24295 include <kernel-features.h>.
24296 [!__NR_ftruncate64]: Remove conditional code.
24297 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24298 [__NR_ftruncate64]: Make code unconditional.
24299 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24301 * configure.in (libc_cv_fpie): Weaken to a compile test using
24302 LIBC_TRY_CC_OPTION.
24303 * configure: Regenerated.
24305 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24320 2012-05-27 David S. Miller <davem@davemloft.net>
24322 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24324 (__Q_simulate_exceptions): Return void. Change to simulate
24325 exceptions by writing into the %fsr.
24326 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24327 (__Qp_handle_exceptions): Likewise.
24329 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24330 __Qp_handle_exceptions.
24331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24332 __Qp_handle_exceptions.
24333 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24334 as unused and give dummy FP_RND_NEAREST initializer.
24335 (FP_INHIBIT_RESULTS): Define.
24336 (___Q_simulate_exceptions): Update declaration.
24337 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24339 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24340 as unused and give dummy FP_RND_NEAREST initializer.
24341 (__Qp_handle_exceptions): Update declaration.
24342 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24345 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24347 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24348 the temporary FPU control word.
24349 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24350 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24351 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24352 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24353 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24354 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24355 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24356 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24357 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24358 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24359 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24361 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24363 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24366 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24368 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24369 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24370 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24371 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24373 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24374 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24377 2012-05-27 Ulrich Drepper <drepper@gmail.com>
24379 * po/h.po: Update from translation team.
24381 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24383 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24385 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24386 handling of denormals.
24387 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24388 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24389 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24390 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24391 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24392 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24393 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24396 2012-05-26 Marek Polacek <polacek@redhat.com>
24399 * math/libm-test.inc (fma_test): Don't always expect underflow
24402 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24405 * elf/tst-execstack.c: Include stackinfo.h.
24406 (do_test): Adjust test case to ensure that pthread_getattr_np
24407 behaviour remains the same after marking stack executable.
24409 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24411 * sysdeps/unix/sysv/linux/kernel-features.h
24412 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24413 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24415 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24416 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24417 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24419 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24420 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24422 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24424 * configure.in: Define the default includes to being none.
24425 * configure: Regenerated.
24427 2012-05-25 Roland McGrath <roland@hack.frob.com>
24429 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24430 * sysdeps/x86_64/setjmp.S: Likewise.
24431 * sysdeps/i386/bsd-setjmp.S: Likewise.
24432 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24433 * sysdeps/i386/setjmp.S: Likewise.
24434 * sysdeps/i386/__longjmp.S: Likewise.
24435 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24436 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24438 * include/stap-probe.h: New file.
24439 * configure.in: Handle --enable-systemtap.
24440 * configure: Regenerated.
24441 * config.h.in (USE_STAP_PROBE): New #undef.
24442 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24443 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24444 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24446 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24449 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24450 to 2.4.0 where earlier.
24451 * sysdeps/unix/sysv/linux/configure: Regenerated.
24452 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24453 <kernel-features.h>.
24454 [__ASSUME_32BITUIDS]: Make code unconditional.
24455 [!__ASSUME_32BITUIDS]: Remove conditional code.
24456 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24457 <kernel-features.h>.
24458 [__ASSUME_32BITUIDS]: Make code unconditional.
24459 [!__ASSUME_32BITUIDS]: Remove conditional code.
24460 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24461 [__ASSUME_32BITUIDS]: Make code unconditional.
24462 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24463 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24464 <kernel-features.h>.
24465 [__ASSUME_32BITUIDS]: Make code unconditional.
24466 [!__ASSUME_32BITUIDS]: Remove conditional code.
24467 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24468 <kernel-features.h>.
24469 [__ASSUME_32BITUIDS]: Make code unconditional.
24470 [!__ASSUME_32BITUIDS]: Remove conditional code.
24471 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24472 <kernel-features.h>.
24473 [__ASSUME_32BITUIDS]: Make code unconditional.
24474 [!__ASSUME_32BITUIDS]: Remove conditional code.
24475 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24476 <kernel-features.h>.
24477 [__ASSUME_32BITUIDS]: Make code unconditional.
24478 [!__ASSUME_32BITUIDS]: Remove conditional code.
24479 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24480 <kernel-features.h>.
24481 [__ASSUME_32BITUIDS]: Make code unconditional.
24482 [!__ASSUME_32BITUIDS]: Remove conditional code.
24483 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24484 <kernel-features.h>.
24485 [__ASSUME_32BITUIDS]: Make code unconditional.
24486 [!__ASSUME_32BITUIDS]: Remove conditional code.
24487 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24488 <kernel-features.h>.
24489 [__ASSUME_32BITUIDS]: Make code unconditional.
24490 [!__ASSUME_32BITUIDS]: Remove conditional code.
24491 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24492 <kernel-features.h>.
24493 [__ASSUME_32BITUIDS]: Make code unconditional.
24494 [!__ASSUME_32BITUIDS]: Remove conditional code.
24495 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24496 <kernel-features.h>.
24497 [__ASSUME_32BITUIDS]: Make code unconditional.
24498 [!__ASSUME_32BITUIDS]: Remove conditional code.
24499 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24500 <kernel-features.h>.
24501 [__ASSUME_32BITUIDS]: Make code unconditional.
24502 [!__ASSUME_32BITUIDS]: Remove conditional code.
24503 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24504 <kernel-features.h>.
24505 [__NR_setresgid] (__setresgid): Do not declare.
24506 [__ASSUME_32BITUIDS]: Make code unconditional.
24507 [!__ASSUME_32BITUIDS]: Remove conditional code.
24508 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24509 <kernel-features.h>.
24510 [__NR_setresuid] (__setresuid): Do not declare.
24511 [__ASSUME_32BITUIDS]: Make code unconditional.
24512 [!__ASSUME_32BITUIDS]: Remove conditional code.
24513 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24514 <kernel-features.h>.
24515 [__ASSUME_32BITUIDS]: Make code unconditional.
24516 [!__ASSUME_32BITUIDS]: Remove conditional code.
24517 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24518 <kernel-features.h>.
24519 [__ASSUME_32BITUIDS]: Make code unconditional.
24520 [!__ASSUME_32BITUIDS]: Remove conditional code.
24521 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24522 <kernel-features.h>.
24523 [__ASSUME_32BITUIDS]: Make code unconditional.
24524 [!__ASSUME_32BITUIDS]: Remove conditional code.
24525 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24526 <kernel-features.h>.
24527 [__ASSUME_32BITUIDS]: Make code unconditional.
24528 [!__ASSUME_32BITUIDS]: Remove conditional code.
24529 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24530 <kernel-features.h>.
24531 [__ASSUME_32BITUIDS]: Make code unconditional.
24532 [!__ASSUME_32BITUIDS]: Remove conditional code.
24533 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24534 <kernel-features.h>.
24535 [__ASSUME_32BITUIDS]: Make code unconditional.
24536 [!__ASSUME_32BITUIDS]: Remove conditional code.
24537 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24538 <kernel-features.h>.
24539 [__ASSUME_32BITUIDS]: Make code unconditional.
24540 [!__ASSUME_32BITUIDS]: Remove conditional code.
24541 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24542 <kernel-features.h>.
24543 [__ASSUME_32BITUIDS]: Make code unconditional.
24544 [!__ASSUME_32BITUIDS]: Remove conditional code.
24545 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24546 <kernel-features.h>.
24547 [__ASSUME_32BITUIDS]: Make code unconditional.
24548 [!__ASSUME_32BITUIDS]: Remove conditional code.
24549 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24550 <kernel-features.h>.
24551 [__ASSUME_32BITUIDS]: Make code unconditional.
24552 [!__ASSUME_32BITUIDS]: Remove conditional code.
24553 * sysdeps/unix/sysv/linux/kernel-features.h
24554 (__ASSUME_SETRESUID_SYSCALL): Remove.
24555 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24556 (__ASSUME_32BITUIDS): Likewise.
24557 (__ASSUME_LDT_WORKS): Likewise.
24558 (__ASSUME_O_DIRECTORY): Likewise.
24559 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24560 architecture but not kernel version.
24561 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24562 (__ASSUME_MMAP2_SYSCALL): Likewise.
24563 (__ASSUME_STAT64_SYSCALL): Likewise.
24564 (__ASSUME_IPC64): Likewise.
24565 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24566 <kernel-features.h>.
24567 [__ASSUME_32BITUIDS]: Make code unconditional.
24568 [!__ASSUME_32BITUIDS]: Remove conditional code.
24569 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24570 <kernel-features.h>.
24571 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24572 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24573 132096]: Remove conditional code.
24574 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24575 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24576 <kernel-features.h>.
24577 [__ASSUME_32BITUIDS]: Make code unconditional.
24578 [!__ASSUME_32BITUIDS]: Remove conditional code.
24579 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24580 <kernel-features.h>.
24581 [__ASSUME_32BITUIDS]: Make code unconditional.
24582 [!__ASSUME_32BITUIDS]: Remove conditional code.
24583 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24584 <kernel-features.h>.
24585 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24587 (__setresgid): Do not declare.
24588 [__ASSUME_32BITUIDS]: Make code unconditional.
24589 [!__ASSUME_32BITUIDS]: Remove conditional code.
24590 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24591 <kernel-features.h>.
24592 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24594 (__setresuid): Do not declare.
24595 [__ASSUME_32BITUIDS]: Make code unconditional.
24596 [!__ASSUME_32BITUIDS]: Remove conditional code.
24597 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24598 <kernel-features.h>.
24599 [__ASSUME_32BITUIDS]: Make code unconditional.
24600 [!__ASSUME_32BITUIDS]: Remove conditional code.
24601 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24602 <kernel-features.h>.
24603 [__ASSUME_32BITUIDS]: Make code unconditional.
24604 [!__ASSUME_32BITUIDS]: Remove conditional code.
24606 2012-05-25 Richard Henderson <rth@twiddle.net>
24608 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24609 dl_hwcap to ifunc resolver.
24610 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24612 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24613 dl_hwcap to ifunc resolver.
24614 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24616 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24619 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24620 for |x| <= 2**-26, not 2**-57.
24621 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24624 2012-05-24 Jeff Law <law@redhat.com>
24626 * stdio-common/Makefile (tests): Add bug25.
24627 * stdio-common/bug25.c: New test.
24629 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24632 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24633 multiple of MALLOC_ALIGNMENT in size.
24634 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24636 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24638 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24640 (FILENAME_MAX): Use macro-int-constant.
24641 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24642 (_IOFBF): Use macro-int-constant.
24643 (_IOLBF): Likewise.
24644 (_IONBF): Likewise.
24645 (SEEK_CUR): Likewise.
24646 (SEEK_END): Likewise.
24647 (SEEK_SET): Likewise.
24648 (TMP_MAX): Likewise.
24649 (EOF): Use macro-int-constant. Require < 0.
24650 (NULL): Use macro-constant. Require == 0.
24651 (stdin): Require type to be FILE *.
24652 (stdout): Likewise.
24653 (stderr): Likewise.
24654 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24655 macro-int-constant.
24656 (EXIT_SUCCESS): Likewise.
24657 (NULL): Use macro-constant. Require == 0.
24658 (RAND_MAX): Use macro-int-constant.
24659 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24660 [C99-based standards] (strtof): Require function.
24661 [C99-based standards] (strtold): Likewise.
24662 [C99-based standards] (strtoll): Likewise.
24663 [C99-based standards] (strtoull): Likewise.
24664 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24665 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24666 [ISO || ISO99 || ISO11] (math.h): Likewise.
24667 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24668 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24669 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24671 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24674 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24675 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24676 * intl/dgettext.c (DCGETTEXT): Likewise.
24677 * intl/gettext.c (DCGETTEXT): Likewise.
24678 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24679 * posix/regex_internal.h (gettext): Likewise.
24680 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24681 Remove declaration.
24682 * include/argz.h (__argz_count_internal)
24683 (__argz_stringify_internal): Remove declaration.
24684 (__argz_count, __argz_stringify): Declare hidden proto.
24685 * intl/dcgettext.c: Remove use of INTDEF.
24686 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24687 * string/argz-stringify.c: Likewise.
24688 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24689 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24690 Declare hidden proto.
24691 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24692 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24693 Declare hidden proto.
24694 * include/stdio.h (__asprintf_internal): Don't declare.
24695 (__asprintf): Don't define as macro. Declare hidden proto.
24696 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24697 (__fsetlocking): Declare hidden proto.
24698 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24699 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24701 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24702 (_IO_setlinebuf): Remove use of INTUSE.
24703 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24704 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24705 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24706 Remove declaration.
24707 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24708 (_IO_do_flush): Remove use of INTUSE.
24709 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24710 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24711 (_IO_adjust_column, _IO_least_wmarker)
24712 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24713 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24714 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24715 (_IO_default_doallocate, _IO_wdefault_doallocate)
24716 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24717 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24718 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24719 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24720 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24721 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24722 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24723 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24724 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24725 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24726 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24727 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24728 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24730 (_IO_flush_all_internal, _IO_adjust_column_internal)
24731 (_IO_default_uflow_internal, _IO_default_finish_internal)
24732 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24733 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24734 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24735 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24736 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24737 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24738 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24739 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24740 (_IO_file_close_internal, _IO_file_close_it_internal)
24741 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24742 (_IO_file_init_internal, _IO_file_attach_internal)
24743 (_IO_file_fopen_internal, _IO_file_read_internal)
24744 (_IO_file_sync_internal, _IO_file_seek_internal)
24745 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24746 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24747 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24748 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24749 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24750 (_IO_list_all_internal, _IO_link_in_internal)
24751 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24752 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24753 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24754 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24755 (_IO_do_write_internal, _IO_padn_internal)
24756 (_IO_getline_info_internal, _IO_getline_internal)
24757 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24758 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24759 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24760 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24761 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24762 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24763 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24764 with libc_hidden_ver, remove use of INTUSE.
24765 * libio/genops.c: Likewise.
24766 * libio/freopen.c: Likewise.
24767 * libio/freopen64.c: Likewise.
24768 * libio/iofclose.c: Likewise.
24769 * libio/iofdopen.c: Likewise.
24770 * libio/iofflush.c: Likewise.
24771 * libio/iofflush_u.c: Likewise.
24772 * libio/iofgets.c: Likewise.
24773 * libio/iofgets_u.c: Likewise.
24774 * libio/iofopen.c: Likewise.
24775 * libio/iofopncook.c: Likewise.
24776 * libio/iofread.c: Likewise.
24777 * libio/iofread_u.c: Likewise.
24778 * libio/ioftell.c: Likewise.
24779 * libio/iofwrite.c: Likewise.
24780 * libio/iogetline.c: Likewise.
24781 * libio/iogets.c: Likewise.
24782 * libio/iogetwline.c: Likewise.
24783 * libio/iopadn.c: Likewise.
24784 * libio/iopopen.c: Likewise.
24785 * libio/ioseekoff.c: Likewise.
24786 * libio/ioseekpos.c: Likewise.
24787 * libio/iosetbuffer.c: Likewise.
24788 * libio/iosetvbuf.c: Likewise.
24789 * libio/ioungetc.c: Likewise.
24790 * libio/ioungetwc.c: Likewise.
24791 * libio/iovdprintf.c: Likewise.
24792 * libio/iovsprintf.c: Likewise.
24793 * libio/iovsscanf.c: Likewise.
24794 * libio/memstream.c: Likewise.
24795 * libio/obprintf.c: Likewise.
24796 * libio/oldfileops.c: Likewise.
24797 * libio/oldiofclose.c: Likewise.
24798 * libio/oldiofdopen.c: Likewise.
24799 * libio/oldiofopen.c: Likewise.
24800 * libio/oldiopopen.c: Likewise.
24801 * libio/oldstdfiles.c: Likewise.
24802 * libio/putc.c: Likewise.
24803 * libio/setbuf.c: Likewise.
24804 * libio/setlinebuf.c: Likewise.
24805 * libio/stdfiles.c: Likewise.
24806 * libio/strops.c: Likewise.
24807 * libio/vasprintf.c: Likewise.
24808 * libio/vscanf.c: Likewise.
24809 * libio/vsnprintf.c: Likewise.
24810 * libio/vswprintf.c: Likewise.
24811 * libio/wfiledoalloc.c: Likewise.
24812 * libio/wfileops.c: Likewise.
24813 * libio/wgenops.c: Likewise.
24814 * libio/wmemstream.c: Likewise.
24815 * libio/wstrops.c: Likewise.
24816 * libio/__fpurge.c: Likewise.
24817 * libio/__fsetlocking.c: Likewise.
24818 * assert/assert.c: Likewise.
24819 * debug/fgets_chk.c: Likewise.
24820 * debug/fgets_u_chk.c: Likewise.
24821 * debug/fread_chk.c: Likewise.
24822 * debug/fread_u_chk.c: Likewise.
24823 * debug/gets_chk.c: Likewise.
24824 * debug/obprintf_chk.c: Likewise.
24825 * debug/vasprintf_chk.c: Likewise.
24826 * debug/vdprintf_chk.c: Likewise.
24827 * debug/vsnprintf_chk.c: Likewise.
24828 * debug/vsprintf_chk.c: Likewise.
24829 * malloc/mtrace.c: Likewise.
24830 * misc/error.c: Likewise.
24831 * misc/syslog.c: Likewise.
24832 * stdio-common/asprintf.c: Likewise.
24833 * stdio-common/fxprintf.c: Likewise.
24834 * stdio-common/getw.c: Likewise.
24835 * stdio-common/isoc99_fscanf.c: Likewise.
24836 * stdio-common/isoc99_scanf.c: Likewise.
24837 * stdio-common/isoc99_vfscanf.c: Likewise.
24838 * stdio-common/isoc99_vscanf.c: Likewise.
24839 * stdio-common/isoc99_vsscanf.c: Likewise.
24840 * stdio-common/printf-prs.c: Likewise.
24841 * stdio-common/printf_fp.c: Likewise.
24842 * stdio-common/printf_fphex.c: Likewise.
24843 * stdio-common/printf_size.c: Likewise.
24844 * stdio-common/putw.c: Likewise.
24845 * stdio-common/scanf.c: Likewise.
24846 * stdio-common/sprintf.c: Likewise.
24847 * stdio-common/tmpfile.c: Likewise.
24848 * stdio-common/vfprintf.c: Likewise.
24849 * stdio-common/vfscanf.c: Likewise.
24850 * stdlib/strfmon_l.c: Likewise.
24851 * sunrpc/openchild.c: Likewise.
24852 * sunrpc/xdr_stdio.c: Likewise.
24853 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24854 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24856 2012-05-24 Roland McGrath <roland@hack.frob.com>
24858 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24860 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24861 in the third column, to generate for the shared library an IFUNC
24862 that uses _dl_vdso_vsym.
24863 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24864 * Makeconfig (object-suffixes-noshared): New variable.
24866 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24867 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24868 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24869 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24872 * include/sys/time.h (__gettimeofday): Remove macro.
24873 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24874 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24876 (__gettimeofday): Add libc_hidden_def.
24877 (gettimeofday): Add libc_hidden_weak.
24878 * sysdeps/mach/gettimeofday.c: Likewise.
24879 * sysdeps/posix/gettimeofday.c: Likewise.
24880 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24881 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24882 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24883 (__gettimeofday_internal): Remove strong_alias.
24884 (__gettimeofday): Add libc_hidden_def.
24885 (gettimeofday): Add libc_hidden_weak.
24886 * sysdeps/unix/syscalls.list (gettimeofday):
24887 Remove __gettimeofday_internal alias.
24889 2012-05-24 Daniel Jacobowitz <drow@false.org>
24890 H.J. Lu <hongjiu.lu@intel.com>
24893 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24894 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24895 (largebin_index_32_big): New.
24896 (largebin_index): Use it for 16-byte alignment.
24897 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24898 correction with front_misalign.
24900 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24928 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24929 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24931 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24935 * math/libm-test.inc (exp_test): Add test from bug 14036.
24936 (pow_test): Add test from bug 10846.
24938 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24940 (special_function): Do not include flags in test name.
24941 (parse_args): Likewise.
24942 * sysdeps/i386/fpu/libm-test-ulps: Update.
24943 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24944 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24945 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24948 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24950 * math/libm-test.inc ("Philosophy"): Update comment about
24952 (UNDERFLOW_EXCEPTION): New macro.
24953 (UNDERFLOW_EXCEPTION_OK): Likewise.
24954 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24955 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24956 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24957 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24958 (INVALID_EXCEPTION_OK): Update value.
24959 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24960 (OVERFLOW_EXCEPTION_OK): Likewise.
24961 (IGNORE_ZERO_INF_SIGN): Likewise.
24962 (test_exceptions): Handle underflow exceptions.
24963 (acos_test): Update for underflow exception expectations.
24964 (cexp_test): Likewise.
24965 (clog_test): Likewise.
24966 (clog10_test): Likewise.
24967 (csqrt_test): Likewise.
24968 (ctan_test): Likewise.
24969 (ctanh_test): Likewise.
24970 (exp_test): Likewise.
24971 (exp10_test): Likewise.
24972 (exp2_test): Likewise.
24973 (expm1_test): Likewise.
24974 (fma_test): Likewise.
24975 (j0_test): Likewise.
24976 (jn_test): Likewise.
24977 (nexttoward_test): Likewise.
24978 (pow_test): Likewise.
24979 (scalbn_test): Likewise.
24980 (scalbln_test): Likewise.
24981 (tan_test): Likewise.
24982 (y1_test): Likewise.
24983 * sysdeps/i386/fpu/libm-test-ulps: Update.
24984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24986 2012-05-23 David S. Miller <davem@davemloft.net>
24988 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24989 (__libc_sigaction): Remove unused local variables.
24991 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24993 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24995 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24997 mktime: avoid signed integer overflow
24998 * time/mktime.c (__mktime_internal): Do not mishandle the case
24999 where diff == INT_MIN.
25001 mktime: simplify computation of average
25002 * time/mktime.c (ranged_convert): Use new time_t_avg function
25003 instead of rolling our own (probably-slower) code.
25005 mktime: do not assume signed right shift propagates sign bit
25006 * time/mktime.c (isdst_differ): New static function.
25007 (__mktime_internal): No need to normalize tm_isdst now.
25008 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25011 mktime: merge another wrapv change from gnulib
25012 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25013 from some compilers.
25015 mktime: remove incorrect attempt at unusual arithmetics
25016 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25017 The code didn't really work on such machines anyway.
25018 (TYPE_MINIMUM): Assume two's complement.
25019 (twos_complement_arithmetic): Verify that long_int and time_t
25020 are two's complement (or unsigned, in the latter case).
25022 mktime: check signed shifts on long_int and time_t, too
25023 * time/mktime.c (SHR): Check that shifts work as desired
25024 on the types long_int and time_t too, as SHR is used on
25027 mktime: do not assume 'long' is wide enough
25028 * time/mktime.c (verify): Move decl up.
25029 (long_int): New type.
25030 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25031 to remove assumption in the code that 'long' is wide enough to
25032 store year values. This assumption is not true on x32 and on
25033 some non-glibc platforms.
25035 mktime: merge wrapv change from gnulib
25036 * time/mktime.c (WRAPV): New macro.
25037 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25038 (guess_time_tm, __mktime_internal): Do not assume that signed
25039 integer overflow wraps around; modern compilers generate code
25040 where this assumption is no longer valid.
25042 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25044 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25045 Replace "jmp L(pseudo_end)" with "ret".
25046 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25049 2012-05-23 Andreas Jaeger <aj@suse.de>
25051 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25052 * sysdeps/unix/sysv/linux/poll.c: Remove file.
25054 2012-05-23 Andreas Jaeger <aj@suse.de>
25055 Maximilian Attems <max@stro.at>
25057 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25060 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25062 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25063 code so that pseudo_end is just ret and the stack pointer is
25064 correct also for static library in error case.
25066 2012-05-23 Joseph Myers <joseph@codesourcery.com>
25068 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25069 move to syscalls.list.
25070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25075 * manual/install.texi (Running make install): Do not mention Linux
25076 kernel version for which pt_chown is not needed.
25077 (Linux): Do not mention problems with nscd with 2.0 kernels.
25078 * INSTALL: Regenerated.
25080 2012-05-23 Andreas Jaeger <aj@suse.de>
25082 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25083 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25085 * sysdeps/unix/sysv/linux/s390/bits/mman.h
25086 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25087 * sysdeps/unix/sysv/linux/sh/bits/mman.h
25088 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25089 * sysdeps/unix/sysv/linux/i386/bits/mman.h
25090 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25091 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25092 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25093 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25094 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25095 * sysdeps/unix/sysv/linux/bits/in.h
25096 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25098 2012-05-22 Roland McGrath <roland@hack.frob.com>
25100 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25101 (PREPARE_VERSION): Just use assert instead, it will be elided
25102 under [NDEBUG] anyway.
25104 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25106 * sysdeps/unix/sysv/linux/Makefile: Include
25107 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
25108 (sysdep_routines): Remove sysctl.
25109 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25110 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25111 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25112 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25113 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25115 2012-05-22 Andreas Jaeger <aj@suse.de>
25117 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25118 that pseudo_end is just ret and the stack pointer is correct also
25119 for static library in error case.
25121 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
25124 * nss/nsswitch.c (defconfig_entries): New variable.
25125 (__nss_database_lookup): Don't leak defconfig entries.
25126 (nss_parse_service_list): Don't leak on error paths.
25127 (free_database_entries): New function.
25128 (free_defconfig): New function.
25129 (free_mem): Move common code to free_database_entries.
25131 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25133 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25135 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25137 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25138 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25139 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25141 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25142 (INTERNAL_SYSCALL_TYPES): Likewise.
25143 (LOAD_ARGS_TYPES_[1-6]): Likewise.
25144 (LOAD_REGS_TYPES_[1-6]): Likewise.
25145 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25146 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25148 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25150 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25151 copysignl for GLIBC_2_0.
25152 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25153 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25154 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25155 logbl for GLIBC_2_0.
25156 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25157 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25159 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25161 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25162 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25164 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25167 * time/mktime.c: Update copyright years.
25169 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25171 mktime: merge comment-quoting-style change from gnulib
25172 * time/mktime.c: Quote 'like this' in comments.
25173 The GNU coding standards suggest that we no longer quote `like this',
25174 as "`" and "'" are typically rendered asymmetrically nowadays.
25175 The typical gnulib style is to quote 'like this' when quoting
25176 code, and "like this" when quoting English.
25178 * time/mktime.c (compile-command): Add "-I.".
25180 mktime: merge mktime-internal.h change from gnulib
25181 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25183 mktime: merge time_r change from gnulib
25184 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25186 mktime: merge DEBUG change from gnulib
25187 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25188 case system <time.h> has a #define.
25190 mktime: merge <sys/types.h> change from gnulib
25191 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25192 since <time.t> is now guaranteed to define time_t.
25194 mktime: merge HAVE_CONFIG_H change from gnulib
25195 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25197 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25202 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25204 (struct rusage): Use anonymous union to pad each field to
25207 2012-05-21 David S. Miller <davem@davemloft.net>
25209 * Makefules (o-iterator): Remove .s cases.
25210 (compile-command.s): Delete.
25211 (COMPILE.s): Delete.
25212 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25214 2012-05-21 Joseph Myers <joseph@codesourcery.com>
25216 * configure.in (libc_cv_predef_stack_protector): Only consider
25217 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25218 * configure: Regenerated.
25220 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25222 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25223 New macro. Use R*LP on int and pointer.
25224 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
25225 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25226 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
25227 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25229 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25230 [__WORDSIZE_TIME64_COMPAT32] instead of
25231 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25232 (struct utmp): Likewise.
25233 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25234 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25236 (__WORDSIZE_TIME64_COMPAT32): This.
25237 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25238 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25239 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25240 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25241 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25242 (__WORDSIZE_TIME64_COMPAT32): New macro.
25244 2012-05-21 Andreas Jaeger <aj@suse.de>
25246 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25247 only if [SHARED]. Add prototype for __wcschr_ia32.
25249 2012-05-21 Roland McGrath <roland@hack.frob.com>
25251 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25252 of %rbp unmolested in the jmp_buf while mangling the low bits.
25253 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25254 unmolested high bits of %rbp while demangling the low bits.
25255 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25257 2012-05-21 Andreas Jaeger <aj@suse.de>
25259 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25260 * sunrpc/svc_simple.c: Use it for registerrpc.
25261 * sunrpc/xcrypt.c: Use it for passwd2des.
25263 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25265 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25267 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25268 Don't define if [__SYSCALL_WORDSIZE != 32].
25269 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25272 2012-05-21 Bruno Haible <bruno@clisp.org>
25273 Andreas Jaeger <aj@suse.de>
25275 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25276 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25277 inptr and inend for must_buffer_ch.
25278 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25279 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25280 * stdio-common/Makefile (tests): Remove bug15.
25281 (bug15-ENV): Remove macro.
25282 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25285 2012-05-19 Andreas Jaeger <aj@suse.de>
25286 Roland McGrath <roland@hack.frob.com>
25288 * manual/contrib.texi: Completely rewritten. It contains now an
25289 alphabetical list of contributors and their contributions.
25291 2012-05-21 Richard Henderson <rth@twiddle.net>
25293 * misc/getauxval.c (__getauxval): Use unsigned long int.
25294 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25295 (getauxval): Use unsigned long int.
25297 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25299 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25301 2012-05-21 Roland McGrath <roland@hack.frob.com>
25303 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25304 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25305 __alignof__ (long double).
25307 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25311 2012-05-20 Richard Henderson <rth@twiddle.net>
25313 * misc/getauxval.c: New file.
25314 * misc/sys/auxv.h: New file.
25315 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25316 (routines): Add getauxval.
25317 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25318 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25319 * elf/dl-sysdep.c (_dl_auxv): Remove.
25320 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25321 * elf/dl-support.c (_dl_auxv): New variable.
25322 (_dl_aux_init): Initialize it.
25323 * manual/startup.texi (Auxiliary Vector): New node.
25324 * sysdeps/generic/bits/hwcap.h: New file.
25325 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25326 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25327 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25328 * sysdeps/sparc/sysdep.h: ... here. Include it.
25329 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25330 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
25331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25336 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25342 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25346 2012-05-19 David S. Miller <davem@davemloft.net>
25348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25350 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25353 * math/s_ccosh.c: Include <float.h>
25354 (__ccosh): Avoid internal overflow calculating sinh and cosh
25355 values before multiplying by sin and cos values.
25356 * math/s_ccoshf.c: Likewise.
25357 * math/s_ccoshl.c: Likewise.
25358 * math/s_csin.c: Likewise.
25359 * math/s_csinf.c: Likewise.
25360 * math/s_csinl.c: Likewise.
25361 * math/s_csinh.c: Likewise.
25362 * math/s_csinhf.c: Likewise.
25363 * math/s_csinhl.c: Likewise.
25364 * math/libm-test.inc (ccos_test): Add more tests.
25365 (ccosh_test): Likewise.
25366 (csin_test): Likewise.
25367 (csinh_test): Likewise.
25368 * sysdeps/i386/fpu/libm-test-ulps: Update.
25369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25371 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25373 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25374 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25376 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25378 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25380 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25381 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25382 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25383 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25384 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25385 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25386 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25387 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25388 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25389 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25390 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25391 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25392 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25393 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25394 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25395 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25396 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25397 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25398 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25399 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25400 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25401 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25402 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25403 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25404 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25405 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25406 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25407 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25408 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25409 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25410 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25412 2012-05-18 Andreas Jaeger <aj@suse.de>
25414 * csu/.gitignore: Delete.
25416 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25418 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25419 (timex): Use __syscall_slong_t.
25421 2012-05-18 Andreas Jaeger <aj@suse.de>
25422 Carlos O'Donell <carlos_odonell@mentor.com>
25424 * manual/install.texi (Configuring and compiling): Update
25425 description about files modified in the source directory.
25426 * INSTALL: Regenerated.
25428 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25430 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25431 value. Use "or" to set return value to -1.
25432 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25433 negate return value.
25435 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25437 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25438 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25439 failure if the compiler has Graphite support disabled.
25440 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25442 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25443 CFLAGS-memmove.c): Likewise.
25444 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25447 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25449 * sysdeps/x86_64/x32/_itoa.h: New file.
25451 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25452 getdents system call only if kernel and user dirents have the
25453 same d_ino and d_off.
25455 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25456 LLONG_MAX != LONG_MAX.
25457 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25458 (_fitoa_word): Likewise.
25460 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25462 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25463 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25464 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25466 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25467 include <bits/wordsize.h>. Check __x86_64__ instead of
25469 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25470 if __x86_64__ is defined. Use anonymous union on fpstate.
25472 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25475 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25477 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25478 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25479 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25480 Refer to _rtld_local_ro instead of _rtld_global_ro.
25481 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25483 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25485 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25487 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25488 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25489 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25491 * sysdeps/powerpc/powerpc32/dl-machine.c
25492 (__elf_machine_runtime_setup) [PROF]: Don't reference
25495 2012-05-18 Andreas Jaeger <aj@suse.de>
25497 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25498 function only available for GCCs before 3.4 since GCC 3.4
25499 introduced a builtin.
25501 (llrintf): Likewise.
25502 (llrint): Likewise.
25509 (nearbyint): Likewise.
25510 (nearbyintf): Likewise.
25514 (floorf): Likewise.
25516 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25518 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25519 on both fields and cast pointer to __syscall_ulong_t.
25521 * bits/types.h (__fsword_t): New type.
25522 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25523 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25524 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25525 (__FSWORD_T_TYPE): Likewise.
25526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25527 (__FSWORD_T_TYPE): Likewise.
25528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25529 (__FSWORD_T_TYPE): Likewise.
25530 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25531 (__FSWORD_T_TYPE): Likewise.
25532 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25533 __SWORD_TYPE with __fsword_t.
25534 (statfs64): Likewise.
25536 2012-05-17 David S. Miller <davem@davemloft.net>
25538 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25540 2012-05-17 Andreas Jaeger <aj@suse.de>
25542 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25545 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25547 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25549 2012-05-17 Andreas Jaeger <aj@suse.de>
25551 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25554 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25556 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25558 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25560 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25561 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25563 2012-05-17 Andreas Jaeger <aj@suse.de>
25564 Carlos O'Donell <carlos_odonell@mentor.com>
25567 * sysdeps/x86_64/multiarch/init-arch.h
25568 (bit_YMM_Usable): Rename to...
25569 (bit_AVX_Usable): ... this.
25570 (bit_FMA4_Usable): New macro.
25571 (bit_XMM_state): New macro.
25572 (bit_YMM_state): New macro.
25573 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25574 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25575 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25576 (CPUID_OSXSAVE): New macro.
25577 (CPUID_AVX): New macro.
25578 (CPUID_FMA4): New macro.
25579 (index_YMM_Usable): Rename to...
25580 (index_AVX_Usable): ... this.
25581 (HAS_AVX): Use HAS_ARCH_FEATURE.
25582 (HAS_FMA4): Likewise.
25583 (HAS_YMM_USABLE): Remove.
25584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25585 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25587 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25588 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25589 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25590 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25591 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25593 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25595 * math/libm-test.c: Support platforms without multiple rounding modes.
25596 * math/bug-nextafter.c: Support platforms without FP exceptions.
25597 * math/bug-nexttoward.c: Likewise.
25598 * math/test-fenv.c: Likewise.
25599 * math/test-misc.c: Likewise.
25600 * stdlib/bug-getcontext.c: Likewise.
25602 2012-05-17 Andreas Jaeger <aj@suse.de>
25604 * manual/examples/search.c (critter_cmp): Change signature to
25606 * manual/string.texi (Collation Functions): Likewise.
25608 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25610 * bits/types.h: Fold copyright years.
25611 * bits/typesizes.h: Likewise.
25612 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25613 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25614 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25615 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25616 * time/time.h: Likewise.
25618 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25621 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25622 in instead of returning them. Return void.
25623 (__libc_mallinfo): Accumulate over all arenas.
25624 (__malloc_stats): Adjust for change in int_mallinfo interface.
25626 2012-05-16 Roland McGrath <roland@hack.frob.com>
25629 * configure.in (NM): Add AC_CHECK_TOOL for it.
25630 (libc_extra_cflags): New substituted variable.
25631 Check for -fstack-protector being used implicitly.
25632 * configure: Regenerated.
25633 * config.make.in (config-extra-cflags): New variable,
25634 gets @libc_extra_cflags@.
25635 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25638 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25639 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25640 * configure: Regenerated.
25641 * config.make.in (CPPUNDEFS): New substituted variable.
25642 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25643 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25644 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25646 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25648 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25649 (mq_attr): Use __syscall_slong_t.
25651 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25653 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25654 Check __x86_64__ instead of __WORDSIZE.
25655 (_STAT_VER_LINUX): Likewise.
25656 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25657 __syscall_ulong_t and __syscall_slong_t.
25658 (stat64): Likewise.
25660 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25662 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25664 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25666 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25668 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25670 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25673 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25674 include <bits/wordsize.h>. Check __x86_64__ instead of
25676 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25678 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25680 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25681 include <bits/wordsize.h>. Check __x86_64__ instead of
25683 (user_regs_struct): Use "__extension__ unsigned long long"
25684 instead of "unsigned long" if __x86_64__ is defined.
25685 (user): Likewise. Pad after pointer field if __ILP32__ is
25688 2012-05-16 Joseph Myers <joseph@codesourcery.com>
25690 * configure.in (makeinfo): Require version 4.5 or later. Allow
25692 * configure: Regenerated.
25693 * manual/install.texi (texinfo): Increase version requirement to
25695 * INSTALL: Regenerated.
25697 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25699 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25701 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25703 * sysdeps/x86_64/x32/ffs.c: New file.
25705 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25707 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25708 defined. Use __syscall_ulong_t.
25709 (shminfo): Use __syscall_ulong_t.
25710 (shm_info): Likewise.
25712 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25715 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25717 (msgqnum_t): Use __syscall_ulong_t.
25718 (msglen_t): Likewise.
25719 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25722 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25723 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25725 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25727 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25728 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25730 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25733 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25734 include <bits/wordsize.h>. Check __x86_64__ instead of
25737 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25738 "unsigned long long int" if __x86_64__ is defined.
25739 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25741 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25742 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25743 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25745 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25747 (GET_PC): Cast to uintptr_t first.
25748 (GET_FRAME): Likewise.
25749 (GET_STACK): Likewise.
25751 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25752 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25753 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25754 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25755 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25756 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25757 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25758 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25759 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25760 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25761 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25762 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25763 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25764 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25765 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25766 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25767 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25768 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25769 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25770 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25771 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25772 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25773 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25774 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25775 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25776 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25777 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25778 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25779 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25781 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25783 * Makerules (+depfiles): Also collect depfiles from .oS in
25785 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25786 .oS, $(libnldbl-routines)).
25788 * Makerules (native-compile-mkdep-flags): Define.
25789 * sunrpc/Makefile (extra-objs): Add $(addprefix
25790 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25791 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25792 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25793 calling $(make-target-directory).
25795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25797 * bits/types.h (__snseconds_t): Removed.
25798 * time/time.h (struct timespec): Replace __snseconds_t with
25800 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25801 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25803 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25804 (__SNSECONDS_T_TYPE): Likewise.
25805 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25806 (__SNSECONDS_T_TYPE): Likewise.
25807 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25808 (__SNSECONDS_T_TYPE): Likewise.
25810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25812 * sysdeps/mach/hurd/bits/typesizes.h
25813 (__SYSCALL_SLONG_TYPE): New macro.
25814 (__SYSCALL_ULONG_TYPE): Likewise.
25816 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25818 * bits/types.h (__syscall_slong_t): New type.
25819 (__syscall_ulong_t): Likewise.
25821 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25822 (__SYSCALL_ULONG_TYPE): Likewise.
25823 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25824 (__SYSCALL_SLONG_TYPE): Likewise.
25825 (__SYSCALL_ULONG_TYPE): Likewise.
25826 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25827 (__SYSCALL_SLONG_TYPE): Likewise.
25828 (__SYSCALL_ULONG_TYPE): Likewise.
25829 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25830 (__SYSCALL_SLONG_TYPE): Likewise.
25831 (__SYSCALL_ULONG_TYPE): Likewise.
25833 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25835 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25836 Add sigaltstack-offsets.sym.
25837 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25838 <sigaltstack-offsets.h>.
25839 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25840 longjmp_msg pointer.
25841 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25842 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25844 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25846 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25848 * elf/stackguard-macros.h: Remove file.
25849 * sysdeps/generic/stackguard-macros.h: New file.
25850 * sysdeps/i386/stackguard-macros.h: Likewise.
25851 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25852 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25853 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25854 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25855 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25856 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25857 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25858 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25859 <elf/stackguard-macros.h>.
25862 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25863 __aligned__ in attribute.
25864 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25865 (gregset_t): Likewise.
25867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25869 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25870 * sysdeps/x86_64/64/Implies-after: Here. New file.
25871 * sysdeps/x86_64/x32/Implies-after: New file.
25873 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25875 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25876 and access return value for _dl_profile_fixup. Use R10_LP to
25879 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25881 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25883 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25885 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25886 * sysdeps/x86_64/x32/sysdep.h: New file.
25888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25890 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25891 * sysdeps/x86_64/setjmp.S: Likewise.
25893 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25895 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25896 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25897 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25898 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25899 remove unused global constant.
25901 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25903 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25904 include of <not-cancel.h>.
25906 2012-05-15 Roland McGrath <roland@hack.frob.com>
25908 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25910 2012-05-15 Jeff Law <law@redhat.com>
25911 Andreas Jaeger <aj@suse.de>
25914 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25916 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25917 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25918 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25919 code changing __hst_map_handle.map.
25921 2012-05-15 Roland McGrath <roland@hack.frob.com>
25923 * configure.in (sysnames): Look for Implies-before and Implies-after
25925 * configure: Regenerated.
25927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25929 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25930 8-byte data alignment with LP_SIZE alignment.
25932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25934 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25937 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25939 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25941 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25943 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25944 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25945 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25947 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25951 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25952 (stackinfo_sub_sp): Likewise.
25954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25956 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25961 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25966 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25971 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25973 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25975 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25976 into R11_LP and load __x86_64_shared_cache_size_half into
25979 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25981 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25984 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25986 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25988 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25992 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25993 powerpc32/power7/fpu/s_logb.c via #include.
25994 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25995 powerpc32/power7/fpu/s_logbf.c via #include.
25996 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25997 powerpc32/power7/fpu/s_logbl.c via #include.
25999 2012-05-15 Joseph Myers <joseph@codesourcery.com>
26001 * README.libm: Remove file.
26003 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26005 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26006 count for x32. Use R*_LP and omit operand-size suffix.
26008 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26010 * shlib-versions: Move x86_64-.*-linux.* entries to ...
26011 * sysdeps/x86_64/64/shlib-versions: Here. New file.
26012 * sysdeps/x86_64/x32/shlib-versions: New file.
26014 2012-05-14 Roland McGrath <roland@hack.frob.com>
26016 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26017 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26018 Use _dl_fatal_printf instead.
26020 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26022 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26023 set if not set by the user. Do not allow for being unset.
26024 * sysdeps/unix/sysv/linux/configure: Regenerated.
26026 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26028 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26029 the `q' suffix from lea and replace .quad with ASM_ADDR.
26031 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26033 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26034 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
26036 (PTR_DEMANGLE): Likewise.
26038 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26040 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26042 (ASM_ADDR): Likewise.
26043 (RAX_LP): Likewise.
26044 (RBP_LP): Likewise.
26045 (RBX_LP): Likewise.
26046 (RCX_LP): Likewise.
26047 (RDI_LP): Likewise.
26048 (RSI_LP): Likewise.
26049 (RSP_LP): Likewise.
26052 (R10_LP): Likewise.
26053 (R10_LP): Likewise.
26054 (R11_LP): Likewise.
26055 (R12_LP): Likewise.
26056 (R13_LP): Likewise.
26057 (R14_LP): Likewise.
26058 (R15_LP): Likewise.
26060 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26062 * sysdeps/x86_64/x32/dl-machine.h: New file.
26064 2012-05-14 Andreas Jaeger <aj@suse.de>
26066 * manual/Makefile (subdir): Remove export of subdir.
26067 (all): Remove target.
26068 (.PHONY): Remove all from list.
26069 (mkinstalldirs): Remove.
26070 (.PHONY): Remove installdirs from list.
26071 ($(inst_infodir)/libc.info): Use make-target-directory.
26072 (installdirs): Remove.
26073 (subdir_%): Remove.
26074 (glibc-targets): Remove.
26077 ($(objpfx)stubs ../po/manual.pot): Remove.
26078 ($(objpfx)stamp%): Remove.
26079 (make-target-directory): Remove.
26080 (subdir_install): Remove.
26081 (routines): Remove.
26088 * manual/.gitignore: Remove, it's not needed anymore.
26089 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26091 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26093 (texis): Renamed to $(objpfx)texis.
26094 (texis-path): New, contains path to generated files.
26095 (chapters.%): Use texis-path for complete path, add extra argument
26097 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26098 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26099 (summary,texi, stamp-summary): Use complete path of
26100 files. Generate files in build dir.
26101 (dir-add.texi): Build in build dir.
26102 (libm-err.texi,stamp-libm-err): Likewise.
26103 (version.texi, stamp-version): Likewise.
26104 (.%c.texi): Likewise.
26105 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26106 (mostlyclean): Remove target.
26107 (realclean): Remove target.
26108 (generated): Add new variable with contents from mostlyclean and
26109 realclean, remove entries duplicated in common-mostlyclean, add
26110 stamp-libm-err and stamp-version.
26111 (generated-dirs): Add libc directory.
26112 ($(inst_infodir)/libc.info): Install files from build dir.
26114 * manual/install.texi (Configuring and compiling): Adjust since
26115 the info files are not part of the tar ball anymore.
26117 2012-05-14 Andreas Jaeger <aj@suse.de>
26119 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26122 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26125 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26126 to 2.2.0 where earlier.
26127 * sysdeps/unix/sysv/linux/configure: Regenerated.
26128 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26129 Remove conditional code.
26130 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26131 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26132 Remove conditional code.
26133 [!__NR_lchown]: Likewise.
26134 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26135 [__NR_lchown]: Likewise.
26136 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26137 comment referencing __ASSUME_LCHOWN_SYSCALL.
26138 * sysdeps/unix/sysv/linux/i386/sigaction.c
26139 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26140 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26141 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26142 Remove conditional code.
26143 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26144 (__protocol_available): Remove #if 0 code.
26145 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26147 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26148 * sysdeps/unix/sysv/linux/kernel-features.h
26149 (__ASSUME_GETCWD_SYSCALL): Don't define.
26150 (__ASSUME_REALTIME_SIGNALS): Likewise.
26151 (__ASSUME_PREAD_SYSCALL): Likewise.
26152 (__ASSUME_PWRITE_SYSCALL): Likewise.
26153 (__ASSUME_POLL_SYSCALL): Likewise.
26154 (__ASSUME_LCHOWN_SYSCALL): Likewise.
26155 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26157 (__ASSUME_SIOCGIFNAME): Don't define.
26158 (__ASSUME_MSG_NOSIGNAL): Likewise.
26159 (__ASSUME_SENDFILE): Define unconditionally.
26160 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26161 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26163 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26164 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26165 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26166 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26167 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26168 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26169 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26171 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26172 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26174 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26175 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26177 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26178 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26180 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26181 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26183 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26184 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26186 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26187 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26189 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26190 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26192 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26193 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26194 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26195 Remove conditional code.
26196 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26197 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26198 Remove conditional code.
26199 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26200 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26201 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26202 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26203 Remove conditional code.
26204 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26205 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26206 Remove conditional code.
26207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26208 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26209 Remove conditional code.
26210 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26211 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26212 Remove conditional code.
26213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26214 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26215 Remove conditional code.
26216 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26217 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26218 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26219 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26220 * sysdeps/unix/sysv/linux/sigaction.c
26221 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26222 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26223 * sysdeps/unix/sysv/linux/sigpending.c
26224 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26225 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26226 * sysdeps/unix/sysv/linux/sigprocmask.c
26227 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26228 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26229 * sysdeps/unix/sysv/linux/sigsuspend.c
26230 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26231 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26232 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26233 (__libc_missing_rt_sigs): Remove.
26234 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26235 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26236 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26237 Remove conditional code.
26238 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26239 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26241 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26242 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26243 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26244 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26246 2012-05-14 Andreas Jaeger <aj@suse.de>
26248 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26249 it's not used in glibc.
26250 (__coshm1): Likewise.
26251 (__acosh1p): Likewise.
26254 * manual/string.texi (Copying and Concatenation): Add missing
26255 variable in concat example.
26256 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26258 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26261 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26262 __builtin_clzl with __builtin_clzll.
26264 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26267 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26270 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26272 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26273 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26274 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26275 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26277 2012-05-14 Mike Frysinger <vapier@gentoo.org>
26279 * NEWS: Update ia64 info.
26281 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26283 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26286 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26288 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26289 * sysdeps/unix/syscalls.list (dup3): Likewise.
26290 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26291 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26293 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26295 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26296 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26298 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26300 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26302 (TLS_IE): Use mov/add instead of movq/addq to load thread
26304 (TLS_GD_PREFIX): New.
26307 2012-05-11 David S. Miller <davem@davemloft.net>
26309 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26310 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26311 (_FPU_SETCW): Likewise.
26313 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26315 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26316 is 32-byte aligned.
26318 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26321 * iconvdata/gb18030.c: Update tables.
26322 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26323 characters specially.
26324 (BODY for TO_LOOP): Add encoding of missing ranges.
26326 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26329 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26330 * sysdeps/mach/hurd/dup3.c: Likewise.
26331 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26332 * sysdeps/powerpc/memmove.c:: Likewise.
26334 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26336 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26337 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26339 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26341 * elf/elf.h (R_X86_64_RELATIVE64): New.
26342 (R_X86_64_NUM): Updated.
26343 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26344 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26345 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26346 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26347 tst-quad1pie tst-quad2pie
26348 (modules-names): Add tst-quadmod1 tst-quadmod2.
26349 ($(objpfx)tst-quad1): New dependency.
26350 ($(objpfx)tst-quad2): Likewise.
26351 ($(objpfx)tst-quad1pie): Likewise.
26352 ($(objpfx)tst-quad2pie): Likewise.
26353 * sysdeps/x86_64/tst-quad1.c: New file.
26354 * sysdeps/x86_64/tst-quad1pie.c: New file.
26355 * sysdeps/x86_64/tst-quad2.c: Likewise.
26356 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26357 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26358 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26359 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26360 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26362 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26364 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26365 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26366 * streams/stropts.h (t_scalar_t): Define type.
26368 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26369 (_PATH_PRESERVE): Set to "/var/lib".
26370 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26372 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26375 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26376 if __dir_mkfile succeeded.
26378 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26379 checking for _hurd_dtablesize. Unlock it right after having
26380 finished _hurd_dtable allocation.
26382 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26384 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26385 * sysdeps/mach/hurd/configure: Regenerated.
26386 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26387 special-casing to...
26388 * sysdeps/gnu/configure.in: ... this new file.
26389 * sysdeps/unix/sysv/linux/configure: Regenerated.
26390 * sysdeps/gnu/configure: New generated file.
26392 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26393 for Linux: use nsec instead of usec, as well as:
26394 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26395 members of type struct timespec.
26396 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26398 (struct stat64): Likewise.
26399 (_STATBUF_ST_NSEC): New macro.
26400 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26402 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26403 __strtoul_internal rather than strtoul.
26405 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26407 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26410 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26412 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26413 which preserves existing values.
26414 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26416 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26418 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26419 TIMEOUT values. Return EINVAL for NFDS values either negative or
26420 greater than FD_SETSIZE.
26422 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26424 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26425 allocated, call __vm_protect to finish enabling the existing space, and
26426 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26427 allocate the remainder.
26429 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26431 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26432 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26434 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26436 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26437 sysdeps/mach/hurd/readlink.c.
26439 * posix/tst-sysconf.c (posix_options): Only use
26440 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26441 _POSIX_SYNCHRONIZED_IO when they are defined
26442 * sysdeps/mach/hurd/bits/posix_opt.h:
26443 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26444 (_XOPEN_REALTIME): Undefine macro.
26445 (_XOPEN_REALTIME_THREADS): Undefine macro.
26446 (_XOPEN_SHM): Undefine macro.
26447 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26449 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26451 (_POSIX_ASYNC_IO): Undefine macro.
26452 (_POSIX_PRIORITIZED_IO): Undefine macro.
26453 (_POSIX_SPIN_LOCKS): Define macro to -1.
26455 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26456 SA_NODEFER, SA_RESETHAND.
26457 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26458 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26461 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26463 * elf/Makefile (pldd-modules): Define unconditionally.
26465 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26467 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26469 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26471 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26472 Return ENOENT when name is empty.
26473 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26475 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26477 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26479 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26481 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26483 Fix mlock in all cases except non-readable pages.
26484 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26485 instead of VM_PROT_ALL as parameter to __vm_wire function.
26487 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26488 (__mkdir): When path is `/', just fail with EEXIST.
26489 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26491 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26493 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26494 <sys/uio.h> (for writev).
26495 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26496 and <sys/param.h> (for MIN).
26498 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26500 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26501 REQUESTED_TIME. Properly set the remaining time and return EINTR
26504 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26506 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26507 Depend on against $(link-rpcuserlibs).
26509 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26511 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26512 (__libc_stack_end): Do not use attribute_relro.
26513 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26514 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
26515 to libthread-provided value.
26516 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26519 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26522 * bits/libc-lock.h (__libc_once_get): New macro.
26523 * sysdeps/mach/bits/libc-lock.h: Likewise.
26524 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26525 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26526 instead of using implementation details.
26528 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26529 * libio/freopen.c: Likewise.
26530 * libio/freopen64.c: Likewise.
26531 * misc/syslog.c: Likewise.
26532 * nscd/connections.c: Likewise.
26533 * nscd/netgroupcache.c: Likewise.
26534 * sysdeps/posix/getcwd.c: Likewise.
26536 2012-05-10 Roland McGrath <roland@hack.frob.com>
26538 * math/w_ilogbf.c: Add #include <limits.h>.
26540 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26542 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
26543 path instead of returning without unlocking.
26545 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26546 immediate-write ioctls.
26547 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26549 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26551 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26552 __builtin_frame_address instead of making assumptions about the
26553 location of the return address relative to DATA. Force early load of
26554 the return address.
26555 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26556 __builtin_frame_address.
26559 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26560 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26561 implement dup3 and do some further code clean-ups.
26562 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26563 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26565 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26567 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26569 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26570 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26571 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26572 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26573 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26576 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26577 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26578 when handler == SIG_ERR, not when handler != SIG_ERR.
26580 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26582 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26583 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26586 accept4 for GNU Hurd.
26587 * include/sys/socket.h (__libc_accept4): New prototype.
26588 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26589 to implement __libc_accept4.
26590 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26592 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26594 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26595 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26596 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26597 signal-defines.sym.
26599 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26601 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
26603 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26605 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26606 assertion on O_CLOEXEC flag.
26607 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26608 * hurd/intern-fd.c: Likewise.
26609 * hurd/port2fd.c: Likewise.
26611 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26614 * bits/in.h (IPV6_PKTINFO): Define new macro.
26615 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26617 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26622 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26623 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26624 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26625 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26626 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26627 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26628 * math/libm-test.inc (logb_test) : Additional logb tests.
26630 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26631 Andreas Jaeger <aj@suse.de>
26633 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26634 * configure: Regenerated.
26635 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26636 * config.make.in (link-obsolete-rpc): New substituted variable.
26637 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26638 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26639 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26640 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26641 so that libc.a contains the symbols.
26642 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26643 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26644 * sunrpc/auth_none.c: Likewise.
26645 * sunrpc/auth_unix.c: Likewise.
26646 * sunrpc/authdes_prot.c: Likewise.
26647 * sunrpc/authuxprot.c: Likewise.
26648 * sunrpc/clnt_gen.c: Likewise.
26649 * sunrpc/clnt_perr.c: Likewise.
26650 * sunrpc/clnt_raw.c: Likewise.
26651 * sunrpc/clnt_simp.c: Likewise.
26652 * sunrpc/clnt_tcp.c: Likewise.
26653 * sunrpc/clnt_udp.c: Likewise.
26654 * sunrpc/clnt_unix.c: Likewise.
26655 * sunrpc/des_crypt.c: Likewise.
26656 * sunrpc/des_soft.c: Likewise.
26657 * sunrpc/get_myaddr.c: Likewise.
26658 * sunrpc/key_call.c: Likewise.
26659 * sunrpc/key_prot.c: Likewise.
26660 * sunrpc/netname.c: Likewise.
26661 * sunrpc/pm_getmaps.c: Likewise.
26662 * sunrpc/pm_getport.c: Likewise.
26663 * sunrpc/pmap_clnt.c: Likewise.
26664 * sunrpc/pmap_prot.c: Likewise.
26665 * sunrpc/pmap_prot2.c: Likewise.
26666 * sunrpc/pmap_rmt.c: Likewise.
26667 * sunrpc/publickey.c: Likewise.
26668 * sunrpc/rpc_cmsg.c: Likewise.
26669 * sunrpc/rpc_common.c: Likewise.
26670 * sunrpc/rpc_dtable.c: Likewise.
26671 * sunrpc/rpc_prot.c: Likewise.
26672 * sunrpc/rpc_thread.c: Likewise.
26673 * sunrpc/rtime.c: Likewise.
26674 * sunrpc/svc.c: Likewise.
26675 * sunrpc/svc_auth.c: Likewise.
26676 * sunrpc/svc_raw.c: Likewise.
26677 * sunrpc/svc_run.c: Likewise.
26678 * sunrpc/svc_tcp.c: Likewise.
26679 * sunrpc/svc_udp.c: Likewise.
26680 * sunrpc/svc_unix.c: Likewise.
26681 * sunrpc/svcauth_des.c: Likewise.
26682 * sunrpc/xcrypt.c: Likewise.
26683 * sunrpc/xdr.c: Likewise.
26684 * sunrpc/xdr_array.c: Likewise.
26685 * sunrpc/xdr_float.c: Likewise.
26686 * sunrpc/xdr_intXX_t.c: Likewise.
26687 * sunrpc/xdr_mem.c: Likewise.
26688 * sunrpc/xdr_rec.c: Likewise.
26689 * sunrpc/xdr_ref.c: Likewise.
26690 * sunrpc/xdr_sizeof.c: Likewise.
26691 * sunrpc/xdr_stdio.c: Likewise.
26693 2012-05-10 Roland McGrath <roland@hack.frob.com>
26695 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26696 change. Update copyright years.
26698 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26700 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26702 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26703 Joseph Myers <joseph@codesourcery.com>
26704 Paul Pluzhnikov <ppluzhnikov@google.com>
26707 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26709 [cross-compiling] (extra-libs): Likewise.
26710 [cross-compiling] (extra-libs-others): Likewise.
26711 [cross-compiling] (librpcsvc-routines): Likewise.
26712 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26713 [cross-compiling] (omit-deps): Likewise.
26714 (sunrpc-CPPFLAGS): New variable.
26715 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26716 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26717 (cross-rpcgen-objs): New variable.
26718 (extra-objs): Append $(cross-rpcgen-objs).
26719 ($(cross-rpcgen-objs)): New rule.
26720 ($(objpfx)cross-rpcgen): Likewise.
26721 (rpcgen-cmd): Define to use $(built-program-file). Expand
26723 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26724 ($(objpfx)x%.stmp): Likewise.
26725 * sunrpc/proto.h [IS_IN_build] (_): Define.
26726 [IS_IN_build] (_libc_intl_domainname): Likewise.
26728 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26730 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26731 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26732 and R_X86_64_TPOFF64.
26734 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26736 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26737 sysdeps/unix/sysv/syscalls.list.
26740 * sysdeps/unix/sysv/syscalls.list: Remove file.
26742 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26745 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26746 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26747 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26748 (__LC_IDENTIFICATION): Make these macros useful in #if
26749 expressions, as required by C99.
26751 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26753 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26754 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26757 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26759 * stdlib/longlong.h: Updated from GCC.
26761 2012-05-09 Andreas Jaeger <aj@suse.de>
26763 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26764 default is first entry.
26765 (run_mode): Set type.
26766 (main): Remove informal message about syslog.
26767 (options): Fix typo.
26770 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26773 (llrintf): Likewise.
26774 (llrint): Likewise.
26777 (nearbyint): Likewise.
26778 (nearbyintf): Likewise.
26780 2012-05-09 Andreas Jaeger <aj@suse.de>
26781 Pedro Alves <palves@redhat.com>
26783 * nscd/nscd.c (run_mode): Use enum.
26784 (main): Cleanup coding style issue.
26786 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
26787 Andreas Jaeger <aj@suse.de>
26789 * nscd/nscd.c (go_background): Replaced with...
26790 (run_mode): ... this.
26791 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26792 (options): Add -F --foreground.
26793 (main): Implement it.
26794 (parse_opt): Parse it.
26796 2012-05-09 Andreas Jaeger <aj@suse.de>
26799 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26800 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26801 -Wconversion warning.
26802 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26805 2012-05-09 Joseph Myers <joseph@codesourcery.com>
26807 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26809 (LC_ALL): Use macro-int-constant.
26810 (LC_COLLATE): Likewise.
26811 (LC_CTYPE): Likewise.
26812 (LC_MESSAGES): Likewise.
26813 (LC_MONETARY): Likewise.
26814 (LC_NUMERIC): Likewise.
26815 (LC_TIME): Likewise.
26816 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26817 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26818 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26819 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26821 [C99-based standards] (float_t): Expect type.
26822 [C99-based standards] (double_t): Expect type.
26823 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26825 [C99-based standards] (HUGE_VALL): Likewise.
26826 [C99-based standards] (INFINITY): Likewise.
26827 [C99-based standards] (NAN): Likewise.
26828 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26829 [C99-based standards] (FP_NAN): Likewise.
26830 [C99-based standards] (FP_NORMAL): Likewise.
26831 [C99-based standards] (FP_SUBNORMAL): Likewise.
26832 [C99-based standards] (FP_ZERO): Likewise.
26833 [C99-based standards] (FP_FAST_FMA): Use
26834 optional-macro-int-constant. Specify type. Require == 1.
26835 [C99-based standards] (FP_FAST_FMAF): Likewise.
26836 [C99-based standards] (FP_FAST_FMAL): Likewise.
26837 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26838 [C99-based standards] (FP_ILOGBNAN): Likewise.
26839 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26841 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26842 [C99-based standards] (math_errhandling): Specify type.
26843 [ISO99 || ISO11] (signgam): Do not allow.
26844 [non-C99-based standards] (copysignf): Do not allow.
26845 [non-C99-based standards] (exp2f): Likewise.
26846 [non-C99-based standards] (log2f): Likewise.
26847 [non-C99-based standards] (modff): Allow.
26848 [non-C99-based standards] (erff): Do not allow.
26849 [non-C99-based standards] (erfcf): Likewise.
26850 [non-C99-based standards] (gammaf): Likewise.
26851 [non-C99-based standards] (hypotf): Likewise.
26852 [non-C99-based standards] (j0f): Likewise.
26853 [non-C99-based standards] (j1f): Likewise.
26854 [non-C99-based standards] (jnf): Likewise.
26855 [non-C99-based standards] (lgammaf): Likewise.
26856 [non-C99-based standards] (tgammaf): Likewise.
26857 [non-C99-based standards] (y0f): Likewise.
26858 [non-C99-based standards] (y1f): Likewise.
26859 [non-C99-based standards] (ynf): Likewise.
26860 [non-C99-based standards] (isnanf): Likewise.
26861 [non-C99-based standards] (acoshf): Likewise.
26862 [non-C99-based standards] (asinhf): Likewise.
26863 [non-C99-based standards] (atanhf): Likewise.
26864 [non-C99-based standards] (cbrtf): Likewise.
26865 [non-C99-based standards] (expm1f): Likewise.
26866 [non-C99-based standards] (ilogbf): Likewise.
26867 [non-C99-based standards] (log1pf): Likewise.
26868 [non-C99-based standards] (logbf): Likewise.
26869 [non-C99-based standards] (nextafterf): Likewise.
26870 [non-C99-based standards] (remainderf): Likewise.
26871 [non-C99-based standards] (rintf): Likewise.
26872 [non-C99-based standards] (scalbf): Likewise.
26873 [non-C99-based standards] (copysignl): Likewise.
26874 [non-C99-based standards] (exp2l): Likewise.
26875 [non-C99-based standards] (log2l): Likewise.
26876 [non-C99-based standards] (modfl): Allow.
26877 [non-C99-based standards] (erfl): Do not allow.
26878 [non-C99-based standards] (erfcl): Likewise.
26879 [non-C99-based standards] (gammal): Likewise.
26880 [non-C99-based standards] (hypotl): Likewise.
26881 [non-C99-based standards] (j0l): Likewise.
26882 [non-C99-based standards] (j1l): Likewise.
26883 [non-C99-based standards] (jnl): Likewise.
26884 [non-C99-based standards] (lgammal): Likewise.
26885 [non-C99-based standards] (tgammal): Likewise.
26886 [non-C99-based standards] (y0l): Likewise.
26887 [non-C99-based standards] (y1l): Likewise.
26888 [non-C99-based standards] (ynl): Likewise.
26889 [non-C99-based standards] (isnanl): Likewise.
26890 [non-C99-based standards] (acoshl): Likewise.
26891 [non-C99-based standards] (asinhl): Likewise.
26892 [non-C99-based standards] (atanhl): Likewise.
26893 [non-C99-based standards] (cbrtl): Likewise.
26894 [non-C99-based standards] (expm1l): Likewise.
26895 [non-C99-based standards] (ilogbl): Likewise.
26896 [non-C99-based standards] (log1pl): Likewise.
26897 [non-C99-based standards] (logbl): Likewise.
26898 [non-C99-based standards] (nextafterl): Likewise.
26899 [non-C99-based standards] (remainderl): Likewise.
26900 [non-C99-based standards] (rintl): Likewise.
26901 [non-C99-based standards] (scalbl): Likewise.
26902 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26903 [non-C99-based standards] (FP_*): Do not allow.
26904 [C99-based standards] (FP_*): Change to
26905 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26906 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26908 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26909 (SIG_ERR): Likewise.
26910 [X/Open-based standards] (SIG_HOLD): Likewise.
26911 (SIG_IGN): Likewise.
26912 (SIGABRT): Use macro-int-constant. Specify type. Require
26914 (SIGFPE): Likewise.
26915 (SIGILL): Likewise.
26916 (SIGINT): Likewise.
26917 (SIGSEGV): Likewise.
26918 (SIGTER): Likewise.
26919 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26920 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26921 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26922 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26923 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26924 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26925 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26926 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26927 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26928 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26929 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26930 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26931 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26932 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26933 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26934 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26935 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26936 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26937 [X/Open-based standards] (SIGTRAP): Likewise.
26938 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26939 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26940 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26941 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26942 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26945 2012-05-08 Ian Wienand <ianw@vmware.com>
26948 * time/tzset.c (__tzset_parse_tz): Update default rules for
26949 daylight time changes in the Energy Policy Act of 2005.
26951 2012-05-09 Andreas Jaeger <aj@suse.de>
26954 * elf/ldconfig.c (parse_conf): Change string to make clear that
26955 ldconfig only issued a warning if ld.so.conf does not exist.
26957 2012-05-08 David S. Miller <davem@davemloft.net>
26959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26960 movxtod instead of popping the value on the stack.
26962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26964 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26966 * config.h.in: Add HAVE_ARM_PCS_VFP.
26968 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
26971 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26972 checking but the checks are disabled for any reason.
26974 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26976 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26977 and ELF64_R_TYPE with ELFW(R_TYPE).
26979 2012-05-08 Joseph Myers <joseph@codesourcery.com>
26981 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26982 (ulimit): Likewise.
26984 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26985 (settimeofday): Likewise.
26987 2012-05-08 Mike Frysinger <vapier@gentoo.org>
26989 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26990 a struct th_u2 inside the union, and move tu_block/tu_code into
26991 a new th_u3 union of tu_block/tu_code inside of that. Move
26992 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26993 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26994 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26995 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26996 (th_stuff): Change to th_u1.tu_stuff.
26998 (th_msg): Change to th_u1.th_u2.tu_data.
27000 2012-05-07 David S. Miller <davem@davemloft.net>
27002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27005 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27006 (SETUP_PIC_REG): Use it.
27007 (SETUP_PIC_REG_LEAF): Use it.
27009 2012-05-07 Joseph Myers <joseph@codesourcery.com>
27013 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27015 (EXPL_FINITE): Likewise.
27016 (FLDLOG): Likewise.
27017 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27018 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27020 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27022 (EXPL_FINITE): Likewise.
27023 (FLDLOG): Likewise.
27024 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27025 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27027 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
27028 test of -max_value argument for long double.
27029 * sysdeps/i386/fpu/libm-test-ulps: Update.
27030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27032 2012-05-06 David S. Miller <davem@davemloft.net>
27034 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27035 quad soft-float symbols whose references which are compiler
27037 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27039 2012-05-06 Joseph Myers <joseph@codesourcery.com>
27043 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27045 (EXPL_FINITE): Likewise.
27046 (FLDLOG): Likewise.
27049 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27050 Adjust comments for base varying.
27051 (__expl_finite): Change alias to EXPL_FINITE.
27052 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27054 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27055 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27056 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27057 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27058 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27060 (EXPL_FINITE): Likewise.
27061 (FLDLOG): Likewise.
27064 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27065 Adjust comments for base varying.
27066 (__expl_finite): Change alias to EXPL_FINITE.
27067 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
27069 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27072 * math/libm-test.inc (check_float_internal): Correct ulp
27073 calculation for subnormal expected results.
27075 2012-05-06 Andreas Jaeger <aj@suse.de>
27077 * Makeconfig (+math-flags): New, set to -frounding-math.
27078 (+cflags): Add +math-flags so that all of glibc gets compiled with
27081 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27083 2012-05-05 Joseph Myers <joseph@codesourcery.com>
27085 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27091 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27092 (__ieee754_expl): Allow for and saturate large arguments.
27093 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27094 (u_threshold): Likewise.
27095 (__exp): Call __ieee754_exp before checking for overflow and
27097 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27098 (u_threshold): Likewise.
27099 (__expf): Call __ieee754_expf before checking for overflow and
27101 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27102 (u_threshold): Likewise.
27103 (__expl): Call __ieee754_expl before checking for overflow and
27105 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27106 (__ieee754_expl): Allow for and saturate large arguments.
27107 * math/libm-test.inc (exp_test): Add another test. Do not allow
27108 missing overflow exception on overflow.
27109 (expm1_test): Do not allow missing overflow exception on overflow.
27111 * sysdeps/i386/fpu/e_expl.c: Move to ...
27112 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
27113 rather than using inline asm.
27114 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27115 * sysdeps/x86_64/fpu/e_expl.S: Copy from
27116 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27118 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27121 (signal): Likewise.
27125 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27127 * sysdeps/unix/syscalls.list (adjtime): Add entry from
27128 sysdeps/unix/common/syscalls.list.
27129 (fchmod): Likewise.
27130 (fchown): Likewise.
27131 (ftruncate): Likewise.
27132 (getrusage): Likewise.
27133 (gettimeofday): Likewise.
27134 (setpgid): Likewise.
27135 (setregid): Likewise.
27136 (setreuid): Likewise.
27137 (sigaction): Likewise.
27138 (truncate): Likewise.
27139 (vhangup): Likewise.
27140 * sysdeps/unix/common/syscalls.list: Remove file.
27141 * sysdeps/unix/bsd/Implies: Don't include unix/common.
27142 * sysdeps/unix/sysv/linux/Implies: Likewise.
27144 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
27146 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27148 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27152 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27155 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27158 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27161 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27164 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27167 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27170 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27174 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27178 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27181 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27185 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27189 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27191 * sysdeps/unix/common/bits/dirent.h: Remove file.
27192 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27194 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27195 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27196 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27197 * sysdeps/unix/bsd/isatty.c: Likewise.
27198 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27199 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27200 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27202 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27205 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27206 long double comparison inaccuracies.
27207 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27210 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27212 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27213 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27215 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27218 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27219 nonzero digits before rounding a hex value.
27220 * stdlib/tst-strtod.c (tests): Add another test.
27222 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27224 * sysdeps/s390/fpu/libm-test-ulps: Update.
27226 2012-05-03 Andreas Jaeger <aj@suse.de>
27228 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27229 does not get optimized out.
27230 (malloc_opt_barrier): New.
27232 2012-05-03 Andreas Jaeger <aj@suse.de>
27233 Roland McGrath <roland@hack.frob.com>
27235 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
27236 intermediate file deletion.
27237 (generated): Add .symlist files.
27239 2012-05-03 Joseph Myers <joseph@codesourcery.com>
27242 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27243 Redirect under this condition.
27244 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27245 [__USE_GNU] (__dprintf_chk): Not under this condition.
27246 [__USE_GNU] (__vdprintf_chk): Likewise.
27247 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27248 under this condition.
27249 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27250 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27251 [__USE_XOPEN2K8] (vdprintf): Likewise.
27252 [__USE_GNU] (__dprintf_chk): Not under this condition.
27253 [__USE_GNU] (__vdprintf_chk): Likewise.
27254 [__USE_GNU] (dprintf): Likewise.
27255 [__USE_GNU] (vdprintf): Likewise.
27257 2012-05-03 Roland McGrath <roland@hack.frob.com>
27259 * elf/Makefile (common-generated): Set this instead of generated for
27260 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27261 $(all-built-dso)-derived lists.
27263 2012-05-03 Andreas Jaeger <aj@suse.de>
27265 * sysdeps/i386/fpu/libm-test-ulps: Update.
27268 * FAQ.in: Likewise.
27269 * scripts/gen-FAQ.pl: Likewise.
27270 * manual/install.texi (Installation): Point to online location of
27272 * Makefile (files-for-dist): Remove FAQ.
27275 2012-05-02 Allan McRae <allan@archlinux.org>
27277 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27278 (LDFLAGS-reldepmod5.so): Likewise.
27279 (LDFLAGS-reldep6mod1.so): Likewise.
27280 (LDFLAGS-reldep6mod4.so): Likewise.
27281 (LDFLAGS-reldep8mod3.so): Likewise.
27282 (LDFLAGS-unload4mod1.so): Likewise.
27283 (LDFLAGS-unload4mod2.so): Likewise.
27284 (LDFLAGS-tst-initorder): Likewise.
27285 (LDFLAGS-tst-initordera2.so): Likewise.
27286 (LDFLAGS-tst-initordera3.so): Likewise.
27287 (LDFLAGS-tst-initordera4.so): Likewise.
27288 (LDFLAGS-tst-initorderb2.so): Likewise.
27289 (LDFLAGS-noload): Likewise.
27290 (LDFLAGS-next): Likewise.
27291 (LDFLAGS-order2mod1.so): Likewise.
27292 (LDFLAGS-order2mod2.so): Likewise.
27293 (LDFLAGS-tst-initorder2): Likewise.
27294 (LDFLAGS-tst-initorder2a.so): Likewise.
27295 (LDFLAGS-tst-initorder2b.so): Likewise.
27296 (LDFLAGS-tst-initorder2c.so): Likewise.
27297 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27299 2012-05-02 David S. Miller <davem@davemloft.net>
27301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27303 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27306 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27308 2012-05-02 Andreas Jaeger <aj@suse.de>
27310 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27311 since we manipulate rounding mode.
27312 (CPPFLAGS-test-idouble.c): Likewise.
27313 (CPPFLAGS-test-ifloat.c): Likewise.
27314 (CFLAGS-test-ldouble.c): Likewise.
27315 (CFLAGS-test-double.c): Likewise.
27316 (CFLAGS-test-float.c): Likewise.
27317 (CFLAGS-test-misc.c): Likewise.
27318 (CFLAGS-test-test-fenv.c): Likewise.
27320 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27324 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27325 comparisons to determine direction to adjust input.
27327 2012-05-01 Roland McGrath <roland@hack.frob.com>
27329 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27330 output to the target.
27332 * scripts/localplt.awk: New file.
27333 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27334 (check-localplt-CFLAGS): Variable removed.
27335 ($(all-built-dso:=.jmprel)): New static pattern rule.
27336 (generated): Add those targets.
27337 (localplt-built-dso): New variable.
27338 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27340 * elf/check-localplt.c: File removed.
27342 * scripts/check-execstack.awk: New file.
27343 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27344 (check-execstack-CFLAGS): Variable removed.
27345 ($(objpfx)check-execstack.h): Target removed.
27346 ($(objpfx)execstack-default): New target.
27347 (generated): Add that instead of check-execstack.h.
27348 ($(all-built-dso:=.phdr)): New static pattern rule.
27349 (generated): Add those targets.
27350 * elf/check-execstack.c: File removed.
27352 * scripts/check-textrel.awk: New file.
27353 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27354 (check-textrel-CFLAGS): Variable removed.
27355 (all-built-dso): Use := to define.o
27356 ($(all-built-dso:=.dyn)): New static pattern rule.
27357 (generated): Add those targets.
27358 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27359 * config.make.in (READELF): New substituted variable.
27360 * elf/check-textrel.c: File removed.
27362 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27364 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27366 * conform/data/ctype.h-data [C99-based standards] (isblank):
27368 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27369 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27370 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27371 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27372 Specify type. Require positive value.
27373 (EILSEQ): Likewise.
27374 (ERANGE): Likewise.
27375 [ISO || POSIX] (EILSEQ): Do not expect.
27376 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27377 Specify type. Require positive value.
27378 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27379 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27380 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27381 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27382 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27383 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27384 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27385 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27386 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27387 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27388 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27389 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27390 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27391 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27392 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27393 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27394 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27395 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27396 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27397 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27398 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27399 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27400 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27401 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27402 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27403 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27404 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27405 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27406 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27407 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27408 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27409 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27410 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27411 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27412 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27413 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27414 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27415 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27416 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27417 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27418 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27419 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27420 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27421 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27422 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27423 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27424 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27425 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27426 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27427 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27428 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27429 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27430 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27431 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27432 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27433 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27434 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27435 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27436 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27437 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27438 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27439 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27440 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27441 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27442 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27443 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27444 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27445 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27446 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27447 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27448 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27449 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27450 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27451 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27452 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27453 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27454 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27456 (FLT_ROUNDS): Expect as macro, not constant.
27457 (FLT_MANT_DIG): Use macro-int-constant.
27458 (DBL_MANT_DIG): Likewise.
27459 (LDBL_MANT_DIG): Likewise.
27460 (FLT_DIG): Likewise.
27461 (DBL_DIG): Likewise.
27462 (LDBL_DIG): Likewise.
27463 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27464 (DBL_MIN_EXP): Likewise.
27465 (LDBL_MIN_EXP): Likewise.
27466 (FLT_MAX_EXP): Use macro-int-constant.
27467 (DBL_MAX_EXP): Likewise.
27468 (LDBL_MAX_EXP): Likewise.
27469 (FLT_MAX_10_EXP): Likewise.
27470 (DBL_MAX_10_EXP): Likewise.
27471 (LDBL_MAX_10_EXP): Likewise.
27472 (FLT_MAX): Use macro-constant.
27473 (DBL_MAX): Likewise.
27474 (LDBL_MAX): Likewise.
27475 (FLT_EPSILON): Use macro-constant. Give upper bound.
27476 (DBL_EPSILON): Likewise.
27477 (LDBL_EPSILON): Likewise.
27478 (FLT_MIN): Likewise.
27479 (DBL_MIN): Likewise.
27480 (LDBL_MIN): Likewise.
27481 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27482 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27483 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27484 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27485 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27486 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27487 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27488 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27489 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27490 [ISO11] (FLT_TRUE_MIN): Likewise.
27491 [ISO11] (LDBL_TRUE_MIN): Likewise.
27492 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27493 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27494 (SCHAR_MIN): Use macro-int-constant. Specify type.
27495 (SCHAR_MAX): Likewise.
27496 (UCHAR_MAX): Likewise.
27497 (CHAR_MIN): Likewise.
27498 (CHAR_MAX): Likewise.
27499 (MB_LEN_MAX): Use macro-int-constant.
27500 (SHRT_MIN): Use macro-int-constant. Specify type.
27501 (SHRT_MAX): Likewise.
27502 (USHRT_MAX): Likewise.
27503 (INT_MAX): Likewise.
27504 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27506 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27508 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27510 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27511 bound negative. Suffix upper bound with "L".
27512 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27514 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27516 [C99-based standards] (LLONG_MAX): Likewise.
27517 [C99-based standards] (ULLONG_MAX): Likewise.
27518 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27520 [ISO11] (max_align_t): Require type.
27521 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27523 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27524 from $CFLAGS, without defining away __attribute__ calls.
27525 (checknamespace): Use $CFLAGS_namespace.
27527 * conform/conformtest.pl (@keywords): Only include C99 keywords
27528 for standards based on C99 or C11.
27530 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27532 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27535 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27536 usability of symbols in #if.
27538 * conform/conformtest.pl: If macro or constant types start
27539 "promoted:", expect the symbol to be of the following type
27540 promoted by the integer promotions.
27542 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27543 in one place. Also handle "macro-constant".
27545 * conform/conformtest.pl: Only accept expected macro values with
27546 "==". Parse all "macro" lines in one place.
27547 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27549 * conform/conformtest.pl: Handle braced types on "constant" lines
27550 instead of handling "typed-constant".
27551 * conform/data/signal.h-data: Use "constant" instead of
27554 * conform/conformtest.pl: Handle "optional-" at start of lines in
27555 one place rather than duplicating several cases. Handle each
27556 format of "macro" line with initial "optional-".
27558 * conform/conformtest.pl: Only accept expected constant or
27559 optional-constant values with "==". Parse all "constant" lines in
27560 one place. Parse all "optional-constant" lines in one place.
27561 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27562 * conform/data/fmtmsg.h-data: Likewise.
27563 * conform/data/netinet/in.h-data: Likewise.
27564 * conform/data/tar.h-data: Likewise.
27565 * conform/data/limits.h-data: Use "==" form on "constant" and
27566 "optional-constant" lines.
27568 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27569 Use -std=c99 for XOPEN2K.
27570 (@knownproblems): Remove.
27571 (newtoken): Don't check %isknown.
27573 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27574 Do not expect macro.
27575 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27576 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27577 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27578 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27579 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27580 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27581 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27582 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27583 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27584 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27585 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27586 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27587 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27588 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27589 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27590 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27591 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27592 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27593 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27594 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27595 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27596 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27597 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27598 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27599 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27600 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27601 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27602 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27603 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27604 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27605 [XPG3] (acosh): Likewise.
27606 [XPG3] (asinh): Likewise.
27607 [XPG3] (atanh): Likewise.
27608 [XPG3] (cbrt): Likewise.
27609 [XPG3] (expm1): Likewise.
27610 [XPG3] (ilogb): Likewise.
27611 [XPG3] (log1p): Likewise.
27612 [XPG3] (logb): Likewise.
27613 [XPG3] (nextafter): Likewise.
27614 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27615 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27616 [XPG3] (remainder): Likewise.
27617 [XPG3] (rint): Likewise.
27618 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27619 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27620 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27621 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27622 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27623 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27624 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27625 [UNIX98 || XOPEN2K] (scalb): Expect.
27626 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27627 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27628 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27629 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27630 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27631 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27632 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27633 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27634 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27635 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27636 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27637 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27638 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27639 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27640 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27641 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27642 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27643 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27644 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27645 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27646 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27647 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27648 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27649 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27650 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27651 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27652 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27653 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27654 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27655 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27656 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27657 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27658 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27659 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27660 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27661 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27662 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27663 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27664 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27665 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27666 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27667 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27668 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27669 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27670 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27671 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27672 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27673 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27674 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27675 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27676 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27677 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27678 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27679 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27680 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27681 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27682 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27683 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27684 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27685 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27686 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27687 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27688 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27689 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27690 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27691 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27692 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27693 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27694 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27695 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27696 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27697 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27698 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27699 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27700 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27701 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27702 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27703 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27704 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27705 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27706 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27707 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27708 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27709 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27710 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27711 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27712 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27713 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27714 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27715 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27716 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27717 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27718 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27719 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27720 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27721 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27722 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27723 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27724 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27725 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27726 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27727 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27728 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27729 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27730 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27731 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27732 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27733 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27734 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27735 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27736 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27737 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27738 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27739 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27740 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27741 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27742 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27743 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27744 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27745 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27746 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27747 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27748 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27749 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27750 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27751 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27752 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27753 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27754 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27755 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27756 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27757 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27758 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27759 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27760 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27761 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27762 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27764 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27765 _XOPEN_SOURCE_EXTENDED for XPG4.
27767 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27769 * Makeconfig (localtime): Remove variable.
27770 (inst_localtime-file): Likewise.
27772 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27793 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27797 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27798 comparisons to determine direction to adjust input.
27799 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27800 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27801 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27803 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27805 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27807 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27808 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27810 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27812 * math/libm-test.inc (nexttoward_test): Add more tests.
27814 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27817 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27818 in version GLIBC_2.1, not GLIBC_2.0.
27819 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27822 2012-04-30 Joseph Myers <joseph@codesourcery.com>
27825 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27827 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27828 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27829 * math/libm-test.inc (acos_test): Add more tests.
27830 (asin_test): Likewise.
27831 * sysdeps/i386/fpu/libm-test-ulps: Update.
27832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27835 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27837 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27838 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27839 * math/libm-test.inc (acos_test_tonearest): New function.
27840 (acos_test_towardzero): Likewise.
27841 (acos_test_downward): Likewise.
27842 (acos_test_upward): Likewise.
27843 (asin_test_tonearest): Likewise.
27844 (asin_test_towardzero): Likewise.
27845 (asin_test_downward): Likewise.
27846 (asin_test_upward): Likewise.
27847 (main): Call the new functions.
27848 * sysdeps/i386/fpu/libm-test-ulps: Update.
27849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27853 * math/e_exp10.c: Include <float.h>.
27854 (__ieee754_exp10): Handle underflow here rather than multiplying
27855 large negative argument by M_LN10.
27856 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27858 * math/e_exp10l.c: Include <float.h>.
27859 (__ieee754_exp10l): Handle underflow here rather than multiplying
27860 large negative argument by M_LN10l.
27861 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27862 spurious overflow exception on underflow.
27864 2012-04-29 Marek Polacek <polacek@redhat.com>
27866 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27867 (__fortify_function): New macro.
27868 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27869 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27870 __extern_always_inline.
27871 * libio/bits/stdio2.h: Likewise.
27872 * libio/bits/stdio.h: Likewise.
27873 * string/string.h: Likewise.
27874 * string/bits/string3.h: Likewise.
27875 * include/stdio.h: Likewise.
27876 * stdlib/bits/stdlib.h: Likewise.
27877 * stdlib/stdlib.h: Likewise.
27878 * rt/bits/mqueue2.h: Likewise.
27879 * rt/mqueue.h: Likewise.
27880 * posix/bits/unistd.h: Likewise.
27881 * posix/unistd.h: Likewise.
27882 * io/bits/poll2.h: Likewise.
27883 * io/bits/fcntl2.h: Likewise.
27884 * io/fcntl.h: Likewise.
27885 * io/sys/poll.h: Likewise.
27886 * misc/bits/syslog.h: Likewise.
27887 * misc/bits/syslog-ldbl.h: Likewise.
27888 * misc/sys/syslog.h: Likewise.
27889 * socket/bits/socket2.h: Likewise.
27890 * socket/sys/socket.h: Likewise.
27891 * debug/tst-chk1.c: Likewise.
27892 * wcsmbs/bits/wchar2.h: Likewise.
27893 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27894 * wcsmbs/wchar.h: Likewise.
27896 2012-04-29 Andreas Jaeger <aj@suse.de>
27898 * Makerules (tests): Remove enable-check-abi protection.
27899 (check-abi-warn): Remove.
27900 (check-abi-%): Remove check-abi-warn usage.
27902 * configure.in: Remove check-abi configure option.
27903 * configure: Regenerated.
27904 * config.make.in (enable-check-abi): Remove.
27906 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27909 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27910 double functions to double *_finite functions.
27913 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27914 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27916 * stdio-common/Makefile (tests): Add tst-sprintf3.
27917 * stdio-common/tst-sprintf3.c: New file.
27919 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27920 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27922 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27924 * conform/conformtest.pl: Remove duplicate typed-constant
27927 2012-04-28 David S. Miller <davem@davemloft.net>
27929 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27930 (check-abi-%): Remove AWK script prerequisite and explicit
27932 (check-abi): Rewrite to just diff the symlist with the abilist.
27933 (config-tls, config-abi-config): Delete, no longer used.
27934 (update-abi-%): Remove AWK script and explicit abilist directory.
27935 (update-abi): Rewrite to simply compare and conditionally copy the
27936 symlist and the sysdep abilist file. Remove update-abi-config
27938 * abilist/ld.abilist: Remove.
27939 * abilist/libBrokenLocale.abilist: Remove.
27940 * abilist/libanl.abilist: Remove.
27941 * abilist/libcrypt.abilist: Remove.
27942 * abilist/libdl.abilist: Remove.
27943 * abilist/librt.abilist: Remove.
27944 * abilist/libthread_db.abilist: Remove.
27945 * abilist/libutil.abilist: Remove.
27946 * scripts/extract-abilist.awk: Remove.
27947 * scripts/merge-abilist.awk: Remove.
27948 * sysdeps/generic/libcidn.abilist: New file.
27949 * sysdeps/generic/libnss_compat.abilist: New file.
27950 * sysdeps/generic/libnss_db.abilist: New file.
27951 * sysdeps/generic/libnss_dns.abilist: New file.
27952 * sysdeps/generic/libnss_files.abilist: New file.
27953 * sysdeps/generic/libnss_hesiod.abilist: New file.
27954 * sysdeps/generic/libnss_nis.abilist: New file.
27955 * sysdeps/generic/libnss_nisplus.abilist: New file.
27956 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27957 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27958 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27960 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27961 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27962 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27963 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27964 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27965 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27966 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27967 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27968 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27970 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27971 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27972 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27973 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27975 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27976 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27977 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27978 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27979 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27980 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27982 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27983 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27984 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27986 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28089 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28090 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28091 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28093 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28094 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28095 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28096 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28097 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28098 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28099 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28100 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28101 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28102 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28154 2012-04-28 Joseph Myers <joseph@codesourcery.com>
28156 * conform/conformtest.pl: Fix typo in handling typed-constant from
28159 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28161 * README: Cut down references to pre-2.6 Linux kernels and
28162 Linuxthreads. Update lists of configurations in libc and ports
28163 and sort alphabetically. Say "or newer" with Linux kernel version
28166 * config.h.in [IS_IN_build]: Allow compiling without optimization.
28168 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28171 * math/libm-test.inc (logb_test_downward): New test to expose
28172 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28175 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28178 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28180 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28181 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28183 2012-04-26 Joseph Myers <joseph@codesourcery.com>
28185 * sysdeps/unix/i386/brk.S: Remove file.
28186 * sysdeps/unix/i386/dl-brk.S: Likewise.
28187 * sysdeps/unix/i386/pipe.S: Likewise.
28188 * sysdeps/unix/i386/sigreturn.S: Likewise.
28189 * sysdeps/unix/i386/syscall.S: Likewise.
28190 * sysdeps/unix/i386/vfork.S: Likewise.
28191 * sysdeps/unix/i386/wait.S: Likewise.
28193 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28194 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28196 * configure.in (arm*-none*): Do not allow without
28197 --enable-hacker-mode.
28198 (netbsd*): Remove case setting base_os.
28199 (386bsd*): Likewise.
28200 (freebsd*): Likewise.
28203 (sunos*): Likewise.
28204 (ultrix*): Likewise.
28205 (newsos*): Likewise.
28206 (dynix*): Likewise.
28212 (minix*): Likewise.
28213 (irix4*): Likewise.
28214 (irix6*): Likewise.
28215 (solaris[2-9]*): Likewise.
28217 * configure: Regenerated.
28219 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28222 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28223 overflow or cancellation in calculating denominator.
28224 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28225 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28226 down expression to avoid unexpected rounding in newer GCCs.
28227 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28229 2012-04-26 David S. Miller <davem@davemloft.net>
28231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28232 long-double compat symbols.
28233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28247 2012-04-25 David S. Miller <davem@davemloft.net>
28249 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28250 HWCAP_* values only after the memory barriers have been defined.
28251 (atomic_full_barrier): Define.
28252 (atomic_read_barrier): Define.
28253 (atomic_write_barrier): Define.
28255 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28257 * shlib-versions: Add libgcc_s version information.
28258 * sysdeps/generic/libgcc_s.h: Remove.
28259 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28261 * sysdeps/gnu/unwind-resume.c: Likewise.
28262 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28264 2012-04-25 David S. Miller <davem@davemloft.net>
28266 * sysdeps/unix/sparc/brk.S: Delete.
28267 * sysdeps/unix/sparc/dl-brk.S: Delete.
28268 * sysdeps/unix/sparc/pipe.S: Delete.
28269 * sysdeps/unix/sparc/sysdep.S: Delete.
28270 * sysdeps/unix/sparc/sysdep.h: Delete.
28271 * sysdeps/unix/sparc/vfork.S: Delete.
28272 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28273 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28274 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28275 ret_ERRVAL, r0, r1, MOVE): Define.
28276 (JUMPTARGET): Remove.
28277 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28278 sysdeps/unix/sparc/sysdep.h
28279 (ENTRY, END): Remove.
28280 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28282 2012-04-25 Joseph Myers <joseph@codesourcery.com>
28284 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28285 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28288 * timezone/README: Update upstream location and email address for
28290 * timezone/zdump.c: Update from tzcode 2012b.
28291 * timezone/zic.c: Likewise.
28293 * configure.in (libc_cv_as_needed): Remove test.
28294 * configure: Regenerated.
28295 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28296 conditional definition.
28297 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28298 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28299 * config.make.in (have-as-needed): Remove variable.
28301 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28302 Paul Pluzhnikov <ppluzhnikov@google.com>
28304 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28307 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28309 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28310 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28311 * sysdeps/sh/strlen.S: Likewise.
28313 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28315 * sysdeps/unix/fork.S: Remove file.
28316 * sysdeps/unix/i386/fork.S: Likewise.
28317 * sysdeps/unix/sparc/fork.S: Likewise.
28319 * sysdeps/unix/system.c: Remove file.
28320 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28322 * sysdeps/unix/getegid.S: Remove file.
28323 * sysdeps/unix/geteuid.S: Likewise.
28325 2012-04-24 Roland McGrath <roland@hack.frob.com>
28327 * scripts/check-localplt.awk: New file.
28328 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28330 * scripts/data/localplt-generic.data: Add a comment.
28332 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28333 NODE when __dir_mkfile failed.
28334 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28335 Reported by Ludovic Courtès <ludo@gnu.org>.
28337 2012-04-24 Andreas Jaeger <aj@suse.de>
28339 * Makerules (common-clean): Also remove gen-as-const-headers
28342 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28344 * Makerules (native-compile): Do not change working directory for
28345 build. Use $(OUTPUT_OPTION) in command.
28346 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28348 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28351 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28352 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28353 * math/libm-test.inc (floor_test): Add more tests.
28354 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28356 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28358 * sysdeps/unix/getdents.c: Remove file.
28359 * sysdeps/unix/sysv/getdents.c: Likewise.
28360 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28362 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28363 sysdeps/unix/mman/syscalls.list.
28365 (mprotect): Likewise.
28367 (munmap): Likewise.
28368 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28369 * sysdeps/unix/mman/syscalls.list: Remove.
28370 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28372 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28373 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28374 * configure: Regenerated.
28375 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28376 $(libgcc_s_suffix).
28377 * config.make.in (libgcc_s_suffix): Remove variable.
28379 2012-04-23 Joseph Myers <joseph@codesourcery.com>
28381 * sysdeps/unix/sysv/gethostname.c: Move to ...
28382 * sysdeps/posix/gethostname.c: ... here.
28384 * sysdeps/unix/execve.S: Remove file.
28386 * sysdeps/unix/_exit.S: Remove file.
28388 2012-04-23 Andreas Jaeger <aj@suse.de>
28391 * manual/Makefile: Remove make dist support, there's no
28392 need for a stand-alone documentation tar ball.
28393 (TEXI2DVI): Define always, it's not in Makeconfig.
28396 (edition): Removed.
28397 (glibc-doc-$(edition).tar): Removed
28401 (ETAGS): Remove, it's in Makeconfig.
28402 (move-if-change): Remove, it's in Makeconfig.
28404 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
28407 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28408 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28409 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28410 (strtod_l, strtof_l, strtold_l): Remove __wur.
28411 It is not necessarily an error to ignore strtol's return value.
28412 One can reliably look at the stored endptr to decide whether
28413 the number had valid syntax.
28415 2012-04-21 Andreas Jaeger <aj@suse.de>
28418 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28420 2012-04-21 Joseph Myers <joseph@codesourcery.com>
28422 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28423 * sysdeps/unix/sysv/Versions: Remove file.
28425 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28430 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
28433 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28434 version from __vm86.
28436 2012-04-20 Joseph Myers <joseph@codesourcery.com>
28438 * sysdeps/unix/common/lxstat.c: Remove file.
28439 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28441 * sysdeps/unix/sysv/Makefile: Remove file.
28443 * sysdeps/unix/sysv/direct.h: Remove file.
28445 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28446 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28447 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28448 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28449 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28450 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28451 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28453 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28455 * sysdeps/unix/xmknod.c: Remove file.
28456 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28458 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28460 * sysdeps/unix/sysv/i386/time.S: Remove file.
28462 * sysdeps/unix/fxstat.c: Remove file.
28463 * sysdeps/unix/xstat.c: Likewise.
28464 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28466 * sysdeps/unix/sysv/sigaction.c: Remove file.
28468 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28469 (sysdep_headers): Remove variable.
28470 [termio.h not in sysdep_headers] (generated): Likewise.
28471 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28472 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28473 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28474 * sysdeps/unix/sysv/tcflow.c: Likewise.
28475 * sysdeps/unix/sysv/tcflush.c: Likewise.
28476 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28477 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28478 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28479 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28480 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28482 * sysdeps/unix/siglist.c: Remove file.
28484 * sysdeps/unix/getppid.S: Remove file.
28486 * sysdeps/unix/mkdir.c: Remove file.
28487 * sysdeps/unix/rmdir.c: Likewise.
28489 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28491 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28493 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28494 errlist-compat value.
28496 2012-04-18 David S. Miller <davem@davemloft.net>
28498 * sysdeps/generic/memcopy.h (reg_char): Delete.
28499 * debug/strcat_chk.c: Use char, not reg_char.
28500 * debug/strcpy_chk.c: Likewise.
28501 * debug/strncat_chk.c: Likewise.
28502 * debug/strncpy_chk.c: Likewise.
28503 * string/memchr.c: Likewise.
28504 * string/memrchr.c: Likewise.
28505 * string/rawmemchr.c: Likewise.
28506 * string/strcat.c: Likewise.
28507 * string/strchr.c: Likewise.
28508 * string/strchrnul.c: Likewise.
28509 * string/strcmp.c: Likewise.
28510 * string/strcpy.c: Likewise.
28511 * string/strncat.c: Likewise.
28512 * string/strncmp.c: Likewise.
28513 * string/strncpy.c: Likewise.
28515 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28517 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28518 __builtin_memcopy is called when src and dest ranges are known to not
28521 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28523 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28524 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28525 fwd_align_merge macro call.
28526 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28527 bwd_align_merge macro call.
28528 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28530 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28532 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28533 bwd_align_merge macros.
28534 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28535 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28536 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28538 2012-04-18 David S. Miller <davem@davemloft.net>
28540 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28542 2012-04-18 Andreas Jaeger <aj@suse.de>
28545 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28546 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28547 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28549 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28550 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28551 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28553 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28554 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28555 Adjust for changed ldbl-128 files.
28557 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28558 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28559 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28561 2012-04-17 David S. Miller <davem@davemloft.net>
28563 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28565 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28567 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28568 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28569 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28570 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28571 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28572 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28574 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28577 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28578 * math/libm-test.inc: Add ilogb errno and exception tests.
28579 * math/w_ilogb.c: New file: ilogb wrapper.
28580 * math/w_ilogbf.c: New file: ilogbf wrapper.
28581 * math/w_ilogbl.c: New file: ilogbl wrapper.
28582 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28583 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28584 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28585 exception being thrown with 0.0 as argument.
28586 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28587 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28588 exception being thrown with 0.0 as argument.
28589 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28590 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28591 exception being thrown with 0.0 as argument.
28592 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28593 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28594 exception being thrown with 0.0 as argument.
28595 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28596 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
28597 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
28598 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28599 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28600 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28601 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28602 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28603 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28605 2012-04-17 Petr Baudis <pasky@ucw.cz>
28607 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28610 2012-04-16 Marek Polacek <polacek@redhat.com>
28612 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28614 2012-04-16 Marek Polacek <polacek@redhat.com>
28616 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28617 operands of fdivp instruction.
28619 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28621 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28622 * elf/tst-auditmod3b.c: Likewise.
28623 * elf/tst-auditmod4b.c: Likewise.
28624 * elf/tst-auditmod5b.c: Likewise.
28625 * elf/tst-auditmod6b.c: Likewise.
28626 * elf/tst-auditmod6c.c: Likewise.
28627 * elf/tst-auditmod7b.c: Likewise.
28628 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28629 * sysdeps/x86_64/preconfigure.in: Likewise.
28630 * sysdeps/x86_64/preconfigure: Regenerated.
28632 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28634 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28637 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
28639 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28640 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28642 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28645 * locale/iso-639.def: Fix gl language name. Spotted by
28648 2012-04-12 Roland McGrath <roland@hack.frob.com>
28651 * libio/libio.h (__io_write_fn): Update comment.
28653 2012-04-12 Petr Baudis <pasky@ucw.cz>
28656 * stdio.texi (Hook Functions): The user provided writer function
28657 is not allowed to return -1.
28659 2012-04-11 David S. Miller <davem@davemloft.net>
28661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28663 2012-04-11 Mike Frysinger <vapier@gentoo.org>
28665 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28666 Add a leading slash to rtkaio.
28668 2012-04-11 Jim Meyering <meyering@redhat.com>
28671 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28672 It is not necessarily an error to ignore fwrite's return
28673 value. One can reliably use ferror to test for errors after
28676 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28678 * bits/types.h (__snseconds_t): New type.
28679 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28681 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28682 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28683 (__SNSECONDS_T_TYPE): Likewise.
28684 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28685 (__SNSECONDS_T_TYPE): Likewise.
28686 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28687 (__SNSECONDS_T_TYPE): Likewise.
28689 2012-04-10 Andreas Jaeger <aj@suse.de>
28692 * manual/time.texi (Processor Time): Return type of times is
28693 elapsed real time since an arbitrary point in the past.
28694 (CPU Time): Move CLK_TCK from here...
28695 (Processor Time): ...to here. Correct description.
28696 * manual/conf.texi (Constants for Sysconf): Correct description of
28699 2012-04-10 David S. Miller <davem@davemloft.net>
28702 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28703 where the is a gap between DT_REL(A) and DT_JMPREL.
28705 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28707 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28708 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28709 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28711 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28713 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28714 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28715 (dl_main): Handle --inhibit-cache.
28716 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28718 * elf/dl-load.c (_dl_map_object): Use it.
28719 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28721 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28724 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28725 (__ieee754_powl): Saturate large exponents rather than testing for
28726 overflow of y*log2(x).
28727 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28728 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28732 * math/s_ctan.c: Include <float.h>.
28733 (__ctan): Avoid internal overflow or cancellation in calculating
28735 * math/s_ctanf.c: Likewise.
28736 * math/s_ctanl.c: Likewise.
28737 * math/s_ctanh.c: Likewise.
28738 * math/s_ctanhf.c: Likewise.
28739 * math/s_ctanhl.c: Likewise.
28740 * math/libm-test.inc (ctan_test): Add more tests.
28741 (ctanh_test): Likewise.
28742 * sysdeps/i386/fpu/libm-test-ulps: Update.
28743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28745 2012-04-09 Andreas Jaeger <aj@suse.de>
28748 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28749 is an optional BSD extension.
28752 * manual/stdio.texi (Opening Streams): Document additional fopen
28755 2012-04-09 Roland McGrath <roland@hack.frob.com>
28757 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28758 %eax without telling the compiler.
28760 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28763 * manual/install.texi: Use sourceware.org.
28765 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28768 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28769 (__ieee754_pow): Generate overflow and underflow using huge*huge
28770 and tiny*tiny rather than just returning constant infinity or zero
28771 for large exponents.
28772 * math/libm-test.inc (pow_test): Require overflow exceptions for
28773 applicable cases of large exponents.
28776 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28777 (__ieee754_pow): Use iterative multiplication algorithm only for
28778 integer exponents with absolute value below 1024. Check for odd
28779 integer exponents when using algorithm for real exponents.
28780 * math/libm-test.inc (pow_test): Add more tests.
28781 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28783 2012-04-08 Joseph Myers <joseph@codesourcery.com>
28786 * math/libm-test.inc (exp_test): Do not allow overflow exception
28789 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28792 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28793 instead of __kernel_standard_f.
28795 2012-04-08 Mike Frysinger <vapier@gentoo.org>
28797 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28798 * sysdeps/x86_64/memset_chk.S: Likewise.
28800 2012-04-08 Andreas Jaeger <aj@suse.de>
28803 * manual/startup.texi (Environment Access): Describe return value
28804 for putenv and setenv.
28807 * manual/filesys.texi (Directory Entries): Add description for
28811 * manual/filesys.texi (Directory Entries): Clarify that it's file
28812 system not operating system in the description of DT_UNKNOWN.
28815 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28817 2012-04-08 Stephen Compall <s11@member.fsf.org>
28820 * manual/llio.texi (Opening and Closing Files): Add cross
28821 reference to explain mode argument.
28823 2012-04-07 Mike Frysinger <vapier@gentoo.org>
28825 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28826 * sysdeps/x86_64/memset_chk.S: Likewise.
28828 2012-04-07 David S. Miller <davem@davemloft.net>
28830 * elf/elf.h (R_SPARC_WDISP10): Define.
28831 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28833 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28834 R_SPARC_SIZE64 and R_SPARC_H34.
28836 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28838 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28839 conditions and remove no longer applicable assertion.
28841 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28843 * bits/byteswap.h: Include <features.h>.
28844 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28845 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28847 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28849 * bits/byteswap.h (__bswap_16): Removed.
28850 Include <bits/byteswap-16.h> to get __bswap_16.
28851 * sysdeps/i386/bits/byteswap.h: Likewise.
28852 * sysdeps/s390/bits/byteswap.h: Likewise.
28853 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28854 * bits/byteswap-16.h: New file.
28855 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28856 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28857 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28858 * string/Makefile (headers): Add bits/byteswap-16.h.
28860 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28863 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28865 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28866 * nss/tst-nss-static.c: New.
28868 2012-04-06 Robert Millan <rmh@gnu.org>
28871 * manual/llio.texi (File Position Primitive): lseek
28872 refers to WHENCE when it really means OFFSET.
28874 2012-04-06 Andreas Jaeger <aj@suse.de>
28876 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28877 strncmp declarations.
28879 * abilist/libc.abilist: Add __poll and __ppoll.
28881 2012-04-05 David S. Miller <davem@davemloft.net>
28883 * scripts/check-local-headers.sh: Accept a host triplet in the
28884 path matched by the exclude regexp.
28886 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28888 * sysdeps/powerpc/powerpc32/dl-machine.h
28889 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28890 * sysdeps/s390/s390-32/dl-machine.h
28891 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28892 * sysdeps/sparc/sparc32/dl-machine.h
28893 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28894 * sysdeps/sparc/sparc64/dl-machine.h
28895 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28897 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28899 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28900 undefined symbol errors.
28902 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28905 2012-04-05 Michael Matz <matz@suse.de>
28908 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28910 2012-04-05 Andreas Jaeger <aj@suse.de>
28913 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28916 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28918 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28919 which ROUND is no valid rounding mode.
28921 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28923 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28925 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28927 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28929 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28930 an exception using FPU order intentionally.
28932 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28934 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28935 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28936 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28937 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28939 2012-04-05 Simon Josefsson <simon@josefsson.org>
28942 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28943 EINVAL when BUFLEN is too smal.
28945 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28948 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28949 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28951 2012-04-03 Andreas Jaeger <aj@suse.de>
28954 * manual/setjmp.texi (System V contexts): Fix sentence.
28957 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28958 New macro for this case.
28959 [!__GNUC__] (__bswap_64): New inline function for this case.
28960 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28961 * bits/byteswap.h: Likewise.
28962 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28963 ull, guard with __GLIBC_HAVE_LONG_LONG.
28965 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28966 __GLIBC_HAVE_LONG_LONG.
28968 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28969 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28971 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28974 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28975 inptr and inend, rather than using last_ch.
28977 2012-04-02 David S. Miller <davem@davemloft.net>
28979 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28980 * stdio-common/printf-parse.h (read_int): Change return type to
28981 'int', return -1 on INT_MAX overflow.
28982 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28983 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28984 overflows INT_MAX. Check for overflow of in-format-string precision
28985 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28986 SIZE_MAX not INT_MAX for integer overflow test.
28987 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28988 skip the construct in the format string but do not record anything.
28989 * stdio-common/bug22.c: Adjust to test both width/prevision
28990 INT_MAX overflow as well as total length INT_MAX overflow. Check
28991 explicitly for proper errno values.
28993 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28995 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28997 * string/test-strcmp.c [! WIDE]: Likewise.
28998 * time/tst-mktime2.c: Likewise for INT_MAX.
28999 * string/test-string.h: #include <sys/param.h> for MIN.
29001 * csu/init-first.c (__libc_init_first): Call __ctype_init.
29002 * sysdeps/i386/init-first.c (init): Likewise.
29003 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29004 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29005 * sysdeps/sh/init-first.c (init): Likewise.
29007 2012-04-01 Ulrich Drepper <drepper@gmail.com>
29009 * po/ru.po: Update from translation team.
29010 * po/vi.po: Likewise.
29012 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29014 * resolv/nss_dns/dns-host.c: Merge copyright years.
29016 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29018 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29019 Optimize memcpy with prefetch if
29020 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
29021 src, dst pointers have unequal 16 byte alignments.
29023 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29026 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29027 from a CNAME entry and return the minimum ttl for the query.
29028 (gaih_getanswer_slice): Likewise.
29030 2012-03-30 Jeff Law <law@redhat.com>
29032 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29034 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29035 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29037 * resolv/nss_dns/dns-host.c: Update copyright year.
29039 2012-03-30 Ulrich Drepper <drepper@gmail.com>
29041 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
29042 requests to save a system call. Fix check that all bytes are sent.
29044 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29045 comments for sendmmsg.
29047 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29050 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29051 with only 1 character between 0x0041 and 0x01b0.
29052 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29053 * wcsmbs/tst-mbsnrtowcs.c: New file.
29055 2012-03-29 David S. Miller <davem@davemloft.net>
29057 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29058 small copies by hand.
29060 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29063 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29064 _nss_compat_initgroups_dyn): Fall back to malloc/free
29065 for large group memberships.
29067 2012-03-28 David S. Miller <davem@davemloft.net>
29069 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29070 that branches into memcpy.
29071 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29072 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29073 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29074 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29075 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29077 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29078 implementation too.
29079 * sysdeps/sparc/mempcpy.S: New file.
29081 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29082 the IFUNC routine in the libc case.
29083 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29085 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29086 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29087 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29088 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29089 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29090 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29091 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29092 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29094 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29095 loop to 256 bytes instead of 64 bytes and fix test signedness.
29097 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29098 * sysdeps/sparc/sparc32/Makefile: rather than here...
29099 * sysdeps/sparc/sparc64/Makefile: and here.
29101 2012-03-28 Ulrich Drepper <drepper@gmail.com>
29103 * malloc/mallocbug.c: Avoid warnings about unused variables.
29105 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29108 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29109 in the right place. Discard and retry query if response is
29110 larger than input buffer size.
29112 2012-03-28 Joseph Myers <joseph@codesourcery.com>
29117 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29118 x for large integer exponent.
29119 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29120 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
29121 sign of result as needed afterwards.
29122 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29123 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29124 result for underflowing pow the same as for overflow.
29125 (__kernel_standard_l): Handle powl overflow and underflow here
29126 rather than calling __kernel_standard.
29127 * math/libm-test.inc (pow_test): Add more tests.
29142 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29143 * sysdeps/ieee754/k_standard.c: Include <float.h>.
29144 (__kernel_standard_l): New function.
29145 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29147 * math/w_acosl.c (__acosl): Likewise.
29148 * math/w_asinl.c (__asinl): Likewise.
29149 * math/w_atan2l.c (__atan2l): Likewise.
29150 * math/w_atanhl.c (__atanhl): Likewise.
29151 * math/w_coshl.c (__coshl): Likewise.
29152 * math/w_exp10l.c (__exp10l): Likewise.
29153 * math/w_exp2l.c (__exp2l): Likewise.
29154 * math/w_fmodl.c (__fmodl): Likewise.
29155 * math/w_hypotl.c (__hypotl): Likewise.
29156 * math/w_j0l.c (__j0l, __y0l): Likewise.
29157 * math/w_j1l.c (__j1l, __y1l): Likewise.
29158 * math/w_jnl.c (__jnl, __ynl): Likewise.
29159 * math/w_lgammal.c (__lgammal): Likewise.
29160 * math/w_log10l.c (__log10l): Likewise.
29161 * math/w_log2l.c (__log2l): Likewise.
29162 * math/w_logl.c (__logl): Likewise.
29163 * math/w_powl.c (__powl): Likewise.
29164 * math/w_remainderl.c (__remainderl): Likewise.
29165 * math/w_scalbl.c (sysv_scalbl): Likewise.
29166 * math/w_sinhl.c (__sinhl): Likewise.
29167 * math/w_sqrtl.c (__sqrtl): Likewise.
29168 * math/w_tgammal.c (__tgammal): Likewise.
29169 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29170 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29171 * math/libm-test.inc (acos_test): Add more tests.
29172 (acosh_test): Likewise.
29173 (asin_test): Likewise.
29174 (atanh_test): Likewise.
29175 (exp_test): Likewise.
29176 (exp10_test): Likewise.
29177 (exp2_test): Likewise.
29178 (expm1_test): Likewise.
29179 (lgamma_test): Likewise.
29180 (log_test): Likewise.
29181 (log10_test): Likewise.
29182 (log1p_test): Likewise.
29183 (log2_test): Likewise.
29184 (pow_test): Do not allow some spurious overflow exceptions.
29185 (sqrt_test): Add more tests.
29186 (tgamma_test): Likewise.
29187 (y0_test): Likewise.
29188 (y1_test): Likewise.
29189 (yn_test): Likewise.
29191 2012-03-27 Anton Blanchard <anton@samba.org>
29193 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29195 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29196 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29197 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29199 2012-03-27 David S. Miller <davem@davemloft.net>
29201 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29203 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29204 have-as-vis3 check.
29206 2012-03-27 Andreas Jaeger <aj@suse.de>
29208 * sysdeps/x86_64/elf/configure.in: Moved to ...
29209 * sysdeps/x86_64/configure.in: ... here.
29210 * sysdeps/x86_64/elf/start.S: Moved to ...
29211 * sysdeps/x86_64/start.S: ... here.
29212 * sysdeps/x86_64/elf/configure: Delete.
29214 * sysdeps/x86_64/configure.in: Merge contents from
29215 sysdeps/i386/configure.in (without i686 check).
29217 * sysdeps/i386/elf/Versions: Merge into ...
29218 * sysdeps/i386/Versions: ... this.
29219 * sysdeps/i386/elf/Versions: Delete file.
29220 * sysdeps/i386/elf/start.S: Moved to ...
29221 * sysdeps/i386/start.S: ...here.
29222 * sysdeps/i386/elf/configure.in: Merge into...
29223 * sysdeps/i386/configure.in: ...here.
29224 * sysdeps/i386/elf/configure.in: Delete file.
29225 * sysdeps/i386/elf/configure: Delete file.
29227 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29228 * debug/backtracesyms.c: ... here.
29229 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29230 * debug/backtracesymsfd.c: ... here.
29231 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29232 * sysdeps/generic/ifunc-sel.h: ... here.
29234 * sysdeps/unix/i386/start.c: Delete file.
29235 * sysdeps/unix/sparc/start.c: Delete file.
29236 * sysdeps/unix/start.c: Delete file.
29238 * sysdeps/sh/elf/configure.in: Moved to ...
29239 * sysdeps/sh/configure.in: ... here.
29240 * sysdeps/sh/elf/start.S: Moved to ...
29241 * sysdeps/sh/start.S: ... here.
29242 * sysdeps/sh/elf/configure: Delete file.
29244 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29245 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29246 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29247 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29248 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29249 * sysdeps/powerpc/powerpc64/start.S: here.
29250 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29251 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29252 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29253 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29254 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29256 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29257 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29258 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29259 * sysdeps/powerpc/powerpc32/start.S: ... here.
29260 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29261 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29262 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29264 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29265 * sysdeps/powerpc/ifunc-sel.h: ... here.
29266 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29267 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29269 * sysdeps/sparc/elf/configure.in: Moved to ...
29270 * sysdeps/sparc/configure.in: ... here.
29271 * sysdeps/sparc/elf/configure: Delete file.
29272 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29273 * sysdeps/sparc/sparc32/start.S: ... here.
29274 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29275 * sysdeps/sparc/sparc64/start.S: ... here.
29276 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29277 * sysdeps/sparc/sparc32/Makefile: ... this.
29278 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29279 * sysdeps/sparc/sparc64/Makefile: ... this.
29281 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29282 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29283 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29284 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29285 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29286 * sysdeps/s390/s390-32/setjmp.S: ... here.
29287 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29288 * sysdeps/s390/s390-32/configure.in: ... here.
29289 * sysdeps/s390/s390-32/elf/configure: Delete file.
29290 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29291 * sysdeps/s390/s390-32/start.S: ... here.
29293 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29294 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29295 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29296 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29297 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29298 * sysdeps/s390/s390-64/setjmp.S: ... here.
29299 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29300 * sysdeps/s390/s390-64/configure.in: ... here
29301 * sysdeps/s390/s390-64/elf/configure: Delete file.
29302 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29303 * sysdeps/s390/s390-64/start.S: ... here.
29304 * sysdeps/s390/s390-64/elf/configure: Delete.
29306 * configure.in: Remove support for elf directories in sysdeps.
29308 * configure: Regenerated.
29309 * sysdeps/i386/configure: Regenerated.
29310 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29311 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29312 * sysdeps/s390/s390-32/configure: Regenerated.
29313 * sysdeps/s390/s390-64/configure: Regenerated.
29314 * sysdeps/sh/configure: Regenerated.
29315 * sysdeps/sparc/configure: Regenerated.
29316 * sysdeps/x86_64/configure: Regenerated.
29318 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29322 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29323 denormal result into account.
29325 2012-03-25 Roland McGrath <roland@hack.frob.com>
29327 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29328 Reported by Allan McRae <allan@archlinux.org>.
29330 2012-03-23 Jeff Law <law@redhat.com>
29332 * nss/getnssent.c (__nss_getent): Fix typo.
29334 2012-03-23 David S. Miller <davem@davemloft.net>
29336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29338 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29340 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29341 to pad to uint64_t for each field.
29342 (dl_tls_index): Replace unsigned long with uint64_t.
29344 2012-03-23 Daniel Jacobowitz <dmj@google.com>
29345 Paul Pluzhnikov <ppluzhnikov@google.com>
29348 * grp/Makefile (otherlibs): Don't set it.
29349 * inet/Makefile (otherlibs): Likewise.
29350 * login/Makefile (otherlibs): Likewise.
29351 * nscd/Makefile (otherlibs): Likewise.
29352 * posix/Makefile (otherlibs): Likewise.
29353 * pwd/Makefile (otherlibs): Likewise.
29354 * rt/Makefile (otherlibs): Likewise.
29355 * sunrpc/Makefile (otherlibs): Likewise.
29356 * nss/Makefile (otherlibs): Likewise.
29357 Add libnss_files to routines and static-only-routines.
29358 ($(objpfx)getent): Remove rule.
29359 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29360 static-only-routines.
29362 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29365 * math/s_cexp.c: Include <float.h>.
29366 (__cexp): Handle exp result overflowing not necessarily
29367 overflowing both real and imaginary parts of result.
29368 * math/s_cexpf.c: Likewise.
29369 * math/s_cexpl.c: Likewise.
29370 * math/libm-test.inc (cexp_test): Add more tests.
29371 * sysdeps/i386/fpu/libm-test-ulps: Update.
29372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29374 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29376 * include/link.h (ELFW): New macro.
29377 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29378 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29380 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29382 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29385 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29387 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29389 (struct La_x32_retval): Likewise.
29391 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29393 * sysdeps/x86_64/preconfigure.in: New file.
29394 * sysdeps/x86_64/preconfigure: New generated file.
29396 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29399 * math/e_exp2l.c: Include <float.h>.
29400 (__ieee754_exp2l): Handle overflow and underflow cases
29401 separately. Only pass fractional part of argument to
29403 * math/libm-test.inc (exp2_test): Add more tests.
29405 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29406 negating x to take absolute value.
29407 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29409 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29410 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29412 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29413 computing low part if x was negated.
29414 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29416 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29418 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29419 la_x32_gnu_pltexit.
29420 (pltexit): Cast int_retval to ptrdiff_t.
29421 * elf/tst-auditmod3b.c: Likewise.
29422 * elf/tst-auditmod4b.c: Likewise.
29423 * elf/tst-auditmod5b.c: Likewise.
29424 * elf/tst-auditmod6b.c: Likewise.
29425 * elf/tst-auditmod6c.c: Likewise.
29426 * elf/tst-auditmod7b.c: Likewise.
29428 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29429 and x32_gnu_pltexit.
29431 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29432 __ELF_NATIVE_CLASS.
29433 (La_x32_regs): New macro.
29434 (La_x32_retval): Likewise.
29435 (la_x32_gnu_pltenter): New function prototype.
29436 (la_x32_gnu_pltexit): Likewise.
29438 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29440 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29445 * configure.in (libc_cv_cc_nofma): Check for option to disable
29446 generation of FMA instructions.
29447 * configure: Regenerate.
29448 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29449 * sysdeps/ieee754/dbl-64/Makefile: New file.
29450 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29451 Remove brandred-fma4.
29452 (CFLAGS-brandred-fma4.c): Remove.
29453 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29454 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29456 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29459 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29461 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29462 LLONG_MAX != LONG_MAX.
29463 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29464 (_fitoa_word): Likewise.
29465 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29466 LLONG_MAX != LONG_MAX.
29467 * stdio-common/_itowa.h: Include <_itoa.h>.
29468 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29469 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29470 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29471 only if not defined.
29472 (_ITOA_WORD_TYPE): Likewise.
29473 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29474 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29476 2012-03-21 David S. Miller <davem@davemloft.net>
29478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29480 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29482 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29483 of x86_64 when setting libc_cv_slibdir, libdir and
29485 * sysdeps/unix/sysv/linux/configure: Regenerated.
29487 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29489 * manual/lang.texi (Old Varargs): Remove section.
29490 (How Variadic): Update menu.
29491 (va_start): Do not mention varargs.h.
29493 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29494 Joseph Myers <joseph@codesourcery.com>
29496 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29498 * configure: Regenerated.
29500 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29502 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29503 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29506 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29509 * Makefile (files-for-dist): Remove NOTES.
29510 (NOTES): Remove rule.
29511 * README: Don't refer to NOTES.
29512 * manual/creature.texi: Don't include macros.texi.
29513 * manual/intro.texi (creature.texi): Remove comment referring to
29516 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29517 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29518 * configure: Regenerated.
29519 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29520 LIBC_TRY_CC_OPTION.
29521 (libc_cv_as_i686): Likewise.
29522 (libc_cv_cc_avx): Likewise.
29523 (libc_cv_cc_sse2avx): Likewise.
29524 (libc_cv_cc_fma4): Likewise.
29525 (libc_cv_cc_novzeroupper): Likewise.
29526 * sysdeps/i386/configure: Regenerated.
29529 * sysdeps/i386/fpu/s_cexp.S: Remove.
29530 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29531 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29532 * math/libm-test.inc (cexp_test): Add more tests.
29533 * sysdeps/i386/fpu/libm-test-ulps: Update.
29534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29536 2012-03-21 Allan McRae <allan@archlinux.org>
29538 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29540 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29543 * math/w_exp2.c: Do not include <float.h>.
29544 (o_threshold, u_threshold): Remove.
29545 (__exp2): Calculate result before checking finiteness and calling
29547 * math/w_exp2f.c: Likewise.
29548 * math/w_exp2l.c: Likewise.
29549 * math/libm-test.inc (exp2_test): Require overflow exception for
29553 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29554 range of signed 64-bit integers before using fistpll. Remove
29555 checks for whether integers fit in mantissa bits.
29556 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29557 the range of signed 32-bit integers before using fistpl. Remove
29558 checks for whether integers fit in mantissa bits.
29559 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29560 (__ieee754_powl): Test for y outside the range of signed 64-bit
29561 integers before using fistpll. Reduce 64-bit values to 63-bit
29563 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29564 divide-by-zero is raised for zero to large negative powers.
29565 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29566 (__ieee754_powl): Test for y outside the range of signed 64-bit
29567 integers before using fistpll. Reduce 64-bit values to 63-bit
29569 * math/libm-test.inc (pow_test): Add more tests.
29571 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29573 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29574 <stdio-common/_itoa.h>.
29575 * debug/segfault.c: Likewise.
29576 * elf/dl-cache.c: Likewise.
29577 * elf/dl-minimal.c: Likewise.
29578 * elf/dl-misc.c: Likewise.
29579 * elf/dl-sysdep.c: Likewise.
29580 * elf/dl-version.c: Likewise.
29581 * elf/rtld.c: Likewise.
29582 * hurd/hurdsock.c: Likewise.
29583 * hurd/lookup-retry.c: Likewise.
29584 * malloc/malloc.c: Likewise.
29585 * malloc/mtrace.c: Likewise.
29586 * nscd/nscd_getgr_r.c: Likewise.
29587 * nscd/nscd_getpw_r.c: Likewise.
29588 * nscd/nscd_getserv_r.c: Likewise.
29589 * posix/getopt_init.c: Likewise.
29590 * posix/wordexp.c: Likewise.
29591 * stdio-common/_itoa.c: Likewise.
29592 * stdio-common/printf_fphex.c: Likewise.
29593 * stdio-common/vfprintf.c: Likewise.
29594 * string/_strerror.c: Likewise.
29595 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29596 * sysdeps/i386/i686/hp-timing.h: Likewise.
29597 * sysdeps/mach/_strerror.c: Likewise.
29598 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29599 * sysdeps/mach/hurd/sethostid.c: Likewise.
29600 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29601 * sysdeps/mach/xpg-strerror.c: Likewise.
29602 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29603 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29604 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29605 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29606 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29607 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29608 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29609 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29610 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29611 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29612 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29613 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29614 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29615 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29616 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29617 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29618 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29619 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29620 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29621 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29622 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29624 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29626 * stdio-common/_itoa.h: Moved to ...
29627 * sysdeps/generic/_itoa.h: Here.
29629 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29631 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29632 instead of "_itoa.h" and "_itowa.h".
29633 * stdio-common/vfprintf.: Likewise.
29635 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29637 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29639 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29640 (__signbit): Likwise.
29641 (llrintf): Likwise.
29644 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29646 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29649 2012-03-20 Joseph Myers <joseph@codesourcery.com>
29651 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29652 OVERFLOW_EXCEPTION_OK.
29653 * math/libm-test.inc ("Philosophy"): Update comment about
29655 (OVERFLOW_EXCEPTION): Define.
29656 (OVERFLOW_EXCEPTION_OK): Likewise.
29657 (INVALID_EXCEPTION_OK): Renumber.
29658 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29659 (IGNORE_ZERO_INF_SIGN): Likewise.
29660 (test_exceptions): Handle FE_OVERFLOW.
29661 (exp10_test): Expect overflow exceptions.
29662 (exp2_test): Likewise.
29663 (expm1_test): Likewise.
29664 (nextafter_test): Likewise.
29665 (pow_test): Likewise.
29666 (scalbn_test): Likewise.
29667 (scalbln_test): Likewise.
29669 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29671 * sysdeps/x86_64/bits/atomic.h
29672 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29674 (atomic_exchange_acq): Likewise.
29675 (__arch_exchange_and_add_body): Likewise.
29676 (__arch_add_body): Likewise.
29677 (atomic_add_negative): Likewise.
29678 (atomic_add_zero): Likewise.
29680 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29682 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
29683 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29685 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29687 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29688 Check __x86_64__ instead of __WORDSIZE.
29690 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29692 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29694 2012-03-19 David S. Miller <davem@davemloft.net>
29696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29698 * sysdeps/sparc/fpu/fenv_private.h: New file.
29699 * sysdeps/sparc/fpu/math_private.h: Use it.
29700 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29702 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29703 (libc_feholdexcept_setroundl): Remove.
29704 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29706 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29707 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29709 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29711 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29712 int64_t instead of long int.
29713 (INSERT_WORDS64): Likwise.
29715 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29717 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29718 _Unwind_GetCFA return to _Unwind_Ptr first.
29720 2012-03-19 Joseph Myers <joseph@codesourcery.com>
29723 * math/s_clog.c: Include <float.h>.
29724 (__clog): Scale large or subnormal inputs.
29725 * math/s_clogf.c: Likewise.
29726 * math/s_clogl.c: Likewise.
29727 * math/s_clog10.c: Include <float.h>.
29728 (M_LOG10_2): Define.
29729 (__clog10): Scale large or subnormal inputs.
29730 * math/s_clog10f.c: Likewise.
29731 * math/s_clog10l.c: Likewise.
29732 * math/libm-test.inc (clog_test): Add more tests.
29733 (clog10_test): Likewise.
29734 * sysdeps/i386/fpu/libm-test-ulps: Update.
29735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29738 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29740 * math/libm-test.inc (atan2_test): Add another test.
29742 * Makerules (common-objdir-compile): Remove.
29743 * sysdeps/unix/Makefile (config-generated): Do not add
29744 $(unix-generated) to variable.
29745 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29746 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29748 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29750 [generic bits/local_lim.h] (before-compile): Do not append to
29752 [generic bits/local_lim.h] (common-generated): Likewise.
29753 [generic sys/param.h] (before-compile): Do not append to variable.
29754 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29755 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29756 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29757 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29759 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29760 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29761 [generic sys/param.h] ($(addprefix
29762 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29763 [generic sys/param.h] (common-generated): Do not append to
29765 [generic sys/param.h] (sysdep_headers): Likewise.
29766 [generic bits/errno.h] (before-compile): Do not append to
29768 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29770 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29771 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29772 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29773 [generic bits/errno.h] (common-generated): Do not append to
29775 [generic bits/ioctls.h] (before-compile): Do not append to
29777 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29779 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29780 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29781 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29783 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29784 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29785 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29786 [generic bits/ioctls.h] (common-generated): Do not append to
29788 [generic sys/syscall.h] (syscall.h): Remove variable.
29789 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29791 [generic sys/syscall.h] (before-compile): Do not append to
29793 [generic sys/syscall.h] (common-generated): Likewise.
29794 * sysdeps/unix/errnos-tmpl.c: Remove file.
29795 * sysdeps/unix/errnos.awk: Likewise.
29796 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29797 * sysdeps/unix/ioctls.awk: Likewise.
29798 * sysdeps/unix/mk-local_lim.c: Likewise.
29799 * sysdeps/unix/snarf-ioctls: Likewise.
29801 2012-03-19 Richard Henderson <rth@twiddle.net>
29803 * sysdeps/i386/fpu/fenv_private.h: New file.
29804 * sysdeps/i386/fpu/math_private.h: Use it.
29805 (math_opt_barrier, math_force_eval): Remove.
29806 (libc_feholdexcept_setround_53bit): Remove.
29807 (libc_feupdateenv_53bit): Remove.
29808 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29809 (math_opt_barrier, math_force_eval): Remove.
29810 (libc_feholdexcept): Remove.
29811 (libc_feholdexcept_setround): Remove.
29812 (libc_fetestexcept, libc_fesetenv): Remove.
29813 (libc_feupdateenv_test): Remove.
29814 (libc_feupdateenv, libc_feholdsetround): Remove.
29815 (libc_feresetround): Remove.
29817 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29818 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29820 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29821 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29822 (libc_feupdateenv_testl): New.
29823 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29824 (libc_feupdateenv_testf): New.
29825 (libc_feupdateenv): Use libc_feupdateenv_test.
29826 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29827 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29829 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29830 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29831 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29832 (libc_feresetround_noex): New.
29833 (libc_feresetround_noexf): New.
29834 (libc_feresetround_noexl): New.
29835 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29836 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29837 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29838 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29840 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29841 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29843 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29844 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29845 SET_RESTORE_ROUND_NOEX.
29846 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29847 SET_RESTORE_ROUND_NOEXF.
29848 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29849 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29850 (libc_feholdsetroundf): New.
29851 (libc_feresetround, libc_feresetroundf): New.
29853 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29854 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29855 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29857 * sysdeps/generic/math_private.h: Include <fenv.h>.
29858 (default_libc_feholdexcept): New.
29859 (default_libc_feholdexcept_setround): New.
29860 (default_libc_fesetenv, default_libc_feupdateenv): New.
29861 (libc_feholdexcept): Only define if undefined.
29862 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29863 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29864 (libc_feholdexcept_setroundl): Likewise.
29865 (libc_feholdexcept_setround_53bit): Likewise.
29866 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29867 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29868 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29869 (libc_feupdateenv_53bit): Likewise.
29870 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29871 (libc_feholdexcept): Convert from macro to inline function.
29872 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29873 (libc_fesetenv, libc_feupdateenv): Likewise.
29875 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29876 not previously defined.
29877 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29878 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29879 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29880 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29881 * sysdeps/ieee754/flt-32/math_private.h: New file.
29882 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29883 math_private.h below SET_FLOAT_WORD.
29884 (__isnan, __isinf_ns, __finite): Remove.
29885 (__isnanf, __isinf_nsf, __finitef): Remove.
29887 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29891 2012-03-17 David S. Miller <davem@davemloft.net>
29894 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29897 2012-03-16 David S. Miller <davem@davemloft.net>
29899 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29903 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29905 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29906 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29907 sysdep_routines when subdir is sysvipc.
29908 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29909 __getshmlba helper.
29911 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29913 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29915 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29918 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29920 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29921 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29922 (__lround): Renamed to ...
29923 (__llround): This. Replace long int with long long int.
29924 Define lround functions as aliases of llround functions.
29925 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29927 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29929 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29930 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29931 adresses to uintptr_t. Replace "long int" and "unsigned long
29932 int" with "greg_t" on va_arg.
29934 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29936 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29937 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29939 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29940 Move e_machine check before EI_CLASS check. Handle x32
29941 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29942 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29943 SKIP_EM_IA_64 and include
29944 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29946 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29947 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29948 (add_system_dir): New macro.
29950 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29951 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29953 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29964 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29966 * math/w_j0f.c (j0f): Likewise.
29968 * math/w_j0l.c (__j0l): Likewise.
29970 * math/w_j1.c (j1): Likewise.
29972 * math/w_j1f.c (j1f): Likewise.
29974 * math/w_j1l.c (__j1l): Likewise.
29976 * math/w_jn.c (jn): Likewise.
29978 * math/w_jnf.c (jnf): Likewise.
29980 * math/w_jnl.c (__jnl): Likewise.
29982 * math/libm-test.inc (j0_test): Add more tests.
29983 (j1_test): Likewise.
29984 (jn_test): Likewise. Add trailing semicolon to existing test.
29985 (y0_test): Likewise.
29986 (y1_test): Likewise.
29987 * sysdeps/i386/fpu/libm-test-ulps: Update.
29988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29992 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29993 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29994 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29995 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29996 (__tanl): Set errno for infinite argument.
29997 * sysdeps/i386/fpu/mptan.c: Remove.
29998 * sysdeps/i386/fpu/s_tan.S: Likewise.
29999 * sysdeps/i386/fpu/s_tanl.S: Likewise.
30000 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30001 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30002 * math/libm-test.inc (tan_test): Add more tests and enable more
30003 tests for double and long double.
30004 * sysdeps/i386/fpu/libm-test-ulps: Update.
30005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30007 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
30009 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30010 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30012 2012-03-16 Roland McGrath <roland@hack.frob.com>
30014 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30015 * configure.in: Use it for both main tree and add-ons.
30016 * configure: Regenerated.
30018 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30020 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30022 2012-03-16 Joseph Myers <joseph@codesourcery.com>
30024 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30028 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30029 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30030 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30031 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30032 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30034 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30035 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30036 != 0 for prec == 2.
30037 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30038 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30039 * sysdeps/i386/fpu/s_cosl.S: Likewise.
30040 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30041 * sysdeps/i386/fpu/s_sinl.S: Likewise.
30042 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30043 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30044 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30045 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30046 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30047 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30048 * math/libm-test.inc (cos_test): Add more tests and enable more
30049 tests for long double.
30050 (sin_test): Likewise.
30051 (sincos_test): Likewise.
30052 * sysdeps/i386/fpu/libm-test-ulps: Update.
30053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30055 2012-03-16 David S. Miller <davem@davemloft.net>
30057 * sysdeps/sparc/fpu/math_private.h: New file.
30059 2012-03-15 David S. Miller <davem@davemloft.net>
30061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
30064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30071 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30075 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30076 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30078 * sysdeps/sparc/sparc-ifunc.h: New file.
30079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
30095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30105 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30106 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30107 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30108 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30117 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30118 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30120 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30121 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30122 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30124 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30126 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30130 2012-03-15 Andreas Jaeger <aj@suse.de>
30133 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30134 ieee754/flt-32 implementation for sin, cos and sincos.
30135 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30136 * sysdeps/i386/fpu/s_cosf.S: Likewise.
30137 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30138 * sysdeps/i386/fpu/s_sinf.S: Likewise.
30139 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30140 ieee754/flt-32 implementation for tan.
30142 * math/libm-test.inc (cos_test): Enable some large input tests for
30144 (sin_test): Likewise.
30145 (sincos_test): Likewise.
30146 (tan_test): Add tests for large input.
30148 * sysdeps/i386/fpu/libm-test-ulps: Update.
30150 2012-03-15 Andreas Jaeger <aj@suse.de>
30153 * math/libm-test.inc (cos_test): Add more test cases.
30154 (sin_test): Likewise.
30155 (sincos_test): Likewise.
30157 2012-03-15 Andreas Jaeger <aj@suse.de>
30160 * math/libm-test.inc (cos_test): Add a test case for large input
30162 (sin_test): Likewise.
30163 (sincos_test): Likewise.
30165 2012-03-15 Andreas Jaeger <aj@suse.de>,
30166 Joseph Myers <joseph@codesourcery.com>
30169 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
30170 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30171 * sysdeps/i386/fpu/branred.c: Likewise.
30172 * sysdeps/i386/fpu/dosincos.c: Likewise.
30173 * sysdeps/i386/fpu/mpa.c: Likewise.
30174 * sysdeps/i386/fpu/s_cos.S: Likewise.
30175 * sysdeps/i386/fpu/s_sin.S: Likewise.
30176 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30177 * sysdeps/i386/fpu/sincos32.c: Likewise.
30179 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30181 (libc_feupdateenv_53bit): Define.
30182 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30184 (libc_feupdateenv_53bit): Define.
30186 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30187 53 bit (without extend i386 double precision).
30189 * math/libm-test.inc (sincos_test): Add tests for large input.
30193 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30195 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30199 2012-03-15 David S. Miller <davem@davemloft.net>
30201 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30202 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30203 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30204 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
30216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
30219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
30222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
30225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30228 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30229 fmin/fmax sysdep routines.
30230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30232 2012-03-14 David S. Miller <davem@davemloft.net>
30234 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30238 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30240 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30241 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30254 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30255 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30256 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30257 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30258 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30259 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30260 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30261 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
30262 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
30267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
30270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
30273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
30276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
30279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
30294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
30297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
30300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
30303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30306 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30311 * sysdeps/sparc/configure.in: New file.
30312 * sysdeps/sparc/configure: Generate.
30313 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30314 * configure: Regenerate.
30315 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30316 * config.make.in (have-as-vis3): New.
30317 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30318 available use -Av9d instead of -Av9a.
30319 * sysdeps/sparc/sparc64/Makefile: Likewise.
30320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
30321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30329 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30330 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30331 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30332 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30333 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30335 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30336 fzeros/fnegs to load 0x80000000 into a float register instead of
30338 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30340 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30342 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30344 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30345 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30346 ($(inst_includedir)/bits/syscall.h): Remove rule.
30347 ($(objpfx)bits/syscall.d): Include instead of
30348 $(objpfx)syscall-list.d.
30349 (generated): Change syscall-list.h and syscall-list.d to
30350 bits/syscall.h and bits/syscall.d.
30352 2012-03-14 Roland McGrath <roland@hack.frob.com>
30355 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30357 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30360 * math/s_csqrt.c: Include <float.h>.
30361 (__csqrt): Scale large or subnormal inputs.
30362 * math/s_csqrtf.c: Likewise.
30363 * math/s_csqrtl.c: Likewise.
30364 * math/libm-test.inc (csqrt_test): Add more tests.
30365 * sysdeps/i386/fpu/libm-test-ulps: Update.
30366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30369 * math/libm-test.inc (hypot_test): Add more tests.
30371 2012-03-13 David S. Miller <davem@davemloft.net>
30374 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30375 double-precision for the calculation instead of scaling.
30377 2012-03-13 Joseph Myers <joseph@codesourcery.com>
30379 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30380 manipulate bits before adding and subtracting TWO52[sx].
30381 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30382 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30384 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30386 2012-03-13 David S. Miller <davem@davemloft.net>
30388 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30389 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30390 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30391 rtld-global-offsets.h
30392 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30394 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30397 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30399 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30400 'err' in the ifdef scope in which it is actually used.
30402 * nss/nss_db/db-init.c: Include string.h
30404 2012-03-12 David S. Miller <davem@davemloft.net>
30406 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30407 masking out of the most significant byte of random value used.
30408 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30409 Fix coding style in previous change.
30411 * sysdeps/unix/sysv/linux/kernel-features.h
30412 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30413 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30415 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30418 2012-03-11 David S. Miller <davem@davemloft.net>
30420 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30421 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30422 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30423 for 'resultvar' otherwise things get truncated on 64-bit.
30425 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30426 Fix masking out of the most significant byte of random value used.
30428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30430 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30434 2012-03-09 David S. Miller <davem@davemloft.net>
30436 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30437 variables with appropriate CPP guards.
30438 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30439 frame pointer, not the stack pointer. Correct layout comments. Fix test
30440 on resulting framesize and the management of the outregs buffer for pltexit.
30441 Preserve floating point return values across _dl_call_pltexit call.
30442 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30443 framesize and the management of the outregs buffer for pltexit.
30444 Preserve floating point return values across _dl_call_pltexit
30446 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30447 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30448 (print_exit): Fix format string for return register value.
30450 2012-03-10 Joseph Myers <joseph@codesourcery.com>
30452 * sunrpc/Makefile (others): Add rpcgen.
30453 ($(objpfx)rpcgen): Remove special build rule and dependency on
30455 * sunrpc/rpcgen.c: New file.
30457 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30460 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30461 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30462 * sysdeps/i386/crti.S: Likewise.
30463 * sysdeps/i386/crtn.S: Likewise.
30464 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30465 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30466 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30467 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30468 * sysdeps/sh/crti.S: Likewise.
30469 * sysdeps/sh/crtn.S: Likewise.
30470 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30473 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30475 * locale/programs/locfile-kw.gperf: Likewise.
30476 * locale/programs/charmap-kw.h: Regenerated.
30477 * locale/programs/locfile-kw.h: Likewise.
30480 * intl/plural.y: Replace FSF snail mail address with URL.
30481 * intl/plural.c: Regenerated.
30483 2012-03-09 Richard Henderson <rth@twiddle.net>
30485 * include/math_private.h: Remove file.
30486 * math/math_private.h: Move file ...
30487 * sysdeps/generic/math_private.h: ... here.
30489 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30490 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30491 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30493 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
30494 and <math_private.h>.
30495 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30496 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30497 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30498 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30499 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30500 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30501 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30502 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30503 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30504 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30506 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30507 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30508 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30509 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30510 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30511 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30512 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30513 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30514 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30515 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30516 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30517 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30518 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30519 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30520 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30521 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30522 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30523 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30524 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30525 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30526 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30527 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30528 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30529 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30530 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30531 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30532 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30533 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30534 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30535 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30536 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30537 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30538 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30539 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30540 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30541 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30542 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30543 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30544 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30545 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30546 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30547 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30548 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30549 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30550 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30551 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30552 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30553 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30554 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30555 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30556 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30557 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30558 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30559 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30560 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30561 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30562 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30563 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30564 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30565 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30566 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30567 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30568 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30569 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30570 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30571 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30572 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30573 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30574 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30575 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30576 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30577 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30578 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30579 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30580 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30581 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30582 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30583 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30584 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30585 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30586 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30587 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30588 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30589 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30590 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30591 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30592 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30593 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30594 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30595 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30596 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30597 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30598 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30599 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30600 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30601 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30602 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30603 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30604 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30605 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30606 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30607 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30608 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30609 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30610 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30611 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30612 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30613 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30614 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30615 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30616 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30617 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30618 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30619 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30620 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30621 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30622 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30623 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30624 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30625 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30626 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30627 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30628 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30629 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30630 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30631 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30632 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30633 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30634 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30635 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30636 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30637 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30638 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30639 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30640 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30641 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30642 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30643 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30644 * sysdeps/ieee754/k_standard.c: Likewise.
30645 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30646 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30647 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30648 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30649 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30650 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30651 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30652 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30653 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30654 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30655 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30656 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30657 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30658 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30659 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30660 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30661 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30662 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30663 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30664 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30665 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30666 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30667 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30668 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30669 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30670 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30671 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30672 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30673 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30674 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30675 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30676 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30677 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30678 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30679 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30680 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30681 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30682 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30683 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30684 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30685 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30686 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30687 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30688 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30689 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30690 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30691 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30692 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30693 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30694 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30695 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30696 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30697 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30698 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30699 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30700 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30701 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30702 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30703 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30704 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30705 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30706 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30707 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30708 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30709 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30710 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30711 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30712 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30713 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30714 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30715 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30716 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30717 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30718 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30719 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30720 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30721 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30722 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30723 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30724 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30725 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30726 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30727 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30728 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30729 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30730 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30731 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30732 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30733 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30734 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30735 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30736 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30737 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30738 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30739 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30740 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30741 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30742 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30743 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30744 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30745 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30746 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30747 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30748 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30749 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30750 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30751 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30752 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30753 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30754 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30755 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30756 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30757 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30758 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30759 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30760 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30761 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30762 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30763 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30764 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30765 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30766 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30767 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30768 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30769 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30770 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30771 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30772 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30773 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30774 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30775 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30776 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30777 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30778 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30779 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30780 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30781 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30782 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30783 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30784 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30785 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30786 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30787 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30788 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30789 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30790 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30791 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30792 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30793 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30794 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30795 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30796 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30797 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30798 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30799 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30800 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30801 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30802 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30803 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30804 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30805 * sysdeps/ieee754/s_lib_version.c: Likewise.
30806 * sysdeps/ieee754/s_matherr.c: Likewise.
30807 * sysdeps/ieee754/s_signgam.c: Likewise.
30808 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30809 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30810 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30811 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30812 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30813 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30814 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30815 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30816 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30817 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30818 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30819 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30820 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30821 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30822 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30823 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30824 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30825 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30826 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30828 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30830 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30832 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30833 * sunrpc/rpc_main.c: Likewise.
30834 * sunrpc/rpc_svcout.c: Likewise.
30836 2012-03-09 David S. Miller <davem@davemloft.net>
30838 * include/math_private.h: New file.
30840 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30842 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30843 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30844 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30845 from <bits/socket_type.h>.
30846 (enum __socket_type): Don't define here.
30847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30849 bits/socket_type.h.
30852 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30853 checking __USE_GNU.
30855 * Makerules ($(inst_includedir)/%.h): New rule.
30856 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30857 (install-others): Remove variable setting.
30858 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30860 2012-03-08 Richard Henderson <rth@twiddle.net>
30862 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30863 from macro to inline function; merge with the
30864 !__LIBC_INTERNAL_MATH_INLINES version.
30865 (__ieee754_sqrtf): Likewise.
30867 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30868 to inline function.
30869 (__rintf, __floor, __floorf): Likewise.
30871 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30872 macro to inline function.
30873 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30875 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30876 not <math/math_private.h>.
30878 2012-03-08 David S. Miller <davem@davemloft.net>
30880 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30882 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30884 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30886 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30888 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30889 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30891 2012-03-08 Ulrich Drepper <drepper@gmail.com>
30893 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30894 be defined individually, they must be defined as a block. Define
30895 S for printing a string instead of hidint the different by using a
30896 macro for adding the 'l'.
30897 * stdio-common/tst-fphex-wide.c: Adjust.
30899 2012-03-07 Marek Polacek <polacek@redhat.com>
30901 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30903 2012-03-08 Marek Polacek <polacek@redhat.com>
30906 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30907 * stdio-common/tst-fphex.c: Define a few macros to make the
30908 test reusable. Use them.
30909 * stdio-common/tst-fphex-wide.c: New file.
30911 2012-03-08 Joseph Myers <joseph@codesourcery.com>
30914 * manual/macros.texi (gnusystems): New macro.
30915 (nongnusystems): Likewise.
30916 (gnulinuxhurdsystems): Likewise.
30917 (gnuhurdsystems): Likewise..
30918 (gnulinuxsystems): Likewise.
30919 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30920 variants of the GNU system, not "GNU system".
30921 * manual/conf.texi: Likewise.
30922 * manual/errno.texi: Likewise. Update example of errno macro
30924 * manual/filesys.texi: Likewise.
30925 (getumask): Document as specific to GNU/Hurd.
30926 * manual/install.texi: Likewise. Reword some references to
30928 * manual/intro.texi: Likewise.
30929 * manual/io.texi: Likewise.
30930 (File Name Portability): Detail which constraints are inapplicable
30931 to all GNU systems and which are only inapplicable to GNU/Hurd.
30932 * manual/job.texi: Likewise.
30933 * manual/llio.texi: Likewise.
30934 (O_NOCTTY): Document as present on GNU/Linux.
30935 * manual/maint.texi: Likewise.
30936 * manual/memory.texi: Likewise.
30937 * manual/pattern.texi: Likewise.
30938 * manual/pipe.texi: Likewise.
30939 * manual/process.texi: Likewise.
30940 * manual/resource.texi: Likewise.
30941 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30943 * manual/setjmp.texi: Likewise.
30944 * manual/signal.texi: Likewise.
30945 * manual/startup.texi: Likewise.
30946 * manual/stdio.texi: Likewise.
30947 * manual/terminal.texi: Likewise.
30948 (ONLCR): Document as POSIX.
30949 (OXTABS): Document availability on GNU/Linux as XTABS.
30950 (ONOEOT): Document availability separately from other bits.
30951 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30952 * manual/time.texi: Likewise.
30953 * manual/users.texi: Likewise.
30954 * INSTALL: Regenerated.
30955 * sysdeps/gnu/errlist.c: Regenerated.
30957 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30958 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30959 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30961 * configure: Regenerated.
30963 2012-03-07 Joseph Myers <joseph@codesourcery.com>
30965 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30966 default includes instead of AC_HEADER_CHECK.
30967 * sysdeps/i386/configure: Regenerated.
30970 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30971 * math/s_cacoshf.c (__cacoshf): Likewise.
30972 * math/s_cacoshl.c (__cacoshl): Likewise.
30973 * math/s_casinh.c (__casinh): Set signs of result from argument.
30974 * math/s_casinhf.c (__casinhf): Likewise.
30975 * math/s_casinhl.c (__casinhl): Likewise.
30976 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30977 (casinh_test): Add more tests.
30978 * sysdeps/i386/fpu/libm-test-ulps: Update.
30979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30981 2012-03-07 Ulrich Drepper <drepper@gmail.com>
30983 * po/zh_TW.po: Update from translation team.
30985 * login/Makefile (distribute): Remove variable.
30986 * catgets/Makefile: Likewise.
30987 * mach/Makefile: Likewise.
30988 * malloc/Makefile: Likewise.
30989 * misc/Makefile: Likewise.
30990 * iconv/Makefile: Likewise.
30991 * nscd/Makefile: Likewise.
30992 * hurd/Makefile: Likewise.
30993 * manual/Makefile: Likewise.
30994 * locale/Makefile: Likewise.
30995 * intl/Makefile: Likewise.
30996 * conform/Makefile: Likewise.
30997 * nss/Makefile: Likewise.
30998 * time/Makefile: Likewise.
30999 * soft-fp/Makefile: Likewise.
31000 * dirent/Makefile: Likewise.
31001 * gmon/Makefile: Likewise.
31002 * po/Makefile: Likewise.
31003 * rt/Makefile: Likewise.
31004 * socket/Makefile: Likewise.
31005 * math/Makefile: Likewise.
31006 * signal/Makefile: Likewise.
31007 * debug/Makefile: Likewise.
31008 * elf/Makefile: Likewise.
31009 * timezone/Makefile: Likewise.
31010 * stdlib/Makefile: Likewise.
31011 * iconvdata/Makefile: Likewise.
31012 * sunrpc/Makefile: Likewise.
31013 * io/Makefile: Likewise.
31014 * argp/Makefile: Likewise.
31015 * inet/Makefile: Likewise.
31016 * hesiod/Makefile: Likewise.
31017 * grp/Makefile: Likewise.
31018 * csu/Makefile: Likewise.
31019 * wctype/Makefile: Likewise.
31020 * crypt/Makefile: Likewise.
31021 * libio/Makefile: Likewise.
31022 * string/Makefile: Likewise.
31023 * nis/Makefile: Likewise.
31024 * resolv/Makefile: Likewise.
31025 * stdio-common/Makefile: Likewise.
31026 * wcsmbs/Makefile: Likewise.
31027 * dlfcn/Makefile: Likewise.
31028 * posix/Makefile: Likewise.
31031 * timezone/Makefile: Don't install timezone files, just the programs
31034 2012-03-06 Ulrich Drepper <drepper@gmail.com>
31036 * nss/databases.def: Add missing gshadow entry.
31038 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
31040 2012-03-06 Marek Polacek <polacek@redhat.com>
31043 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31044 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31045 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31046 * stdio-common/tst-long-dbl-fphex.c: New file.
31048 2012-03-06 David S. Miller <davem@davemloft.net>
31050 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31051 (set_obp_int): New function.
31052 (get_obp_int): New function.
31053 (__get_clockfreq_via_dev_openprom): Likewise.
31054 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31055 Avoid unused variable warnings on 'val' and use builtin_expect.
31056 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31058 (INLINE_CLONE_SYSCALL): Likewise.
31060 2012-03-05 David S. Miller <davem@davemloft.net>
31062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31064 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
31066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31068 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31069 only for |x| >= 40.
31070 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31072 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
31074 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31075 Replace gettimeofday with __vdso_gettimeofday.
31077 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31078 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31079 __vdso_clock_gettime and __vdso_getcpu.
31081 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31082 time with __vdso_time.
31084 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31086 * manual/lang.texi (size_t): Note types to which size_t may be
31087 equivalent with the GNU C Library, but do not describe when
31088 differences between them are significant.
31090 2012-03-05 Andreas Jaeger <aj@suse.de>
31092 * sysdeps/i386/fpu/libm-test-ulps: Update.
31094 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31097 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31098 (__ieee754_pow): Save and restore rounding mode and use
31099 round-to-nearest for main computations.
31100 * math/libm-test.inc (pow_test_tonearest): New function.
31101 (pow_test_towardzero): Likewise.
31102 (pow_test_downward): Likewise.
31103 (pow_test_upward): Likewise.
31104 (main): Call the new functions.
31105 * sysdeps/i386/fpu/libm-test-ulps: Update.
31106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31109 * math/libm-test.inc (cosh_test_tonearest): New function.
31110 (cosh_test_towardzero): Likewise.
31111 (cosh_test_downward): Likewise.
31112 (cosh_test_upward): Likewise.
31113 (sinh_test_tonearest): Likewise.
31114 (sinh_test_towardzero): Likewise.
31115 (sinh_test_downward): Likewise.
31116 (sinh_test_upward): Likewise.
31117 (main): Call the new functions.
31118 * sysdeps/i386/fpu/libm-test-ulps: Update.
31119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31121 2012-03-05 Tom de Vries <tom@codesourcery.com>
31123 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31124 default stack guard is set in last bytes.
31125 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31127 2012-03-05 Kees Cook <keescook@chromium.org>
31129 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
31132 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31133 possibly allocate from heap instead of stack.
31134 * stdio-common/bug-vfprintf-nargs.c: New file.
31135 * stdio-common/Makefile (tests): Add nargs overflow test.
31137 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
31139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31141 2012-03-03 Marek Polacek <polacek@redhat.com>
31143 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31144 * math/math_private.h: Likewise.
31145 * stdlib/tst-strtod.c: Likewise.
31146 * sysdeps/i386/i486/bits/atomic.h: Likewise.
31147 * sysdeps/x86_64/bits/atomic.h: Likewise.
31149 2012-03-02 David S. Miller <davem@davemloft.net>
31151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31155 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31156 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31157 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31158 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31160 2012-03-02 Roland McGrath <roland@hack.frob.com>
31163 * manual/examples/README: New file, says the example source files
31164 can be used under GPL>=2.
31165 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31166 line containing just "*/".
31167 * manual/examples/add.c: Add copyright header (GPL>=2).
31168 * manual/examples/argp-ex1.c: Likewise.
31169 * manual/examples/argp-ex2.c: Likewise.
31170 * manual/examples/argp-ex3.c: Likewise.
31171 * manual/examples/argp-ex4.c: Likewise.
31172 * manual/examples/atexit.c: Likewise.
31173 * manual/examples/db.c: Likewise.
31174 * manual/examples/dir.c: Likewise.
31175 * manual/examples/dir2.c: Likewise.
31176 * manual/examples/execinfo.c: Likewise.
31177 * manual/examples/filecli.c: Likewise.
31178 * manual/examples/filesrv.c: Likewise.
31179 * manual/examples/fmtmsgexpl.c: Likewise.
31180 * manual/examples/genpass.c: Likewise.
31181 * manual/examples/inetcli.c: Likewise.
31182 * manual/examples/inetsrv.c: Likewise.
31183 * manual/examples/isockad.c: Likewise.
31184 * manual/examples/longopt.c: Likewise.
31185 * manual/examples/memopen.c: Likewise.
31186 * manual/examples/memstrm.c: Likewise.
31187 * manual/examples/mkfsock.c: Likewise.
31188 * manual/examples/mkisock.c: Likewise.
31189 * manual/examples/mygetpass.c: Likewise.
31190 * manual/examples/pipe.c: Likewise.
31191 * manual/examples/popen.c: Likewise.
31192 * manual/examples/rprintf.c: Likewise.
31193 * manual/examples/search.c: Likewise.
31194 * manual/examples/select.c: Likewise.
31195 * manual/examples/setjmp.c: Likewise.
31196 * manual/examples/sigh1.c: Likewise.
31197 * manual/examples/sigusr.c: Likewise.
31198 * manual/examples/stpcpy.c: Likewise.
31199 * manual/examples/strdupa.c: Likewise.
31200 * manual/examples/strftim.c: Likewise.
31201 * manual/examples/strncat.c: Likewise.
31202 * manual/examples/subopt.c: Likewise.
31203 * manual/examples/swapcontext.c: Likewise.
31204 * manual/examples/termios.c: Likewise.
31205 * manual/examples/testopt.c: Likewise.
31206 * manual/examples/testpass.c: Likewise.
31207 * manual/examples/timeval_subtract.c: Likewise.
31210 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31212 * manual/timeval_subtract.c.texi: ... here, new file.
31214 2012-03-02 David S. Miller <davem@davemloft.net>
31216 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31218 2012-03-02 Joseph Myers <joseph@codesourcery.com>
31221 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31222 (__sin): Save and restore rounding mode and use round-to-nearest
31223 for all computations.
31224 (__cos): Save and restore rounding mode and use round-to-nearest
31225 for all computations.
31226 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31228 (tan): Save and restore rounding mode and use round-to-nearest for
31230 * math/libm-test.inc (cos_test_tonearest): New function.
31231 (cos_test_towardzero): Likewise.
31232 (cos_test_downward): Likewise.
31233 (cos_test_upward): Likewise.
31234 (sin_test_tonearest): Likewise.
31235 (sin_test_towardzero): Likewise.
31236 (sin_test_downward): Likewise.
31237 (sin_test_upward): Likewise.
31238 (tan_test_tonearest): Likewise.
31239 (tan_test_towardzero): Likewise.
31240 (tan_test_downward): Likewise.
31241 (tan_test_upward): Likewise.
31242 (main): Call the new functions.
31243 * sysdeps/i386/fpu/libm-test-ulps: Update.
31244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31247 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31248 small n, then large n, before computing and testing k+n.
31249 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31250 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31252 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31254 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31255 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31256 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31257 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31258 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31259 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31260 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31261 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31262 * math/libm-test.inc (scalbn_test): Add more tests.
31263 (scalbln_test): Likewise.
31265 * manual/filesys.texi (mode_t): Describe constraints on size and
31266 signedness, not exact equivalence to a particular type.
31268 (ino64_t): Likewise.
31270 (nlink_t): Likewise.
31271 (blkcnt_t): Likewise.
31272 (blkcnt64_t): Likewise.
31273 * manual/llio.texi (off_t): Likewise.
31276 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31277 (__ieee754_exp): Save and restore rounding mode and use
31278 round-to-nearest for all computations.
31279 * math/libm-test.inc (exp_test_tonearest): New function.
31280 (exp_test_towardzero): Likewise.
31281 (exp_test_downward): Likewise.
31282 (exp_test_upward): Likewise.
31283 (main): Call the new functions.
31284 * sysdeps/i386/fpu/libm-test-ulps: Update.
31285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31287 2012-03-01 Chris Demetriou <cgd@google.com>
31289 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31290 have predictable order.
31292 2012-03-01 David S. Miller <davem@davemloft.net>
31294 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31296 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31297 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31298 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31299 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31301 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31302 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31303 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31305 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31306 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31307 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31308 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31309 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31313 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31314 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31315 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31317 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31318 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31319 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31320 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31321 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31322 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31323 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31324 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31325 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31326 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31327 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31328 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31329 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31330 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31331 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31332 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31333 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31334 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31335 * sysdeps/sparc/elf/configure: Regenerated.
31337 2012-03-01 Joseph Myers <joseph@codesourcery.com>
31339 * configure.in (AS, LD): Require binutils 2.20 or later.
31340 * configure: Regenerated.
31341 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31342 as required minimum version.
31343 * INSTALL: Regenerated.
31347 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31348 before squaring exponent.
31349 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31350 bottom long double and 27 bits of top long double before squaring
31352 * math/libm-test.inc (erfc_test): Add more tests.
31353 * sysdeps/i386/fpu/libm-test-ulps: Update.
31354 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31357 2012-03-01 Kai Tietz <ktietz@redhat.com>
31359 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31360 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31361 containing bit-fields.
31362 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31363 * soft-fp/single.h (_FP_UNION_S): Likewise.
31364 * soft-fp/double.h (_FP_UNION_D): Likewise.
31366 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31369 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31370 not include ../strcmp.S.
31371 [USE_AS_STRNCASECMP_L]: Likewise.
31372 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31373 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31374 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31375 (__strncasecmp_l_ia32): Define as alias to
31376 __strncasecmp_l_nonascii.
31379 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31380 * sysdeps/i386/fpu/libm-test-ulps: Update.
31381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31383 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31386 2012-02-29 Jeff Law <law@redhat.com>
31388 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31389 out of bounds read.
31391 2012-02-29 Marek Polacek <polacek@redhat.com>
31394 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31395 * elf/Makefile: Add rules to run tst-unused-dep.out.
31397 2012-02-28 David S. Miller <davem@davemloft.net>
31399 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31400 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31401 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31402 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31403 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31404 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31406 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31408 * math/libm-test.inc (llround_test): Move one test from
31409 lround_test. Use TEST_f_L in moved test.
31410 (lround_test): Move misplaced test to llround_test. Add testcase
31413 2012-02-28 Ulrich Drepper <drepper@gmail.com>
31415 * sysdeps/x86_64/fpu/e_expf.S: New file.
31416 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31418 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31421 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31422 of remain_len that may cause incomplete multi-byte character and
31424 * posix/bug-regex33.c: New file.
31425 * posix/Makefile (tests): Add bug-regex33.
31427 2012-02-28 Joseph Myers <joseph@codesourcery.com>
31429 * manual/macros.texi: New file.
31430 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31431 * manual/libc.texinfo: Include macros.texi.
31432 * manual/creatute.texi: Likewise.
31433 * manual/install.texi: Likewise.
31434 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31435 @glibcadj{} in references to the GNU C Library.
31436 * manual/charset.texi: Likewise.
31437 * manual/conf.texi: Likewise.
31438 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31439 when not using those macros.
31440 * manual/creature.texi: Likewise.
31441 * manual/crypt.texi: Likewise.
31442 * manual/errno.texi: Likewise.
31443 * manual/filesys.texi: Likewise.
31444 * manual/header.texi: Likewise.
31445 * manual/install.texi: Likewise.
31446 * manual/intro.texi: Likewise.
31447 * manual/io.texi: Likewise.
31448 * manual/job.texi: Likewise.
31449 * manual/lang.texi: Likewise.
31450 * manual/libc.texiinfo: Likewise.
31451 * manual/llio.texi: Likewise.
31452 * manual/locale.texi: Likewise.
31453 * manual/maint.texi: Likewise.
31454 * manual/math.texi: Likewise.
31455 * manual/memory.texi: Likewise.
31456 * manual/message.texi: Likewise.
31457 * manual/nss.texi: Likewise.
31458 * manual/pattern.texi: Likewise.
31459 * manual/process.texi: Likewise.
31460 * manual/resource.texi: Likewise.
31461 * manual/search.texi: Likewise.
31462 * manual/setjmp.texi: Likewise.
31463 * manual/signal.texi: Likewise.
31464 * manual/socket.texi: Likewise.
31465 * manual/startup.texi: Likewise.
31466 * manual/stdio.texi: Likewise.
31467 * manual/string.texi: Likewise.
31468 * manual/sysinfo.texi: Likewise.
31469 * manual/syslog.texi: Likewise.
31470 * manual/terminal.texi: Likewise.
31471 * manual/time.texi: Likewise.
31472 * manual/users.texi: Likewise.
31473 * INSTALL: Regenerated.
31474 * NOTES: Regenerated.
31475 * sysdeps/gnu/errlist.c: Regenerated.
31477 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31479 * include/dirent.h: Include <dirstream.h> before
31482 2012-02-28 David S. Miller <davem@davemloft.net>
31484 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31485 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31486 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31487 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31489 2012-02-27 David S. Miller <davem@davemloft.net>
31491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31493 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31494 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31497 frame pointer instead of stack pointer relative arg slot.
31498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31499 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31500 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31502 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31505 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31507 2012-02-27 David S. Miller <davem@davemloft.net>
31509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31513 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31514 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31515 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31516 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31518 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31520 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31521 later. Allow versions 5-9.
31522 * configure: Regenerated.
31523 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31524 required minimum version and 4.6 as recommended version. Do not
31525 mention bugs in GCC 2.7 and 2.8.
31526 * INSTALL: Regenerated.
31528 2012-02-27 David S. Miller <davem@davemloft.net>
31530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31534 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31535 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31536 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31537 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31539 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31540 manipulate bits before adding and subtracting TWO112[sx].
31541 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31543 2012-02-27 Roland McGrath <roland@hack.frob.com>
31546 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31547 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31548 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31549 being in POSIX, because they are in 1003.1-2008.
31551 * rt/tst-aio.c: Include <fcntl.h>.
31552 * rt/tst-aio7.c: Likewise.
31553 * rt/tst-aio64.c: Likewise.
31555 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31557 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31559 * manual/install.texi (--with-headers): Describe headers as
31560 interface headers, not private headers.
31561 (Specific advice for GNU/Linux systems): Describe use of headers
31562 from "make headers_install", not private headers from older
31564 * INSTALL: Regenerated.
31565 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31567 * sysdeps/unix/sysv/linux/configure: Regenerated.
31569 * manual/llio.texi (fclean): Remove documentation.
31571 * manual/Makefile (libc-texi-generated): New variable. Include
31573 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31574 $(libc-texi-generated), not duplicated list of files.
31575 (version.texi, stamp-version): New rules.
31576 (realclean): Remove $(libc-texi-generated), not individual files
31577 from that list. Do not remove dir-add.texinfo.
31578 * manual/libc.texinfo: Comment out uses of edition numbers and
31579 references to printed manual. Remove last-updated dates.
31580 (EDITION): Comment out.
31582 (VERSION, UPDATED): Remove.
31583 (version.texi): Include.
31585 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31587 * sysdeps/posix/spawni.c: Include <signal.h>.
31588 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31589 * sysdeps/pthread/aio_fsync.c: Likewise.
31591 2012-02-26 Ulrich Drepper <drepper@gmail.com>
31593 * conform/Makefile (tests): Run only when not cross-compiling and
31594 when fast-check is not defined.
31596 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31597 * conform/data/limits.h-data: Fixes for POSIX2008.
31598 * conform/run-conformtest.sh: Run all tests.
31599 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31601 * include/bits/dlfcn.h: Likewise.
31602 * include/langinfo.h: Likewise.
31603 * include/monetary.h: Likewise.
31604 * include/sys/poll.h: Likewise.
31606 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31608 * posix/spawn.h: Define __need_sigset_t.
31609 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31610 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31611 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31612 to get sigevent_t only.
31613 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31614 only for __USE_GNU.
31615 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31616 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31617 process_vm_writev only for __USE_GNU.
31618 * termios/termios.h: Declare tcgetsid also for POSIX2008.
31620 * conform/Makefile: For now ignore errors from run-conformtest.
31621 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31622 POSIX to avoid namespace pollution. Don't prepend headers.
31623 * conform/data/aio.h-data: Fixes for POSIX testing.
31624 * conform/data/fcntl.h-data: Likewise.
31625 * conform/data/glob.h-data: Likewise.
31626 * conform/data/grp.h-data: Likewise.
31627 * conform/data/pthread.h-data: Likewise.
31628 * conform/data/pwd.h-data: Likewise.
31629 * conform/data/signal.h-data: Likewise.
31630 * conform/data/spawn.h-data: Likewise.
31631 * conform/data/stdio.h-data: Likewise.
31632 * conform/data/stdlib.h-data: Likewise.
31633 * conform/data/stropts.h-data: Likewise.
31634 * conform/data/sys/mman.h-data: Likewise.
31635 * conform/data/sys/stat.h-data: Likewise.
31636 * conform/data/sys/types.h-data: Likewise.
31637 * conform/data/sys/wait.h-data: Likewise.
31638 * conform/data/time.h-data: Likewise.
31639 * conform/data/unistd.h-data: Likewise.
31640 * conform/data/utime.h-data: Likewise.
31642 * io/sys/stat.h: fchmod was always in POSIX.
31643 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31644 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31645 * rt/aio.h: Define __need_timespec before including <time.h>.
31646 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31647 struct. Add forward declaration of pthread_attr_t and use it in
31649 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31650 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31651 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31652 always remove CLK_TCK definition.
31654 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31656 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31658 2012-02-25 Ulrich Drepper <drepper@gmail.com>
31660 * conform/run-conformtest.sh: New file.
31661 * conform/Makefile: Run run-conformtest for tests.
31662 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31665 * conform/data/uchar.h-data: New file.
31666 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31667 * conform/data/arpa/inet.h-data: Likewise.
31668 * conform/data/assert.h-data: Likewise.
31669 * conform/data/complex.h-data: Likewise.
31670 * conform/data/cpio.h-data: Likewise.
31671 * conform/data/ctype.h-data: Likewise.
31672 * conform/data/dirent.h-data: Likewise.
31673 * conform/data/dlfcn.h-data: Likewise.
31674 * conform/data/errno.h-data: Likewise.
31675 * conform/data/fcntl.h-data: Likewise.
31676 * conform/data/float.h-data: Likewise.
31677 * conform/data/fmtmsg.h-data: Likewise.
31678 * conform/data/fnmatch.h-data: Likewise.
31679 * conform/data/ftw.h-data: Likewise.
31680 * conform/data/glob.h-data: Likewise.
31681 * conform/data/grp.h-data: Likewise.
31682 * conform/data/iconv.h-data: Likewise.
31683 * conform/data/inttypes.h-data: Likewise.
31684 * conform/data/langinfo.h-data: Likewise.
31685 * conform/data/libgen.h-data: Likewise.
31686 * conform/data/limits.h-data: Likewise.
31687 * conform/data/locale.h-data: Likewise.
31688 * conform/data/math.h-data: Likewise.
31689 * conform/data/monetary.h-data: Likewise.
31690 * conform/data/mqueue.h-data: Likewise.
31691 * conform/data/ndbm.h-data: Likewise.
31692 * conform/data/net/if.h-data: Likewise.
31693 * conform/data/netdb.h-data: Likewise.
31694 * conform/data/netinet/in.h-data: Likewise.
31695 * conform/data/nl_types.h-data: Likewise.
31696 * conform/data/poll.h-data: Likewise.
31697 * conform/data/pthread.h-data: Likewise.
31698 * conform/data/pwd.h-data: Likewise.
31699 * conform/data/regex.h-data: Likewise.
31700 * conform/data/sched.h-data: Likewise.
31701 * conform/data/search.h-data: Likewise.
31702 * conform/data/semaphore.h-data: Likewise.
31703 * conform/data/setjmp.h-data: Likewise.
31704 * conform/data/signal.h-data: Likewise.
31705 * conform/data/spawn.h-data: Likewise.
31706 * conform/data/stdarg.h-data: Likewise.
31707 * conform/data/stdio.h-data: Likewise.
31708 * conform/data/stdlib.h-data: Likewise.
31709 * conform/data/string.h-data: Likewise.
31710 * conform/data/strings.h-data: Likewise.
31711 * conform/data/stropts.h-data: Likewise.
31712 * conform/data/sys/ipc.h-data: Likewise.
31713 * conform/data/sys/mman.h-data: Likewise.
31714 * conform/data/sys/msg.h-data: Likewise.
31715 * conform/data/sys/resource.h-data: Likewise.
31716 * conform/data/sys/select.h-data: Likewise.
31717 * conform/data/sys/sem.h-data: Likewise.
31718 * conform/data/sys/shm.h-data: Likewise.
31719 * conform/data/sys/socket.h-data: Likewise.
31720 * conform/data/sys/stat.h-data: Likewise.
31721 * conform/data/sys/statvfs.h-data: Likewise.
31722 * conform/data/sys/time.h-data: Likewise.
31723 * conform/data/sys/timeb.h-data: Likewise.
31724 * conform/data/sys/times.h-data: Likewise.
31725 * conform/data/sys/types.h-data: Likewise.
31726 * conform/data/sys/uio.h-data: Likewise.
31727 * conform/data/sys/un.h-data: Likewise.
31728 * conform/data/sys/utsname.h-data: Likewise.
31729 * conform/data/sys/wait.h-data: Likewise.
31730 * conform/data/syslog.h-data: Likewise.
31731 * conform/data/tar.h-data: Likewise.
31732 * conform/data/termios.h-data: Likewise.
31733 * conform/data/utime.h-data: Likewise.
31734 * conform/data/utmpx.h-data: Likewise.
31735 * conform/data/varargs.h-data: Likewise.
31736 * conform/data/wchar.h-data: Likewise.
31737 * conform/data/wctype.h-data: Likewise.
31738 * conform/data/wordexp.h-data: Likewise.
31740 * include/stropts.h: New file.
31741 * include/uchar.h: New file.
31742 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31743 * include/assert.h: Likewise.
31744 * include/ctype.h: Likewise.
31745 * include/dirent.h: Likewise.
31746 * include/dlfcn.h: Likewise.
31747 * include/fcntl.h: Likewise.
31748 * include/fnmatch.h: Likewise.
31749 * include/glob.h: Likewise.
31750 * include/grp.h: Likewise.
31751 * include/libio.h: Likewise.
31752 * include/locale.h: Likewise.
31753 * include/math.h: Likewise.
31754 * include/net/if.h: Likewise.
31755 * include/netdb.h: Likewise.
31756 * include/netinet/in.h: Likewise.
31757 * include/pthread.h: Likewise.
31758 * include/pwd.h: Likewise.
31759 * include/regex.h: Likewise.
31760 * include/sched.h: Likewise.
31761 * include/search.h: Likewise.
31762 * include/setjmp.h: Likewise.
31763 * include/signal.h: Likewise.
31764 * include/stdio.h: Likewise.
31765 * include/stdlib.h: Likewise.
31766 * include/string.h: Likewise.
31767 * include/sys/cdefs.h: Likewise.
31768 * include/sys/mman.h: Likewise.
31769 * include/sys/msg.h: Likewise.
31770 * include/sys/resource.h: Likewise.
31771 * include/sys/select.h: Likewise.
31772 * include/sys/socket.h: Likewise.
31773 * include/sys/stat.h: Likewise.
31774 * include/sys/statvfs.h: Likewise.
31775 * include/sys/time.h: Likewise.
31776 * include/sys/times.h: Likewise.
31777 * include/sys/uio.h: Likewise.
31778 * include/sys/utsname.h: Likewise.
31779 * include/sys/wait.h: Likewise.
31780 * include/termios.h: Likewise.
31781 * include/time.h: Likewise.
31782 * include/ulimit.h: Likewise.
31783 * include/unistd.h: Likewise.
31784 * include/utime.h: Likewise.
31785 * include/wchar.h: Likewise.
31786 * include/wctype.h: Likewise.
31787 * include/wordexp.h: Likewise.
31789 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31791 * time/time.h: TIME_UTC must be a macro.
31792 Make timespec_get available for ISO C11 only as well.
31794 2012-02-24 Ulrich Drepper <drepper@gmail.com>
31796 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31797 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31799 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31801 * configure.in: Use -o not -a in test for unsupported multi-arch.
31803 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31805 * manual/texinfo.tex: Update to version 2012-01-19.16.
31807 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31809 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31811 2012-02-24 Roland McGrath <roland@hack.frob.com>
31814 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31815 * manual/fdl-1.3.texi: New file.
31816 * manual/fdl-1.1.texi: File removed.
31819 * manual/libc.texinfo (FDL_VERSION): New @set.
31820 Use it for mention of FDL in cover text.
31821 (Documentation License): Use it in @include file name.
31823 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31824 Roland McGrath <roland@hack.frob.com>
31827 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31828 not LONG_LONG_MAX and LONG_LONG_MIN.
31829 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31830 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31832 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31834 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31838 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31839 manipulate bits before adding and subtracting TWO23[sx].
31840 * math/libm-test.inc (nearbyint_test): Add more tests.
31842 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31845 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31846 bits before adding and subtracting TWO23[sx].
31847 * math/libm-test.inc (rint_test): Add more tests.
31848 (rint_test_tonearest): Likewise.
31849 (rint_test_towardzero): Likewise.
31850 (rint_test_downward): Likewise.
31851 (rint_test_upward: Likewise.
31853 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31856 * include/stdc-predef.h: New file. Extracted from features.h.
31857 * include/features.h: Include stdc-predef.h.
31858 * Makefile (headers): Add stdc-predef.h.
31859 * CONFORMANCE (Compiler limitations): Update.
31861 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31863 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31865 2012-02-21 David S. Miller <davem@davemloft.net>
31867 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31868 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31870 2012-02-20 David S. Miller <davem@davemloft.net>
31872 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31873 using a normal save/restore sequence, rather than allocating a
31874 dummy stack frame just to store a frame pointer and restore.
31875 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31877 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31879 * manual/install.texi: Fix stray word in line-wrapped comment.
31881 2012-02-20 David S. Miller <davem@davemloft.net>
31883 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31884 both binutils and gcc support GOTDATA.
31886 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31887 "rd %pc" in the PIC register setup sequences.
31889 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31890 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31891 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31892 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31893 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31894 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31895 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31896 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31897 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31898 (SYSCALL_ERROR_HANDLER): Likewise.
31899 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31900 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31901 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31902 (SYSCALL_ERROR_HANDLER): Likewise.
31904 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31905 (HAVE_GCC_GOTDATA): New.
31906 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31907 relocation support in both binutils and gcc.
31908 * sysdeps/sparc/elf/configure: Regenerate.
31910 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31911 * sysdeps/sparc/sparc32/elf/configure: Delete.
31912 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31913 * sysdeps/sparc/sparc64/elf/configure: Delete.
31914 * sysdeps/sparc/elf/configure.in: New file.
31915 * sysdeps/sparc/elf/configure: Generate.
31917 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31918 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31919 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31920 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31921 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31923 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31925 * manual/install.texi: Do not mention specific glibc version
31927 * manual/libc.texinfo (VERSION, UPDATED): Update.
31928 (@copying): Use @copyright{} and range of years.
31930 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31933 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31934 [crti.S not in sysdirs] (generated): Do not append.
31935 [crti.S not in sysdirs] (omit-deps): Likewise.
31936 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31937 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31938 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31939 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31940 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31942 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31943 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31944 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31945 * csu/defs.awk: Remove file.
31946 * sysdeps/generic/initfini.c: Likewise.
31947 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31949 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31952 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31954 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31955 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31956 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31957 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31958 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31959 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31961 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31962 (__EPOLL_PACKED): Define to empty if not defined by
31964 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31965 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31968 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31970 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31971 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31972 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31973 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31975 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31979 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31981 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31983 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31984 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31985 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31988 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31990 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31991 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31993 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31995 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31996 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31998 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
32000 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32003 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
32005 * math/w_acos.c: Use non-signaling floating-point comparisons.
32006 * math/w_acosf.c: Likewise.
32007 * math/w_acosh.c: Likewise.
32008 * math/w_acoshf.c: Likewise.
32009 * math/w_acoshl.c: Likewise.
32010 * math/w_acosl.c: Likewise.
32011 * math/w_asin.c: Likewise.
32012 * math/w_asinf.c: Likewise.
32013 * math/w_asinl.c: Likewise.
32014 * math/w_atanh.c: Likewise.
32015 * math/w_atanhf.c: Likewise.
32016 * math/w_atanhl.c: Likewise.
32017 * math/w_exp2.c: Likewise.
32018 * math/w_exp2f.c: Likewise.
32019 * math/w_exp2l.c: Likewise.
32020 * math/w_j0.c: Likewise.
32021 * math/w_j0f.c: Likewise.
32022 * math/w_j0l.c: Likewise.
32023 * math/w_j1.c: Likewise.
32024 * math/w_j1f.c: Likewise.
32025 * math/w_j1l.c: Likewise.
32026 * math/w_jn.c: Likewise.
32027 * math/w_jnf.c: Likewise.
32028 * math/w_log.c: Likewise.
32029 * math/w_log10.c: Likewise.
32030 * math/w_log10f.c: Likewise.
32031 * math/w_log10l.c: Likewise.
32032 * math/w_log2.c: Likewise.
32033 * math/w_log2f.c: Likewise.
32034 * math/w_log2l.c: Likewise.
32035 * math/w_logf.c: Likewise.
32036 * math/w_logl.c: Likewise.
32037 * math/w_sqrt.c: Likewise.
32038 * math/w_sqrtf.c: Likewise.
32039 * math/w_sqrtl.c: Likewise.
32040 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32041 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32042 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32043 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32044 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32046 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32049 * manual/string.texi (strnlen): Use correct parameter name in
32050 equivalent expression.
32052 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32055 * manual/users.texi (seteuid): Consistently use neweuid for
32058 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32061 * manual/nss.texi (Services in the NSS configuration): Correct
32062 list of services in example configuration file.
32064 2012-02-19 Nick Bowler <nbowler@draconx.ca>
32067 * manual/arith.texi: Remove statements about negative zero
32068 behaving identically to zero.
32070 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32073 * manual/install.texi: Do not document upgrading from libc5.
32075 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32078 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32080 2012-02-18 David S. Miller <davem@davemloft.net>
32082 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32083 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32084 %o7 across the call.
32085 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32087 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32088 SETUP_PIC_REG_LEAF.
32089 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32090 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32091 * sysdeps/sparc/crtn.S: Likewise.
32093 2012-02-17 Ulrich Drepper <drepper@gmail.com>
32095 * aout/Makefile: Remove.
32097 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
32100 * manual/examples/argp-ex1.c (main): Format definition in GNU
32102 * manual/examples/argp-ex2.c (main): Likewise.
32103 * manual/examples/argp-ex3.c (main): Likewise.
32104 * manual/examples/argp-ex4.c (main): Likewise.
32105 * manual/examples/longopt.c (main): Use new-style prototype
32107 * manual/examples/strncat.c (main): Specify return type and use
32108 (void) for arguments.
32109 * manual/examples/subopt.c (main): Use char **argv argument.
32111 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32114 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32117 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
32120 * manual/string.texi (strchr): Change when strchrnul is
32123 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
32126 * manual/locale.texi (setlocale): Document LOCPATH.
32128 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32131 * manual/process.texi (execle): Move @dots{} before last argument.
32133 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
32136 * manual/charset.texi (Generic Charset Conversion): Fix typo
32137 (LC_TYPE -> LC_CTYPE).
32139 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
32142 * manual/arith.texi (scalbn): Use @var{} on parameter names.
32143 (scalbnf): Likewise.
32144 (scalbnl): Likewise.
32145 (scalbln): Likewise.
32146 (scalblnf): Likewise.
32147 (scalblnl): Likewise.
32148 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32149 (vwarnx): Likewise.
32152 * manual/filesys.texi (telldir): Use braces around return type.
32153 * manual/llio.texi (mmap): Add space after comma.
32154 (mmap64): Likewise.
32155 * manual/math.texi (jn): Use @var{} on parameter names.
32161 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32163 * manual/resource.texi (ulimit): Use @dots{} instead of literal
32165 (sched_get_priority_min): Remove semicolon on @deftypefun line.
32166 (sched_get_priority_max): Likewise.
32167 * manual/signal.texi (sigvec): Add space after comma.
32168 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32170 (if_indextoname): Likewise.
32171 (if_freenameindex): Likewise.
32172 (sendto): Use ',' instead of '.' in prototype.
32173 * manual/startup.texi (syscall): Use @dots{} instead of literal
32175 * manual/stdio.texi (__fpending): Separate initial words of
32176 paragraph from @deftypefun line.
32177 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32179 (vsyslog): Use @var{} on parameter names.
32180 * manual/terminal.texi (stty): Use @var{} on parameter names.
32181 * manual/users.texi (getutmp): Use @var{} on parameter names.
32182 (getutmpx): Likewise.
32184 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32187 * manual/stdio.texi (fopen): Fix typos in description of
32190 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32193 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32194 get clock_id definition.
32196 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
32199 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32200 (madvise): Cast every argument to void on its own.
32202 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32205 * manual/startup.texi (Exit Status): Fix typo.
32207 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32210 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32211 * manual/examples/argp-ex2.c: Likewise.
32212 * manual/examples/argp-ex3.c: Likewise.
32214 2012-02-16 Richard Henderson <rth@redhat.com>
32216 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32217 * sysdeps/s390/s390-32/initfini.c: Remove.
32218 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32219 * sysdeps/s390/s390-64/initfini.c: Remove.
32221 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32223 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32224 compiler output for sysdeps/generic/initfini.c.
32225 * sysdeps/sh/elf/initfini.c: Remove file.
32227 2012-02-16 David S. Miller <davem@davemloft.net>
32230 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32232 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32233 * sysdeps/sparc/crti.S: New file.
32234 * sysdeps/sparc/crtn.S: New file.
32235 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32236 * sysdeps/sparc/sparc64/Makefile: Likewise.
32238 2012-02-15 Mike Frysinger <vapier@gentoo.org>
32241 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32243 2012-02-15 Roland McGrath <roland@hack.frob.com>
32246 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32248 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32249 (write, read, close): Likewise.
32250 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32252 2012-02-15 Joseph Myers <joseph@codesourcery.com>
32254 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32255 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32256 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32257 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32259 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32260 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32263 2012-02-14 Marek Polacek <polacek@redhat.com>
32265 * sysdeps/x86_64/crti.S: New file.
32266 * sysdeps/x86_64/crtn.S: New file.
32267 * sysdeps/x86_64/elf/initfini.c: Remove file.
32269 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32271 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32272 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32273 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32274 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32276 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32277 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32280 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32282 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32283 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32284 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32285 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32287 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32288 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32291 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32293 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32294 __feraiseexcept instead of feraiseexcept.
32296 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32297 nanosleep invocations.
32298 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32299 strings, and add error checking for a nanosleep invocations.
32301 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32303 Replace FSF snail mail address with URLs, as per GNU coding standards.
32304 Most of the snail mail addresses were wrong anyway, and omitting
32305 them makes the source code easier to maintain. Almost all of the
32306 changes are to license notices and to locale LC_IDENTIFICATION
32307 addresses, except for this one:
32308 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32309 not its snail mail address.
32311 2012-02-09 Richard Henderson <rth@twiddle.net>
32313 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32314 of kernel-features.h.
32316 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32318 2012-02-08 Marek Polacek <polacek@redhat.com>
32320 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32321 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32322 * sysdeps/gnu/_G_config.h: Likewise.
32323 * sysdeps/generic/_G_config.h: Likewise.
32325 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32327 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32331 * sysdeps/powerpc/powerpc32/crti.S: New file.
32332 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32333 * sysdeps/powerpc/powerpc64/crti.S: New file.
32334 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32336 * Makeconfig (have-initfini): Don't set.
32337 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32338 * configure.in (nopic_initfini): Don't substitute.
32339 * config.h.in (HAVE_INITFINI): Don't #undef.
32340 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32341 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32343 2012-02-08 Joseph Myers <joseph@codesourcery.com>
32345 Support crti.S and crtn.S provided directly by architectures.
32346 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32347 [crti.S in sysdirs] (omit-deps): Likewise.
32348 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32349 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32350 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32351 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32352 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32353 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32354 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32355 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32356 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32357 compiler output for sysdeps/generic/initfini.c.
32358 * sysdeps/i386/elf/Makefile: Remove file.
32359 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32361 2012-02-07 Marek Polacek <polacek@redhat.com>
32363 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32364 * sysdeps/gnu/_G_config.h: Likewise.
32365 * sysdeps/mach/hurd/_G_config.h: Likewise.
32367 2012-02-07 Marek Polacek <polacek@redhat.com>
32369 * math/Makefile (tests): Add tst-CMPLX2.
32370 * math/tst-CMPLX2.c: New file.
32372 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32374 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32376 * math/libm-test.inc (jn_test): Add missing L suffix.
32378 2012-02-06 Marek Polacek <polacek@redhat.com>
32380 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32381 * sysdeps/i386/fpu/e_powf.S: Likewise.
32382 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32383 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32384 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32385 * sysdeps/i386/fpu/e_pow.S: Likewise.
32386 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32387 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32388 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32389 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32390 * sysdeps/i386/fpu/e_log2.S: Likewise.
32391 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32392 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32393 * sysdeps/i386/fpu/e_powl.S: Likewise.
32394 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32395 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32396 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32397 * sysdeps/i386/fpu/e_logl.S: Likewise.
32398 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32399 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32400 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32401 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32402 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32403 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32404 * sysdeps/i386/fpu/e_log.S: Likewise.
32405 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32406 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32407 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32408 * sysdeps/i386/fpu/e_logf.S: Likewise.
32409 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32410 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32411 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32412 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32413 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32414 * sysdeps/i386/fpu/e_log10.S: Likewise.
32415 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32416 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32417 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32418 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32419 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32420 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32421 * sysdeps/i386/asm-syntax.h: Likewise.
32422 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32423 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32424 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32425 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32426 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32427 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32428 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32429 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32430 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32431 * sysdeps/powerpc/sysdep.h: Likewise.
32432 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32433 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32435 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32438 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32440 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32442 * sysdeps/i386/sysdep.h: Include <features.h>.
32443 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32446 2012-02-05 Joseph Myers <joseph@codesourcery.com>
32448 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32450 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32453 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32455 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32456 (SETUP_PIC_REG): Use GET_PC_THUNK.
32457 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32460 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32462 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32463 for non-PIC compilation.
32464 (SETUP_PIC_REG): Add .p2align directive.
32465 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32466 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32467 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32468 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32469 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32470 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32471 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32472 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32473 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32474 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32475 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32476 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32477 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32478 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32479 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32480 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32481 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32482 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32483 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32484 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32485 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32486 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32487 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32488 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32489 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32490 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32491 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32492 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32493 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32494 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32495 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32496 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32497 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32498 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32499 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32500 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32501 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32502 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32503 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32504 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32505 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32507 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32509 * math/tst-CMPLX.c: Include <stdio.h>.
32511 2012-01-31 Joseph Myers <joseph@codesourcery.com>
32513 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32515 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32516 * sysdeps/sparc/bits/mathdef.h: Likewise.
32518 2012-01-31 Marek Polacek <polacek@redhat.com>
32520 * libio/libio.h: Don't define _PARAMS.
32521 * locale/programs/config.h: Don't define PARAMS.
32522 * stdlib/strtol_l.c: Likewise.
32523 (__strtol_l): Remove PARAMS from the prototype.
32525 2012-01-31 Ulrich Drepper <drepper@gmail.com>
32527 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32528 names. Just use the correct names. Remove unnecessary wrapper
32530 * malloc/arena.c: Likewise.
32531 * malloc/hooks.c: Likewise.
32533 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32534 ARENA_TEST says not to. Simplify test for creation of a new arena.
32535 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32537 2012-01-30 Ulrich Drepper <drepper@gmail.com>
32539 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32541 (update_get_addr): New function.
32542 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32543 GET_ADDR_MODULE parameter.
32545 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32547 * crypt/cert.c: Remove __STDC__ conditionals.
32548 * crypt/crypt-entry.c: Likewise.
32549 * crypt/crypt_util.c: Likewise.
32550 * libio/filedoalloc.c: Likewise.
32551 * libio/fileops.c: Likewise.
32552 * libio/genops.c: Likewise.
32553 * libio/iofclose.c: Likewise.
32554 * libio/iofdopen.c: Likewise.
32555 * libio/iofopen.c: Likewise.
32556 * libio/iofopen64.c: Likewise.
32557 * libio/iogetdelim.c: Likewise.
32558 * libio/iopopen.c: Likewise.
32559 * libio/obprintf.c: Likewise.
32560 * libio/oldfileops.c: Likewise.
32561 * libio/oldiofclose.c: Likewise.
32562 * libio/oldiofdopen.c: Likewise.
32563 * libio/oldiofopen.c: Likewise.
32564 * libio/oldiopopen.c: Likewise.
32565 * libio/wfiledoalloc.c: Likewise.
32566 * libio/wgenops.c: Likewise.
32567 * locale/programs/xmalloc.c: Likewise.
32568 * misc/syslog.c: Likewise.
32569 * stdio-common/xbug.c: Likewise.
32570 * string/memchr.c: Likewise.
32571 * string/memcmp.c: Likewise.
32572 * string/memrchr.c: Likewise.
32573 * string/rawmemchr.c: Likewise.
32574 * sysdeps/posix/getcwd.c: Likewise.
32575 * time/strftime_l.c: Likewise.
32577 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32579 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
32580 * config.make.in (config-cflags-sse2avx): Define.
32581 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32584 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32586 * scripts/config.guess: Update from upstream config git repository.
32587 * scripts/config.sub: Likewise.
32589 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32591 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32593 (R_TILEPRO_*, R_TILEGX_*): New macros.
32595 * scripts/firstversions.awk: Fix bug in version range handling.
32597 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32599 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32601 * include/sys/epoll.h: New file.
32602 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32605 2012-01-28 Ulrich Drepper <drepper@gmail.com>
32607 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32608 Avoid unnecessary __WORDSIZE == 64 test.
32609 (fmaxf): Use VEX format if possible.
32614 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32615 * math/math_private.h: Remove libc_fegetround* and
32617 * sysdeps/i386/configure.in: Check for -msse2avx.
32618 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32619 also if SSE2AVX is defined.
32620 Remove libc_fegetround* and libc_fesetround*.
32621 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32622 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32623 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32625 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32626 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32627 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32628 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32629 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32631 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32633 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32635 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32637 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32639 2012-01-27 Ulrich Drepper <drepper@gmail.com>
32642 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32644 * Makeconfig (libm): Define.
32645 * elf/Makefile: Add rules to build and run tst-relsort1.
32646 * elf/tst-relsort1.c: New file.
32647 * elf/tst-relsort1mod1.c: New file.
32648 * elf/tst-relsort1mod2.c: New file.
32650 2012-01-27 Joseph Myers <joseph@codesourcery.com>
32652 * math/s_ldexp.c: Remove __STDC__ conditionals.
32653 * math/s_ldexpf.c: Likewise.
32654 * math/s_ldexpl.c: Likewise.
32655 * math/s_nextafter.c: Likewise.
32656 * math/s_nexttowardf.c: Likewise.
32657 * math/s_significand.c: Likewise.
32658 * math/s_significandf.c: Likewise.
32659 * math/s_significandl.c: Likewise.
32660 * math/w_jnl.c: Likewise.
32661 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32662 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32663 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32664 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32665 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32666 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32667 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32668 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32669 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32670 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32671 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32672 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32673 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32674 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32675 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32676 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32677 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32678 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32679 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32680 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32681 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32682 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32683 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32684 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32685 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32686 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32687 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32688 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32689 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32690 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32691 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32692 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32693 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32694 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32695 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32696 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32697 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32698 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32699 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32700 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32701 * sysdeps/ieee754/k_standard.c: Likewise.
32702 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32703 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32704 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32705 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32706 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32707 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32708 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32709 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32710 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32711 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32712 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32713 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32714 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32715 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32716 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32717 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32718 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32719 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32720 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32721 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32722 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32723 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32724 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32725 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32726 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32727 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32728 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32729 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32730 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32731 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32732 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32733 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32734 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32735 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32736 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32737 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32738 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32739 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32740 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32741 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32742 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32743 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32744 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32745 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32746 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32747 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32748 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32749 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32750 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32751 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32752 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32753 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32754 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32755 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32756 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32757 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32758 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32759 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32760 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32761 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32762 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32763 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32764 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32765 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32766 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32767 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32768 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32769 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32770 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32771 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32772 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32773 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32774 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32775 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32776 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32777 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32778 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32779 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32780 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32781 * sysdeps/ieee754/s_matherr.c: Likewise.
32782 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32783 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32784 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32785 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32787 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32789 * crypt/md5.h: Remove __STDC__ conditionals.
32790 * libio/libioP.h: Likewise.
32791 * locale/programs/config.h: Likewise.
32792 * sysdeps/generic/sysdep.h: Likewise.
32793 * sysdeps/i386/asm-syntax.h: Likewise.
32794 * sysdeps/s390/asm-syntax.h: Likewise.
32795 * sysdeps/unix/sysdep.h: Likewise.
32796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32799 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32801 * libio/libio.h: Remove __STDC__ conditionals.
32802 * malloc/obstack.h: Likewise.
32803 * math/complex.h: Likewise.
32804 * math/math.h: Likewise.
32805 * sysdeps/generic/_G_config.h: Likewise.
32806 * sysdeps/gnu/_G_config.h: Likewise.
32807 * sysdeps/mach/hurd/_G_config.h: Likewise.
32808 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32809 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32810 * sysdeps/sparc/bits/mathdef.h: Likewise.
32812 2012-01-26 Ulrich Drepper <drepper@gmail.com>
32815 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32816 Clean up HAS_* macros.
32817 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32818 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32820 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32822 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32823 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32824 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32825 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32826 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32828 2012-01-25 Joseph Myers <joseph@codesourcery.com>
32830 * elf/tst-unique3.cc (gets): Remove declaration.
32831 * elf/tst-unique3lib.cc (gets): Likewise.
32832 * elf/tst-unique3lib2.cc (gets): Likewise.
32833 * elf/tst-unique4.cc (gets): Likewise.
32835 2012-01-24 Ulrich Drepper <drepper@gmail.com>
32837 * include/stdio.h: Add C++ protection. Add gets declarations and
32839 * debug/tst-chk1.c: Don't declare gets here.
32840 * stdio-common/tst-gets.c: Likewise.
32842 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32844 * posix/glob: Remove directory.
32846 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32848 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32850 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32852 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32853 of the non-standard EPFNOSUPPORT.
32855 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32857 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32858 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32859 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32861 2012-01-21 Ulrich Drepper <drepper@gmail.com>
32863 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32865 2012-01-20 Ulrich Drepper <drepper@gmail.com>
32867 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32869 * nscd/grpcache.c (cache_addgr): Likewise.
32870 * nscd/hstcache.c (cache_addhst): Likewise.
32871 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32872 * nscd/pwdcache.c (cache_addpw): Likewise.
32873 * nscd/servicescache.c (cache_addserv): Likewise.
32875 2012-01-16 Ulrich Drepper <drepper@gmail.com>
32877 * malloc/malloc.c: Various cleanups.
32878 * malloc/hooks.c: Likewise.
32880 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32881 * stdlib/bug-fmtmsg1.c: New file.
32883 * stdlib/fmtmsg.c (init): Add missing unlock.
32884 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32886 2012-01-12 Marek Polacek <polacek@redhat.com>
32888 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32891 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32893 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32894 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32895 macro to ensure uniqueness of label name.
32896 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32897 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32899 2012-01-11 Ulrich Drepper <drepper@gmail.com>
32901 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32903 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32904 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32905 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32906 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32908 2012-01-10 Ulrich Drepper <drepper@gmail.com>
32910 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32912 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32913 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32914 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32916 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32918 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32919 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32920 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32921 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32923 * math/bits/math-finite.h: Add ldexp support.
32925 2012-01-10 Marek Polacek <polacek@redhat.com>
32927 * locale/programs/localedef.h (show_archive_content): Add noreturn
32930 2012-01-09 Ulrich Drepper <drepper@gmail.com>
32932 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32934 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32936 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32938 * io/Makefile (headers): Add bits/poll2.h.
32940 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32943 typo #include statement.
32945 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32947 * include/sys/cdefs.h: Define __attribute_alloc_size.
32948 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32949 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32950 * elf/pldd.c: Likewise.
32951 * iconv/iconv_charmap.c: Likewise.
32952 * iconv/iconvconfig.c: Likewise.
32953 * iconv/strtab.c: Likewise.
32954 * locale/programs/locale.c: Likewise.
32955 * locale/programs/localedef.h: Likewise.
32956 * locale/programs/simple-hash.c: Likewise.
32957 * nscd/nscd.h: Likewise.
32958 * nss/makedb.c: Likewise.
32959 * sysdeps/generic/ldconfig.h: Likewise.
32960 * locale/programs/localedef.c: Remove xmalloc prototype.
32961 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32963 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32965 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32968 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32970 * math/Makefile (tests): Add tst-CMPLX.
32971 * math/tst-CMPLX.c: New file.
32973 * math/complex.h (CMPLXL): Fix typo.
32975 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32976 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32978 * debug/tst-chk1.c: Add poll and ppoll tests.
32979 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32980 * include/sys/poll.h: Add hidden proto for ppoll.
32981 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32982 * sysdeps/mach/hurd/ppoll.c: Likewise.
32983 * io/ppoll.c: Likewise.
32984 * debug/poll_chk.c: New file.
32985 * debug/ppoll_chk.c: New file.
32986 * include/bits/poll2.h: New file.
32987 * io/bits/poll2.h: New file.
32990 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32992 * configure.in: static is always set to yes. Remove.
32993 * config.make.in: Don't set build-static.
32994 * Makeconfig: Remove use of build-static.
32995 * dlfcn/Makefile: Likewise.
32996 * elf/Makefile: Likewise.
32997 * math/Makefile: Likewise.
32998 * misc/Makefile: Likewise.
32999 * nptl/Makefile: Likewise.
33000 * sysdeps/mach/hurd/Makefile: Likewise.
33002 * configure.in: PWD_P is not used anymore.
33003 * config.make.in: Remove PWD_P entry.
33005 * configure.in: Remove last remnants of RANLIB.
33006 No need to check for signed size_t anymore.
33007 Don't set libc_commonpagesize and libc_relro_required here for Alpha
33009 Remove __builtin_expect test because we require at least gcc 3.4.
33010 * aclocal.m4: Likewise.
33012 * wcsmbs/mbrtoc16.c: Implement using towc function.
33013 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33014 * wcsmbs/wcsmbsload.c: Likewise.
33015 * iconv/gconv_simple.c: Likewise.
33016 * iconv/gconv_int.h: Likewise.
33017 * iconv/gconv_builtin.h: Likewise.
33018 * iconv/iconv_prog.c: Remove CHAR16 handling.
33020 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33022 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33024 * configure.in: Remove --with-elf and --enable-bounded options.
33025 Dont set base_machine for ia64. More non-ELF conditions removed.
33026 Remove testing and setting of leading underscore information.
33027 * config.make.in (build-bounded): Set to no.
33028 * config.h.in: Remove NO_UNDERSCORES entry.
33029 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
33031 * csu/start.c: Remove !NO_UNDERSCORE code.
33032 * locale/localeinfo.h: Likewise.
33033 * sysdeps/generic/machine-gmon.h: Likewise.
33034 * sysdeps/generic/sysdep.h: Likewise.
33035 * sysdeps/i386/sysdep.h: Likewise.
33036 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33037 * sysdeps/mach/sysdep.h: Likewise.
33038 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33039 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33040 * sysdeps/sh/sysdep.h: Likewise.
33041 * sysdeps/sparc/sparc32/alloca.S: Likewise.
33042 * sysdeps/unix/i386/sysdep.S: Likewise.
33043 * sysdeps/unix/sparc/start.c: Likewise.
33044 * sysdeps/unix/sparc/sysdep.S: Likewise.
33045 * sysdeps/unix/sparc/sysdep.h: Likewise.
33046 * sysdeps/unix/start.c: Likewise.
33047 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33048 * sysdeps/x86_64/sysdep.h: Likewise.
33050 2012-01-07 Ulrich Drepper <drepper@gmail.com>
33053 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33055 * argp/argp-fmtstream.h: Use const instead __const.
33056 * argp/argp.h: Likewise.
33057 * assert/assert.h: Likewise.
33058 * bits/fenv.h: Likewise.
33059 * bits/sched.h: Likewise.
33060 * bits/sigset.h: Likewise.
33061 * bits/sigthread.h: Likewise.
33062 * catgets/nl_types.h: Likewise.
33063 * conform/data/pthread.h-data: Likewise.
33064 * crypt/crypt-private.h: Likewise.
33065 * crypt/crypt.h: Likewise.
33066 * crypt/crypt_util.c: Likewise.
33067 * ctype/ctype.h: Likewise.
33068 * debug/execinfo.h: Likewise.
33069 * debug/mbsnrtowcs_chk.c: Likewise.
33070 * debug/mbsrtowcs_chk.c: Likewise.
33071 * debug/wcsnrtombs_chk.c: Likewise.
33072 * debug/wcsrtombs_chk.c: Likewise.
33073 * debug/wcstombs_chk.c: Likewise.
33074 * dirent/dirent.h: Likewise.
33075 * dlfcn/dlfcn.h: Likewise.
33076 * elf/neededtest4.c: Likewise.
33077 * grp/grp.h: Likewise.
33078 * gshadow/gshadow.h: Likewise.
33079 * iconv/gconv.h: Likewise.
33080 * iconv/gconv_int.h: Likewise.
33081 * iconv/gconv_simple.c: Likewise.
33082 * iconv/iconv.h: Likewise.
33083 * iconv/loop.c: Likewise.
33084 * iconv/skeleton.c: Likewise.
33085 * include/aio.h: Likewise.
33086 * include/aliases.h: Likewise.
33087 * include/argz.h: Likewise.
33088 * include/arpa/inet.h: Likewise.
33089 * include/assert.h: Likewise.
33090 * include/dirent.h: Likewise.
33091 * include/dlfcn.h: Likewise.
33092 * include/execinfo.h: Likewise.
33093 * include/fcntl.h: Likewise.
33094 * include/fenv.h: Likewise.
33095 * include/glob.h: Likewise.
33096 * include/grp.h: Likewise.
33097 * include/libintl.h: Likewise.
33098 * include/mntent.h: Likewise.
33099 * include/netdb.h: Likewise.
33100 * include/pwd.h: Likewise.
33101 * include/rpc/netdb.h: Likewise.
33102 * include/sched.h: Likewise.
33103 * include/search.h: Likewise.
33104 * include/shadow.h: Likewise.
33105 * include/signal.h: Likewise.
33106 * include/stdio.h: Likewise.
33107 * include/stdlib.h: Likewise.
33108 * include/string.h: Likewise.
33109 * include/sys/socket.h: Likewise.
33110 * include/sys/stat.h: Likewise.
33111 * include/sys/statfs.h: Likewise.
33112 * include/sys/statvfs.h: Likewise.
33113 * include/sys/syslog.h: Likewise.
33114 * include/sys/time.h: Likewise.
33115 * include/sys/uio.h: Likewise.
33116 * include/time.h: Likewise.
33117 * include/unistd.h: Likewise.
33118 * include/utmp.h: Likewise.
33119 * include/wchar.h: Likewise.
33120 * include/wctype.h: Likewise.
33121 * inet/aliases.h: Likewise.
33122 * inet/arpa/inet.h: Likewise.
33123 * inet/netinet/ether.h: Likewise.
33124 * inet/netinet/in.h: Likewise.
33125 * intl/libintl.h: Likewise.
33126 * io/bits/fcntl2.h: Likewise.
33127 * io/fcntl.h: Likewise.
33128 * io/ftw.h: Likewise.
33129 * io/sys/poll.h: Likewise.
33130 * io/sys/stat.h: Likewise.
33131 * io/sys/statfs.h: Likewise.
33132 * io/sys/statvfs.h: Likewise.
33133 * io/utime.h: Likewise.
33134 * libio/bits/stdio.h: Likewise.
33135 * libio/bits/stdio2.h: Likewise.
33136 * libio/libio.h: Likewise.
33137 * libio/libioP.h: Likewise.
33138 * libio/stdio.h: Likewise.
33139 * locale/lc-ctype.c: Likewise.
33140 * locale/locale.h: Likewise.
33141 * login/utmp.h: Likewise.
33142 * malloc/arena.c: Likewise.
33143 * malloc/malloc.c: Likewise.
33144 * malloc/malloc.h: Likewise.
33145 * malloc/mcheck.c: Likewise.
33146 * malloc/mtrace.c: Likewise.
33147 * math/bits/mathcalls.h: Likewise.
33148 * math/fenv.h: Likewise.
33149 * math/math_private.h: Likewise.
33150 * misc/bits/error.h: Likewise.
33151 * misc/bits/syslog.h: Likewise.
33152 * misc/err.h: Likewise.
33153 * misc/error.h: Likewise.
33154 * misc/fstab.h: Likewise.
33155 * misc/mntent.h: Likewise.
33156 * misc/regexp.h: Likewise.
33157 * misc/search.h: Likewise.
33158 * misc/sgtty.h: Likewise.
33159 * misc/sys/mman.h: Likewise.
33160 * misc/sys/syslog.h: Likewise.
33161 * misc/sys/uio.h: Likewise.
33162 * misc/sys/xattr.h: Likewise.
33163 * misc/ttyent.h: Likewise.
33164 * nis/rpcsvc/ypclnt.h: Likewise.
33165 * nss/nss.h: Likewise.
33166 * posix/bits/unistd.h: Likewise.
33167 * posix/fnmatch.h: Likewise.
33168 * posix/glob.h: Likewise.
33169 * posix/sched.h: Likewise.
33170 * posix/spawn.h: Likewise.
33171 * posix/sys/wait.h: Likewise.
33172 * posix/unistd.h: Likewise.
33173 * posix/wordexp.h: Likewise.
33174 * pwd/pwd.h: Likewise.
33175 * resolv/netdb.h: Likewise.
33176 * resource/sys/resource.h: Likewise.
33177 * rt/aio.h: Likewise.
33178 * rt/bits/mqueue2.h: Likewise.
33179 * rt/mqueue.h: Likewise.
33180 * shadow/shadow.h: Likewise.
33181 * signal/signal.h: Likewise.
33182 * socket/send.c: Likewise.
33183 * socket/sendto.c: Likewise.
33184 * socket/sys/socket.h: Likewise.
33185 * stdio-common/printf.h: Likewise.
33186 * stdlib/bits/stdlib.h: Likewise.
33187 * stdlib/fmtmsg.h: Likewise.
33188 * stdlib/monetary.h: Likewise.
33189 * stdlib/stdlib.h: Likewise.
33190 * stdlib/ucontext.h: Likewise.
33191 * streams/stropts.h: Likewise.
33192 * string/argz.h: Likewise.
33193 * string/bits/string2.h: Likewise.
33194 * string/string.h: Likewise.
33195 * string/strings.h: Likewise.
33196 * sunrpc/rpc/auth.h: Likewise.
33197 * sunrpc/rpc/auth_des.h: Likewise.
33198 * sunrpc/rpc/clnt.h: Likewise.
33199 * sunrpc/rpc/netdb.h: Likewise.
33200 * sunrpc/rpc/pmap_clnt.h: Likewise.
33201 * sunrpc/rpc/xdr.h: Likewise.
33202 * sysdeps/generic/inttypes.h: Likewise.
33203 * sysdeps/generic/net/if.h: Likewise.
33204 * sysdeps/generic/sys/swap.h: Likewise.
33205 * sysdeps/gnu/net/if.h: Likewise.
33206 * sysdeps/gnu/utmpx.h: Likewise.
33207 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33208 * sysdeps/i386/i486/bits/string.h: Likewise.
33209 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33210 * sysdeps/s390/bits/string.h: Likewise.
33211 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33212 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33213 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33214 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33215 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33216 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33217 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33218 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33219 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33220 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33221 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33222 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33223 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33224 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33225 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33226 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33227 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33228 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33229 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33230 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33231 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33232 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33233 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33234 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33235 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33236 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33237 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33238 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33239 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33240 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33241 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33242 * sysvipc/sys/ipc.h: Likewise.
33243 * sysvipc/sys/msg.h: Likewise.
33244 * sysvipc/sys/sem.h: Likewise.
33245 * sysvipc/sys/shm.h: Likewise.
33246 * termios/termios.h: Likewise.
33247 * time/sys/time.h: Likewise.
33248 * time/time.h: Likewise.
33249 * wcsmbs/bits/wchar2.h: Likewise.
33250 * wcsmbs/uchar.h: Likewise.
33251 * wcsmbs/wchar.h: Likewise.
33252 * wctype/wctype.h: Likewise.
33255 * Makeconfig: Remove all but ELF support including AIX support.
33256 * Makerules: Likewise.
33257 * config.h.in: Likewise.
33258 * config.make.in: Likewise.
33259 * configure: Likewise.
33260 * configure.in: Likewise.
33261 * csu/Makefile: Likewise.
33262 * csu/version.c: Likewise.
33263 * debug/Makefile: Likewise.
33264 * dlfcn/Makefile: Likewise.
33265 * elf/Makefile: Likewise.
33266 * extra-lib.mk: Likewise.
33267 * iconv/Makefile: Likewise.
33268 * include/libc-symbols.h: Likewise.
33269 * include/shlib-compat.h: Likewise.
33270 * resolv/Makefile: Likewise.
33271 * resolv/res_libc.c: Likewise.
33272 * rt/Makefile: Likewise.
33273 * sysdeps/i386/asm-syntax.h: Likewise.
33274 * sysdeps/i386/sysdep.h: Likewise.
33275 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33276 * sysdeps/mach/sysdep.h: Likewise.
33277 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33278 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33279 * sysdeps/s390/asm-syntax.h: Likewise.
33280 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33281 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33282 * sysdeps/sh/sysdep.h: Likewise.
33283 * sysdeps/unix/sparc/sysdep.h: Likewise.
33284 * sysdeps/wordsize-32/divdi3.c: Likewise.
33285 * sysdeps/x86_64/sysdep.h: Likewise.
33287 * argp/Versions: Remove _argp_unlock_xxx.
33290 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33291 * abilist/libBrokenLocale.abilist: Likewise.
33292 * abilist/libanl.abilist: Likewise.
33293 * abilist/libc.abilist: Likewise.
33294 * abilist/libcrypt.abilist: Likewise.
33295 * abilist/libdl.abilist: Likewise.
33296 * abilist/libm.abilist: Likewise.
33297 * abilist/libnsl.abilist: Likewise.
33298 * abilist/libpthread.abilist: Likewise.
33299 * abilist/libresolv.abilist: Likewise.
33300 * abilist/librt.abilist: Likewise.
33301 * abilist/libthread_db.abilist: Likewise.
33302 * abilist/libutil.abilist: Likewise.
33303 * abilist/libnss_db.abilist: New file.
33305 * scripts/abilist.awk: Add support for indirect functions.
33307 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33309 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33311 * shlib-versions: Remove entries for ports architectures.
33313 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33315 * elf/stackguard-macros.h: Remove support for IA-64.
33316 * elf/tst-auditmod1.c: Likewise.
33317 * sysdeps/generic/ldsodefs.h: Likewise.
33319 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33320 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33324 * configure.in: Remove --enable-omitfp support.
33326 * config.make.in: Likewise.
33327 * Makeconfig: Likewise.
33328 * manual/install.texi: Likewise.
33330 In case anyone cares, the IA-64 architecture could move to ports.
33331 * sysdeps/ia64/*: Removed.
33332 * sysdeps/unix/sysv/linux/ia64/*: Removed.
33333 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
33336 * configure.in: Remove entries for unsupported architectures.
33339 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33340 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33342 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33343 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33344 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33345 fall back to using wcrtomb.
33346 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33347 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33349 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33350 * wcsmbs/tst-c16c32-1.c: New file.
33352 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33355 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33357 * elf/tst-unique3.cc: Add explicit declaration of gets.
33358 * elf/tst-unique3lib.cc: Likewise.
33359 * elf/tst-unique3lib2.cc: Likewise.
33360 * elf/tst-unique4.cc: Likewise.
33362 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33364 2012-01-06 Joseph Myers <joseph@codesourcery.com>
33367 * assert/assert.h (static_assert): Don't define for C++.
33368 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33369 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33371 2012-01-03 Ulrich Drepper <drepper@gmail.com>
33373 * iconv/loop.c (single loop): Fix assertion in storing of
33376 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33378 2012-01-01 Ulrich Drepper <drepper@gmail.com>
33380 * posix/getconf.c: Update copyright year.
33381 * nss/getent.c: Likewise.
33382 * nss/makedb.c: Likewise.
33383 * iconv/iconvconfig.c: Likewise.
33384 * iconv/iconv_prog.c: Likewise.
33385 * elf/ldconfig.c: Likewise.
33386 * elf/pldd.c: Likewise.
33387 * elf/sotruss.ksh: Likewise.
33388 * catgets/gencat.c: Likewise.
33389 * csu/version.c: Likewise.
33390 * elf/ldd.bash.in: Likewise.
33391 * elf/sprof.c (print_version): Likewise.
33392 * locale/programs/locale.c: Likewise.
33393 * locale/programs/localedef.c: Likewise.
33394 * login/programs/pt_chown.c: Likewise.
33395 * nscd/nscd.c (print_version): Likewise.
33396 * debug/xtrace.sh: Likewise.
33397 * malloc/memusage.sh: Likewise.
33398 * malloc/mtrace.pl: Likewise.
33399 * debug/catchsegv.sh: Likewise.
33401 2011-12-30 Jakub Jelinek <jakub@redhat.com>
33403 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33406 2011-12-24 Ulrich Drepper <drepper@gmail.com>
33409 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33410 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33412 * iconv/gconv_int.h: Likewise.
33413 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33414 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33415 from libc for GLIBC_2.16.
33416 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33417 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33418 * wcsmbs/uchar.h: Really define mbstate_t.
33419 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33420 * wcsmbs/c16rtomb.c: New file.
33421 * wcsmbs/mbrtoc16.c: New file.
33422 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33423 for C/POSIX locale.
33424 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33425 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33427 * wcsmbs/wchar.h: Add missing __restrict.
33429 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33432 * time/Makefile (routines): Add timespec_get.
33433 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33434 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33435 timespec for ISO C11.
33436 * time/timespec_get.c: New file.
33437 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33438 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33441 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33442 * stdlib/stdlib.h: Declare aligned_alloc.
33443 * Versions.def: Add GLIBC_2.16 for libc.
33444 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33447 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33450 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
33454 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33457 * assert/assert.h (static_assert): Define.
33459 * version.h: Update for 2.16 development version.
33462 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33465 * version.h (RELEASE): Bump for 2.15 release.
33466 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33468 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33469 Patch by Marek Polacek <mpolacek@redhat.com>.
33471 * bits/byteswap.h: Protect long long constants with __extension__.
33472 * sysdeps/i386/bits/byteswap.h: Likewise.
33473 * sysdeps/ia64/bits/byteswap.h: Likewise.
33474 * sysdeps/s390/bits/byteswap.h: Likewise.
33475 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33477 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33480 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33481 destination buffer.
33482 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33484 2011-12-23 Marek Polacek <polacek@redhat.com>
33486 * elf/dl-addr.c (determine_info): Add inline keyword.
33487 * elf/tst-auditmod4b.c (check_avx): Likewise.
33488 * elf/tst-auditmod6b.c (check_avx): Likewise.
33489 * elf/tst-auditmod6c.c (check_avx): Likewise.
33490 * elf/tst-auditmod7b.c (check_avx): Likewise.
33492 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33494 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33497 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33500 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33501 processing for last bytes.
33503 2011-08-06 Bruno Haible <bruno@clisp.org>
33506 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33507 U+0385, not to U+1FEE.
33510 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33511 entry for U+00A5 U+0301.
33513 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33516 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33517 buffer for the output is too small.
33519 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33523 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33524 SSE flags if possible.
33526 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33529 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33530 processing for last bytes.
33532 2011-12-22 Joseph Myers <joseph@codesourcery.com>
33534 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33535 (syscall-list-default-options, syscall-list-default-condition)
33536 (syscall-list-includes): Define.
33537 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33538 list of ABIs and options and #if conditions for each ABI. Do not
33539 handle common syscalls between ABIs specially.
33540 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33542 (syscall-list-variants, syscall-list-32bit-options)
33543 (syscall-list-32bit-condition, syscall-list-64bit-options)
33544 (syscall-list-64bit-condition): Define.
33545 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33546 (syscall-list-variants, syscall-list-32bit-options)
33547 (syscall-list-32bit-condition, syscall-list-64bit-options)
33548 (syscall-list-64bit-condition): Define.
33549 * sysdeps/unix/sysv/linux/sparc/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/x86_64/Makefile (64bit-predefine):
33556 (syscall-list-variants, syscall-list-32bit-options)
33557 (syscall-list-32bit-condition, syscall-list-64bit-options)
33558 (syscall-list-64bit-condition): Define.
33560 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33562 * locale/iso-639.def: Add brx entry.
33565 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33566 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33568 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33569 __feraiseexcept_renamed.
33571 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33574 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33575 EPOLLET with unsigned values.
33576 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33577 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33579 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33580 to large cancellation.
33581 * math/s_cacoshf.c: Likewise.
33582 * math/s_cacoshl.c: Likewise.
33584 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33588 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33589 * math/s_cacoshf.c: Likewise.
33590 * math/s_cacoshl.c: Likewise.
33592 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33595 * iconv/gconv.h: Define __GCONV_SWAP.
33596 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33597 * iconvdata/utf-16.c: Likewise.
33598 * iconvdata/utf-32.c: Likewise.
33600 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33603 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33604 numerator after shifting it by one limb.
33606 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33608 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33609 under [__USE_EXTERN_INLINES].
33611 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33614 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33616 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33618 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33619 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33621 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33622 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33623 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33624 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33625 for strncasecmp/strncasecmp_l compilation.
33626 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33627 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33629 2011-12-08 Marek Polacek <mpolacek@redhat.com>
33632 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33635 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33638 * time/tzfile.c (__tzfile_read): Check values from file header.
33640 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33642 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33643 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33644 * powerpc/powerpc32/dl-start.S: Likewise.
33645 * powerpc/powerpc32/elf/start.S: Likewise.
33646 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33647 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33648 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33649 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33650 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33651 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33652 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33653 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33654 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33655 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33656 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33657 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33658 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33659 * powerpc/powerpc32/memset.S: Likewise.
33660 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33661 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33662 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33663 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33664 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33665 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33666 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33667 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33668 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33669 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33670 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33671 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33672 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33674 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33676 * math/libm-test.inc: Added more nearbyint tests.
33677 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33678 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33679 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33680 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33682 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33684 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33687 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33689 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33690 Add wcscpy-ssse3 wcscpy-c.
33691 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33692 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33693 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33694 * sysdeps/x86_64/wcschr.S: New file.
33695 * sysdeps/x86_64/wcsrchr.S: New file.
33696 * string/test-strcmp.c: Remove checking of wcscmp function for
33698 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33699 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33700 wcsrchr-sse2 wcsrchr-c.
33701 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33702 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33703 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33704 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33705 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33706 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33707 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33708 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33709 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33710 * wcsmbc/wcschr.c (WCSCHR): New macro.
33712 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33714 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33715 * wcsmbs/test-wcsrchr.c: New file.
33716 * string/test-strrchr.c: Add wcsrchr support.
33718 * wcsmbs/test-wcscpy.c: New file.
33719 * string/test-strcpy.c: Add wcscpy support.
33722 2011-12-10 Ulrich Drepper <drepper@gmail.com>
33724 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33727 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33730 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33732 2011-12-04 Ulrich Drepper <drepper@gmail.com>
33734 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33735 Minor optimizations.
33737 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33738 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33739 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33741 2011-12-03 Ulrich Drepper <drepper@gmail.com>
33743 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33744 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33745 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33746 for gcc to avoid warnings.
33747 * inet/Makefile (tests): Add tst-checks.
33748 * inet/tst-checks.c: New file.
33750 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33753 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33756 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33757 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33759 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33761 2011-12-02 Ulrich Drepper <drepper@gmail.com>
33763 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33766 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33768 2011-11-29 Joseph Myers <joseph@codesourcery.com>
33770 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33771 conditional on GCC version.
33772 (__arch_compare_and_exchange_val_8_acq)
33773 (__arch_compare_and_exchange_val_16_acq)
33774 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33775 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33776 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33778 2011-12-02 Joseph Myers <joseph@codesourcery.com>
33780 * sysdeps/sh/backtrace.c: New file.
33782 2011-12-02 Andreas Schwab <schwab@redhat.com>
33784 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33787 2011-12-01 Andreas Schwab <schwab@redhat.com>
33789 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33790 falling back to utime.
33792 2011-11-30 Andreas Schwab <schwab@redhat.com>
33794 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33795 expectations for float.
33797 2011-11-29 Andreas Schwab <schwab@redhat.com>
33799 * locale/weight.h (findidx): Add parameter len.
33800 * locale/weightwc.h (findidx): Likewise.
33801 * posix/fnmatch_loop.c (FCT): Adjust caller.
33802 * posix/regcomp.c (build_equiv_class): Likewise.
33803 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33804 * posix/regexec.c (check_node_accept_bytes): Likewise.
33805 * string/strcoll_l.c (STRCOLL): Likewise.
33806 * string/strxfrm_l.c (STRXFRM): Likewise.
33808 2011-11-17 Ulrich Drepper <drepper@gmail.com>
33810 * Makefile.in: Remove CVSOPT handling.
33811 * configure.in: Remove use of AC_REVISION.
33812 * iconvdata/Makefile (distribute): No need to filter out CVS.
33813 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33816 2011-11-16 Andreas Schwab <schwab@redhat.com>
33818 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33819 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33820 [USE_AS_STRNCASECMP_L]: Likewise.
33821 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33822 NO_TLS_DIRECT_SEG_REFS.
33823 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33824 Fix argument offsets for non-PIC.
33825 [USE_AS_STRNCASECMP_L]: Likewise.
33826 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33827 NO_TLS_DIRECT_SEG_REFS.
33829 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33831 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33833 * locale/loadlocale.c (_nl_load_locale): Likewise.
33835 2011-11-15 Andreas Schwab <schwab@redhat.com>
33837 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33838 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33839 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33840 (SYSCALL_GETTIME): Set errno on error.
33842 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33843 count references to noai6ai_cached.
33845 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33847 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33849 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33850 FD_CLOEXEC for /proc/self/maps.
33852 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33853 FD_CLOEXEC for /proc/meminfo.
33855 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33858 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33859 FD_CLOEXEC for given file.
33861 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33863 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33864 FD_CLOEXEC for /etc/hosts.
33865 (_gethtent): Likewise.
33867 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33869 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33870 cancellation and set FD_CLOEXEC for /etc/netgroup.
33872 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33873 reading /etc/publickey.
33875 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33876 allow cancellation when reading /etc/group.
33878 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33880 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33882 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33883 when using data file.
33885 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33887 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33888 (write_nis_obj): Use "c" and "e" in fopen.
33890 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33892 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33894 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33896 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33898 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33901 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33903 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33905 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33907 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33908 file parsing and set FD_CLOEXEC.
33910 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33912 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33914 2011-11-14 Andreas Schwab <schwab@redhat.com>
33916 * malloc/arena.c (arena_get2): Don't call reused_arena when
33917 _int_new_arena failed.
33919 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33921 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33922 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33923 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33924 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33925 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33926 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33927 to compile strcasecmp and strncasecmp.
33928 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33929 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33931 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33933 2011-11-13 Ulrich Drepper <drepper@gmail.com>
33935 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33936 locale-defines.sym to gen-as-const-headers.
33937 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33938 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33939 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33940 to compile strcasecmp and strncasecmp.
33941 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33942 strcasecmp_l and strncasecmp_l.
33943 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33944 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33945 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33946 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33947 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33948 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33949 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33950 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33951 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33952 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33953 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33955 2011-11-12 Ulrich Drepper <drepper@gmail.com>
33957 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33958 result of SYSDEP_GETTIME_CPU to retval.
33959 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33960 parameter list to macro. Remove trailing semicolon. Adjust users.
33962 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33965 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33967 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33969 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33970 from unused variable.
33972 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33974 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33977 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33980 * sunrpc/rpc_prot.c (rejected): Fix case value.
33982 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33983 unsigned long long int to avoid warnings in shift.
33985 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33987 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33990 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33991 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33992 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33994 * nis/nis_table.c (nis_list): Use variable of correct type for
33995 result of __follow_path call.
33997 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33999 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34000 of math functions ceil, trunc, floor, round, and sqrt, when
34001 avaliable on the platform.
34002 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34004 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34005 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34006 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34008 2011-10-30 Marek Polacek <mpolacek@redhat.com>
34010 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34011 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34013 2011-11-11 Roland McGrath <roland@hack.frob.com>
34015 * include/unistd.h: Fix __readlink return type.
34016 Reported by Chris Metcalf <cmetcalf@tilera.com>.
34018 2011-11-11 Ulrich Drepper <drepper@gmail.com>
34020 * stdlib/ucontext.h: Undo last change for makecontext.
34022 2011-11-11 Andreas Schwab <schwab@redhat.com>
34024 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34026 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34027 * setjmp/setjmp.h: Mark functions as non-leaf.
34028 * setjmp/bits/setjmp2.h: Likewise.
34029 * stdlib/ucontext.h: Likewise.
34031 2011-11-10 Andreas Schwab <schwab@redhat.com>
34033 * malloc/arena.c (_int_new_arena): Don't increment narenas.
34034 (reused_arena): Don't check arena limit.
34035 (arena_get2): Atomically check arena limit.
34037 2011-11-08 Ulrich Drepper <drepper@gmail.com>
34039 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34040 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34042 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34045 2011-11-07 Andreas Schwab <schwab@redhat.com>
34047 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34048 handler when locking.
34050 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34051 Fix size of allocated buffer.
34053 2011-11-04 Andreas Schwab <schwab@redhat.com>
34056 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34057 declarations for long double functions.
34058 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34060 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34062 2011-11-03 Andreas Schwab <schwab@redhat.com>
34064 * nscd/nscd.c (main): Don't start AVC thread until credentials are
34067 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34070 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34072 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34074 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
34076 * include/alloca.h (stackinfo_alloca_round): Define.
34077 (extend_alloca): Use it.
34078 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34079 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34082 * scripts/check-local-headers.sh: Ignore libaudit.h.
34084 * nscd/Makefile (extra-objs): Make recursively expanded.
34086 2011-11-01 Ulrich Drepper <drepper@gmail.com>
34088 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34089 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34091 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34092 * posix/tst-rfc3484-2.c: Likewise.
34093 * posix/tst-rfc3484-3.c: Likewise.
34095 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34097 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34099 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34100 process_vm_writev from libc using GLIBC_2.15 version.
34102 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34104 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
34106 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34109 2011-10-31 Ulrich Drepper <drepper@gmail.com>
34112 * nss/getent.c (initgroups_keys): Show error message in case no group
34115 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34116 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34117 __bump_nl_timestamp.
34118 * nscd/connections (nscd_init): When host database is served open
34119 netlink socket and request notification about configuration changes.
34120 (main_loop_poll): Track netlink file descriptor and bump timestamp
34121 in case data becomes available.
34122 (main_loop_epoll): Likewise.
34123 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34124 (database_pers_head): Add extra_data fileds.
34125 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34126 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34127 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34129 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34130 in6ai data, call __free_in6ai.
34131 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34132 Add -DHAVE_NETLINK.
34133 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
34134 interface information. Reuse previous data if netlink timestamp
34136 (__bump_nl_timestamp): New function.
34137 (__free_in6ai): New function.
34139 2011-10-30 Ulrich Drepper <drepper@gmail.com>
34141 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34142 close_not_cancel_no_status here.
34143 (__check_pf): Reorganize code a bit to not call close twice if OOM.
34145 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34148 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34151 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
34152 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34153 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34155 2011-07-03 Andreas Jaeger <aj@suse.de>
34158 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34159 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34160 * math/libm-test.inc (sin_test): Add test case.
34162 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34165 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34166 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34168 * elf/chroot_canon.c (chroot_canon): Cleanups.
34170 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34173 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34174 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34176 * string/test-strchr.c: Make usable for strchrnul testing.
34177 * string/test-strchrnul.c: New file.
34178 * string/Makefile (strop-tests): Add strchrnul.
34180 * po/it.po: Update from translation team.
34181 * po/es.po: Likewise.
34183 2011-10-28 Ulrich Drepper <drepper@gmail.com>
34185 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34186 the three constants needed as parameters. Drop the others.
34187 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34188 __m128i_strloadu_tolower.
34189 Create and initialize variable zero and use it in all the places
34190 where _mm_setzero_si128 was used.
34192 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34193 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34194 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34195 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34197 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34198 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34199 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34200 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34201 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34202 __mpranred, __mptan.
34203 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34204 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34205 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34206 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34207 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34208 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34209 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34210 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34211 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34213 2011-10-28 Andreas Schwab <schwab@redhat.com>
34215 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34216 redefine if SHARED.
34217 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34219 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34220 wide char related routines to wcsmbs subdir.
34222 2011-10-27 Andreas Schwab <schwab@redhat.com>
34225 * misc/sys/cdefs.h (__THROWNL): Define.
34226 * posix/unistd.h: Use __THREADNL instead of __THREAD
34227 for memory synchronization functions.
34229 2011-10-26 Roland McGrath <roland@hack.frob.com>
34232 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34234 * manual/stdio.texi (Obstack Streams): Node removed.
34236 2011-10-26 Andreas Schwab <schwab@redhat.com>
34238 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34239 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34240 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34242 * math/math_private.h (math_force_eval): Allow non-addressable
34244 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34246 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34248 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34249 file is not needed.
34251 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34252 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34253 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34254 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34255 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34256 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34257 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34258 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34260 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34261 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34262 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34263 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34264 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34265 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34266 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34267 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34268 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34269 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34270 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34271 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34272 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34273 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34274 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34275 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34276 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34277 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34278 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34280 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34281 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34283 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34284 place. Use VEX encoding when compiling for AVX.
34286 2011-10-25 Andreas Schwab <schwab@redhat.com>
34288 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34289 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34291 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34293 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34295 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
34296 useless if() expression.
34297 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34298 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34299 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34300 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34301 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34302 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34303 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34304 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34305 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34306 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34307 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34308 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34309 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34310 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34311 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34312 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34313 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34314 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34315 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34317 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34319 2011-10-25 Andreas Schwab <schwab@redhat.com>
34321 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34323 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34325 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34327 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34328 .text section. Avoid duplicate constants.
34329 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34330 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34331 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34332 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34333 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34334 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34337 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34338 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34339 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34340 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34341 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34342 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34343 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34344 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34345 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34346 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34347 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34348 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34349 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34350 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34351 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34352 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34353 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34354 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34355 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34356 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34357 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34358 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34359 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34360 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34361 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34362 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34363 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34364 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34365 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34366 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34367 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34368 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34369 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34370 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34371 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34372 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34373 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34375 2011-10-24 Ulrich Drepper <drepper@gmail.com>
34377 * sysdeps/x86_64/dla.h: Move to ...
34378 * sysdeps/x86_64/fpu/dla.h: ...here.
34379 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34380 situations. Use __builtin_fma only for gcc 4.6 and up.
34382 * config.make.in: Add have-mfma4 entry.
34383 * configure.in: Substitute libc_cv_cc_fma4.
34384 * math/Makefile (dbl-only-routines): Add sincostab.
34385 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34386 Use __sincostab not sincos.
34387 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34389 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34390 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34391 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34392 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34394 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34395 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34396 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34397 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34399 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34400 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34402 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34403 define aliases when function name is a macro.
34404 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34405 sysdeps/ieee754/dbl-64/sincos.tbl.
34406 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34407 fma4-enabled routines.
34408 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34409 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34410 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34411 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34412 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34413 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34414 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34415 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34416 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34417 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34418 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34419 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34420 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34421 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34422 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34423 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34424 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34425 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34426 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34427 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34428 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34429 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34430 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34431 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34432 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34433 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34434 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34435 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34436 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34437 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34439 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34441 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34442 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34443 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34444 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34445 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34446 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34447 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34448 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34450 2011-10-24 Andreas Schwab <schwab@redhat.com>
34452 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34454 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34456 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34458 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34460 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34462 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34463 Remove unused variable magic_bits.
34464 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34466 * string/strnlen.c: Define and use STRNLEN macro.
34467 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34468 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34469 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34470 * wcsmbs/wcslen.c: Define and use WCSLEN.
34471 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34472 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34473 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34474 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34475 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34476 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34477 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34479 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34482 strnlen-sse2-no-bsf.
34483 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34484 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34485 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34486 Add strnlen support.
34487 (USE_AS_STRNLEN): New macro.
34488 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34489 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34490 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34491 * sysdeps/x86_64/wcslen.S: New file.
34493 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34495 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34496 XMM-moves are used for copying on small sizes.
34498 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34500 * wcsmbs/Makefile (strop-tests): Add wcschr.
34501 * wcsmbs/test-wcschr.c: New file.
34502 * string/test-strchr.c: Update.
34503 Add wcschr support.
34506 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34508 * wcsmbs/Makefile (strop-tests): Add wcslen.
34509 * wcsmbs/test-wcslen.c: New file.
34510 * string/test-strlen.c: Update.
34511 Add wcslen support.
34514 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34516 * po/it.po: Update from translation team.
34518 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34520 * sysdeps/x86_64/wcscmp.S: Update.
34521 Fix wrong comparison semantics.
34522 wcscmp shall use signed comparison not unsigned.
34523 Don't use substraction to avoid overflow bug.
34524 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34525 * wcsmbc/wcscmp.c: Likewise.
34526 * string/test-strcmp.c: Likewise.
34527 Add new tests to check cases with negative values.
34529 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34531 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34532 * sysdeps/x86_64/dla.h: ...here. New file.
34533 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34534 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34535 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34536 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34537 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34538 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34539 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34540 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34541 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34543 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34545 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34546 __ynl_finite aliases.
34548 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34552 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34554 [DLA_FMA] (EMULV): Use DLA_FMA.
34555 [DLA_FMA] (MUL12): Use EMULV.
34556 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34557 that are not needed.
34558 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34559 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34560 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34561 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34562 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34563 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34564 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34566 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34568 * math/s_nan.c: Undef __nan.
34569 * math/s_nanf.c: Undef __nanf.
34570 * math/s_nanl.c: Undef __nanl.
34571 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34574 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34576 * math/s_catan.c: Add branch predictions.
34577 * math/s_catanf.c: Likewise.
34578 * math/s_catanh.c: Likewise.
34579 * math/s_catanhf.c: Likewise.
34580 * math/s_catanhl.c: Likewise.
34581 * math/s_catanl.c: Likewise.
34582 * math/s_cexp.c: Likewise.
34583 * math/s_cexpf.c: Likewise.
34584 * math/s_cexpl.c: Likewise.
34585 * math/s_clog.c: Likewise.
34586 * math/s_clog10.c: Likewise.
34587 * math/s_clog10f.c: Likewise.
34588 * math/s_clog10l.c: Likewise.
34589 * math/s_clogf.c: Likewise.
34590 * math/s_clogl.c: Likewise.
34591 * math/s_csqrt.c: Likewise.
34592 * math/s_csqrtf.c: Likewise.
34593 * math/s_csqrtl.c: Likewise.
34594 * math/s_ctanf.c: Likewise.
34595 * math/s_ctanh.c: Likewise.
34596 * math/s_ctanhf.c: Likewise.
34597 * math/s_ctanhl.c: Likewise.
34598 * math/s_ctanl.c: Likewise.
34600 * math/math_private.h: Define __nan, __nanf, __nanl.
34601 * math/s_cacosh.c: Include <math_private.h>.
34602 * math/s_cacoshl.c: Likewise.
34603 * math/s_casinh.c: Likewise.
34604 * math/s_casinhf.c: Likewise.
34605 * math/s_casinhl.c: Likewise.
34606 * math/s_ccos.c: Rely entire on ccosh.
34607 * math/s_ccosf.c: Rely entire on ccoshf.
34608 * math/s_ccosl.c: Rely entirely on ccoshl.
34609 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34610 Remove tests for FE_INVALID.
34611 * math/s_ccoshf.c: Likewise.
34612 * math/s_ccoshl.c: Likewise.
34613 * math/s_csin.c: Likewise.
34614 * math/s_csinf.c: Likewise.
34615 * math/s_csinh.c Likewise.
34616 * math/s_csinhf.c: Likewise.
34617 * math/s_csinhl.c: Likewise.
34618 * math/s_csinl.c: Likewise.
34619 * math/s_ctan.c: Likewise.
34620 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34621 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34622 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34624 2011-10-21 Ulrich Drepper <drepper@gmail.com>
34626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34627 compilation problems.
34629 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34632 2011-10-20 Ulrich Drepper <drepper@gmail.com>
34634 * sysdeps/i386/configure.in: Test for -mfma4 option.
34635 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34636 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34637 COMMON_CPUID_INDEX_80000001.
34638 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34639 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34640 use it if FMA3 is not supported.
34641 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34643 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34644 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34646 2011-10-20 Andreas Schwab <schwab@redhat.com>
34649 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34650 it would create a cycle with a link time dependency.
34652 2011-10-19 Ulrich Drepper <drepper@gmail.com>
34654 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34656 * string/Makefile (strop-tests): Add rawmemchr.
34657 * string/test-rawmemchr.c: New file.
34659 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34660 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34661 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34662 when compiling str{,n}casecmp and when AVX is available. Hook up
34663 new optimized code in initializers.
34665 2011-10-19 Andreas Schwab <schwab@redhat.com>
34667 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34668 __feraiseexcept instead of feraiseexcept.
34670 2011-10-18 Ulrich Drepper <drepper@gmail.com>
34672 * math/math_private.h: Define defaults for libc_fetestexcept and
34674 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34675 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34676 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34677 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34678 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34679 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34680 libc_fetestexcept and libc_feupdateenv.
34682 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34683 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34684 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34685 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34686 libc_feholdexcept_setround.
34688 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34689 Add s_nearbyint-c and s_nearbyintf-c.
34690 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34691 nearbyintf inlines.
34692 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34693 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34694 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34695 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34697 * math/math_private.h: Define defaults for libc_fegetround,
34698 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34699 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34700 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34701 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34702 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34703 standard functions.
34704 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34705 Remove comments and hacks for old compiler versions.
34706 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34707 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34708 libc_feholdexceptl.
34710 2011-10-18 Andreas Schwab <schwab@redhat.com>
34712 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
34713 (__feraiseexcept_renamed): Add __NTH.
34714 (feraiseexcept): Add __NTH. Rename local variables to fix
34715 namespace violations.
34717 2011-10-17 Ulrich Drepper <drepper@gmail.com>
34719 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34721 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34723 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34724 recently added interfaces.
34725 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34727 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34728 about macro parameter expansion.
34730 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34731 __NO_MATH_INLINES is defined. Cleanups.
34733 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34734 and __floorf is target has SSE4.1.
34735 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34736 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34737 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34738 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34740 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34742 (floorf): Likewise.
34744 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34746 2011-10-17 Andreas Schwab <schwab@redhat.com>
34748 * misc/sys/cdefs.h: Fix last change.
34750 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34753 2011-10-16 Ulrich Drepper <drepper@gmail.com>
34755 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34757 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34758 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34759 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34760 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34761 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34762 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34763 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34764 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34765 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34766 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34767 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34768 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34769 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34770 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34771 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34772 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34773 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34774 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34775 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34776 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34777 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34778 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34780 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34781 ceil, ceilf, floor, floorf.
34783 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34784 Perform IRELATIVE relocations last.
34786 * elf/do-rel.h: Add another parameter nrelative, replacing the
34787 local variable with the same name. Change name of the function
34788 to end in Rel or Rela (uppercase).
34789 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34790 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34791 elf_dynamic_do_##reloc function.
34793 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34795 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34796 is sufficient, at least on modern CPUs.
34798 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34800 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34801 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34803 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34805 * math/bits/math-finite.h: Add entries for exp.
34806 * math/e_expl.c: Add __*_finite alias.
34807 * sysdeps/i386/fpu/e_exp.S: Likewise.
34808 * sysdeps/i386/fpu/e_expf.S: Likewise.
34809 * sysdeps/i386/fpu/e_expl.c: Likewise.
34810 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34811 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34812 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34813 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34814 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34815 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34816 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34818 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34819 is sufficient, at least on modern CPUs.
34821 * ctype/ctype-info.c (__ctype_init): Define.
34822 * include/ctype.h (__ctype_init): Declare.
34823 (__ctype_b_loc): The variable is always initialized.
34824 (__ctype_toupper_loc): Likewise.
34825 (__ctype_tolower_loc): Likewise.
34826 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34827 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34829 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34831 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34833 * configure.in: Also look in $cxxmachine/include for C++ system
34836 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34838 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34839 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34840 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34841 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34842 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34843 (USE_AS_WMEMCMP): New macro.
34845 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34846 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34847 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34848 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34850 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34851 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34852 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34853 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34854 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34855 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34856 (USE_AS_WMEMCMP): New macro.
34857 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34858 * sysdeps/string/test-memcmp.c: Update.
34859 Fix simple_wmemcmp.
34861 * wcsmbs/wmemcmp.c: Update.
34862 (WMEMCMP): New macro.
34865 2011-10-12 Andreas Jaeger <aj@suse.de>
34868 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34870 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34872 * libio/iofwide.c (do_length): Avoid warning.
34874 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34876 2011-10-14 Ulrich Drepper <drepper@gmail.com>
34878 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34880 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34881 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34882 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34883 * sysdeps/i386/i686/fpu/e_log.S: New file.
34884 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34885 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34887 * ctype/ctype.h: Add support for inlined isXXX functions when
34888 compiling C++ code.
34890 2011-10-14 Andreas Schwab <schwab@redhat.com>
34892 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34894 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34896 2011-10-13 Roland McGrath <roland@hack.frob.com>
34899 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34901 2011-10-13 Andreas Schwab <schwab@redhat.com>
34903 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34904 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34907 * sysdeps/x86_64/memrchr.S: Check for zero size.
34909 * string/stratcliff.c: Add memrchr tests.
34911 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34913 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34914 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34915 rawmemchr-sse2 rawmemchr-sse2-bsf.
34916 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34917 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34918 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34919 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34920 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34921 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34922 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34923 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34924 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34925 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34926 * string/memrchr.c (MEMRCHR): New macro.
34928 2011-10-12 Ulrich Drepper <drepper@gmail.com>
34930 Add integration with gcc's -ffinite-math-only and optimize wrapper
34932 * Versions.def: Define GLIBC_2.15 version for libm.
34933 * math/Makefile (headers): Add bits/math-finite.h.
34934 * math/bits/math-finite.h: New file.
34935 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34936 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34937 * math/e_acoshl.c: Add __*_finite alias.
34938 * math/e_acosl.c: Likewise.
34939 * math/e_asinl.c: Likewise.
34940 * math/e_atan2l.c: Likewise.
34941 * math/e_atanhl.c: Likewise.
34942 * math/e_coshl.c: Likewise.
34943 * math/e_exp10.c: Likewise.
34944 * math/e_exp10f.c: Likewise.
34945 * math/e_exp10l.c: Likewise.
34946 * math/e_exp2l.c: Likewise.
34947 * math/e_fmodl.c: Likewise.
34948 * math/e_gammal_r.c: Likewise.
34949 * math/e_hypotl.c: Likewise.
34950 * math/e_j0l.c: Likewise.
34951 * math/e_j1l.c: Likewise.
34952 * math/e_jnl.c: Likewise.
34953 * math/e_lgammal_r.c: Likewise.
34954 * math/e_log10l.c: Likewise.
34955 * math/e_log2l.c: Likewise.
34956 * math/e_logl.c: Likewise.
34957 * math/e_powl.c: Likewise.
34958 * math/e_sinhl.c: Likewise.
34959 * math/e_sqrtl.c: Likewise.
34960 * math/e_scalb.c: Completely rewritten and optimized.
34961 * math/e_scalbf.c: Likewise.
34962 * math/e_scalbl.c: Likewise.
34963 * math/w_acos.c: Likewise.
34964 * math/w_acosf.c: Likewise.
34965 * math/w_acosl.c: Likewise.
34966 * math/w_acosh.c: Likewise.
34967 * math/w_acoshf.c: Likewise.
34968 * math/w_acoshl.c: Likewise.
34969 * math/w_asin.c: Likewise.
34970 * math/w_asinf.c: Likewise.
34971 * math/w_asinl.c: Likewise.
34972 * math/w_atan2.c: Likewise.
34973 * math/w_atan2f.c: Likewise.
34974 * math/w_atan2l.c: Likewise.
34975 * math/w_atanh.c: Likewise.
34976 * math/w_atanhf.c: Likewise.
34977 * math/w_atanhl.c: Likewise.
34978 * math/w_exp10.c: Likewise.
34979 * math/w_exp10f.c: Likewise.
34980 * math/w_exp10l.c: Likewise.
34981 * math/w_fmod.c: Likewise.
34982 * math/w_fmodf.c: Likewise.
34983 * math/w_fmodl.c: Likewise.
34984 * math/w_j0.c: Likewise.
34985 * math/w_j0f.c: Likewise.
34986 * math/w_j0l.c: Likewise.
34987 * math/w_j1.c: Likewise.
34988 * math/w_j1f.c: Likewise.
34989 * math/w_j1l.c: Likewise.
34990 * math/w_jn.c: Likewise.
34991 * math/w_jnf.c: Likewise.
34992 * math/w_log.c: Likewise.
34993 * math/w_logf.c: Likewise.
34994 * math/w_logl.c: Likewise.
34995 * math/w_log10.c: Likewise.
34996 * math/w_log10f.c: Likewise.
34997 * math/w_log10l.c: Likewise.
34998 * math/w_log2.c: Likewise.
34999 * math/w_log2f.c: Likewise.
35000 * math/w_log2l.c: Likewise.
35001 * math/w_pow.c: Likewise.
35002 * math/w_powf.c: Likewise.
35003 * math/w_powl.c: Likewise.
35004 * math/w_remainder.c: Likewise.
35005 * math/w_remainderf.c: Likewise.
35006 * math/w_remainderl.c: Likewise.
35007 * math/w_scalb.c: Likewise.
35008 * math/w_scalbf.c: Likewise.
35009 * math/w_scalbl.c: Likewise.
35010 * math/w_sqrt.c: Likewise.
35011 * math/w_sqrtf.c: Likewise.
35012 * math/w_sqrtl.c: Likewise.
35013 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35014 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
35016 * math/math_private.h: Declare __kernel_standard_f.
35017 * math/w_cosh.c: Remove cruft and optimize a bit.
35018 * math/w_coshf.c: Likewise.
35019 * math/w_coshl.c: Likewise.
35020 * math/w_exp2.c: Likewise.
35021 * math/w_exp2f.c: Likewise.
35022 * math/w_exp2l.c: Likewise.
35023 * math/w_hypot.c: Likewise.
35024 * math/w_hypotf.c: Likewise.
35025 * math/w_hypotl.c: Likewise.
35026 * math/w_lgamma.c: Likewise.
35027 * math/w_lgamma_r.c: Likewise.
35028 * math/w_lgammaf.c: Likewise.
35029 * math/w_lgammaf_r.c: Likewise.
35030 * math/w_lgammal.c: Likewise.
35031 * math/w_lgammal_r.c: Likewise.
35032 * math/w_sinh.c: Likewise.
35033 * math/w_sinhf.c: Likewise.
35034 * math/w_sinhl.c: Likewise.
35035 * math/w_tgamma.c: Likewise.
35036 * math/w_tgammaf.c: Likewise.
35037 * math/w_tgammal.c: Likewise.
35038 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35039 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35040 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35041 Minor optimizations. Pretty printing. Remove cruft.
35042 * sysdeps/i386/fpu/e_acosf.S: Likewise.
35043 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35044 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35045 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35046 * sysdeps/i386/fpu/e_acosl.c: Likewise.
35047 * sysdeps/i386/fpu/e_asin.S: Likewise.
35048 * sysdeps/i386/fpu/e_asinf.S: Likewise.
35049 * sysdeps/i386/fpu/e_atan2.S: Likewise.
35050 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35051 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35052 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35053 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35054 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35055 * sysdeps/i386/fpu/e_exp10.S: Likewise.
35056 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35057 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35058 * sysdeps/i386/fpu/e_exp2.S: Likewise.
35059 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35060 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35061 * sysdeps/i386/fpu/e_fmod.S: Likewise.
35062 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35063 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35064 * sysdeps/i386/fpu/e_hypot.S: Likewise.
35065 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35066 * sysdeps/i386/fpu/e_log.S: Likewise.
35067 * sysdeps/i386/fpu/e_log10.S: Likewise.
35068 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35069 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35070 * sysdeps/i386/fpu/e_log2.S: Likewise.
35071 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35072 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35073 * sysdeps/i386/fpu/e_logf.S: Likewise.
35074 * sysdeps/i386/fpu/e_logl.S: Likewise.
35075 * sysdeps/i386/fpu/e_pow.S: Likewise.
35076 * sysdeps/i386/fpu/e_powf.S: Likewise.
35077 * sysdeps/i386/fpu/e_powl.S: Likewise.
35078 * sysdeps/i386/fpu/e_remainder.S: Likewise.
35079 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35080 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35081 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35082 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35083 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35084 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35085 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35086 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35087 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35088 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35089 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35090 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35091 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35092 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35093 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35094 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35095 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35096 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35097 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35098 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35099 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35100 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35101 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35102 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35103 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35104 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35105 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35106 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35107 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35108 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35109 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35110 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35111 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35112 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35113 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35114 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35115 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35116 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35117 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35118 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35119 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35120 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35121 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35122 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35123 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35124 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35125 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35126 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35127 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35128 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35129 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35130 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35131 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35132 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35133 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35134 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35135 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35136 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35137 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35138 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35139 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35140 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35141 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35142 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35143 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35144 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35145 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35146 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35147 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35148 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35149 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35150 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35151 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35152 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35153 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35154 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35155 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35156 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35157 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35158 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35159 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35160 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35161 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35162 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35163 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35164 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35165 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35166 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35167 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35168 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35169 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35170 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35171 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35172 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35173 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35174 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35175 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35176 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35177 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35178 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35179 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35180 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35181 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35182 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35183 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35184 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35185 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35186 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35187 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35188 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35189 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35190 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35191 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35192 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35193 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35194 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35195 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35196 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35197 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35198 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35199 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35200 (__isnanf): Likewise.
35201 (__isinf_ns): Likewise.
35202 (__isinf_nsf): Likewise.
35203 (__finite): Likewise.
35204 (__finitef): Likewise.
35205 (__ieee754_sqrt): Define as macro.
35206 (__ieee754_sqrtf): Define as macro.
35207 (__ieee754_sqrtl): Define as macro.
35208 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35210 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35211 __FINITE_MATH_ONLY__ consistent.
35212 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35214 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35216 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35219 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35221 2011-10-09 Ulrich Drepper <drepper@gmail.com>
35223 * po/ja.po: Update from translation team.
35225 2011-10-08 Roland McGrath <roland@hack.frob.com>
35227 * locale/programs/locarchive.c (prepare_address_space): New function.
35228 (create_archive, enlarge_archive, open_archive): Use it.
35230 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35231 inside [SHARED], where it is used.
35233 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35235 * nss/getent.c (netgroup_keys): Remove unused variable.
35236 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35238 2011-10-08 Ulrich Drepper <drepper@gmail.com>
35240 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35241 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35242 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35243 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35244 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35245 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35246 * math/Makefile (libm-calls): Add s_isinf_ns.
35247 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35248 * math/multc3.c: Likewise.
35249 * math/s_casin.c: Likewise.
35250 * math/s_casinf.c: Likewise.
35251 * math/s_casinl.c: Likewise.
35252 * math/s_ccos.c: Likewise.
35253 * math/s_ccosf.c: Likewise.
35254 * math/s_ccosl.c: Likewise.
35255 * math/s_ctan.c: Likewise.
35256 * math/s_ctanf.c: Likewise.
35257 * math/s_ctanh.c: Likewise.
35258 * math/s_ctanhf.c: Likewise.
35259 * math/s_ctanhl.c: Likewise.
35260 * math/s_ctanl.c: Likewise.
35261 * math/w_fmod.c: Likewise.
35262 * math/w_fmodf.c: Likewise.
35263 * math/w_fmodl.c: Likewise.
35264 * math/w_remainder.c: Likewise.
35265 * math/w_remainderf.c: Likewise.
35266 * math/w_remainderl.c: Likewise.
35267 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35268 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35269 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35270 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35271 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35272 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35273 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35274 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35276 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35278 * stdio-common/printf_fphex.c: Likewise.
35279 * stdio-common/printf_size.c: Likewise.
35281 * math/e_exp10.c: Include math_private.h using <...> not "...".
35282 * math/e_exp10f.c: Likewise.
35283 * math/e_exp10l.c: Likewise.
35284 * math/e_exp2l.c: Likewise.
35285 * math/e_j0l.c: Likewise.
35286 * math/e_j1l.c: Likewise.
35287 * math/e_jnl.c: Likewise.
35288 * math/e_lgammal_r.c: Likewise.
35289 * math/e_rem_pio2l.c: Likewise.
35290 * math/e_scalb.c: Likewise.
35291 * math/e_scalbf.c: Likewise.
35292 * math/e_scalbl.c: Likewise.
35293 * math/k_cosl.c: Likewise.
35294 * math/k_sinl.c: Likewise.
35295 * math/k_tanl.c: Likewise.
35296 * math/s_cacoshf.c: Likewise.
35297 * math/s_catan.c: Likewise.
35298 * math/s_catanf.c: Likewise.
35299 * math/s_catanh.c: Likewise.
35300 * math/s_catanhf.c: Likewise.
35301 * math/s_catanhl.c: Likewise.
35302 * math/s_catanl.c: Likewise.
35303 * math/s_ccosh.c: Likewise.
35304 * math/s_ccoshf.c: Likewise.
35305 * math/s_ccoshl.c: Likewise.
35306 * math/s_cexp.c: Likewise.
35307 * math/s_cexpf.c: Likewise.
35308 * math/s_cexpl.c: Likewise.
35309 * math/s_clog.c: Likewise.
35310 * math/s_clog10.c: Likewise.
35311 * math/s_clog10f.c: Likewise.
35312 * math/s_clog10l.c: Likewise.
35313 * math/s_clogf.c: Likewise.
35314 * math/s_clogl.c: Likewise.
35315 * math/s_csin.c: Likewise.
35316 * math/s_csinf.c: Likewise.
35317 * math/s_csinh.c: Likewise.
35318 * math/s_csinhf.c: Likewise.
35319 * math/s_csinhl.c: Likewise.
35320 * math/s_csinl.c: Likewise.
35321 * math/s_csqrt.c: Likewise.
35322 * math/s_csqrtf.c: Likewise.
35323 * math/s_csqrtl.c: Likewise.
35324 * math/s_ctan.c: Likewise.
35325 * math/s_ctanf.c: Likewise.
35326 * math/s_ctanh.c: Likewise.
35327 * math/s_ctanhf.c: Likewise.
35328 * math/s_ctanhl.c: Likewise.
35329 * math/s_ctanl.c: Likewise.
35330 * math/s_ldexp.c: Likewise.
35331 * math/s_ldexpf.c: Likewise.
35332 * math/s_ldexpl.c: Likewise.
35333 * math/s_significand.c: Likewise.
35334 * math/s_significandf.c: Likewise.
35335 * math/s_significandl.c: Likewise.
35336 * math/w_acos.c: Likewise.
35337 * math/w_acosf.c: Likewise.
35338 * math/w_acosh.c: Likewise.
35339 * math/w_acoshf.c: Likewise.
35340 * math/w_acoshl.c: Likewise.
35341 * math/w_acosl.c: Likewise.
35342 * math/w_asin.c: Likewise.
35343 * math/w_asinf.c: Likewise.
35344 * math/w_asinl.c: Likewise.
35345 * math/w_atan2.c: Likewise.
35346 * math/w_atan2f.c: Likewise.
35347 * math/w_atan2l.c: Likewise.
35348 * math/w_atanh.c: Likewise.
35349 * math/w_atanhf.c: Likewise.
35350 * math/w_atanhl.c: Likewise.
35351 * math/w_cosh.c: Likewise.
35352 * math/w_coshf.c: Likewise.
35353 * math/w_coshl.c: Likewise.
35354 * math/w_dremf.c: Likewise.
35355 * math/w_exp10.c: Likewise.
35356 * math/w_exp10f.c: Likewise.
35357 * math/w_exp10l.c: Likewise.
35358 * math/w_exp2.c: Likewise.
35359 * math/w_exp2f.c: Likewise.
35360 * math/w_fmod.c: Likewise.
35361 * math/w_fmodf.c: Likewise.
35362 * math/w_fmodl.c: Likewise.
35363 * math/w_hypot.c: Likewise.
35364 * math/w_hypotf.c: Likewise.
35365 * math/w_hypotl.c: Likewise.
35366 * math/w_j0.c: Likewise.
35367 * math/w_j0f.c: Likewise.
35368 * math/w_j0l.c: Likewise.
35369 * math/w_j1.c: Likewise.
35370 * math/w_j1f.c: Likewise.
35371 * math/w_j1l.c: Likewise.
35372 * math/w_jn.c: Likewise.
35373 * math/w_jnf.c: Likewise.
35374 * math/w_jnl.c: Likewise.
35375 * math/w_lgamma.c: Likewise.
35376 * math/w_lgamma_r.c: Likewise.
35377 * math/w_lgammaf.c: Likewise.
35378 * math/w_lgammaf_r.c: Likewise.
35379 * math/w_lgammal.c: Likewise.
35380 * math/w_lgammal_r.c: Likewise.
35381 * math/w_log.c: Likewise.
35382 * math/w_log10.c: Likewise.
35383 * math/w_log10f.c: Likewise.
35384 * math/w_log10l.c: Likewise.
35385 * math/w_log2.c: Likewise.
35386 * math/w_log2f.c: Likewise.
35387 * math/w_log2l.c: Likewise.
35388 * math/w_logf.c: Likewise.
35389 * math/w_logl.c: Likewise.
35390 * math/w_pow.c: Likewise.
35391 * math/w_powf.c: Likewise.
35392 * math/w_powl.c: Likewise.
35393 * math/w_remainder.c: Likewise.
35394 * math/w_remainderf.c: Likewise.
35395 * math/w_remainderl.c: Likewise.
35396 * math/w_scalb.c: Likewise.
35397 * math/w_scalbf.c: Likewise.
35398 * math/w_scalbl.c: Likewise.
35399 * math/w_sinh.c: Likewise.
35400 * math/w_sinhf.c: Likewise.
35401 * math/w_sinhl.c: Likewise.
35402 * math/w_sqrt.c: Likewise.
35403 * math/w_sqrtf.c: Likewise.
35404 * math/w_sqrtl.c: Likewise.
35405 * math/w_tgamma.c: Likewise.
35406 * math/w_tgammaf.c: Likewise.
35407 * math/w_tgammal.c: Likewise.
35409 * po/ja.po: Update from translation team.
35411 2011-09-29 Andreas Jaeger <aj@suse.de>
35414 * sunrpc/netname.c (netname2host): Fix logic.
35418 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35420 * math/w_remainder.c (__remainder): Likewise.
35421 * math/w_remainderf.c (__remainderf): Likewise.
35422 * math/libm-test.inc (remainder_test): Add test cases.
35424 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35426 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35429 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35431 * string/test-memcmp.c: Avoid unncessary #defines.
35432 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35434 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35436 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35437 Use new sse2 version for core i3 - i7 as it's faster
35438 than sse42 version.
35439 (bit_Prefer_PMINUB_for_stringop): New.
35440 * sysdeps/x86_64/rawmemchr.S: Update.
35441 Replace with faster SSE2 version.
35442 * sysdeps/x86_64/memrchr.S: New file.
35443 * sysdeps/x86_64/memchr.S: Update.
35444 Replace with faster SSE2 version.
35446 2011-09-12 Marek Polacek <mpolacek@redhat.com>
35448 * elf/dl-load.c (lose): Add cast to avoid warning.
35450 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35452 * po/ca.po: Update from translation team.
35454 * inet/getnetgrent_r.c: Hook up nscd.
35455 * nscd/Makefile (routines): Add nscd_netgroup.
35456 (nscd-modules): Add netgroupcache.
35457 (CFLAGS-netgroupcache.c): Define.
35458 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35459 (cache_search): Add const to second parameter.
35460 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35462 (dbs): Add netgrdb entry.
35463 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35464 (verify_persistent_db): Handle netgrdb.
35465 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35466 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35468 (netgroup_response_header): Define.
35469 (innetgroup_response_header): Define.
35470 (datahead): Add netgroup_response_header and innetgroup_response_header
35472 * nscd/nscd.conf: Add entries for netgroup cache.
35473 * nscd/nscd.h (dbtype): Add netgrdb.
35474 (_PATH_NSCD_NETGROUP_DB): Define.
35475 (netgroup_iov_disabled): Declare.
35476 (xmalloc, xcalloc, xrealloc): Move declarations here.
35477 (cache_search): Adjust prototype.
35478 Add netgroup-related prototypes.
35479 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35480 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35481 (__nscd_innetgr): Declare.
35482 * nscd/selinux.c (perms): Use access_vector_t as element type and
35483 add netgroup-related initializers.
35484 * nscd/netgroupcache.c: New file.
35485 * nscd/nscd_netgroup.c: New file.
35486 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35487 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35488 For four parameters use innetgr.
35489 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35490 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35491 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35492 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35494 * nscd/connections.c (register_traced_file): Don't register file
35495 for disabled databases.
35497 2011-10-06 Ulrich Drepper <drepper@gmail.com>
35499 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35501 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35502 from tree and freeing node.
35504 2011-09-25 Jiri Olsa <jolsa@redhat.com>
35506 * nss/nsswitch.c (__nss_database_lookup): Handle
35507 nss_parse_service_list out of memory case.
35509 2011-09-15 Jiri Olsa <jolsa@redhat.com>
35511 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35512 out of memory case.
35514 2011-10-04 Andreas Schwab <schwab@redhat.com>
35516 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35517 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35519 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35520 elf_machine_rela, elf_machine_lazy_rel.
35521 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35522 (ELF_DYNAMIC_DO_REL): Likewise.
35523 (ELF_DYNAMIC_DO_RELA): Likewise.
35524 (ELF_DYNAMIC_RELOCATE): Likewise.
35525 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35526 to ELF_DYNAMIC_DO_REL.
35527 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35528 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35529 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35531 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35532 skip_ifunc, don't call ifunc function if non-zero.
35533 (elf_machine_rela): Likewise.
35534 (elf_machine_lazy_rel): Likewise.
35535 (elf_machine_lazy_rela): Likewise.
35536 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35537 (elf_machine_lazy_rel): Likewise.
35538 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35540 (elf_machine_lazy_rel): Likewise.
35541 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35543 (elf_machine_lazy_rel): Likewise.
35544 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35545 (elf_machine_lazy_rel): Likewise.
35546 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35547 (elf_machine_lazy_rel): Likewise.
35548 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35549 (elf_machine_lazy_rel): Likewise.
35550 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35551 (elf_machine_lazy_rel): Likewise.
35552 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35553 (elf_machine_lazy_rel): Likewise.
35554 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35555 (elf_machine_lazy_rel): Likewise.
35557 2011-09-28 Ulrich Drepper <drepper@gmail.com>
35559 * nss/nss_files/files-init.c (_nss_files_init): Use static
35560 initialization for all the *_traced_file variables.
35562 2011-09-28 Andreas Schwab <schwab@redhat.com>
35564 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35566 2011-09-27 Roland McGrath <roland@hack.frob.com>
35569 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35571 2011-09-27 Andreas Schwab <schwab@redhat.com>
35573 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35574 Reread the line before reparsing it.
35576 2011-09-26 Andreas Schwab <schwab@redhat.com>
35578 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35580 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35581 Maxim Kuvyrkov <maxim@codesourcery.com>
35582 Joseph Myers <joseph@codesourcery.com>
35584 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35585 if needed for __stack_chk_guard.
35587 2011-09-19 Roland McGrath <roland@hack.frob.com>
35589 * sysdeps/posix/spawni.c (script_execute): Always define it.
35590 It will be optimized away if unused.
35591 (maybe_script_execute): New function.
35592 (__spawni): Call it.
35594 * Makerules: Don't include tls.make.
35595 (config-tls): Always set to thread.
35596 * tls.make.c: File removed.
35598 2011-09-19 Mike Frysinger <vapier@gentoo.org>
35600 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35601 * config.make.in (CPPFLAGS-config): New substituted variable.
35603 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35605 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35608 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35609 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35611 2011-09-15 Roland McGrath <roland@hack.frob.com>
35613 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35614 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35615 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35616 (CALL_FAIL): Likewise.
35617 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35618 (CALL_FAIL): Macro removed.
35619 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35621 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35623 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35624 for __FINITE_MATH_ONLY__ == 1.
35626 2011-09-15 Andreas Schwab <schwab@redhat.com>
35628 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35629 __ieee754_sqrt instead of sqrt.
35630 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35631 __ieee754_sqrtf instead of sqrtf.
35632 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35633 __floorf instead of floorf.
35634 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35635 __floorf, __truncf instead of floorf, truncf.
35637 2011-09-14 Ulrich Drepper <drepper@gmail.com>
35639 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35641 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35642 __extern_always_inline.
35643 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35646 2011-09-14 Andreas Schwab <schwab@redhat.com>
35648 * elf/rtld.c (dl_main): Also relocate in dependency order when
35649 doing symbol dependency testing.
35651 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35653 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35654 Always define `refsym'.
35656 2011-09-13 Andreas Schwab <schwab@redhat.com>
35658 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35659 (__FD_ELT): Renamed from __FDELT.
35660 * misc/bits/select2.h (__FD_ELT): Likewise.
35661 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35662 __FD_MASK instead of __FDELT, __FDMASK.
35663 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35665 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35668 * elf/Makefile (gen-ldd): Fix pattern.
35670 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35671 (init_tls): Likewise.
35673 2011-09-12 Ulrich Drepper <drepper@gmail.com>
35675 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35677 2011-09-12 Andreas Schwab <schwab@redhat.com>
35679 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35680 `struct cmsghdr *' instead of `void *'.
35681 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35684 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35686 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35688 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35689 ldd_rewrite_script.
35691 2011-09-11 Ulrich Drepper <drepper@gmail.com>
35693 * configure.in: Remove --with-tls option.
35694 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35695 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35696 out in case it is missing.
35697 * sysdeps/ia64/elf/configure.in: Likewise.
35698 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35699 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35700 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35701 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35702 * sysdeps/sh/elf/configure.in: Likewise.
35703 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35704 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35705 * sysdeps/x86_64/elf/configure.in: Likewise.
35706 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35707 * sysdeps/mach/hurd/tls.h: Likewise.
35710 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35713 * configure.in: Fix use of AC_INIT.
35715 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35717 2011-09-10 Ulrich Drepper <drepper@gmail.com>
35719 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35721 * malloc/hooks.c: Likewise.
35724 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35725 variables statically.
35726 (narenas): Initialize.
35727 (list_lock): Initialize.
35728 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35729 initializtion of main_arena and list_lock. Small cleanups.
35730 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35731 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35732 Add initializers to main_arena and mp_.
35733 (malloc_state): Remove pagesize member. Change all users to use
35736 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35737 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35738 is always initialized.
35740 * malloc/malloc.c: Removed unused configurations and dead code.
35741 * malloc/arena.c: Likewise.
35742 * malloc/hooks.c: Likewise.
35743 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35745 * include/tls.h: Removed. USE___THREAD must always be defined.
35746 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35747 * elf/dl-libc.c: Likewise.
35748 * elf/dl-tsd.c: Likewise.
35749 * include/errno.h: Likewise.
35750 * include/netdb.h: Likewise.
35751 * include/resolv.h: Likewise.
35752 * inet/herrno-loc.c: Likewise.
35753 * inet/herrno.c: Likewise.
35754 * malloc/arena.c: Likewise.
35755 * malloc/hooks.c: Likewise.
35756 * malloc/malloc.c: Likewise.
35757 * resolv/res-state.c: Likewise.
35758 * resolv/res_libc.c: Likewise.
35759 * sysdeps/i386/dl-machine.h: Likewise.
35760 * sysdeps/ia64/dl-machine.h: Likewise.
35761 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35762 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35763 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35764 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35765 * sysdeps/sh/dl-machine.h: Likewise.
35766 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35767 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35768 * sysdeps/unix/i386/sysdep.S: Likewise.
35769 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35770 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35772 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35774 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35775 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35776 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35777 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35778 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35779 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35780 * sysdeps/x86_64/dl-machine.h: Likewise.
35781 * tls.make.c: Likewise.
35783 * configure.in: Remove --with-__thread option. Make tests for
35784 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35785 tls_model attribute fail if no support is available. Remove
35787 * Makeconfig: Adjust for dropped configure option. All features are
35789 * Makerules: Likewise.
35790 * Versions.def: Likewise.
35791 * argp/argp-fmtstream.c: Likewise.
35792 * argp/argp-fmtstream.h: Likewise.
35793 * argp/argp-help.c: Likewise.
35794 * assert/assert.c: Likewise.
35795 * config.h.in: Likewise.
35796 * config.make.in: Likewise.
35797 * configure: Likewise.
35798 * configure.in: Likewise.
35799 * csu/Versions: Likewise.
35800 * csu/init.c: Likewise.
35801 * elf/tst-audit2.c: Likewise.
35802 * elf/tst-tls10.c: Likewise.
35803 * elf/tst-tls10.h: Likewise.
35804 * elf/tst-tls11.c: Likewise.
35805 * elf/tst-tls12.c: Likewise.
35806 * elf/tst-tls14.c: Likewise.
35807 * elf/tst-tlsmod11.c: Likewise.
35808 * elf/tst-tlsmod12.c: Likewise.
35809 * elf/tst-tlsmod13.c: Likewise.
35810 * elf/tst-tlsmod13a.c: Likewise.
35811 * elf/tst-tlsmod14a.c: Likewise.
35812 * elf/tst-tlsmod15b.c: Likewise.
35813 * elf/tst-tlsmod16a.c: Likewise.
35814 * elf/tst-tlsmod16b.c: Likewise.
35815 * elf/tst-tlsmod7.c: Likewise.
35816 * elf/tst-tlsmod8.c: Likewise.
35817 * elf/tst-tlsmod9.c: Likewise.
35818 * gmon/gmon.c: Likewise.
35819 * grp/fgetgrent_r.c: Likewise.
35820 * grp/putgrent.c: Likewise.
35821 * hurd/fopenport.c: Likewise.
35822 * include/libc-symbols.h: Likewise.
35823 * include/tls.h: Likewise.
35824 * intl/gettextP.h: Likewise.
35825 * intl/loadinfo.h: Likewise.
35826 * locale/global-locale.c: Likewise.
35827 * locale/localeinfo.h: Likewise.
35828 * mach/devstream.c: Likewise.
35829 * malloc/arena.c: Likewise.
35830 * malloc/set-freeres.c: Likewise.
35831 * misc/err.c: Likewise.
35832 * misc/getttyent.c: Likewise.
35833 * misc/mntent_r.c: Likewise.
35834 * posix/getopt.c: Likewise.
35835 * posix/wordexp.c: Likewise.
35836 * pwd/fgetpwent_r.c: Likewise.
35837 * resolv/Versions: Likewise.
35838 * resolv/res_hconf.c: Likewise.
35839 * shadow/fgetspent_r.c: Likewise.
35840 * shadow/putspent.c: Likewise.
35841 * stdio-common/printf_fphex.c: Likewise.
35842 * stdio-common/tmpfile.c: Likewise.
35843 * stdlib/abort.c: Likewise.
35844 * stdlib/fmtmsg.c: Likewise.
35845 * sunrpc/auth_unix.c: Likewise.
35846 * sunrpc/clnt_perr.c: Likewise.
35847 * sunrpc/clnt_tcp.c: Likewise.
35848 * sunrpc/clnt_udp.c: Likewise.
35849 * sunrpc/clnt_unix.c: Likewise.
35850 * sunrpc/openchild.c: Likewise.
35851 * sunrpc/svc_simple.c: Likewise.
35852 * sunrpc/svc_tcp.c: Likewise.
35853 * sunrpc/svc_udp.c: Likewise.
35854 * sunrpc/svc_unix.c: Likewise.
35855 * sunrpc/xdr.c: Likewise.
35856 * sunrpc/xdr_array.c: Likewise.
35857 * sunrpc/xdr_rec.c: Likewise.
35858 * sunrpc/xdr_ref.c: Likewise.
35859 * sunrpc/xdr_stdio.c: Likewise.
35861 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35863 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35865 2011-07-03 Andreas Jaeger <aj@suse.de>
35867 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35868 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35869 regenerate with gen-libm-tests.pl.
35871 2010-05-12 Petr Baudis <pasky@suse.cz>
35874 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35875 around j0() zero points by switching to j1().
35876 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35877 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35878 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35879 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35881 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35883 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35885 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35887 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35888 Patch in part by Pavel Roskin <proski@gnu.org>.
35891 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35893 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35894 Free memory block if necessary.
35897 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35898 be NULL. Don't lock in this case.
35900 2011-09-09 Roland McGrath <roland@hack.frob.com>
35902 * elf/elf.h (ELFOSABI_GNU): New macro.
35903 (ELFOSABI_LINUX): Define to that.
35905 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35907 * string/strncat.c (strncat): Undef the symbol in case it has been
35908 defined in bits/string.h.
35910 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35912 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35914 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35917 2011-08-17 Andreas Jaeger <aj@suse.de>
35919 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35921 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35922 Ian Lance Taylor <iant@google.com>
35924 * math/libm-test.inc (lround_test): New testcase.
35925 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35927 2011-09-08 Ulrich Drepper <drepper@gmail.com>
35929 * Makefile: Remove support for automatic cvs check-ins.
35930 * Makerules: Likewise.
35931 * config.make.in: Likewise.
35932 * configure.in: Likewise.
35933 * intl/Makefile: Likewise.
35934 * locale/Makefile: Likewise.
35935 * po/Makefile: Likewise.
35936 * posix/Makefile: Likewise.
35937 * sysdeps/gnu/Makefile: Likewise.
35938 * sysdeps/mach/hurd/Makefile: Likewise.
35939 * sysdeps/sparc/sparc32/Makefile: Likewise.
35942 * posix/Makefile (bug-regex32-ENV): Define.
35943 Patch by John Stanley <jpsinthemix@verizon.net>.
35945 * misc/Makefile (headers): Add bits/select2.h.
35946 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35947 * misc/bits/select2.h: New file.
35948 * include/bits/select2.h: New file.
35949 * debug/Makefile (routines): Add fdelt_chk.
35950 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35951 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35953 * debug/fdelt_chk.c: New file.
35955 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35956 * wcsmbs/test-wmemcmp.c: Likewise.
35957 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35958 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35960 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35962 * string/Makefile (strop-tests): Add memcmp.
35963 * string/test-wmemcmp.c: New file.
35964 * string/test-memcmp.c: Add wmemcmp support.
35966 2011-09-08 Roland McGrath <roland@hack.frob.com>
35969 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35972 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35973 garbage value in a __mach_port_mod_refs call in the cases of the
35974 task-self and thread-self ports.
35976 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35978 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35980 2011-09-08 Andreas Schwab <schwab@redhat.com>
35982 * elf/dl-load.c (lose): Check for non-null L.
35984 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35986 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35988 * elf/dl-libc.c (dlerror_run): Pass back error code from
35992 * elf/dl-load.c (lose): Free l_origin if it is valid.
35994 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35996 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35997 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35998 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35999 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36000 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36001 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36003 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36005 * sysdeps/powerpc/fpu/e_hypot.c: New file.
36006 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36007 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36008 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36009 * sysdeps/powerpc/fpu/k_cosf.c: New file.
36010 * sysdeps/powerpc/fpu/k_sinf.c: New file.
36011 * sysdeps/powerpc/fpu/s_cosf.c: New file.
36012 * sysdeps/powerpc/fpu/s_sinf.c: New file.
36013 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36014 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36016 2011-08-15 Alan Modra <amodra@gmail.com>
36019 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36020 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36021 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
36022 ppc_mcount to static-only-routines.
36023 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36025 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36026 __mcount_internal with usual JUMPTARGET. Remove useless nop.
36028 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
36030 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36031 for finite and infinity parameters.
36033 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36035 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36036 and add nop instructions for throughput optimization.
36037 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36039 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
36041 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36042 aligned copy for power7 with vector-scalar instructions.
36043 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36045 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
36047 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36050 2011-09-07 Andreas Schwab <schwab@redhat.com>
36053 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36056 2011-09-07 Ulrich Drepper <drepper@gmail.com>
36058 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36059 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36060 syscall wrapper around clock_gettime in __vdso_clock_gettime.
36061 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36064 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36066 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36067 Forgot to demangle the pointer.
36069 * sysdeps/i386/sysdep.h: Define atom_text_section.
36070 * sysdeps/x86_64/sysdep.h: Likewise.
36071 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36072 section with atom_text_section.
36073 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36074 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36075 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36076 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36077 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36079 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36080 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36081 already be defined. Change to take two parameters and don't assign
36082 result to variable. Adjust all users.
36083 Define INTERNAL_GETTIME if not already defined.
36084 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36087 HAVE_CLOCK_GETTIME_VSYSCALL.
36088 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36090 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36091 gettimeofday vsyscall, just use time.
36093 2011-09-06 Andreas Schwab <schwab@redhat.com>
36095 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36098 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36100 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36102 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36104 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36105 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36106 syscall if possible.
36108 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36110 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36111 e_ident. Don't pass to find_mapsXX.
36112 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36114 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36117 strchr-sse2-no-bsf strrchr-sse2-no-bsf
36118 * sysdeps/x86_64/multiarch/strchr.S: Update.
36119 Check bit_slow_BSF bit.
36120 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36121 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36122 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36124 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36127 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36129 (tryshell): Define.
36130 (__spawni): Change last parameter to be flag. Test
36131 SPAWN_XFLAGS_USE_PATH flag to use path or not.
36132 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36133 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36134 * posix/spawni.c: Likewise.
36135 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36136 * posix/spawnp.c: Likewise. Change normal version to use
36137 SPAWN_XFLAGS_USE_PATH.
36138 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36139 SPAWN_XFLAGS_TRY_SHELL.
36142 * posix/glob.h: Remove gcc 1.x support.
36145 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36147 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36149 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36150 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36152 * sysdeps/i386/i686/multiarch/strchr.S: New file.
36153 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36154 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36155 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36156 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36157 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36159 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36161 * sysdeps/x86_64/wcscmp.S: New file.
36163 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36164 wcscmp-c wcscmp-sse2
36165 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36166 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36167 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36168 * wcsmbs/wcscmp.c: Allow renaming.
36170 2011-09-05 David S. Miller <davem@davemloft.net>
36172 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36173 stack slot, rather than the struct return pointer slot.
36174 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36175 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36177 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36179 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36181 * po/ja.po: Update from translation team.
36184 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36185 kernel in 64-bit binaries.
36187 2011-09-01 David S. Miller <davem@davemloft.net>
36189 * elf/elf.h (HWCAP_SPARC_*): Move to..
36190 * sysdeps/sparc/sysdep.h: this new file and add new values.
36191 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36192 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36193 _DL_HWCAP_COUNT to 24.
36194 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36196 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36197 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36198 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36199 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36200 instead of magic constants.
36201 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36203 2011-08-31 David S. Miller <davem@davemloft.net>
36205 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36206 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36207 Reimplement to do errno handling inline.
36208 (SYSCALL_ERROR_HANDLER): New macro.
36209 (__SYSCALL_STRING): Do not do errno handling in asm.
36210 (__CLONE_SYSCALL_STRING): Delete.
36211 (__INTERNAL_SYSCALL_STRING): Delete.
36212 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36213 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36214 (PSEUDO): Reimplement to do errno handling inline.
36215 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36216 (SYSCALL_ERROR_HANDLER): New macro.
36217 (__SYSCALL_STRING): Do not do errno handling in asm.
36218 (__CLONE_SYSCALL_STRING): Delete.
36219 (__INTERNAL_SYSCALL_STRING): Delete.
36220 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36221 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36223 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36224 (inline_syscall*): Add 'err' argument.
36225 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36226 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36227 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36228 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36230 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36231 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36233 2011-08-30 Andreas Schwab <schwab@redhat.com>
36235 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36237 2011-08-29 Jiri Olsa <jolsa@redhat.com>
36239 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36242 2011-08-24 David S. Miller <davem@davemloft.net>
36244 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36246 2011-08-24 Andreas Schwab <schwab@redhat.com>
36248 * elf/Makefile: Add rules to build and run unload8 test.
36249 * elf/unload8.c: New file.
36250 * elf/unload8mod1.c: New file.
36251 * elf/unload8mod1x.c: New file.
36252 * elf/unload8mod2.c: New file.
36253 * elf/unload8mod3.c: New file.
36255 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36258 2011-08-23 David S. Miller <davem@davemloft.net>
36260 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36261 subtract stack bias.
36262 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36263 %sp not %fp in calculations.
36264 (_JMPBUF_UNWINDS_ADJ): Likewise.
36266 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36267 (aio_suspend): Call it to force an exception region around the
36268 AIO_MISC_WAIT() invocation.
36270 2011-08-23 Andreas Schwab <schwab@redhat.com>
36272 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36275 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36277 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36279 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36280 and <dl-machine.h>.
36281 (Elf64_FuncDesc): Remove.
36283 2011-08-22 David S. Miller <davem@davemloft.net>
36285 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36286 sigaltstack check, add missing cfi directives.
36287 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36288 missing cfi directives, and sigaltstack handling.
36290 2011-08-16 Andreas Schwab <schwab@redhat.com>
36293 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36294 object is seen twice.
36295 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36297 * elf/Makefile (distribute): Add tst-initorder2.c.
36298 (tests): Add tst-initorder2.
36299 (modules-names): Add tst-initorder2a tst-initorder2b
36300 tst-initorder2c tst-initorder2d. Add rules to build them.
36301 ($(objpfx)tst-initorder2.out): New rule.
36302 * elf/tst-initorder2.c: New file.
36303 * elf/tst-initorder2.exp: New file.
36305 2011-08-22 Andreas Schwab <schwab@redhat.com>
36307 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36309 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36310 dependencies back to end of function.
36312 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36313 $(elfobjdir)/ld.so.
36315 2011-08-21 Ulrich Drepper <drepper@gmail.com>
36317 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36318 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36319 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36320 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36321 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36322 of __vdso_gettimeofday.
36323 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36324 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36326 (_libc_vdso_platform_setup): Remove initialization of
36327 __vdso_gettimeofday and __vdso_time.
36329 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36331 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36332 and fgetc_unlocked.
36333 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36336 * elf/dl-open.c (add_to_global): Report additions to the global scope
36337 for LD_DEBUG=scopes.
36338 (dl_open_worker): Also print scope of newly loaded dependencies.
36339 (_dl_show_scope): Indicate if there is no scope.
36342 * stdio-common/Makefile (tests): Add bug24.
36343 * stdio-common/bug24.c: New file.
36345 2011-08-19 Andreas Jaeger <aj@suse.de>
36348 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36349 non-existant file when using close-on-exec mode.
36351 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36353 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36354 the very first instruction.
36356 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36357 the CFI state in the end.
36358 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36359 inclusion of dl-trampoline.h.
36360 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36362 2011-08-19 Andreas Schwab <schwab@redhat.com>
36364 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36365 expectations for long double.
36367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36368 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36370 2011-08-14 David S. Miller <davem@davemloft.net>
36372 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36373 artificual limit depends upon the system page size.
36375 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36377 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36378 * resolv/Makefile: Define CFLAGS-libresolv.
36380 2011-08-17 Andreas Schwab <schwab@redhat.com>
36382 * nss/makedb.c (compute_tables): Make variables used in nested
36385 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36387 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36388 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36389 if buffer was too small.
36391 * elf/pldd.c (main): Attach to all threads in the process.
36392 Rewrite /proc handling to use *at functions.
36394 2011-08-16 Ulrich Drepper <drepper@gmail.com>
36396 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36397 specifies first scope to show.
36398 (dl_open_worker): Update callers. Move printing scope of new
36399 object to before the relocation.
36400 * elf/rtld.c (dl_main): Update _dl_show_scope call.
36401 * sysdeps/generic/ldsodefs.h: Update declaration.
36403 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36404 string for the scope number.
36406 2011-08-14 Ulrich Drepper <drepper@gmail.com>
36408 * nscd/servicescache.c (cache_addserv): Make sure written is always
36411 2011-08-14 Roland McGrath <roland@hack.frob.com>
36413 * sysdeps/i386/i486/bits/atomic.h
36414 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36415 statement expression, so as to suppress "set but not used" warning.
36416 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36418 * string/strncat.c (STRNCAT): Use prototype definition.
36420 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36421 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36423 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36424 (localedef-modules): Add localedef.
36425 (locale-modules): Add locale.
36427 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36428 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36429 to avoid a warning.
36431 2011-08-14 David S. Miller <davem@davemloft.net>
36433 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36434 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36436 2011-08-13 Ulrich Drepper <drepper@gmail.com>
36438 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
36439 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36440 * elf/rtld.c (dl_main): Set l_name of vDSO.
36441 Call _dl_show_scope when DL_DEBUG_SCOPES.
36442 (process_dl_debug): Recognize scopes flag and also set it for all.
36443 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36444 Declare _dl_show_scope.
36446 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36447 (do_dlopen): Pass caller_dlopen to dl_open.
36448 (__libc_dlopen_mode): Initialize caller_dlopen.
36450 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36451 of libc. Make tolower call locale-independent. Optimize a bit by
36452 using isdigit instead of isalnum.
36453 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36455 2011-08-12 Ulrich Drepper <drepper@gmail.com>
36457 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36458 was a dependency or dynamically loaded.
36460 2011-08-11 Ulrich Drepper <drepper@gmail.com>
36462 * intl/l10nflist.c: Allow architecture-specific pop function.
36463 * sysdeps/x86_64/l10nflist.c: New file.
36465 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36468 2011-08-10 Andreas Schwab <schwab@redhat.com>
36470 * include/dirent.h: Add libc_hidden_proto for scandirat and
36471 scandirat64. Don't declare __scandirat64.
36472 * dirent/scandirat.c: Add libc_hidden_def.
36473 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36474 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36476 2011-08-10 David S. Miller <davem@davemloft.net>
36478 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36480 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36481 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36482 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36484 2011-08-09 Ulrich Drepper <drepper@gmail.com>
36486 * Versions.def [libc]: Add GLIBC_2.15.
36487 * dirent/Makefile (routines): Add scandirat and scandirat64.
36488 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36490 * dirent/dirent.h: Declare scandirat and scandirat64.
36491 * dirent/scandirat.c: New file.
36492 * dirent/scandirat64.c: New file.
36493 * sysdeps/wordsize-64/scandirat.c: New file.
36494 * sysdeps/wordsize-64/scandirat64.c: New file.
36495 * dirent/opendir.c: Define opendirat.
36496 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36498 * dirent/scandir64.c: Adjust for scandir.c change.
36499 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36500 __scandirat64, and __scandir_cancel_handler.
36501 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36502 additional parameter and use openat instead of open (outside of ld.so).
36503 Add new __opendir as wrapper around __opendirat.
36504 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36505 here without requiring old scandirat implementation.
36507 2011-08-08 Ulrich Drepper <drepper@gmail.com>
36509 * dirent/scandir.c (cancel_handler): Renamed to
36510 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36511 defined. Adjust users.
36512 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36513 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36515 2011-08-04 Ulrich Drepper <drepper@gmail.com>
36517 * string/test-string.h (IMPL): Use __STRING to expand name and then
36520 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36523 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36525 * string/Makefile: Update.
36526 (strop-tests): Append strncat.
36527 * string/test-wcscmp.c: New file.
36528 New comprehensive test for wcscmp.
36529 * string/test-strcmp.c: Update.
36530 (WIDE): New define.
36532 2011-07-22 Andreas Schwab <schwab@redhat.com>
36534 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36537 2011-07-26 Andreas Schwab <schwab@redhat.com>
36539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36540 encoding to ACE if AI_IDN.
36542 2011-08-01 Jakub Jelinek <jakub@redhat.com>
36544 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36545 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36547 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36549 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36550 Fix overflow bug in strncat.
36551 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36553 * string/test-strncat.c: Update.
36554 Add new tests for checking overflow bugs.
36556 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36558 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36559 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36560 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36561 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36562 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36563 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36564 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36565 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36566 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36568 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36569 (USE_AS_STRCAT): Define.
36570 Add strcat and strncat support.
36571 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36573 2011-07-25 Andreas Schwab <schwab@redhat.com>
36575 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36576 __n bigger than INT_MAX+1.
36577 (__strncmp_g): Likewise.
36579 2011-07-23 Ulrich Drepper <drepper@gmail.com>
36581 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36582 * libio/stido.h: Likewise.
36584 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36586 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36589 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36590 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36591 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36592 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36593 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36596 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36599 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36601 (_dl_x86_64_save_sse): Likewise.
36603 2011-07-22 Ulrich Drepper <drepper@gmail.com>
36605 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36607 (_dl_x86_64_save_sse): Likewise.
36609 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36611 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36613 2011-07-21 Andreas Schwab <schwab@redhat.com>
36615 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36617 (_dl_x86_64_save_sse): Use correct AVX check.
36619 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36621 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36622 bug in strncpy/strncat.
36623 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36625 2011-07-21 Ulrich Drepper <drepper@gmail.com>
36627 * string/tester.c (test_strcat): Add tests for different alignments
36628 of source and destination.
36629 (test_strncat): Likewise.
36631 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36634 * posix/glob.c (glob): Check passed in values before using them in
36635 expressions to avoid some overflows.
36636 (glob_in_dir): Likewise.
36639 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36640 check for AVX enablement so that we don't crash with old kernels and
36642 * elf/tst-audit4.c: Add same checks here.
36643 * elf/tst-audit6.c: Likewise.
36645 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
36647 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36649 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36651 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36653 * po/cs.po: Update from translation team.
36654 * po/bg.po: Likewise.
36656 2011-07-12 Marek Polacek <mpolacek@redhat.com>
36658 * misc/sys/cdefs.h: Add support for const attribute.
36659 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36660 to gnu_dev_{major,minor,makedev} functions.
36662 2011-07-20 Marek Polacek <mpolacek@redhat.com>
36664 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36666 2011-07-20 Andreas Schwab <schwab@redhat.com>
36668 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36671 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36673 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36674 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36675 register in order to avoid conflicts with the soft frame pointer
36676 being held in r11 when necessary.
36677 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36678 (INTERNAL_VSYSCALL_NCS): Likewise.
36680 2011-07-14 Marek Polacek <mpolacek@redhat.com>
36682 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36683 * elf/dl-fini.c (_dl_fini): Adjust caller.
36684 * elf/dl-close.c (_dl_close_worker): Likewise.
36685 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36687 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36689 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36690 "aux_cache->nlibs < 0".
36692 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36693 in the reload-count case.
36695 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36698 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36699 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36700 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36701 * sysdeps/x86_64/multiarch/strcat.S: New file.
36702 * sysdeps/x86_64/multiarch/strncat.S: New file.
36703 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36704 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36705 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36706 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36707 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36708 (USE_AS_STRCAT): Define.
36709 Add strcat and strncat support.
36710 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36711 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36712 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36713 * string/strncat.c: Update.
36714 (USE_AS_STRNCAT): Define.
36715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36716 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36718 * sysdeps/x86_64/multiarch/init-arch.h
36719 (bit_Prefer_PMINUB_for_stringop): New.
36720 (index_Prefer_PMINUB_for_stringop): Likewise.
36721 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36722 bit_Prefer_PMINUB_for_stringop.
36724 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36726 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36728 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36729 of casting of buffer.
36730 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36731 buffer32 and buffer64.
36732 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36733 writes instead of casting of buffer.
36734 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36736 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36739 2011-07-19 Andreas Schwab <schwab@redhat.com>
36741 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36743 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36745 * nscd/nscd.c (termination_handler): Don't do anything for a database
36746 if it has not yet been initialized.
36748 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36750 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36752 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36754 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36756 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36758 * po/nl.po: Update from translation team.
36759 * po/sv.po: Likewise.
36761 2011-07-16 Roland McGrath <roland@hack.frob.com>
36763 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36764 now disallowed by GCC.
36766 * configure.in (use-default-link): Default to yes if a test -shared
36767 link meets our qualifications.
36768 * configure: Regenerated.
36770 * config.make.in (output-format): New variable.
36771 * configure.in: Check for ld --print-output-format support.
36772 * configure: Regenerated.
36773 * Makerules ($(common-objpfx)format.lds)
36774 [$(output-format) != unknown]: Just use $(output-format),
36775 instead of the linker-script munging.
36777 2011-07-14 Roland McGrath <roland@hack.frob.com>
36779 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36780 of $(common-objpfx)shlib.lds.
36781 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36783 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36784 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36786 * configure.in (-z relro check): Adjust test code to add a large
36787 writable data section after it.
36788 * configure: Regenerated.
36790 2011-07-11 Roland McGrath <roland@hack.frob.com>
36792 * configure.in (-z relro check): Fix test code to make the variable
36794 * configure: Regenerated.
36796 2011-07-11 Ulrich Drepper <drepper@gmail.com>
36798 * nscd/nscd.h (struct traced_file): Define.
36799 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36800 elements. Add traced_files.
36801 (inotify_fd): Declare.
36802 (register_traced_file): Declare.
36803 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36804 (inotify_fd): Export.
36805 (resolv_conf_descr): Remove.
36806 (nscd_init): Move inotify descriptor creation to main.
36807 Don't register files for notification here.
36808 (register_traced_file): New function.
36809 (invalidate_cache): Don't use reset_res to determine whether to call
36810 res_init, go through the list of registered files.
36811 (main_loop_poll): The inotify descriptors are now stored in the
36812 structures for the traced files.
36813 (main_loop_epoll): Likewise
36814 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36815 to __nss_disable_nscd.
36816 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36817 for a database anymore. Check the records for all the registered
36819 * nss/Makefile (libnss_files-routines): Add files-init.
36820 (libnss_db-routines): Add db-init.
36821 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36822 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36823 * nss/nss_db/db-init.c: New file.
36824 * nss/nss_files/files-init.c: New file.
36825 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36826 __nss_lookup_function.
36827 (__nss_lookup_function): Call nss_load_library.
36828 (nss_load_all_libraries): New function.
36829 (__nss_disable_nscd): Take parameter with callback function for files
36830 to register. Set is_nscd. Load all the DSOs for the NSS modules
36831 used for the cached services.
36832 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36833 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36834 options for features to all the files in nscd.
36836 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36838 2011-07-10 Roland McGrath <roland@hack.frob.com>
36840 * csu/elf-init.c (__libc_csu_init): Comment typo.
36842 2011-07-09 Ulrich Drepper <drepper@gmail.com>
36844 * po/pl.po: Update from translation team.
36845 * po/ja.po: Likewise.
36846 * po/ru.po: Likewise.
36847 * po/ko.po: Likewise.
36848 * po/fr.po: Likewise.
36850 2011-07-09 Roland McGrath <roland@hack.frob.com>
36852 * configure.in (.ctors/.dtors header and trailer check):
36853 Use an empirical test on a built program.
36854 * configure: Regenerated.
36856 * configure.in (-z relro check): Use an empirical test on a built DSO.
36857 Detect, but do not require, on ia64.
36858 * configure: Regenerated.
36860 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36861 Update tests that use readelf to use $READELF instead.
36862 * configure: Regenerated.
36864 2011-07-08 Ulrich Drepper <drepper@gmail.com>
36866 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36867 if the result is not used.
36869 2011-07-05 Andreas Jaeger <aj@suse.de>
36872 * stdlib/tst-strtod.c: Add testcase.
36874 2011-07-07 Ulrich Drepper <drepper@gmail.com>
36876 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36877 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36878 The latter has a higher limit. Take additional parameter to pass to
36880 (__pathconf): Pass file to __statfs_link_max.
36881 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36883 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36887 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36888 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36890 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36891 (__statfs_filesize_max): Likewise.
36892 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36894 2011-07-05 Andreas Jaeger <aj@suse.de>
36896 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36898 2011-07-06 Marek Polacek <mpolacek@redhat.com>
36900 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36902 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36905 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36907 * Makefile (strop-tests): Add strncat.
36908 * string/test-strncat.c: New file.
36910 2011-06-30 Marek Polacek <mpolacek@redhat.com>
36912 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36914 2011-06-21 Andreas Jaeger <aj@suse.de>
36916 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36917 Copy rule from iconvdata/Makefile.
36919 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36922 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36923 but no long options are defined, just return 'W'.
36925 2011-06-22 Marek Polacek <mpolacek@redhat.com>
36928 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36930 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36932 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36934 (innetgr): Likewise.
36936 2011-07-05 Roland McGrath <roland@hack.frob.com>
36938 * config.make.in (install_root): Default to $(DESTDIR).
36940 2011-07-05 Ulrich Drepper <drepper@gmail.com>
36942 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36944 2011-07-02 Roland McGrath <roland@hack.frob.com>
36946 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36948 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36949 containing directory rather than embedding absolute directory names.
36951 * scripts/check-local-headers.sh: Rewritten using awk.
36952 Match by word, not by line. Print error messages for matches.
36953 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36955 * Makerules [shlib-lds-flags empty]:
36956 ($(common-objpfx)libc_pic.opts): New target.
36957 ($(common-objpfx)libc_pic.os.clean): New target.
36958 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36960 * config.make.in (OBJCOPY): New variable.
36961 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36962 * configure: Regenerated.
36964 * config.make.in (use-default-link): New variable.
36965 * configure.in (use_default_link): Grok --with-default-link to set it.
36966 * configure: Regenerated.
36967 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36968 (shlib-lds, shlib-lds-flags): Define to empty.
36970 * Makerules (shlib-lds): New variable.
36971 (shlib-lds-flags): New variable.
36972 (build-shlib, build-moduile, build-module-asneeded): Use it.
36973 ($(common-objpfx)libc.so): Use $(shlib-lds).
36974 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36975 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36977 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36978 DT_FLAGS/DT_FLAGS_1 with zero flags.
36980 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36981 linker script munging.
36983 2011-07-02 Ulrich Drepper <drepper@gmail.com>
36985 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36987 * crypt/sha512.c (sha512_process_block): Perform total addition using
36988 128-bit if possible.
36989 (__sha512_finish_ctx): Likewise.
36990 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36992 * crypt/sha256.c (SWAP64): Define.
36993 (sha256_process_block): Perform total addition using 64-bit if
36995 (__sha256_finish_ctx): Likewise.
36997 2011-07-01 Ulrich Drepper <drepper@gmail.com>
36999 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
37000 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37001 * nscd/hstcache.c (cache_addhst): Likewise.
37002 * nscd/grpcache.c (cache_addgr): Likewise.
37003 * nscd/aicache.c (addhstaiX): Likewise
37004 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37006 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
37008 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
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
37014 2011-07-01 Andreas Schwab <schwab@redhat.com>
37016 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37017 domain only when needed.
37019 2011-06-30 Andreas Schwab <schwab@redhat.com>
37021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37022 is always restored.
37024 2011-06-29 Ulrich Drepper <drepper@gmail.com>
37026 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37027 are re-adding the entry.
37028 * nscd/servicescache.c (cache_addserv): Likewise.
37030 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
37032 * sysdeps/generic/dl-irel.h: fix protection against multiple
37034 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37036 2011-06-28 Ulrich Drepper <drepper@gmail.com>
37039 * malloc/memusage.sh: Fix quoting in message.
37040 * debug/xtrace.sh: Likewise.
37042 * configure.in: Remove support for --experimental-malloc option, make
37044 * config.make.in: Likewise.
37045 * malloc/Makefile: Likewise.
37047 2011-06-27 Andreas Schwab <schwab@redhat.com>
37049 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37050 two-byte characters.
37052 2011-06-27 Roland McGrath <roland@hack.frob.com>
37054 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37055 AC_CACHE_CHECK invocation.
37056 * configure: Regenerated.
37058 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37060 2011-06-27 Ulrich Drepper <drepper@gmail.com>
37063 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
37064 bit from old_res_options.
37066 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37068 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37069 value type for setfct.
37071 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
37073 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37074 __gettimeofday instead of gettimeofday.
37076 2011-06-26 Ulrich Drepper <drepper@gmail.com>
37078 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37080 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
37082 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37084 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37087 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37090 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37091 strcpy-sse2-unaligned strncpy-sse2-unaligned
37092 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37093 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37094 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37095 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37096 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37097 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37098 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37099 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37100 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37101 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37102 (STRCPY): Support SSE2 and SSSE3 versions.
37104 2011-06-24 Ulrich Drepper <drepper@gmail.com>
37107 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37108 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37109 kernels which artificially limit size of requests.
37111 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37113 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37114 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37115 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37116 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37117 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37118 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37119 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37120 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37121 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37122 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37123 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37124 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37125 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37126 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37127 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37129 Enable unaligned load optimization for Intel Core i3, i5 and i7
37131 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37133 (index_Fast_Unaligned_Load): Define.
37134 (HAS_FAST_UNALIGNED_LOAD): Define.
37136 2011-06-23 Marek Polacek <mpolacek@redhat.com>
37138 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37140 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37143 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37144 until it is clear that the information is realy needed.
37145 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37147 2011-06-22 Andreas Schwab <schwab@redhat.com>
37149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37151 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37153 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37154 /sys/devices/system/cpu/online if it is usable.
37156 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37157 reading the information from the /proc filesystem to once a second.
37159 2011-06-21 Andreas Jaeger <aj@suse.de>
37161 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37162 NULL after inclusion of kernel headers.
37164 2011-06-21 Ulrich Drepper <drepper@gmail.com>
37166 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37167 calls to internal_setent.
37170 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37171 addresses using gethostbyname4_r ignore IPv4 addresses.
37173 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37174 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37176 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37178 2011-06-20 David S. Miller <davem@davemloft.net>
37180 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37182 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37184 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37185 (elf_irel): Use it.
37186 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37187 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37188 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37189 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37190 * sysdeps/x86_64/dl-irel.h: Likewise.
37192 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37193 * elf/dl-sym.c: Likewise.
37195 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37197 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37198 need to dereference resplen2.
37200 2011-06-14 Andreas Schwab <schwab@redhat.com>
37202 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37204 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37206 * Makeconfig: Define vardbdir and inst_vardbdir.
37207 * nss/Makefile: Add rules to install db-Makefile.
37209 * nss/nss_db/db-XXX.c: Cleanup.
37211 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37212 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37214 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37215 * nss/makedb.c: Implement -g option to specify that value strings
37216 are generated and should not be added to table iterated over for
37218 * nss/nss_db/db-initgroups.c: New file.
37220 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37223 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37224 (internal_getgrouplist): Adjust to name change.
37225 Update use_initgroups_entry if this is not the first call.
37226 * nss/databases.def: Add initgroups entry.
37228 * nss/makedb.c (compute_tables): Check result of multiple hash table
37229 sizes to minimize maximum chain length.
37231 2011-06-14 Ulrich Drepper <drepper@gmail.com>
37233 * Versions.def: Add entry for libnss_db.
37234 * shlib-versions: Likewise.
37235 * nss/Makefile: Add rules to build libnss_db.
37236 * nss/Versions: Add libnss_db information. Organize libnss_files
37238 * nss/db-Makefile: Add gshadow support. Change rules for the new
37239 makedb progra. Some minor improvements to generate smaller files.
37240 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37242 * nss/makedb.c: ...here.
37243 Improve database format to be smaller and require less memory at
37245 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37247 * nss/nss_db/db-netgrp.c: Likewise.
37248 * nss/nss_db/db-open.c: Likewise.
37249 * nss/nss_files/flies-XXX.x: Adjust comments.
37250 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37251 * nss/nss_files/files-grp.c: Likewise.
37252 * nss/nss_files/files-hosts.c: Likewise.
37253 * nss/nss_files/files-network.c: Likewise.
37254 * nss/nss_files/files-proto.c: Likewise.
37255 * nss/nss_files/files-pwd.c: Likewise.
37256 * nss/nss_files/files-rpc.c: Likewise.
37257 * nss/nss_files/files-service.c: Likewise.
37258 * nss/nss_files/files-sgrp.c: Likewise.
37259 * nss/nss_files/files-spwd.c: Likewise.
37260 * nss/nss_db/db-alias.c: Removed.
37261 * nss/nss_db/dummy-db.h: Removed.
37263 2011-06-02 Ulrich Drepper <drepper@gmail.com>
37265 * nss/makedb.c: Rewritten to not use database library.
37266 * nss/Makefile: Update to build new makedb program.
37268 2011-06-14 Andreas Jaeger <aj@suse.de>
37270 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37271 memset declaration.
37273 2011-06-10 Andreas Schwab <schwab@redhat.com>
37275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37278 2011-06-10 Roland McGrath <roland@hack.frob.com>
37280 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37281 * elf/Makefile ($(objpfx)ld.so): Likewise.
37283 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37284 Don't list ld.so twice in dependencies.
37286 * posix/bug-regex31.c: Include <stdlib.h>.
37288 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37290 * nis/nss_compat/compat-spwd.c
37291 (getspent_next_nss_netgr): Remove unused variable.
37292 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37294 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37295 nonmembers" output to use the right array.
37297 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37299 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37301 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37302 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37303 * catgets/gencat.c (read_input_file): Likewise.
37304 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37306 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37307 variable definition inside #if's controlling its use.
37309 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37311 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37313 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37315 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37318 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37320 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37321 * configure: Regenerated.
37323 * Makerules: Revert last change.
37324 * elf/Makefile: Likewise.
37326 2011-06-09 Roland McGrath <roland@hack.frob.com>
37328 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37329 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37330 (reloc-link): Likewise.
37332 2011-06-09 Ulrich Drepper <drepper@gmail.com>
37334 * elf/Makefile: Add rules to build pldd.
37335 * elf/pldd.c: New file.
37336 * elf/pldd-xx.c: New file.
37338 2011-06-07 Ulrich Drepper <drepper@gmail.com>
37340 * version.h: Update for 2.15 development version.
37342 2011-06-07 David S. Miller <davem@davemloft.net>
37344 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37346 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37347 elf_machine_lazy_rel): Likewise.
37348 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37349 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37350 elf_machine_lazy_rel): Likewise.
37351 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37352 dl_hwcap via passed in argument.
37353 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37356 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37358 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37360 2011-06-06 Roland McGrath <roland@hack.frob.com>
37363 * manual/fdl-1.1.texi: New file, verbatim from:
37364 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37365 * manual/lgpl-2.1.texi: New file, verbatim from:
37366 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37367 * manual/Makefile (licenses): New variable, list those new file names.
37369 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37371 * manual/fdl.texi: File removed.
37372 * manual/lesser.texi: File removed.
37373 * manual/libc.texinfo (Copying, Documentation License):
37374 Use new @include file names, put @appendix directive before @include.
37376 2011-06-04 Jakub Jelinek <jakub@redhat.com>
37379 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37380 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37381 (mq_open): Add __NTH.
37383 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37386 Assume Intel Core i3/i5/i7 processor if AVX is available.
37388 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37390 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37393 2011-05-31 Andreas Schwab <schwab@redhat.com>
37395 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37396 memory. Use alloca_account. Fix memory leak when retrying.
37398 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37400 * version.h (RELEASE): Bump for 2.14 release.
37401 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37403 * config.make.in (RANLIB): Remove entry.
37405 2011-05-30 Ulrich Drepper <drepper@gmail.com>
37407 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37408 (libc.pot): Work around missing support for .ksh extension in xgettext.
37411 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37412 if both request failed.
37413 (send_dg): In case of server errors clear resplen or *resplen2.
37416 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37417 when there are multiple maps.
37418 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37419 (_dl_fini): Remove test here.
37421 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37423 2011-05-29 Ulrich Drepper <drepper@gmail.com>
37426 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37427 bit from old_res_options.
37428 (gaih_inet): Likewise.
37431 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
37434 * resolv/res_init.c (res_setoptions): Make the code more compact.
37437 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37441 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37443 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37446 * malloc/malloc.h: Declare malloc hook variables as volatile.
37448 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37452 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
37453 raise in the comment.
37454 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37455 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37456 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
37458 2011-05-28 Ulrich Drepper <drepper@gmail.com>
37461 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37462 grow the buffers more if it already has to be sufficient.
37463 (build_wcs_upper_buffer): Likewise.
37464 * posix/regexec.c (check_matching): Likewise.
37465 (clean_state_log_if_needed): Likewise.
37466 (extend_buffers): Don't enlarge buffers beyond size of the input
37468 Patches mostly by Emil Wojak <emil@wojak.eu>.
37469 * posix/bug-regex32.c: New file.
37470 * posix/Makefile (tests): Add bug-regex32.
37472 * locale/findlocale.c (_nl_find_locale): Return right away if
37473 _nl_explode_name failed.
37474 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37476 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37478 * debug/xtrace.sh: Unify messages.
37479 * malloc/memusage.sh: Likewise.
37482 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37483 time symbol from vDSO. Substitute with vsyscall if not available.
37484 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37487 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37488 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37489 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37490 Add sendmmsg and internal_sendmmsg.
37491 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37492 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37493 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37495 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37496 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37497 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37499 2011-05-27 Ulrich Drepper <drepper@gmail.com>
37502 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37503 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37505 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37509 * iconvdata/Makefile (tests): Add bug-iconv9.
37510 * iconvdata/bug-iconv9.c: New file.
37512 2011-05-27 Andreas Schwab <schwab@redhat.com>
37515 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37517 2011-05-25 Jakub Jelinek <jakub@redhat.com>
37519 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37520 (struct user_regs_struct): Change intcs field back to cs.
37522 2011-05-25 Ulrich Drepper <drepper@gmail.com>
37524 * po/ja.po: Update from translation team.
37526 2011-05-23 Ulrich Drepper <drepper@gmail.com>
37529 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37530 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37532 2011-05-20 Andreas Schwab <schwab@redhat.com>
37534 * stdlib/longlong.h: Update from GCC.
37536 2011-05-23 Andreas Schwab <schwab@redhat.com>
37538 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37540 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37541 Add parameter name.
37542 (__sysconf): Pass it down.
37544 2011-05-22 Ulrich Drepper <drepper@gmail.com>
37547 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37549 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37550 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37551 add in in __libc_use_alloca calls. Adjust callers.
37552 (glob): Use malloc in some situations.
37554 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37555 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37558 2011-05-21 Ulrich Drepper <drepper@gmail.com>
37560 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37561 and CLOCK_BOOTTIME_ALARM.
37564 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37567 * string/_strerror.c (__strerror_r): Print negative errors as signed
37571 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37572 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37573 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37575 * configure.in: Fix typo in redirection and correct removal of test
37576 files in two cases.
37579 * locale/setlocale.c (new_composite_name): Fix test to check for
37580 identical name of all categories.
37583 * libio/filedoalloc.c (local_isatty): New function.
37584 (_IO_file_doallocate): Use local_isatty.
37585 * stdio-common/perror.c (perror): In case a new stream is used
37586 forward the stream error.
37587 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37590 2011-05-20 Ulrich Drepper <drepper@gmail.com>
37593 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37595 * include/alloca.h (extend_alloca_account): Define.
37598 * posix/regex.h: Fix comments with documentation of user-accessible
37599 fields after compilation and describe correct free'ing of pattern
37600 after re_compile_pattern.
37601 Patch by Reuben Thomas <rrt@sc3d.org>.
37603 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37605 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37606 and -mno-altivec to prevent the compiler from using Altivec and/or
37607 VSX instructions when the corresponding registers are not available.
37609 2011-05-19 Andreas Schwab <schwab@redhat.com>
37611 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37613 2011-05-19 Ulrich Drepper <drepper@gmail.com>
37615 * libio/freopen.c (freopen): Use __dup2, not dup2.
37616 * libio/freopen64.c (freopen64): Likewise.
37618 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37621 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37622 * math/Makefile (tests): Add test-powl.
37623 (CFLAGS-test-powl.c): Define.
37624 * math/test-powl.c: New file.
37626 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37628 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37630 2011-05-17 Ulrich Drepper <drepper@gmail.com>
37633 * iconvdata/gb18030.c: Update to GB18020-2005.
37635 2011-05-16 Ulrich Drepper <drepper@gmail.com>
37637 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37638 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37639 Patch by Aharon Robbins <arnold@skeeve.com>.
37642 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37646 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37647 through underflows.
37650 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37651 point to strings before performing equality test for error_one_per_line
37655 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37658 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37659 (struct user_fpregs_struct): Avoid __uint*_t types.
37662 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37663 symbol info. Use it instead of calling _dl_addr locally.
37664 (lock_and_info): New function.
37665 (tr_freehook): Call lock_and_info and pass symbol info as additional
37666 parameter to tr_where.
37667 (tr_mallochook): Likewise.
37668 (tr_reallochook): Likewise.
37669 (tr_memalignhook): Likewise.
37671 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37672 used and couldn't be at all thread-safe.
37674 2011-05-15 Ulrich Drepper <drepper@gmail.com>
37676 * libio/freopen.c (freopen): Don't close old file descriptor
37677 before the new one is opened. Instead dup the new file descriptor
37678 to the old one after the new stream is created.
37679 * libio/freopen64.c (freopen64): Likewise.
37680 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37681 * libio/fileops.c (_IO_new_file_close_it): Handle new
37682 _IO_FLAGS2_NOCLOSE flag.
37683 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37684 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37685 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37686 _IO_FLAGS2_NOCLOSE flag.
37687 * include/unistd.h: Add hidden_proto for dup3.
37688 Define __have_dup3.
37689 * io/dup3.c: Define hidden symbol.
37690 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37693 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37694 when an incomplete long option is used.
37695 * posix/tst-getopt_long1.c: New file.
37696 * posix/Makefile (tests): Add tst-getopt_long1.
37699 * scripts/config.guess: Update from autoconf-2.68.
37700 * scripts/config.sub: Likewise.
37703 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37705 (has_cpuclock): ...this. New function.
37706 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37707 macro here based on has_cpuclock code.
37710 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37711 First byte (not low byte) is now always NUL.
37712 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37714 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37715 Use non-cancelable interfaces.
37718 * locale/iso-639.def: Add entry for Sorani.
37721 * include/stdlib.h: Move include protection to the right place.
37722 Define abort_msg_s. Declare __abort_msg with it.
37723 * stdlib/abort.c (__abort_msg): Adjust type.
37724 * assert/assert.c (__assert_fail_base): New function. Majority
37725 of code from __assert_fail. Allocate memory for __abort_msg with
37727 (__assert_fail): Now call __assert_fail_base.
37728 * assert/assert-perr.c: Remove bulk of implementation. Use
37729 __assert_fail_base.
37730 * include/assert.hL Declare __assert_fail_base.
37731 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37733 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37735 2011-05-14 Ulrich Drepper <drepper@gmail.com>
37739 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37740 until all modules are registered in the DTV.
37741 * elf/Makefile: Add rules to build and run tst-tls19.
37742 * elf/tst-tls19.c: New file.
37743 * elf/tst-tls19mod1.c: New file.
37744 * elf/tst-tls19mod2.c: New file.
37745 * elf/tst-tls19mod3.c: New file.
37746 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37749 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37753 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37754 two-byte sequence errors.
37755 * iconvdata/Makefile (tests): Add bug-iconv8.
37756 * iconvdata/bug-iconv8.c: New file.
37759 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37762 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37765 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37766 (dummy_getcfa): New function.
37767 (init): Get _Unwind_GetCFA address, use dummy if not found.
37768 (backtrace_helper): In recursion check, also check whether CFA changes.
37769 (__backtrace): Completely initialize arg.
37771 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37772 storing incomplete byte sequence in state object. Avoid testing for
37773 guaranteed too small input if we know there is enough data available.
37775 2011-05-11 Andreas Schwab <schwab@redhat.com>
37777 * Makeconfig (+link-pie): Indent.
37778 * Rules (binaries-pie): Define if $(have-fpie) and
37780 (binaries-shared): Also filter out $(binaries-pie).
37781 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37782 * nscd/Makefile (others-pie): Add nscd.
37783 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37784 ($(objpfx)nscd): Remove command override.
37785 * login/Makefile (others-pie): Add pt_chown.
37786 ($(objpfx)pt_chown): Remove command override.
37787 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37788 remove command overrides.
37790 2011-05-13 Ulrich Drepper <drepper@gmail.com>
37792 * libio/tst_putwc.c: Fix error messages.
37795 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37796 currently writing and seek to current position when not.
37797 * libio/Makefile (tests): Add bug-fclose1.
37798 * libio/bug-fclose1.c: New file.
37800 2011-05-12 Ulrich Drepper <drepper@gmail.com>
37803 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37804 don't set DF_1_NODELETE here.
37805 (do_lookup_x): When entering new entry test for copy relocation
37806 and if necessary set DF_1_NODELETE flag.
37807 * elf/tst-unique4.cc: New file.
37808 * elf/tst-unique4.h: New file.
37809 * elf/tst-unique4lib.cc: New file.
37810 * elf/Makefile: Add rules to build and run tst-unique4.
37811 Patch by Piotr Bury <pbury@goahead.com>.
37813 2011-05-11 Ulrich Drepper <drepper@gmail.com>
37816 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37819 * misc/mntent_r.c (addmntent): Flush the stream after the output
37822 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37823 (is_trusted_path_normalize): Skip initial colon. Append slash
37824 to empty buffer. Duplicate is_trusted_path code but allow
37825 constructed patch to be prefix.
37826 (is_dst): Allow $ORIGIN followed by /.
37827 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37828 Correct testing of result of is_trusted_path_normalize
37829 (decompose_rpath): Fix warning.
37831 2011-05-10 Ulrich Drepper <drepper@gmail.com>
37834 * grp/initgroups.c (internal_getgrouplist): When we found the service
37835 list through the initgroups entry in nsswitch.conf do not always
37836 continue on a successful lookup. Don't always use the
37837 __nss_group_database value if it is set.
37838 * nss/nsswitch.conf (initgroups): Change action for successful db
37839 lookup to continue for compatibility.
37841 2011-05-09 Ulrich Drepper <drepper@gmail.com>
37844 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37846 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37848 * iconvdata/tst-tables.sh: Likewise.
37849 * iconvdata/cp770.c: New file.
37850 * iconvdata/cp771.c: New file.
37851 * iconvdata/cp772.c: New file.
37852 * iconvdata/cp773.c: New file.
37853 * iconvdata/cp774.c: New file.
37854 * iconvdata/testdata/CP770: New file.
37855 * iconvdata/testdata/CP770..UTF8: New file.
37856 * iconvdata/testdata/CP771: New file.
37857 * iconvdata/testdata/CP771..UTF8: New file.
37858 * iconvdata/testdata/CP772: New file.
37859 * iconvdata/testdata/CP772..UTF8: New file.
37860 * iconvdata/testdata/CP773: New file.
37861 * iconvdata/testdata/CP773..UTF8: New file.
37862 * iconvdata/testdata/CP774: New file.
37863 * iconvdata/testdata/CP774..UTF8: New file.
37865 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37867 * iconvdata/gen-8bit-gap.sh: Likewise.
37868 * iconvdata/gen-8bit.sh: Likewise.
37870 * locale/iso-639.def: Add ary entry.
37873 * locale/C-translit.h.in: Add U20A1 transliteration.
37876 * locale/iso-639.def: Add wae entry.
37877 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37880 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37884 * locale/C-translit.h.in: Add entry for U20B9.
37885 Patch by pravin.d.s@gmail.com.
37887 2011-05-08 Ulrich Drepper <drepper@gmail.com>
37890 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37891 ENAMETOOLONG use generic getcwd.
37892 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37893 in rtld. Use *stat64.
37894 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37895 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37896 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37897 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37898 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37899 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37900 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37901 __fstatat64 macros.
37902 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37903 * dirent/rewinddir.c: Add libc_hidden_def.
37904 * sysdeps/mach/hurd/rewinddir.c: Likewise.
37905 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
37907 * include/dirent.h (__alloc_dir): Add flags parameter.
37908 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37909 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37911 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37912 from fdopendir if O_CLOEXEC is already set.
37914 2011-03-15 Alan Modra <amodra@gmail.com>
37916 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37917 l_tls_firstbyte_offset non-zero. Save padding offset in
37918 l_tls_firstbyte_offset for later use.
37919 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37920 freeing static tls block.
37922 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37924 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37925 where #ifdef was intended. The intent is to prevent ARG_MAX from
37926 being defined by the kernel headers.
37928 2011-05-07 Ulrich Drepper <drepper@gmail.com>
37931 * resolv/resolv.h: Define RES_NOTLDQUERY.
37932 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37933 no-tld-query and set RES_NOTLDQUERY.
37934 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37935 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37936 modern BIND to search name as TLD unless forbidden.
37938 2011-05-07 Petr Baudis <pasky@suse.cz>
37939 Ulrich Drepper <drepper@gmail.com>
37942 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37943 (is_trusted_path): ...to here.
37944 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37945 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37946 using is_trusted_path_normalize() in setuid scripts.
37948 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37950 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37951 __BEGIN/__END_DECLS.
37953 2011-05-06 Ulrich Drepper <drepper@gmail.com>
37955 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37956 NSS_STATUS_NOTFOUND if no record was found.
37958 2011-05-05 Andreas Schwab <schwab@redhat.com>
37960 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37961 (headers-not-in-tirpc): Remove rpc/netdb.h
37962 * resolv/netdb.h: Revert last change.
37964 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37966 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37967 circular dependency between libgcc.a and libc.a.
37969 2011-05-05 Andreas Schwab <schwab@redhat.com>
37971 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37972 * nis/Makefile: Don't install rpcsvc/*.
37973 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37974 instead of <rpc/types.h>.
37975 (MAXHOSTNAMELEN): Define.
37977 2011-05-03 Andreas Schwab <schwab@redhat.com>
37979 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37981 2011-04-28 Maciej Babinski <mbabinski@google.com>
37984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37985 gethostbyname4_r when IPv6 results are possible.
37987 2011-05-02 Ulrich Drepper <drepper@gmail.com>
37990 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37991 _PC_PIPE_BUF handling.
37993 2011-04-30 Bruno Haible <bruno@clisp.org>
37996 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37997 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37999 * inet/getnameinfo.c (getnameinfo): Likewise.
38001 2011-04-29 Ulrich Drepper <drepper@gmail.com>
38003 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38004 to groups setting in database lookup.
38005 * nss/nsswitch.conf: Add initgroups entry.
38007 2011-04-22 Ulrich Drepper <drepper@gmail.com>
38010 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38012 Patch by Eric Blake <eblake@redhat.com>.
38014 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
38016 * sunrpc/Makefile (need-export-routines): Add svc_run.
38017 (routines): Remove svc_run.
38018 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38019 * sunrpc/clnt_perr.c (clnt_perrno): Export.
38020 * sunrpc/svc_run.c (svc_run): Likewise.
38021 * sunrpc/svc_udp.c (svcudp_create): Likewise.
38023 2011-04-21 Ulrich Drepper <drepper@gmail.com>
38025 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38026 problem in reallocation in last patch.
38028 2011-04-20 Ulrich Drepper <drepper@gmail.com>
38030 * sunrpc/Makefile: Move inclusion of Rules.
38032 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38034 * nss/nss_files/files-initgroups.c: New file.
38035 * nss/Makefile (libnss_files-routines): Add files-initgroups.
38036 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38037 _nss_files_initgroups_dyn.
38039 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
38041 * elf/elf.h (R_ARM_IRELATIVE): Define.
38043 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38045 * po/ru.po: Update from translation team.
38047 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38049 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38052 2011-02-06 Mike Frysinger <vapier@gentoo.org>
38055 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38056 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38057 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38058 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38059 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38061 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
38063 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38065 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38066 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38067 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38069 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38072 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38074 * stdlib/bug-getcontext.c: New file.
38075 * stdlib/Makefile: Add rules to build and run bug-getcontext.
38077 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38079 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38080 instructions into .machine "z9-109".
38081 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38082 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38084 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38086 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38087 between environment variables and auxiliary vector.
38089 2011-04-16 Ulrich Drepper <drepper@gmail.com>
38091 * Makefile: Add rules to build linkobj/libc.so.
38092 * include/libc-symbols.h: Define libc_hidden_nolink.
38093 * include/rpc/auth.h: Mark functions which are to be hidden.
38094 * include/rpc/auth_des.h: Likewise.
38095 * include/rpc/auth_unix.h: Likewise.
38096 * include/rpc/clnt.h: Likewise.
38097 * include/rpc/des_crypt.h: Likewise.
38098 * include/rpc/key_prot.h: Likewise.
38099 * include/rpc/pmap_clnt.h: Likewise.
38100 * include/rpc/pmap_prot.h: Likewise.
38101 * include/rpc/pmap_rmt.h: Likewise.
38102 * include/rpc/rpc_msg.h: Likewise.
38103 * include/rpc/svc.h: Likewise.
38104 * include/rpc/svc_auth.h: Likewise.
38105 * include/rpc/xdr.h: Likewise.
38106 * nis/Makefile: Link all DSOs against linkobj/libc.so.
38107 * nss/Makefile: Likewise.
38108 * sunrpc/Makefile: Don't install headers. Build library with normal
38109 entry points. Don't build rpcinfo. Link RPC tests appropriately.
38110 * sunrpc/auth_des.c: Hide exported symbols by default, export some
38111 for the compat linking library. Remove use of INTDEF/INTUSE.
38112 * sunrpc/auth_none.c: Likewise.
38113 * sunrpc/auth_unix.c: Likewise.
38114 * sunrpc/authdes_prot.c: Likewise.
38115 * sunrpc/authuxprot.c: Likewise.
38116 * sunrpc/clnt_gen.c: Likewise.
38117 * sunrpc/clnt_perr.c: Likewise.
38118 * sunrpc/clnt_raw.c: Likewise.
38119 * sunrpc/clnt_simp.c: Likewise.
38120 * sunrpc/clnt_tcp.c: Likewise.
38121 * sunrpc/clnt_udp.c: Likewise.
38122 * sunrpc/clnt_unix.c: Likewise.
38123 * sunrpc/des_crypt.c: Likewise.
38124 * sunrpc/des_soft.c: Likewise.
38125 * sunrpc/get_myaddr.c: Likewise.
38126 * sunrpc/key_call.c: Likewise.
38127 * sunrpc/key_prot.c: Likewise.
38128 * sunrpc/netname.c: Likewise.
38129 * sunrpc/pm_getmaps.c: Likewise.
38130 * sunrpc/pm_getport.c: Likewise.
38131 * sunrpc/pmap_clnt.c: Likewise.
38132 * sunrpc/pmap_prot.c: Likewise.
38133 * sunrpc/pmap_prot2.c: Likewise.
38134 * sunrpc/pmap_rmt.c: Likewise.
38135 * sunrpc/publickey.c: Likewise.
38136 * sunrpc/rpc_cmsg.c: Likewise.
38137 * sunrpc/rpc_common.c: Likewise.
38138 * sunrpc/rpc_dtable.c: Likewise.
38139 * sunrpc/rpc_prot.c: Likewise.
38140 * sunrpc/rpc_thread.c: Likewise.
38141 * sunrpc/rtime.c: Likewise.
38142 * sunrpc/svc.c: Likewise.
38143 * sunrpc/svc_auth.c: Likewise.
38144 * sunrpc/svc_authux.c: Likewise.
38145 * sunrpc/svc_raw.c: Likewise.
38146 * sunrpc/svc_run.c: Likewise.
38147 * sunrpc/svc_simple.c: Likewise.
38148 * sunrpc/svc_tcp.c: Likewise.
38149 * sunrpc/svc_udp.c: Likewise.
38150 * sunrpc/svc_unix.c: Likewise.
38151 * sunrpc/svcauth_des.c: Likewise.
38152 * sunrpc/xcrypt.c: Likewise.
38153 * sunrpc/xdr.c: Likewise.
38154 * sunrpc/xdr_array.c: Likewise.
38155 * sunrpc/xdr_float.c: Likewise.
38156 * sunrpc/xdr_intXX_t.c: Likewise.
38157 * sunrpc/xdr_mem.c: Likewise.
38158 * sunrpc/xdr_rec.c: Likewise.
38159 * sunrpc/xdr_ref.c: Likewise.
38160 * sunrpc/xdr_sizeof.c: Likewise.
38161 * sunrpc/xdr_stdio.c: Likewise.
38163 2011-04-10 Ulrich Drepper <drepper@gmail.com>
38166 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38167 * sysdeps/ia64/dl-tls.h: Likewise.
38168 * sysdeps/powerpc/dl-tls.h: Likewise.
38169 * sysdeps/s390/dl-tls.h: Likewise.
38170 * sysdeps/sh/dl-tls.h: Likewise.
38171 * sysdeps/sparc/dl-tls.h: Likewise.
38172 * sysdeps/x86_64/dl-tls.h: Likewise.
38173 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38175 2011-03-14 Andreas Schwab <schwab@redhat.com>
38177 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38178 rpath element also skip the following colon.
38179 (expand_dynamic_string_token): Add is_path parameter and pass
38180 down to DL_DST_REQUIRED and _dl_dst_substitute.
38181 (decompose_rpath): Call expand_dynamic_string_token with
38182 non-zero is_path. Ignore empty rpaths.
38183 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38186 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38191 2011-04-09 Ulrich Drepper <drepper@gmail.com>
38194 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38195 Patch by Filipe David Manana <fdmanana@apache.org>.
38197 2011-04-07 Andreas Schwab <schwab@redhat.com>
38199 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38200 Maintain aligned stack.
38201 (CHECK_RSP): Remove unused macro.
38203 2011-04-03 Ulrich Drepper <drepper@gmail.com>
38205 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38206 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38208 2011-04-02 Ulrich Drepper <drepper@gmail.com>
38210 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38212 * include/features.h: Mention __USE_XOPEN2K8 in comment.
38214 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38217 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38218 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38219 * sysdeps/x86_64/memmove.c: New file.
38220 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38221 (memcpy): Renamed to ...
38222 (__new_memcpy): This.
38223 (memcpy): Provide GLIBC_2_14 memcpy.
38224 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38225 (memcpy): Provide GLIBC_2_2_5 memcpy.
38227 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38230 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38232 2011-03-30 Andreas Schwab <schwab@redhat.com>
38234 * misc/syncfs.c: New file.
38235 * misc/Makefile (routines): Add syncfs.
38236 * posix/unistd.h: Declare syncfs.
38237 * sysdeps/unix/syscalls.list: Add syncfs.
38239 2011-04-01 Andreas Schwab <schwab@redhat.com>
38241 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38243 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38244 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38245 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38246 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38248 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38249 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38251 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38253 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38254 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38255 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38256 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38257 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38258 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38259 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38261 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38262 sync_file_range.c with -fexceptions.
38263 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38264 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38265 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38266 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38267 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38268 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38269 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
38270 sync_file_range as cancellation point
38271 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38272 now a wrapper around __call_sync_file_range with cancellation handling.
38273 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38274 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38275 function name to __call_sync_file_range.
38276 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38277 Add call_sync_file_range.
38279 2011-04-01 Andreas Schwab <schwab@redhat.com>
38281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38284 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38286 * iconv/iconv.h: Fix typo in comment.
38287 * io/fcntl.h: Likewise.
38288 * libio/stdio.h: Likewise.
38289 * posix/spawn.h: Likewise.
38290 * posix/unistd.h: Likewise.
38291 * stdlib/stdlib.h: Likewise.
38292 * time/time.h: Likewise.
38293 * wcsmbs/wchar.h: Likewise.
38295 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38296 open_by_handle): Add.
38297 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38298 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38299 Augment a few comments.
38300 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38301 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38302 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38303 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38304 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38305 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38308 * io/fcntl.h (AT_EMPTY_PATH): Define.
38310 2011-03-30 Ulrich Drepper <drepper@gmail.com>
38312 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38313 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38314 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38316 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
38317 * Versions.def: Add GLIBC_2.14.
38318 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38321 2011-03-22 Ulrich Drepper <drepper@gmail.com>
38323 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38325 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38327 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38330 * string/test-strncmp.c (do_page_test): New function.
38331 (check2): Likewise.
38332 (test_main): Call check2.
38333 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38335 2011-03-20 Ulrich Drepper <drepper@gmail.com>
38338 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38339 Handle cache information in CPU leaf 4.
38340 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38342 2011-03-18 Ulrich Drepper <drepper@gmail.com>
38345 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38346 character representation.
38347 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38349 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38351 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38352 END(__isnan) to END(__isnanf) to match function entry point/label
38353 EALIGN(__isnanf,...).
38355 2011-03-10 Jakub Jelinek <jakub@redhat.com>
38357 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38359 2011-03-10 Ulrich Drepper <drepper@gmail.com>
38362 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38363 copy from the symbol referenced in the relocation to initialize the
38365 Patch by Piotr Bury <pbury@goahead.com>.
38366 * elf/Makefile: Add rules to build and tst-unique3.
38367 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38368 * elf/tst-unique3.cc: New file.
38369 * elf/tst-unique3.h: New file.
38370 * elf/tst-unique3lib.cc: New file.
38371 * elf/tst-unique3lib2.cc: New file.
38373 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38375 2011-03-10 Mike Frysinger <vapier@gentoo.org>
38377 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38378 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38381 2011-03-06 Ulrich Drepper <drepper@gmail.com>
38383 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38384 to-be-loaded object along a path to loader is ld.so.
38386 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38387 Ulrich Drepper <drepper@gmail.com>
38389 * sysdeps/x86_64/memset.S: After aligning destination, code
38390 branches to different locations depending on the value of
38391 misalignment, when multiarch is enabled. Fix this.
38393 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38395 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38396 Set _x86_64_preferred_memory_instruction for AMD processsors.
38397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38398 Set bit_Prefer_SSE_for_memop for AMD processors.
38400 2011-03-04 Ulrich Drepper <drepper@gmail.com>
38402 * libio/fmemopen.c (fmemopen): Optimize a bit.
38404 2011-03-03 Andreas Schwab <schwab@redhat.com>
38406 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38408 2011-03-03 Roland McGrath <roland@redhat.com>
38410 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38412 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38414 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
38415 __bzero_ultra1 instead of __memset_ultra1.
38417 2011-02-23 Andreas Schwab <schwab@redhat.com>
38418 Ulrich Drepper <drepper@gmail.com>
38421 * include/link.h (struct link_map): Add l_orig_initfini.
38422 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38423 returning unsuccessfully.
38424 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38425 close of a file loaded at startup, restore the original l_initfini
38427 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38428 list, store the pointer.
38429 * elf/Makefile ($(objpfx)noload-mem): New rule.
38430 (noload-ENV): Define.
38431 (tests): Add $(objpfx)noload-mem.
38432 * elf/noload.c: Include <memcheck.h>.
38433 (main): Call mtrace. Close all opened handles.
38435 2011-02-17 Andreas Schwab <schwab@redhat.com>
38438 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38439 dependencies are missing.
38441 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38443 Fix __if_freereq crash: Unlike the generic version which uses free,
38445 * sysdeps/mach/hurd/ifreq.h: New file.
38447 2011-01-27 Petr Baudis <pasky@suse.cz>
38448 Ulrich Drepper <drepper@gmail.com>
38451 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38452 to extend_alloca().
38453 * stdio-common/bug23.c: New file.
38454 * stdio-common/Makefile (tests): Add bug23.
38456 2010-09-28 Andreas Schwab <schwab@redhat.com>
38457 Ulrich Drepper <drepper@gmail.com>
38460 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38461 before performing relro protection. At old place add assertion
38462 to make sure nothing changed.
38464 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38465 Glauber de Oliveira Costa <glommer@gmail.com>
38467 * elf/elf.h: Add new ARM TLS relocs.
38469 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38472 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38474 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38476 * sysdeps/wordsize-64/tst-writev.c: New file.
38478 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38480 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38481 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38482 insns in _dl_start to prevent a TOC reference before relocs are
38485 2011-02-15 Ulrich Drepper <drepper@gmail.com>
38488 * Makeconfig: Remove RANLIB definition.
38489 * Makerules: Don't use RANLIB.
38490 * aclocal.m4: Remove ranlib test.
38491 * configure.in: No need to check for ranlib.
38492 * elf/rtld-Rules: Don't use RANLIB.
38494 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38496 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38498 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38499 inclusion protection macro.
38501 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38502 SIGRTMIN and SIGRTMAX and print information in that case only when
38503 SIGRTMIN is defined.
38505 2011-02-11 Jakub Jelinek <jakub@redhat.com>
38507 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38508 arginfo fn returning -1.
38510 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38511 and thousands string is zero terminated.
38513 2011-02-03 Andreas Schwab <schwab@redhat.com>
38515 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38516 sysdeps/unix/sysv/linux/bits/socket.h.
38518 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38520 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38521 (__CPU_COUNT): Remove old macros.
38522 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38523 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38524 (__CPU_ALLOC, __CPU_FREE): Add macros.
38525 (__sched_cpualloc, __sched_cpufree): Add declarations.
38527 2011-02-05 Ulrich Drepper <drepper@gmail.com>
38529 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38530 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38531 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38532 (readdhstai): Return value of addhstaiX call.
38533 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38534 (addgrbyX): Return value returned by cache_addgr.
38535 (readdgrbyname): Return value returned by addgrbyX.
38536 (readdgrbygid): Likewise.
38537 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38538 (addpwbyX): Return value returned by cache_addpw.
38539 (readdpwbyname): Return value returned by addhstbyX.
38540 (readdpwbyuid): Likewise.
38541 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38542 (addservbyX): Return value returned by cache_addserv.
38543 (readdservbyname): Return value returned by addservbyX:
38544 (readdservbyport): Likewise.
38545 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38546 (addhstbyX): Return value returned by cache_addhst.
38547 (readdhstbyname): Return value returned by addhstbyX.
38548 (readdhstbyaddr): Likewise.
38549 (readdhstbynamev6): Likewise.
38550 (readdhstbyaddrv6): Likewise.
38551 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38552 (readdinitgroups): Return value returned by addinitgroupsX.
38553 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38554 (prune_cache): Keep track of timeout value of re-added entries.
38555 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38556 * nscd/nscd.h: Adjust prototypes of readd* functions.
38558 2011-02-04 Roland McGrath <roland@redhat.com>
38560 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38561 (nis_stats): Likewise.
38562 * nis/nis_modify.c (nis_modify): Likewise.
38563 * nis/nis_remove.c (nis_remove): Likewise.
38564 * nis/nis_add.c (nis_add): Likewise.
38566 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38568 * posix/fnmatch_loop.c: Add some consts.
38570 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38572 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38575 * config.make.in (config-cflags-novzeroupper): Define.
38576 * configure.in: Substitute libc_cv_cc_novzeroupper.
38577 * elf/Makefile (AVX-CFLAGS): Define.
38578 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38579 (CFLAGS-tst-auditmod4a.c): Likewise.
38580 (CFLAGS-tst-auditmod4b.c): Likewise.
38581 (CFLAGS-tst-auditmod6b.c): Likewise.
38582 (CFLAGS-tst-auditmod6c.c): Likewise.
38583 (CFLAGS-tst-auditmod7b.c): Likewise.
38584 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38586 2011-02-02 Ulrich Drepper <drepper@gmail.com>
38588 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38589 function to the callback.
38590 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38592 2011-02-02 Andreas Schwab <schwab@redhat.com>
38594 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38597 2011-01-19 Ulrich Drepper <drepper@gmail.com>
38600 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38602 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38604 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38607 * elf/Makefile: Add rules to build and run new test.
38608 * elf/tst-initorder.c: New file.
38609 * elf/tst-initorder.exp: New file.
38610 * elf/tst-initordera1.c: New file.
38611 * elf/tst-initordera2.c: New file.
38612 * elf/tst-initordera3.c: New file.
38613 * elf/tst-initordera4.c: New file.
38614 * elf/tst-initorderb1.c: New file.
38615 * elf/tst-initorderb2.c: New file.
38616 * elf/tst-order-a1.c: New file.
38617 * elf/tst-order-a2.c: New file.
38618 * elf/tst-order-a3.c: New file.
38619 * elf/tst-order-a4.c: New file.
38620 * elf/tst-order-b1.c: New file.
38621 * elf/tst-order-b2.c: New file.
38622 * elf/tst-order-main.c: New file.
38623 New test case by George Gensure <werkt0@gmail.com>.
38625 2010-10-01 Andreas Schwab <schwab@redhat.com>
38627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38628 decoding ACE if AI_CANONIDN.
38630 2011-01-18 Ulrich Drepper <drepper@gmail.com>
38632 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38634 2011-01-17 Ulrich Drepper <drepper@gmail.com>
38636 * version.h (RELEASE): Bump for 2.13 release.
38637 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38639 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38641 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38643 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38644 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38645 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38646 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38647 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38648 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38650 * posix/getconf.c: Update copyright year.
38651 * catgets/gencat.c: Likewise.
38652 * csu/version.c: Likewise.
38653 * debug/catchsegv.sh: Likewise.
38654 * debug/xtrace.sh: Likewise.
38655 * elf/ldconfig.c: Likewise.
38656 * elf/ldd.bash.in: Likewise.
38657 * elf/sprof.c (print_version): Likewise.
38658 * iconv/iconv_prog.c: Likewise.
38659 * iconv/iconvconfig.c: Likewise.
38660 * locale/programs/locale.c: Likewise.
38661 * locale/programs/localedef.c: Likewise.
38662 * malloc/memusage.sh: Likewise.
38663 * malloc/mtrace.pl: Likewise.
38664 * nscd/nscd.c (print_version): Likewise.
38665 * nss/getent.c: Likewise.
38667 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38668 PF_CAIF, and PF_ALG.
38669 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38671 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38673 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38674 (modules-names): Use them.
38675 (ifunc-test-modules, ifunc-pie-tests): Define.
38676 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38677 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38678 (test-extras): Likewise.
38679 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38680 $(compile-command.c).
38681 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38682 (all-built-dso): Define.
38683 (check-textrel.out, check-execstack.out): Depend on it.
38685 * configure.in: Don't override --enable-multi-arch.
38687 2011-01-15 Ulrich Drepper <drepper@gmail.com>
38690 * nscd/hstcache.c (tryagain): Define.
38691 (cache_addhst): Return tryagain not notfound for temporary errors.
38692 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38695 2011-01-14 Ulrich Drepper <drepper@gmail.com>
38698 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38699 to make the syscall.
38700 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38703 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38704 and fall back to matching as normal character if the string ends before
38705 the matching ']' is found. This is what POSIX requires.
38706 * posix/testfnm.c: Adjust test result.
38707 * posix/globtest.sh: Adjust test result. Add new test.
38708 * posix/tst-fnmatch.input: Likewise.
38709 * posix/tst-fnmatch2.c: Add new test.
38711 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38713 * elf/Makefile (check-execstack): Revert last change. Depend on
38715 (check-execstack.h): New target.
38716 (generated): Add check-execstack.h.
38717 * elf/check-execstack.c: Include "check-execstack.h".
38718 (main): Revert last change.
38719 (handle_file): Return zero if GNU_STACK is absent and
38720 DEFAULT_STACK_PERMS doesn't include PF_X.
38722 2011-01-13 Ulrich Drepper <drepper@gmail.com>
38724 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38725 in child fails because the descriptor is already closed.
38726 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38727 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38728 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38731 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38735 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38736 temporary buffer used to handle multi lookups locally.
38737 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38739 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38741 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38744 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38746 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38747 alignment for SSE2.
38749 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38752 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38753 characters. When rounding increased number of integer digits recompute
38755 * stdio-common/tst-grouping.c: New file.
38756 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38758 2011-01-09 Ulrich Drepper <drepper@gmail.com>
38760 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38761 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38763 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38765 * bits/select.h: Likewise.
38767 2011-01-08 Ulrich Drepper <drepper@gmail.com>
38769 * po/ja.po: Update from translation team.
38771 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
38774 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38775 implementation just like for lxstat, fxstatat, et al.
38777 2010-12-27 Jim Meyering <meyering@redhat.com>
38780 * posix/regexec.c (build_trtable): Return failure indication upon
38781 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38783 2010-12-25 Ulrich Drepper <drepper@gmail.com>
38786 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38787 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38788 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38789 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38792 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38795 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38796 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38798 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38800 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38801 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38802 script has SORT_BY_INIT_PRIORITY.
38803 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38804 NO_CTORS_DTORS_SECTIONS is defined.
38805 * elf/soinit.c: Likewise.
38806 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38807 NO_CTORS_DTORS_SECTIONS is defined.
38808 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38809 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38810 * sysdeps/sh/init-first.c: Likewise.
38811 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38813 2010-12-24 Ulrich Drepper <drepper@gmail.com>
38815 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38816 always use the slow path.
38818 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38820 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38821 similar rule which adds the sysdep directories to the header search in
38822 order to pick up the correct platform stackinfo.h.
38823 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38824 perform test if it is, otherwise return successfully without testing.
38825 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38826 DEFAULT_STACK_PERMS define in stackinfo.h.
38827 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38828 defined in stackinfo.h.
38829 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38830 DEFAULT_STACK_PERMS defined in stackinfo.h.
38831 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38832 * sysdeps/ia64/stackinfo.h: Likewise.
38833 * sysdeps/s390/stackinfo.h: Likewise.
38834 * sysdeps/sh/stackinfo.h: Likewise.
38835 * sysdeps/sparc/stackinfo.h: Likewise.
38836 * sysdeps/x86_64/stackinfo.h: Likewise.
38837 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38838 PF_X for powerpc64. Retain PF_X for powerpc32.
38840 2010-12-19 Ulrich Drepper <drepper@gmail.com>
38842 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38844 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38845 GETDENTS_64BIT_ALIGNED.
38847 2010-12-14 Ulrich Drepper <dreper@gmail.com>
38849 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38851 2010-12-10 Andreas Schwab <schwab@redhat.com>
38853 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38856 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38857 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38859 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38860 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38862 2010-12-09 Ulrich Drepper <drepper@gmail.com>
38865 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38868 2010-12-09 Jakub Jelinek <jakub@redhat.com>
38870 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38872 2010-12-03 Ulrich Drepper <drepper@gmail.com>
38874 * po/it.po: Update from translation team.
38876 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38878 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38881 2010-11-30 Ulrich Drepper <drepper@gmail.com>
38883 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38885 2010-11-24 Andreas Schwab <schwab@redhat.com>
38887 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38889 (gaih_getanswer_slice): Likewise.
38891 2010-10-20 Jakub Jelinek <jakub@redhat.com>
38893 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38895 2010-05-31 Petr Baudis <pasky@suse.cz>
38898 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38899 silently even in the chroot mode.
38901 2010-11-22 Ulrich Drepper <drepper@gmail.com>
38903 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38904 last patch a bit. Pretty printing
38906 2010-05-31 Petr Baudis <pasky@suse.cz>
38909 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38910 initialization of skip_initgroups_dyn.
38912 2010-11-19 Ulrich Drepper <drepper@gmail.com>
38914 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38915 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38917 2010-11-16 Ulrich Drepper <drepper@gmail.com>
38919 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38921 2010-11-11 Andreas Schwab <schwab@redhat.com>
38923 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38924 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38925 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38926 ($(objpfx)tst-fnmatch-mem): New rule.
38927 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38928 * posix/tst-fnmatch.c (main): Call mtrace.
38930 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38933 Support Intel processor model 6 and model 0x2c.
38935 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
38937 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38940 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38943 * string/test-strncasecmp.c (check_result): New function.
38944 (do_one_test): Use it.
38945 (check1): New function.
38946 (test_main): Use it.
38947 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38948 Support strcasecmp and strncasecmp.
38950 2010-11-08 Ulrich Drepper <drepper@gmail.com>
38953 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38954 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38956 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38958 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38962 * sysdeps/x86_64/multiarch/bzero.S: New file.
38963 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38964 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38965 * sysdeps/x86_64/multiarch/memset.S: New file.
38966 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38967 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38968 Set bit_Prefer_SSE_for_memop for Intel processors.
38969 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38971 (index_Prefer_SSE_for_memop): Define.
38972 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38974 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
38976 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38977 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38979 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38982 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38983 (__x86_64_raw_data_cache_size_half): Likewise.
38984 (__x86_64_raw_shared_cache_size): Likewise.
38985 (__x86_64_raw_shared_cache_size_half): Likewise.
38987 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38988 (__x86_64_raw_data_cache_size_half): Likewise.
38989 (__x86_64_raw_shared_cache_size): Likewise.
38990 (__x86_64_raw_shared_cache_size_half): Likewise.
38991 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38992 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38993 and __x86_64_raw_shared_cache_size_half. Round
38994 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38995 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38996 to multiple of 256 bytes.
38998 2010-11-03 Ulrich Drepper <drepper@gmail.com>
39001 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39002 of inacessible symlinks. Verify result of symlink before returning it.
39003 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39004 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39006 2010-10-28 Erich Ritz <erichritz@gmail.com>
39008 * math/math.h (isinf): Fix typo in comment.
39010 2010-11-01 Ulrich Drepper <drepper@gmail.com>
39012 * po/da.po: Update from translation team.
39014 2010-10-26 Ulrich Drepper <drepper@gmail.com>
39016 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39017 is added to the list.
39019 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39020 Ulrich Drepper <drepper@gmail.com>
39022 * elf/dl-object.c (_dl_new_object): Don't append the new object to
39023 the global list here. Move code to...
39024 (_dl_add_to_namespace_list): ...here. New function.
39025 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39026 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39027 * elf/dl-load.c (lose): Don't remove the element from the list.
39028 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39029 (_dl_map_object): Likewise.
39031 2010-10-25 Ulrich Drepper <drepper@gmail.com>
39034 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39035 into all bytes of SSE register.
39036 Patch by Richard Li <richardpku@gmail.com>.
39038 2010-10-24 Ulrich Drepper <drepper@gmail.com>
39041 * malloc/malloc.c (_int_free): Fill correct number of bytes when
39044 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
39046 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39047 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39048 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39049 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39054 2010-10-22 Andreas Schwab <schwab@redhat.com>
39056 * include/dlfcn.h (__RTLD_SECURE): Define.
39057 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
39058 mode & __RTLD_SECURE instead.
39059 (open_path): Rename preloaded parameter to secure.
39060 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39061 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39062 * elf/dl-deps.c (openaux): Likewise.
39063 * elf/rtld.c (struct map_args): Remove is_preloaded.
39064 (map_doit): Don't use it.
39065 (dl_main): Likewise.
39066 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39067 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39069 2010-09-09 Andreas Schwab <schwab@redhat.com>
39071 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39072 (sysd-rules-targets): Remove duplicates.
39073 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39074 rtld-%.$o dependency.
39076 2010-10-18 Andreas Schwab <schwab@redhat.com>
39078 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39079 _dl_map_object do it.
39081 2010-10-19 Ulrich Drepper <drepper@gmail.com>
39083 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39084 fast fma builtins, define the macros in the C99 standard.
39085 (FP_FAST_FMAF): Likewise.
39086 (FP_FAST_FMAL): Likewise.
39087 * sysdeps/x86_64/bits/mathdef.h: Likewise.
39089 * bits/mathdef.h: Update copyright year.
39090 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39092 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
39094 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39095 builtins, define the macros in the C99 standard.
39096 (FP_FAST_FMAF): Likewise.
39097 (FP_FAST_FMAL): Likewise.
39098 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39100 (FP_FAST_FMAF): Likewise.
39102 2010-10-15 Jakub Jelinek <jakub@redhat.com>
39105 * math/libm-test.inc (fma_test): Some new testcases.
39106 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39107 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39108 y and infinite z. Do multiplication by C already in long double.
39109 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39110 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39111 y and infinite z. Do bitwise or of inexact bit into u.d.
39112 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39113 * sysdeps/i386/fpu/s_fmaf.S: Removed.
39114 * sysdeps/i386/fpu/s_fma.S: Removed.
39115 * sysdeps/i386/fpu/s_fmal.S: Removed.
39117 2010-10-16 Jakub Jelinek <jakub@redhat.com>
39120 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39121 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39122 computation is not scheduled after fetestexcept. Fix value
39123 of minimum denormal long double.
39125 2010-10-14 Jakub Jelinek <jakub@redhat.com>
39128 * math/libm-test.inc (fma_test): Add some more tests.
39129 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39132 2010-10-15 Andreas Schwab <schwab@redhat.com>
39134 * scripts/data/localplt-s390-linux-gnu.data: New file.
39135 * scripts/data/localplt-s390x-linux-gnu.data: New file.
39137 2010-10-13 Jakub Jelinek <jakub@redhat.com>
39140 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39141 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39143 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39145 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39147 if one of x and y is very large and the other is subnormal.
39148 * sysdeps/s390/fpu/s_fmaf.c: New file.
39149 * sysdeps/s390/fpu/s_fma.c: New file.
39150 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39151 * sysdeps/powerpc/fpu/s_fma.S: New file.
39152 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39153 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39154 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39156 2010-10-12 Jakub Jelinek <jakub@redhat.com>
39159 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39161 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39162 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39163 * sysdeps/i386/i686/multiarch/s_fma.c: Include
39164 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39165 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39166 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39167 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39169 2010-10-12 Ulrich Drepper <drepper@redhat.com>
39172 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39173 * posix/bug-regex31.input: Add test case.
39175 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39177 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39178 * posix/bug-regex31.input: New file.
39181 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39182 (parse_sub_exp): Fix last change, use postorder.
39184 * posix/bug-regex31.c: New file.
39185 * posix/Makefile: Add rules to build and run bug-regex31.
39187 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39190 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39193 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39194 to have entries in sys_siglist.
39197 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39200 2010-10-07 Jakub Jelinek <jakub@redhat.com>
39203 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39204 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39205 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39206 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39207 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39208 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39209 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39210 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39211 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39212 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39213 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39214 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39215 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39216 * math/ftestexcept.c (fetestexcept): Likewise.
39217 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39218 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39219 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39220 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39221 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39222 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39223 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39225 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39228 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39231 2010-10-06 Ulrich Drepper <drepper@gmail.com>
39233 * string/bug-strstr1.c: New file.
39234 * string/Makefile: Add rules to build and run bug-strstr1.
39236 2010-10-05 Eric Blake <eblake@redhat.com>
39239 * string/str-two-way.h (two_way_long_needle): Always clear memory
39240 when skipping input due to the shift table.
39242 2010-10-03 Ulrich Drepper <drepper@gmail.com>
39245 * malloc/mcheck.c: Handle large requests.
39248 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39249 for strncmp and strncasecmp.
39250 * string/stratcliff.c: Add tests for strcmp and strncmp.
39251 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39253 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39255 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39258 2010-09-30 Andreas Jaeger <aj@suse.de>
39260 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39261 (CGROUP_SUPER_MAGIC): Define.
39262 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39263 Handle btrfs and cgroup file systems.
39264 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39267 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
39269 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39270 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39272 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39275 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39276 trying to locate the ELF header.
39278 2010-09-27 Andreas Schwab <schwab@redhat.com>
39281 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39282 Mask out sign-bit copies when constructing f_fsid.
39284 2010-09-24 Petr Baudis <pasky@suse.cz>
39286 * debug/stack_chk_fail_local.c: Add missing licence exception.
39287 * debug/warning-nop.c: Likewise.
39289 2010-09-15 Joseph Myers <joseph@codesourcery.com>
39291 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39292 implementing getdents64 using getdents syscall, set d_type if
39293 __ASSUME_GETDENTS32_D_TYPE.
39295 2010-09-16 Andreas Schwab <schwab@redhat.com>
39297 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39298 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39300 2010-09-21 Ulrich Drepper <drepper@redhat.com>
39303 * posix/unistd.h: Undo change of feature selection for ftruncate from
39306 2010-09-20 Ulrich Drepper <drepper@redhat.com>
39308 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
39311 2010-09-20 Andreas Schwab <schwab@redhat.com>
39313 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39315 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39317 2010-09-14 Andreas Schwab <schwab@redhat.com>
39319 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39320 variables after CHECK_SP call.
39321 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39323 2010-09-13 Andreas Schwab <schwab@redhat.com>
39324 Ulrich Drepper <drepper@redhat.com>
39326 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39327 re-relocationg ld.so.
39328 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39329 _dl_init_paths call.
39330 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39333 2010-09-14 Ulrich Drepper <drepper@redhat.com>
39335 * resolv/res_init.c (__res_vinit): Count the default server we added.
39337 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39338 Ulrich Drepper <drepper@redhat.com>
39341 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39342 (____longjmp_chk): Use %ebx for saving value across system call.
39345 2010-09-06 Andreas Schwab <schwab@redhat.com>
39347 * manual/Makefile: Don't mix pattern rules with normal rules.
39349 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39351 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39353 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39354 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39355 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39356 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39357 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39360 2010-09-04 Ulrich Drepper <drepper@redhat.com>
39363 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39364 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39366 2010-09-02 Ulrich Drepper <drepper@redhat.com>
39368 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39369 * sysdeps/x86_64/addmul_1.S: Likewise.
39370 * sysdeps/x86_64/lshift.S: Likewise.
39371 * sysdeps/x86_64/mul_1.S: Likewise.
39372 * sysdeps/x86_64/rshift.S: Likewise.
39373 * sysdeps/x86_64/sub_n.S: Likewise.
39374 * sysdeps/x86_64/submul_1.S: Likewise.
39376 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39378 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39379 Define __sched_param instead of SCHED_* and sched_param when
39380 <bits/sched.h> is included with __need_schedparam defined.
39381 * bits/sched.h [__need_schedparam]
39382 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
39383 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39384 (__defined_schedparam): Define to 1.
39385 (__sched_param): New structure, identical to sched_param.
39386 (__need_schedparam): Undefine.
39388 2010-08-31 Mike Frysinger <vapier@gentoo.org>
39390 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39391 (epoll_create1): Declare.
39393 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39395 2010-08-31 Andreas Schwab <schwab@redhat.com>
39398 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39399 shifting retval into place.
39401 2010-09-01 Ulrich Drepper <drepper@redhat.com>
39403 * nis/rpcsvc/nis.h: Update copyright notice.
39404 * nis/rpcsvc/nis.x: Likewise.
39405 * nis/rpcsvc/nis_callback.h: Likewise.
39406 * nis/rpcsvc/nis_callback.x: Likewise.
39407 * nis/rpcsvc/nis_object.x: Likewise.
39408 * nis/rpcsvc/nis_tags.h: Likewise.
39409 * nis/rpcsvc/yp.h: Likewise.
39410 * nis/rpcsvc/yp.x: Likewise.
39411 * nis/rpcsvc/ypupd.h: Likewise.
39412 * nis/yp_xdr.c: Likewise.
39413 * nis/ypupdate_xdr.c: Likewise.
39415 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39416 mainly the body of pmap_getport. Add parameters to specify timeouts.
39417 (pmap_getport): Use __libc_rpc_getport.
39418 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39419 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39420 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39422 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39427 2010-08-27 Roland McGrath <roland@redhat.com>
39429 * sysdeps/i386/i686/multiarch/Makefile
39430 (CFLAGS-varshift.c): New variable.
39432 2010-08-27 Ulrich Drepper <drepper@redhat.com>
39434 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39435 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39437 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39439 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39441 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39443 * sysdeps/x86_64/strlen.S: Unroll the loop.
39444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39445 strlen-sse2 strlen-sse2-bsf.
39446 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39447 __strlen_no_bsf if bit_Slow_BSF is set.
39448 (__strlen_sse42): Removed.
39449 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39450 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39452 2010-08-25 Roland McGrath <roland@redhat.com>
39454 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39455 * sysdeps/x86_64/multiarch/varshift.c: New file.
39456 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39457 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39458 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39459 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39461 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39463 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39464 strlen-sse2 strlen-sse2-bsf.
39465 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39466 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39467 (__strlen_sse2): Removed.
39468 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39469 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39470 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39471 bit_Slow_BSF for Atom.
39472 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39473 (index_Slow_BSF): Define.
39474 (HAS_SLOW_BSF): Define.
39476 2010-08-25 Ulrich Drepper <drepper@redhat.com>
39479 * resolv/res_init.c (__res_vinit): When no server address at all
39480 is given default to loopback.
39482 2010-08-24 Roland McGrath <roland@redhat.com>
39484 * configure.in: Remove config-name.h generation.
39485 * configure: Regenerated.
39486 * config-name.in: File removed.
39487 * scripts/config-uname.sh: New file.
39488 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39489 ($(objdir)config-name.h): New target.
39491 * sunrpc/rpc_parse.h: Avoid nested comment.
39493 2010-08-24 Richard Henderson <rth@redhat.com>
39494 Ulrich Drepper <drepper@redhat.com>
39495 H.J. Lu <hongjiu.lu@intel.com>
39497 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39499 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39500 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39501 _mm_alignr_epi8 with _mm_loadu_si128.
39502 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39503 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39504 (__m128i_shift_right): Removed.
39505 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39506 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39507 * sysdeps/x86_64/multiarch/varshift.h: New file.
39508 * sysdeps/x86_64/multiarch/varshift.S: New file.
39510 2010-08-21 Mike Frysinger <vapier@gentoo.org>
39512 * configure.in: Move assembler checks to before sysdep dir checking.
39514 2010-08-20 Petr Baudis <pasky@suse.cz>
39516 * LICENSES: Sync the sunrpc license.
39518 2010-08-19 Ulrich Drepper <drepper@redhat.com>
39520 * sunrpc/auth_des.c: Update copyright notice once again.
39521 * sunrpc/auth_none.c: Likewise.
39522 * sunrpc/auth_unix.c: Likewise.
39523 * sunrpc/authdes_prot.c: Likewise.
39524 * sunrpc/authuxprot.c: Likewise.
39525 * sunrpc/bindrsvprt.c: Likewise.
39526 * sunrpc/clnt_gen.c: Likewise.
39527 * sunrpc/clnt_perr.c: Likewise.
39528 * sunrpc/clnt_raw.c: Likewise.
39529 * sunrpc/clnt_simp.c: Likewise.
39530 * sunrpc/clnt_tcp.c: Likewise.
39531 * sunrpc/clnt_udp.c: Likewise.
39532 * sunrpc/clnt_unix.c: Likewise.
39533 * sunrpc/des_crypt.c: Likewise.
39534 * sunrpc/des_soft.c: Likewise.
39535 * sunrpc/get_myaddr.c: Likewise.
39536 * sunrpc/getrpcport.c: Likewise.
39537 * sunrpc/key_call.c: Likewise.
39538 * sunrpc/key_prot.c: Likewise.
39539 * sunrpc/openchild.c: Likewise.
39540 * sunrpc/pm_getmaps.c: Likewise.
39541 * sunrpc/pm_getport.c: Likewise.
39542 * sunrpc/pmap_clnt.c: Likewise.
39543 * sunrpc/pmap_prot.c: Likewise.
39544 * sunrpc/pmap_prot2.c: Likewise.
39545 * sunrpc/pmap_rmt.c: Likewise.
39546 * sunrpc/rpc/auth.h: Likewise.
39547 * sunrpc/rpc/auth_unix.h: Likewise.
39548 * sunrpc/rpc/clnt.h: Likewise.
39549 * sunrpc/rpc/des_crypt.h: Likewise.
39550 * sunrpc/rpc/key_prot.h: Likewise.
39551 * sunrpc/rpc/netdb.h: Likewise.
39552 * sunrpc/rpc/pmap_clnt.h: Likewise.
39553 * sunrpc/rpc/pmap_prot.h: Likewise.
39554 * sunrpc/rpc/pmap_rmt.h: Likewise.
39555 * sunrpc/rpc/rpc.h: Likewise.
39556 * sunrpc/rpc/rpc_des.h: Likewise.
39557 * sunrpc/rpc/rpc_msg.h: Likewise.
39558 * sunrpc/rpc/svc.h: Likewise.
39559 * sunrpc/rpc/svc_auth.h: Likewise.
39560 * sunrpc/rpc/types.h: Likewise.
39561 * sunrpc/rpc/xdr.h: Likewise.
39562 * sunrpc/rpc_clntout.c: Likewise.
39563 * sunrpc/rpc_cmsg.c: Likewise.
39564 * sunrpc/rpc_common.c: Likewise.
39565 * sunrpc/rpc_cout.c: Likewise.
39566 * sunrpc/rpc_dtable.c: Likewise.
39567 * sunrpc/rpc_hout.c: Likewise.
39568 * sunrpc/rpc_main.c: Likewise.
39569 * sunrpc/rpc_parse.c: Likewise.
39570 * sunrpc/rpc_parse.h: Likewise.
39571 * sunrpc/rpc_prot.c: Likewise.
39572 * sunrpc/rpc_sample.c: Likewise.
39573 * sunrpc/rpc_scan.c: Likewise.
39574 * sunrpc/rpc_scan.h: Likewise.
39575 * sunrpc/rpc_svcout.c: Likewise.
39576 * sunrpc/rpc_tblout.c: Likewise.
39577 * sunrpc/rpc_util.c: Likewise.
39578 * sunrpc/rpc_util.h: Likewise.
39579 * sunrpc/rpcinfo.c: Likewise.
39580 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39581 * sunrpc/rpcsvc/key_prot.x: Likewise.
39582 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39583 * sunrpc/rpcsvc/mount.x: Likewise.
39584 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39585 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39586 * sunrpc/rpcsvc/rex.x: Likewise.
39587 * sunrpc/rpcsvc/rstat.x: Likewise.
39588 * sunrpc/rpcsvc/rusers.x: Likewise.
39589 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39590 * sunrpc/rpcsvc/spray.x: Likewise.
39591 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39592 * sunrpc/rtime.c: Likewise.
39593 * sunrpc/svc.c: Likewise.
39594 * sunrpc/svc_auth.c: Likewise.
39595 * sunrpc/svc_authux.c: Likewise.
39596 * sunrpc/svc_raw.c: Likewise.
39597 * sunrpc/svc_run.c: Likewise.
39598 * sunrpc/svc_simple.c: Likewise.
39599 * sunrpc/svc_tcp.c: Likewise.
39600 * sunrpc/svc_udp.c: Likewise.
39601 * sunrpc/svc_unix.c: Likewise.
39602 * sunrpc/svcauth_des.c: Likewise.
39603 * sunrpc/xcrypt.c: Likewise.
39604 * sunrpc/xdr.c: Likewise.
39605 * sunrpc/xdr_array.c: Likewise.
39606 * sunrpc/xdr_float.c: Likewise.
39607 * sunrpc/xdr_mem.c: Likewise.
39608 * sunrpc/xdr_rec.c: Likewise.
39609 * sunrpc/xdr_ref.c: Likewise.
39610 * sunrpc/xdr_sizeof.c: Likewise.
39611 * sunrpc/xdr_stdio.c: Likewise.
39613 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39616 2010-08-19 Andreas Schwab <schwab@redhat.com>
39618 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39620 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
39622 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39623 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39624 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39625 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39626 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39627 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39628 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39629 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39630 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39631 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39632 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39633 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39634 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39635 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39637 2010-07-26 Anton Blanchard <anton@samba.org>
39639 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39640 * malloc/arena.c (heap_trim): Likewise.
39642 2010-08-16 Ulrich Drepper <drepper@redhat.com>
39644 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39646 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39647 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39649 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39651 * sysdeps/i386/elf/Makefile: New file.
39653 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39655 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39656 from fanotify_init.
39657 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39658 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39660 2010-08-15 Ulrich Drepper <drepper@redhat.com>
39662 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39664 * sysdeps/multiarch/strcmp.S: Likewise.
39666 2010-08-14 Ulrich Drepper <drepper@redhat.com>
39668 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39669 strncase_l-nonascii.
39670 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39671 Add strncase_l-ssse3.
39672 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39673 * sysdeps/x86_64/strcmp.S: Likewise.
39674 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39675 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39676 * sysdeps/x86_64/strncase.S: New file.
39677 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39678 * sysdeps/x86_64/strncase_l.S: New file.
39679 * string/Makefile (strop-tests): Add strncasecmp.
39680 * string/test-strncasecmp.c: New file.
39682 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39685 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39686 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39688 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39690 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39692 2010-08-12 Ulrich Drepper <drepper@redhat.com>
39694 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39695 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39696 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39698 2010-05-01 Alan Modra <amodra@gmail.com>
39700 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39701 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39702 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39703 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39704 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39705 tidying. Don't tail-call __sigjmp_save for static lib.
39706 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39708 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39709 (CALL_MCOUNT): Add eh info, and nop after bl.
39710 (TAIL_CALL_SYSCALL_ERROR): New macro.
39711 (PSEUDO_RET): Use it.
39712 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39713 Correct save location of integer regs and cr.
39714 (_dl_profile_resolve): Correct cr save location. Delete nops
39715 after bl when SHARED. Reduce cfi size a little by better
39716 placement of cfi directives.
39717 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39718 make a stack frame. Instead use parm save area as a temp.
39719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39720 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39722 Don't make a stack frame for parent, use parm save area.
39723 Increase child stack frame to 112 bytes. Don't save unused reg,
39724 and adjust reg usage. Set up cfi on error recovery and
39725 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39727 (__makecontext): Add dummy nop after jump to exit.
39728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39729 Use correct parm save area and cr save, reduce stack frame.
39730 Correct cfi for possible PSEUDO_RET frame setup.
39731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39732 Branch to local label emitted by PSEUDO_RET rather than
39735 2010-08-12 Andreas Schwab <schwab@redhat.com>
39738 * locale/programs/locale.c (print_assignment): New function.
39739 (show_locale_vars): Use it.
39741 2010-08-11 Ulrich Drepper <drepper@redhat.com>
39743 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39745 (struct statfs64): Likewise.
39746 (_STATFS_F_FLAGS): Define.
39747 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39748 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39749 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39750 (ST_VALID): Define locally.
39751 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39752 __statvfs_getflags, use the provided value.
39753 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39754 __ASSUME_STATFS_F_FLAGS.
39756 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39758 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39759 Add sys/fanotify.h.
39760 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39761 fanotify_mask for GLIBC_2.13.
39762 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39763 fanotify_init and fanotify_mark.
39764 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39765 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39767 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39769 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39770 prlimit64 for GLIBC_2.13.
39771 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39773 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39776 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39777 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39778 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39779 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39781 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39784 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39785 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39787 * nss/Makefile: Add rules to build and run tst-nss-test1.
39788 * shlib-versions: Add entry for libnss_test1.
39789 * nss/nss_test1.c: New file.
39790 * nss/tst-nss-test1.c: New file.
39792 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39793 (__nss_configure_lookup): Set appropriate entry in
39794 __nss_configure_lookup to true.
39795 * nss/nsswitch.h: Define enum with indeces of databases in
39796 databases and __nss_database_custom arrays. Declare
39797 __nss_database_custom.
39798 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39799 to avoid using nscd when custom rules are installed.
39800 * nss/getXXbyYY_r.c: Likewise.
39801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39803 * nss/nss_files/files-parse.c: Whitespace fixes.
39805 2010-08-09 Ulrich Drepper <drepper@redhat.com>
39808 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39809 * posix/fnmatch_loop.c: Likewise.
39811 2010-07-17 Andi Kleen <ak@linux.intel.com>
39813 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39814 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39815 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39816 * Versions.def [GLIBC_2.13]: Add.
39818 2010-08-06 Ulrich Drepper <drepper@redhat.com>
39820 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39821 Also fail if tpwd after pwuid call is NULL.
39823 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39825 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39826 when converting to ms.
39828 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39830 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39831 EOPNOTSUPP errors with ENOTTY.
39832 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39833 EOPNOTSUPP errors with ENOTTY.
39835 2010-07-31 Ulrich Drepper <drepper@redhat.com>
39837 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39838 Add strcasecmp_l-ssse3.
39839 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39841 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39842 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39843 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39845 2010-07-30 Ulrich Drepper <drepper@redhat.com>
39847 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39849 * string/Makefile (strop-tests): Add strcasecmp.
39850 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39851 strcasecmp_l-nonascii.
39852 (gen-as-const-headers): Add locale-defines.sym.
39853 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39854 * sysdeps/x86_64/strcasecmp.S: New file.
39855 * sysdeps/x86_64/strcasecmp_l.S: New file.
39856 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39857 * sysdeps/x86_64/locale-defines.sym: New file.
39858 * string/test-strcasecmp.c: New file.
39860 * string/test-strcasestr.c: Test both ends of the range of characters.
39861 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39863 2010-07-29 Roland McGrath <roland@redhat.com>
39866 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39868 2010-07-27 Ulrich Drepper <drepper@redhat.com>
39870 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39873 2010-07-27 Andreas Schwab <schwab@redhat.com>
39875 * manual/memory.texi (Malloc Tunable Parameters): Document
39878 2010-07-26 Roland McGrath <roland@redhat.com>
39881 * configure.in (-fgnu89-inline check): Set and substitute
39882 gnu89_inline, not libc_cv_gnu89_inline.
39883 * configure: Regenerated.
39884 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39886 2010-07-26 Ulrich Drepper <drepper@redhat.com>
39888 * string/test-strnlen.c: New file.
39889 * string/Makefile (strop-tests): Add strnlen.
39890 * string/tester.c (test_strnlen): Add a few more test cases.
39891 * string/tst-strlen.c: Better error reporting.
39893 * sysdeps/x86_64/strnlen.S: New file.
39895 2010-07-24 Ulrich Drepper <drepper@redhat.com>
39897 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39898 lower-latency instructions.
39900 2010-07-23 Ulrich Drepper <drepper@redhat.com>
39902 * string/test-strcasestr.c: New file.
39903 * string/test-strstr.c: New file.
39904 * string/Makefile (strop-tests): Add strstr and strcasestr.
39905 * string/str-two-way.h: Don't undefine MAX.
39906 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39908 2010-07-21 Andreas Schwab <schwab@redhat.com>
39910 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39911 strcasestr-nonascii.
39912 (CFLAGS-strcasestr-nonascii.c): Define.
39913 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39914 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39915 Remove unused attribute.
39917 2010-07-20 Roland McGrath <roland@redhat.com>
39919 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39920 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39921 ld.so.cache was broken. With it, there is no way to disable dsocaps
39922 like LD_HWCAP_MASK can disable hwcaps.
39924 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39926 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39928 2010-07-16 Ulrich Drepper <drepper@redhat.com>
39930 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39931 call in strcasestr.
39932 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39933 __strcasestr_sse42_nonascii.
39934 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39935 strcasestr-nonascii.c.
39936 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39938 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
39940 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39941 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39942 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39943 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39945 2010-07-09 Ulrich Drepper <drepper@redhat.com>
39947 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39950 2010-07-06 Andreas Schwab <schwab@redhat.com>
39953 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39956 2010-07-06 Ulrich Drepper <drepper@redhat.com>
39958 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39959 _PC_PIPE_BUF using F_GETPIPE_SZ.
39961 2010-07-05 Roland McGrath <roland@redhat.com>
39963 * manual/arith.texi (Rounding Functions): Fix rint description
39964 implicit in round description.
39966 2010-07-02 Ulrich Drepper <drepper@redhat.com>
39968 * elf/Makefile: Fix linking for a few tests to make recent linker
39971 2010-06-30 Andreas Schwab <schwab@redhat.com>
39973 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39974 $(common-objpfx)libc_nonshared.a.
39976 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
39978 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39979 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39980 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39981 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39982 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39983 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39984 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39985 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40000 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40001 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40002 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40003 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40004 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40005 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40006 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40007 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40008 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40009 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40010 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40011 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40027 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
40029 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40030 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
40031 * string/memmove.c (memmove): Renamed to ...
40032 (MEMMOVE): ...this. Default to memmove.
40033 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40034 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40036 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40037 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40038 mempcpy-ssse3-back memmove-ssse3-back.
40039 * sysdeps/x86_64/multiarch/bcopy.S: New file .
40040 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40041 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40042 * sysdeps/x86_64/multiarch/memcpy.S: New file.
40043 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40044 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40045 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40046 * sysdeps/x86_64/multiarch/memmove.c: New file.
40047 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40048 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40049 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40050 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40051 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40052 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40054 (index_Fast_Copy_Backward): Define.
40055 (HAS_ARCH_FEATURE): Define.
40056 (HAS_FAST_REP_STRING): Define.
40057 (HAS_FAST_COPY_BACKWARD): Define.
40059 2010-06-21 Andreas Schwab <schwab@redhat.com>
40061 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40062 Restore proper fallback handling.
40064 2010-06-19 Ulrich Drepper <drepper@redhat.com>
40067 * posix/group_member.c (__group_member): Correct checking loop.
40069 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40070 OOM in getpwuid_r correctly. Return error number when the caller
40071 should return, otherwise -1.
40072 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40073 call returning > 0 value.
40074 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40076 2010-06-07 Andreas Schwab <schwab@redhat.com>
40078 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40079 libc_nonshared.a from targets in modules-names.
40081 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
40083 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40086 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
40088 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40089 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40090 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40091 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40093 2010-06-02 Andreas Schwab <schwab@redhat.com>
40095 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40097 2010-06-14 Ulrich Drepper <drepper@redhat.com>
40099 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40101 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40102 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40103 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40104 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40105 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40106 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40108 2010-06-14 Roland McGrath <roland@redhat.com>
40110 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40112 2010-06-07 Jakub Jelinek <jakub@redhat.com>
40114 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40115 __REDIRECT followed by __THROW.
40116 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40117 * posix/getopt.h (getopt): Likewise.
40119 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40121 * hurd/lookup-at.c (__file_name_lookup_at): Accept
40122 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
40123 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40125 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40126 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40128 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
40130 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40132 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
40135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40136 Properly check family and model.
40138 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
40140 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40142 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
40144 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40146 2010-05-21 Ulrich Drepper <drepper@redhat.com>
40148 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40151 2010-05-19 Andreas Schwab <schwab@redhat.com>
40153 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40156 2010-05-21 Andreas Schwab <schwab@redhat.com>
40158 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40159 and internal_recvmmsg.
40160 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40161 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40162 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40163 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40165 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40166 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40167 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40169 2010-05-20 Andreas Schwab <schwab@redhat.com>
40171 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40173 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
40175 POWER7 optimizations.
40176 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40177 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40179 2010-05-19 Ulrich Drepper <drepper@redhat.com>
40181 * version.h: Update for 2.13 development version.
40183 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
40185 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40186 exceptions. Return 0.
40188 2010-05-07 Roland McGrath <roland@redhat.com>
40190 * elf/ldconfig.c (main): Add a const.
40192 2010-05-06 Ulrich Drepper <drepper@redhat.com>
40194 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40195 (args_options): Add no-idn option.
40196 (ahosts_keys_int): Add idn_flags to ai_flags.
40197 (parse_option): Handle 'i' option to clear idn_flags.
40199 * malloc/malloc.c (_int_free): Possible race in the most recently
40200 added check. Only act on the data if no current modification
40203 See ChangeLog.17 for earlier changes.